openwrt/staging/blogic.git
9 years agostaging: rtl8192e: Rename rtl8192_QueryIsShort
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:55 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_QueryIsShort

Use naming schema found in other rtlwifi devices.
Rename rtl8192_QueryIsShort to _rtl92e_query_is_short.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_process_phyinfo
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:54 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_process_phyinfo

Use naming schema found in other rtlwifi devices.
Rename rtl8192_process_phyinfo to _rtl92e_process_phyinfo.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_net_update
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:53 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_net_update

Use naming schema found in other rtlwifi devices.
Rename rtl8192_net_update to _rtl92e_net_update.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_MapHwQueueToFirmwareQueue
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:52 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_MapHwQueueToFirmwareQueue

Use naming schema found in other rtlwifi devices.
Rename rtl8192_MapHwQueueToFirmwareQueue to _rtl92e_hw_queue_to_fw_queue.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_hwconfig
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:51 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_hwconfig

Use naming schema found in other rtlwifi devices.
Rename rtl8192_hwconfig to _rtl92e_hwconfig.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192e_update_msr
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:50 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192e_update_msr

Use naming schema found in other rtlwifi devices.
Rename rtl8192e_update_msr to _rtl92e_update_msr.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_hard_start_xmit
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:49 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_hard_start_xmit

Use naming schema found in other rtlwifi devices.
Rename rtl8192_hard_start_xmit to _rtl92e_hard_start_xmit.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_hard_data_xmit
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:48 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_hard_data_xmit

Use naming schema found in other rtlwifi devices.
Rename rtl8192_hard_data_xmit to _rtl92e_hard_data_xmit.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_handle_beacon
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:47 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_handle_beacon

Use naming schema found in other rtlwifi devices.
Rename rtl8192_handle_beacon to _rtl92e_handle_beacon.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_handle_assoc_response
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:46 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_handle_assoc_response

Use naming schema found in other rtlwifi devices.
Rename rtl8192_handle_assoc_response to _rtl92e_handle_assoc_response.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_getSupportedWireleeMode
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:45 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_getSupportedWireleeMode

Use naming schema found in other rtlwifi devices.
Rename rtl8192_getSupportedWireleeMode to
_rtl92e_get_supported_wireless_mode.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_get_channel_map
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:44 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_get_channel_map

Use naming schema found in other rtlwifi devices.
Rename rtl8192_get_channel_map to _rtl92e_get_channel_map.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename watch_dog_timer_callback
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:43 +0000 (10:13 +0200)]
staging: rtl8192e: Rename watch_dog_timer_callback

Use naming schema found in other rtlwifi devices.
Rename watch_dog_timer_callback to _rtl92e_watchdog_timer_cb.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl819x_watchdog_wqcallback
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:42 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl819x_watchdog_wqcallback

Use naming schema found in other rtlwifi devices.
Rename rtl819x_watchdog_wqcallback to _rtl92e_watchdog_wq_cb.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl819x_update_rxcounts
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:41 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl819x_update_rxcounts

Use naming schema found in other rtlwifi devices.
Rename rtl819x_update_rxcounts to _rtl92e_update_rxcounts.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl819x_silentreset_mesh_bk
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:40 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl819x_silentreset_mesh_bk

Use naming schema found in other rtlwifi devices.
Rename rtl819x_silentreset_mesh_bk to _rtl92e_silent_reset_mesh.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl819x_ifsilentreset
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:39 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl819x_ifsilentreset

Use naming schema found in other rtlwifi devices.
Rename rtl819x_ifsilentreset to _rtl92e_if_silent_reset.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl819x_ifcheck_resetornot
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:38 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl819x_ifcheck_resetornot

Use naming schema found in other rtlwifi devices.
Rename rtl819x_ifcheck_resetornot to _rtl92e_if_check_reset.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_update_cap
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:37 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_update_cap

Use naming schema found in other rtlwifi devices.
Rename rtl8192_update_cap to _rtl92e_update_cap.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_update_beacon
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:36 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_update_beacon

Use naming schema found in other rtlwifi devices.
Rename rtl8192_update_beacon to _rtl92e_update_beacon.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_stop_beacon
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:35 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_stop_beacon

Use naming schema found in other rtlwifi devices.
Rename rtl8192_stop_beacon to _rtl92e_stop_beacon.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename _rtl8192_sta_up
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:34 +0000 (10:13 +0200)]
staging: rtl8192e: Rename _rtl8192_sta_up

Use naming schema found in other rtlwifi devices.
Rename _rtl8192_sta_up to _rtl92e_sta_up.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_sta_down
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:33 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_sta_down

Use naming schema found in other rtlwifi devices.
Rename rtl8192_sta_down to _rtl92e_sta_down.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_set_chan
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:32 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_set_chan

Use naming schema found in other rtlwifi devices.
Rename rtl8192_set_chan to _rtl92e_set_chan.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_refresh_supportrate
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:31 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_refresh_supportrate

Use naming schema found in other rtlwifi devices.
Rename rtl8192_refresh_supportrate to _rtl92e_refresh_support_rate.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_qos_handle_probe_response
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:30 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_qos_handle_probe_response

Use naming schema found in other rtlwifi devices.
Rename rtl8192_qos_handle_probe_response to
_rtl92e_qos_handle_probe_response.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_qos_association_resp
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:29 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_qos_association_resp

Use naming schema found in other rtlwifi devices.
Rename rtl8192_qos_association_resp to _rtl92e_qos_assoc_resp.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_qos_activate
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:28 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_qos_activate

Use naming schema found in other rtlwifi devices.
Rename rtl8192_qos_activate to _rtl92e_qos_activate.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_prepare_beacon
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:27 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_prepare_beacon

Use naming schema found in other rtlwifi devices.
Rename rtl8192_prepare_beacon to _rtl92e_prepare_beacon.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_SwChnl_WorkItem
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:26 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_SwChnl_WorkItem

Use naming schema found in other rtlwifi devices.
Rename rtl8192_SwChnl_WorkItem to _rtl92e_phy_switch_channel_work_item.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_phy_SwChnlStepByStep
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:25 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_phy_SwChnlStepByStep

Use naming schema found in other rtlwifi devices.
Rename rtl8192_phy_SwChnlStepByStep to _rtl92e_phy_switch_channel_step.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_phy_SetSwChnlCmdArray
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:24 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_phy_SetSwChnlCmdArray

Use naming schema found in other rtlwifi devices.
Rename rtl8192_phy_SetSwChnlCmdArray to _rtl92e_phy_set_sw_chnl_cmd_array.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_phy_RFSerialWrite
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:23 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_phy_RFSerialWrite

Use naming schema found in other rtlwifi devices.
Rename rtl8192_phy_RFSerialWrite to _rtl92e_phy_rf_write.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_phy_RFSerialRead
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:22 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_phy_RFSerialRead

Use naming schema found in other rtlwifi devices.
Rename rtl8192_phy_RFSerialRead to _rtl92e_phy_rf_read.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_phy_FinishSwChnlNow
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:21 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_phy_FinishSwChnlNow

Use naming schema found in other rtlwifi devices.
Rename rtl8192_phy_FinishSwChnlNow to _rtl92e_phy_switch_channel.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_phyConfigBB
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:20 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_phyConfigBB

Use naming schema found in other rtlwifi devices.
Rename rtl8192_phyConfigBB to _rtl92e_phy_config_bb.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename phy_FwRFSerialWrite
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:19 +0000 (10:13 +0200)]
staging: rtl8192e: Rename phy_FwRFSerialWrite

Use naming schema found in other rtlwifi devices.
Rename phy_FwRFSerialWrite to _rtl92e_phy_rf_fw_write.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename phy_FwRFSerialRead
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:18 +0000 (10:13 +0200)]
staging: rtl8192e: Rename phy_FwRFSerialRead

Use naming schema found in other rtlwifi devices.
Rename phy_FwRFSerialRead to _rtl92e_phy_rf_fw_read.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename fw_download_code
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:17 +0000 (10:13 +0200)]
staging: rtl8192e: Rename fw_download_code

Use naming schema found in other rtlwifi devices.
Rename fw_download_code to _rtl92e_fw_download_code.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename CPUcheck_maincodeok_turnonCPU
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:16 +0000 (10:13 +0200)]
staging: rtl8192e: Rename CPUcheck_maincodeok_turnonCPU

Use naming schema found in other rtlwifi devices.
Rename CPUcheck_maincodeok_turnonCPU to _rtl92e_fw_boot_cpu.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename CPUcheck_firmware_ready
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:15 +0000 (10:13 +0200)]
staging: rtl8192e: Rename CPUcheck_firmware_ready

Use naming schema found in other rtlwifi devices.
Rename CPUcheck_firmware_ready to _rtl92e_is_fw_ready.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename MRateToHwRate8190Pci
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:14 +0000 (10:13 +0200)]
staging: rtl8192e: Rename MRateToHwRate8190Pci

Use naming schema found in other rtlwifi devices.
Rename MRateToHwRate8190Pci to _rtl92e_rate_mgn_to_hw.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename HwRateToMRate90
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:13 +0000 (10:13 +0200)]
staging: rtl8192e: Rename HwRateToMRate90

Use naming schema found in other rtlwifi devices.
Rename HwRateToMRate90 to _rtl92e_rate_hw_to_mgn.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl819x_RxCheckStuck
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:12 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl819x_RxCheckStuck

Use naming schema found in other rtlwifi devices.
Rename rtl819x_RxCheckStuck to _rtl92e_rx_check_stuck.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_rx_normal
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:11 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_rx_normal

Use naming schema found in other rtlwifi devices.
Rename rtl8192_rx_normal to _rtl92e_rx_normal.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl819x_TxCheckStuck
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:10 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl819x_TxCheckStuck

Use naming schema found in other rtlwifi devices.
Rename rtl819x_TxCheckStuck to _rtl92e_tx_check_stuck.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_is_tx_queue_empty
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:09 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_is_tx_queue_empty

Use naming schema found in other rtlwifi devices.
Rename rtl8192_is_tx_queue_empty to _rtl92e_is_tx_queue_empty.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_tx_resume
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:08 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_tx_resume

Use naming schema found in other rtlwifi devices.
Rename rtl8192_tx_resume to _rtl92e_tx_resume.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_tx_timeout
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:07 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_tx_timeout

Use naming schema found in other rtlwifi devices.
Rename rtl8192_tx_timeout to _rtl92e_tx_timeout.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_tx_isr
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:06 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_tx_isr

Use naming schema found in other rtlwifi devices.
Rename rtl8192_tx_isr to _rtl92e_tx_isr.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_tx_cmd
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:05 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_tx_cmd

Use naming schema found in other rtlwifi devices.
Rename rtl8192_tx_cmd to _rtl92e_tx_cmd.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_tx
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:04 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_tx

Use naming schema found in other rtlwifi devices.
Rename rtl8192_tx to _rtl92e_tx.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_free_tx_ring
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:03 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_free_tx_ring

Use naming schema found in other rtlwifi devices.
Rename rtl8192_free_tx_ring to _rtl92e_free_tx_ring.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_free_rx_ring
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:02 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_free_rx_ring

Use naming schema found in other rtlwifi devices.
Rename rtl8192_free_rx_ring to _rtl92e_free_rx_ring.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_alloc_tx_desc_ring
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:01 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_alloc_tx_desc_ring

Use naming schema found in other rtlwifi devices.
Rename rtl8192_alloc_tx_desc_ring to _rtl92e_alloc_tx_ring.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_alloc_rx_desc_ring
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:00 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_alloc_rx_desc_ring

Use naming schema found in other rtlwifi devices.
Rename rtl8192_alloc_rx_desc_ring to _rtl92e_alloc_rx_ring.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_pci_probe
Mateusz Kulikowski [Sun, 20 Sep 2015 08:12:59 +0000 (10:12 +0200)]
staging: rtl8192e: Rename rtl8192_pci_probe

Use naming schema found in other rtlwifi devices.
Rename rtl8192_pci_probe to _rtl92e_pci_probe.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_pci_module_init
Mateusz Kulikowski [Sun, 20 Sep 2015 08:12:58 +0000 (10:12 +0200)]
staging: rtl8192e: Rename rtl8192_pci_module_init

Use naming schema found in other rtlwifi devices.
Rename rtl8192_pci_module_init to _rtl92e_pci_module_init.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_pci_module_exit
Mateusz Kulikowski [Sun, 20 Sep 2015 08:12:57 +0000 (10:12 +0200)]
staging: rtl8192e: Rename rtl8192_pci_module_exit

Use naming schema found in other rtlwifi devices.
Rename rtl8192_pci_module_exit to _rtl92e_pci_module_exit.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_pci_initdescring
Mateusz Kulikowski [Sun, 20 Sep 2015 08:12:56 +0000 (10:12 +0200)]
staging: rtl8192e: Rename rtl8192_pci_initdescring

Use naming schema found in other rtlwifi devices.
Rename rtl8192_pci_initdescring to _rtl92e_pci_initdescring.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_pci_disconnect
Mateusz Kulikowski [Sun, 20 Sep 2015 08:12:55 +0000 (10:12 +0200)]
staging: rtl8192e: Rename rtl8192_pci_disconnect

Use naming schema found in other rtlwifi devices.
Rename rtl8192_pci_disconnect to _rtl92e_pci_disconnect.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename _rtl8192_up
Mateusz Kulikowski [Sun, 20 Sep 2015 08:12:54 +0000 (10:12 +0200)]
staging: rtl8192e: Rename _rtl8192_up

Use naming schema found in other rtlwifi devices.
Rename _rtl8192_up to _rtl92e_up.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_up
Mateusz Kulikowski [Sun, 20 Sep 2015 08:12:53 +0000 (10:12 +0200)]
staging: rtl8192e: Rename rtl8192_up

Use naming schema found in other rtlwifi devices.
Rename rtl8192_up to _rtl92e_try_up.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_restart
Mateusz Kulikowski [Sun, 20 Sep 2015 08:12:52 +0000 (10:12 +0200)]
staging: rtl8192e: Rename rtl8192_restart

Use naming schema found in other rtlwifi devices.
Rename rtl8192_restart to _rtl92e_restart.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_down
Mateusz Kulikowski [Sun, 20 Sep 2015 08:12:51 +0000 (10:12 +0200)]
staging: rtl8192e: Rename rtl8192_down

Use naming schema found in other rtlwifi devices.
Rename rtl8192_down to _rtl92e_down.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_close
Mateusz Kulikowski [Sun, 20 Sep 2015 08:12:50 +0000 (10:12 +0200)]
staging: rtl8192e: Rename rtl8192_close

Use naming schema found in other rtlwifi devices.
Rename rtl8192_close to _rtl92e_close.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_open
Mateusz Kulikowski [Sun, 20 Sep 2015 08:12:49 +0000 (10:12 +0200)]
staging: rtl8192e: Rename rtl8192_open

Use naming schema found in other rtlwifi devices.
Rename rtl8192_open to _rtl92e_open.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_ioctl
Mateusz Kulikowski [Sun, 20 Sep 2015 08:12:48 +0000 (10:12 +0200)]
staging: rtl8192e: Rename rtl8192_ioctl

Use naming schema found in other rtlwifi devices.
Rename rtl8192_ioctl to _rtl92e_ioctl.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_irq_tx_tasklet
Mateusz Kulikowski [Sun, 20 Sep 2015 08:09:30 +0000 (10:09 +0200)]
staging: rtl8192e: Rename rtl8192_irq_tx_tasklet

Use naming schema found in other rtlwifi devices.
Rename rtl8192_irq_tx_tasklet to _rtl92e_irq_tx_tasklet.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_irq_rx_tasklet
Mateusz Kulikowski [Sun, 20 Sep 2015 08:09:29 +0000 (10:09 +0200)]
staging: rtl8192e: Rename rtl8192_irq_rx_tasklet

Use naming schema found in other rtlwifi devices.
Rename rtl8192_irq_rx_tasklet to _rtl92e_irq_rx_tasklet.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_interrupt
Mateusz Kulikowski [Sun, 20 Sep 2015 08:09:28 +0000 (10:09 +0200)]
staging: rtl8192e: Rename rtl8192_interrupt

Use naming schema found in other rtlwifi devices.
Rename rtl8192_interrupt to _rtl92e_irq.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_init_priv_variable
Mateusz Kulikowski [Sun, 20 Sep 2015 08:09:27 +0000 (10:09 +0200)]
staging: rtl8192e: Rename rtl8192_init_priv_variable

Use naming schema found in other rtlwifi devices.
Rename rtl8192_init_priv_variable to _rtl92e_init_priv_variable.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_init_priv_task
Mateusz Kulikowski [Sun, 20 Sep 2015 08:09:26 +0000 (10:09 +0200)]
staging: rtl8192e: Rename rtl8192_init_priv_task

Use naming schema found in other rtlwifi devices.
Rename rtl8192_init_priv_task to _rtl92e_init_priv_task.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_init_priv_lock
Mateusz Kulikowski [Sun, 20 Sep 2015 08:09:25 +0000 (10:09 +0200)]
staging: rtl8192e: Rename rtl8192_init_priv_lock

Use naming schema found in other rtlwifi devices.
Rename rtl8192_init_priv_lock to _rtl92e_init_priv_lock.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_init_priv_handler
Mateusz Kulikowski [Sun, 20 Sep 2015 08:09:24 +0000 (10:09 +0200)]
staging: rtl8192e: Rename rtl8192_init_priv_handler

Use naming schema found in other rtlwifi devices.
Rename rtl8192_init_priv_handler to _rtl92e_init_priv_handler.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_init_priv_constant
Mateusz Kulikowski [Sun, 20 Sep 2015 08:09:23 +0000 (10:09 +0200)]
staging: rtl8192e: Rename rtl8192_init_priv_constant

Use naming schema found in other rtlwifi devices.
Rename rtl8192_init_priv_constant to _rtl92e_init_priv_constant.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_init
Mateusz Kulikowski [Sun, 20 Sep 2015 08:09:22 +0000 (10:09 +0200)]
staging: rtl8192e: Rename rtl8192_init

Use naming schema found in other rtlwifi devices.
Rename rtl8192_init to _rtl92e_init.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: rtd520: hook up 8254 timer/counter subdevice
H Hartley Sweeten [Fri, 25 Sep 2015 00:52:12 +0000 (17:52 -0700)]
staging: comedi: rtd520: hook up 8254 timer/counter subdevice

There is a standard 8254 Timer/Counter device on the board. Hook up
the subdevice for the user.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: rtd520: use DIV_ROUND_CLOSEST and DIV_ROUND_UP macros
H Hartley Sweeten [Fri, 25 Sep 2015 00:52:11 +0000 (17:52 -0700)]
staging: comedi: rtd520: use DIV_ROUND_CLOSEST and DIV_ROUND_UP macros

Use the macros to clarify the divisor calculations.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: rtd520: tidy up block comments
H Hartley Sweeten [Fri, 25 Sep 2015 00:52:10 +0000 (17:52 -0700)]
staging: comedi: rtd520: tidy up block comments

Use the preferred block command style.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: rtd520: remove unnecessary function desc. block comments
H Hartley Sweeten [Fri, 25 Sep 2015 00:52:09 +0000 (17:52 -0700)]
staging: comedi: rtd520: remove unnecessary function desc. block comments

These function description comments are cut-and-paste cruft from the
old skeleton driver. Remove them.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: rtd520: fix rtd_ao_winsn()
H Hartley Sweeten [Fri, 25 Sep 2015 00:52:08 +0000 (17:52 -0700)]
staging: comedi: rtd520: fix rtd_ao_winsn()

The "comedi range and offset conversions" in this function is
incorrect. According to the hardware manual, the DAC registers
are defined as:

    | D15  | D14-D03     | D02 | | D01 | D00 |
    | Sign | 12-bit data | (see manual)      |

The extended 'Sign' bit is only used for bipolar ranges to indicate
negative 12-bit data values.

The current code actually flips the sign for all bipolar data
values instead of just munging the value to 2's complement and
extending the sign bit.

Fix the function to correctly munge the comedi offset binary
values into 2's complement and extended the sign when bipolar
ranges are specified.

For aesthetics, rename this function and tidy it up a bit.

Save the readback value after the conversion is complete.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: rtd520: convert DAC register defines to macros
H Hartley Sweeten [Fri, 25 Sep 2015 00:52:07 +0000 (17:52 -0700)]
staging: comedi: rtd520: convert DAC register defines to macros

For aesthetics, convert the defines for the various DAC registers into
macros that take the comedi channel and return the correct offset.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: rtd520: remove unnecessary comments from rtd_ao_winsn()
H Hartley Sweeten [Fri, 25 Sep 2015 00:52:06 +0000 (17:52 -0700)]
staging: comedi: rtd520: remove unnecessary comments from rtd_ao_winsn()

These comments are cut-and-paste from the old skeleton driver. Remove
them.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: rtd520: move constants to right side of comparisons
H Hartley Sweeten [Fri, 25 Sep 2015 00:52:05 +0000 (17:52 -0700)]
staging: comedi: rtd520: move constants to right side of comparisons

Fix the checkpatch.pl issues about:

WARNING: Comparisons should place the constant on the right side of the test

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: rtd520: rename rtd520Boards
H Hartley Sweeten [Fri, 25 Sep 2015 00:52:04 +0000 (17:52 -0700)]
staging: comedi: rtd520: rename rtd520Boards

For aesthetics, rename this CamelCase array.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: rtd529: usleep_range is preferred over udelay
H Hartley Sweeten [Fri, 25 Sep 2015 00:52:03 +0000 (17:52 -0700)]
staging: comedi: rtd529: usleep_range is preferred over udelay

Fix checkpatch issue: "CHECK: usleep_range is preferred over udelay; see
Documentation/timers/timers-howto.txt".  `udelay()` is only used in the
firmware upload process.  Replace them with `usleep_range()` with a
reasonable upper limit.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: rtd520: fix logical continuations
H Hartley Sweeten [Fri, 25 Sep 2015 00:52:02 +0000 (17:52 -0700)]
staging: comedi: rtd520: fix logical continuations

Fix the checkpatch.pl issues about:

CHECK: Logical continuations should be on the previous line

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: rtd520: prefer using the BIT macro
H Hartley Sweeten [Fri, 25 Sep 2015 00:52:01 +0000 (17:52 -0700)]
staging: comedi: rtd520: prefer using the BIT macro

Use the BIT macro to define the register bits.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: comedi_pci.c: improve function documentation
Ian Abbott [Wed, 23 Sep 2015 18:35:56 +0000 (19:35 +0100)]
staging: comedi: comedi_pci.c: improve function documentation

Expand the descriptions of the functions and document the return values.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: rti800: use comedi_offset_munge()
H Hartley Sweeten [Wed, 23 Sep 2015 17:43:37 +0000 (10:43 -0700)]
staging: comedi: rti800: use comedi_offset_munge()

Use the comedi_offset_munge() helper to do the two's complement
to comedi offset binary and comedi offset binary to two's complement
conversions.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: rti800: prefer using the BIT macro
H Hartley Sweeten [Wed, 23 Sep 2015 17:43:36 +0000 (10:43 -0700)]
staging: comedi: rti800: prefer using the BIT macro

Use the BIT macro to define the register bits.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: comedi_fops.c: Tweak kernel-doc for consistency
Ian Abbott [Wed, 23 Sep 2015 15:33:27 +0000 (16:33 +0100)]
staging: comedi: comedi_fops.c: Tweak kernel-doc for consistency

Adjust the kernel-doc in this file for consistency of capitalization and
punctuation.  Make more use of the special kernel-doc markers for
parameter names, constant names, etc.  Use the correct kernel-doc tag
for the return values sections.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: comedi_buf.c: document remaining exported functions
Ian Abbott [Tue, 22 Sep 2015 17:02:39 +0000 (18:02 +0100)]
staging: comedi: comedi_buf.c: document remaining exported functions

Add kernel-doc headers to the remaining functions marked for export.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: comedi_buf.c: tweak existing kernel-doc
Ian Abbott [Tue, 22 Sep 2015 17:02:38 +0000 (18:02 +0100)]
staging: comedi: comedi_buf.c: tweak existing kernel-doc

Expand the kernel-doc descriptions of those exported functions that
already have kernel-doc comments.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: comedidev.h: document remaining inline functions
Ian Abbott [Mon, 21 Sep 2015 17:52:56 +0000 (18:52 +0100)]
staging: comedi: comedidev.h: document remaining inline functions

Add kernel-doc headers to the inline functions that do not have them
yet.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: comedidev.h: tweak docs for inline functions
Ian Abbott [Mon, 21 Sep 2015 17:52:55 +0000 (18:52 +0100)]
staging: comedi: comedidev.h: tweak docs for inline functions

Tweak the kernel-doc for already documented inline functions for
consistency, and document their return values.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: comedidev.h: tweak struct comedi_async documentation
Ian Abbott [Mon, 21 Sep 2015 17:52:54 +0000 (18:52 +0100)]
staging: comedi: comedidev.h: tweak struct comedi_async documentation

Make the kernel-doc layout for `struct comedi_async` more consistent
with the documentation for the other COMEDI data types.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: comedidev.h: document struct comedi_lrange
Ian Abbott [Mon, 21 Sep 2015 17:52:53 +0000 (18:52 +0100)]
staging: comedi: comedidev.h: document struct comedi_lrange

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: comedidev.h: document struct comedi_buf_map
Ian Abbott [Mon, 21 Sep 2015 17:52:52 +0000 (18:52 +0100)]
staging: comedi: comedidev.h: document struct comedi_buf_map

Add kernel-doc for `struct comedi_buf_map` and the associated `struct
comedi_buf_page`.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>