Home
last modified time | relevance | path

Searched defs:priv (Results 1 – 200 of 1598) sorted by relevance

12345678

/linux-4.1.27/drivers/net/ethernet/altera/
Daltera_sgdma.c65 int sgdma_initialize(struct altera_tse_private *priv) in sgdma_initialize()
115 void sgdma_uninitialize(struct altera_tse_private *priv) in sgdma_uninitialize()
129 void sgdma_reset(struct altera_tse_private *priv) in sgdma_reset()
147 void sgdma_enable_rxirq(struct altera_tse_private *priv) in sgdma_enable_rxirq()
151 void sgdma_enable_txirq(struct altera_tse_private *priv) in sgdma_enable_txirq()
155 void sgdma_disable_rxirq(struct altera_tse_private *priv) in sgdma_disable_rxirq()
159 void sgdma_disable_txirq(struct altera_tse_private *priv) in sgdma_disable_txirq()
163 void sgdma_clear_rxirq(struct altera_tse_private *priv) in sgdma_clear_rxirq()
169 void sgdma_clear_txirq(struct altera_tse_private *priv) in sgdma_clear_txirq()
180 int sgdma_tx_buffer(struct altera_tse_private *priv, struct tse_buffer *buffer) in sgdma_tx_buffer()
[all …]
Daltera_msgdma.c24 int msgdma_initialize(struct altera_tse_private *priv) in msgdma_initialize()
29 void msgdma_uninitialize(struct altera_tse_private *priv) in msgdma_uninitialize()
33 void msgdma_start_rxdma(struct altera_tse_private *priv) in msgdma_start_rxdma()
37 void msgdma_reset(struct altera_tse_private *priv) in msgdma_reset()
85 void msgdma_disable_rxirq(struct altera_tse_private *priv) in msgdma_disable_rxirq()
91 void msgdma_enable_rxirq(struct altera_tse_private *priv) in msgdma_enable_rxirq()
97 void msgdma_disable_txirq(struct altera_tse_private *priv) in msgdma_disable_txirq()
103 void msgdma_enable_txirq(struct altera_tse_private *priv) in msgdma_enable_txirq()
109 void msgdma_clear_rxirq(struct altera_tse_private *priv) in msgdma_clear_rxirq()
114 void msgdma_clear_txirq(struct altera_tse_private *priv) in msgdma_clear_txirq()
[all …]
Daltera_tse_main.c94 static inline u32 tse_tx_avail(struct altera_tse_private *priv) in tse_tx_avail()
104 struct altera_tse_private *priv = netdev_priv(ndev); in altera_tse_mdio_read() local
119 struct altera_tse_private *priv = netdev_priv(ndev); in altera_tse_mdio_write() local
132 struct altera_tse_private *priv = netdev_priv(dev); in altera_tse_mdio_create() local
197 struct altera_tse_private *priv = netdev_priv(dev); in altera_tse_mdio_destroy() local
212 static int tse_init_rx_buffer(struct altera_tse_private *priv, in tse_init_rx_buffer()
233 static void tse_free_rx_buffer(struct altera_tse_private *priv, in tse_free_rx_buffer()
252 static void tse_free_tx_buffer(struct altera_tse_private *priv, in tse_free_tx_buffer()
270 static int alloc_init_skbufs(struct altera_tse_private *priv) in alloc_init_skbufs()
316 struct altera_tse_private *priv = netdev_priv(dev); in free_skbufs() local
[all …]
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
Dhtc_drv_gpio.c30 static void ath_detect_bt_priority(struct ath9k_htc_priv *priv) in ath_detect_bt_priority()
66 struct ath9k_htc_priv *priv = container_of(work, struct ath9k_htc_priv, in ath_btcoex_period_work() local
100 struct ath9k_htc_priv *priv = container_of(work, struct ath9k_htc_priv, in ath_btcoex_duty_cycle_work() local
117 static void ath_htc_init_btcoex_work(struct ath9k_htc_priv *priv) in ath_htc_init_btcoex_work()
134 static void ath_htc_resume_btcoex_work(struct ath9k_htc_priv *priv) in ath_htc_resume_btcoex_work()
152 static void ath_htc_cancel_btcoex_work(struct ath9k_htc_priv *priv) in ath_htc_cancel_btcoex_work()
158 void ath9k_htc_start_btcoex(struct ath9k_htc_priv *priv) in ath9k_htc_start_btcoex()
170 void ath9k_htc_stop_btcoex(struct ath9k_htc_priv *priv) in ath9k_htc_stop_btcoex()
182 void ath9k_htc_init_btcoex(struct ath9k_htc_priv *priv, char *product) in ath9k_htc_init_btcoex()
228 struct ath9k_htc_priv *priv = container_of(work, in ath9k_led_work() local
[all …]
Dhtc_drv_main.c24 static enum htc_phymode ath9k_htc_get_curmode(struct ath9k_htc_priv *priv, in ath9k_htc_get_curmode()
33 bool ath9k_htc_setpower(struct ath9k_htc_priv *priv, in ath9k_htc_setpower()
45 void ath9k_htc_ps_wakeup(struct ath9k_htc_priv *priv) in ath9k_htc_ps_wakeup()
56 void ath9k_htc_ps_restore(struct ath9k_htc_priv *priv) in ath9k_htc_ps_restore()
78 struct ath9k_htc_priv *priv = in ath9k_ps_work() local
93 struct ath9k_htc_priv *priv = data; in ath9k_htc_vif_iter() local
109 static void ath9k_htc_vif_reconfig(struct ath9k_htc_priv *priv) in ath9k_htc_vif_reconfig()
140 static void ath9k_htc_set_mac_bssid_mask(struct ath9k_htc_priv *priv, in ath9k_htc_set_mac_bssid_mask()
170 static void ath9k_htc_set_opmode(struct ath9k_htc_priv *priv) in ath9k_htc_set_opmode()
184 void ath9k_htc_reset(struct ath9k_htc_priv *priv) in ath9k_htc_reset()
[all …]
Dhtc_drv_txrx.c56 void ath9k_htc_check_stop_queues(struct ath9k_htc_priv *priv) in ath9k_htc_check_stop_queues()
68 void ath9k_htc_check_wake_queues(struct ath9k_htc_priv *priv) in ath9k_htc_check_wake_queues()
79 int ath9k_htc_tx_get_slot(struct ath9k_htc_priv *priv) in ath9k_htc_tx_get_slot()
95 void ath9k_htc_tx_clear_slot(struct ath9k_htc_priv *priv, int slot) in ath9k_htc_tx_clear_slot()
102 static inline enum htc_endpoint_id get_htc_epid(struct ath9k_htc_priv *priv, in get_htc_epid()
131 get_htc_epid_queue(struct ath9k_htc_priv *priv, u8 epid) in get_htc_epid_queue()
157 static inline int strip_drv_header(struct ath9k_htc_priv *priv, in strip_drv_header()
188 int ath_htc_txq_update(struct ath9k_htc_priv *priv, int qnum, in ath_htc_txq_update()
214 static void ath9k_htc_tx_mgmt(struct ath9k_htc_priv *priv, in ath9k_htc_tx_mgmt()
260 static void ath9k_htc_tx_data(struct ath9k_htc_priv *priv, in ath9k_htc_tx_data()
[all …]
Dhtc_drv_init.c75 static int ath9k_htc_wait_for_target(struct ath9k_htc_priv *priv) in ath9k_htc_wait_for_target()
96 static void ath9k_deinit_priv(struct ath9k_htc_priv *priv) in ath9k_deinit_priv()
103 static void ath9k_deinit_device(struct ath9k_htc_priv *priv) in ath9k_deinit_device()
116 static inline int ath9k_htc_connect_svc(struct ath9k_htc_priv *priv, in ath9k_htc_connect_svc()
136 static int ath9k_init_htc_services(struct ath9k_htc_priv *priv, u16 devid, in ath9k_init_htc_services()
224 struct ath9k_htc_priv *priv = hw->priv; in ath9k_reg_notifier() local
234 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; in ath9k_regread() local
256 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; in ath9k_multi_regread() local
281 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; in ath9k_regwrite_multi() local
302 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; in ath9k_regwrite_single() local
[all …]
Dhtc_drv_beacon.c21 void ath9k_htc_beaconq_config(struct ath9k_htc_priv *priv) in ath9k_htc_beaconq_config()
68 static void ath9k_htc_beacon_init(struct ath9k_htc_priv *priv, in ath9k_htc_beacon_init()
92 static void ath9k_htc_beacon_config_sta(struct ath9k_htc_priv *priv, in ath9k_htc_beacon_config_sta()
111 static void ath9k_htc_beacon_config_ap(struct ath9k_htc_priv *priv, in ath9k_htc_beacon_config_ap()
121 static void ath9k_htc_beacon_config_adhoc(struct ath9k_htc_priv *priv, in ath9k_htc_beacon_config_adhoc()
137 static void ath9k_htc_send_buffered(struct ath9k_htc_priv *priv, in ath9k_htc_send_buffered()
191 static void ath9k_htc_send_beacon(struct ath9k_htc_priv *priv, in ath9k_htc_send_beacon()
262 static int ath9k_htc_choose_bslot(struct ath9k_htc_priv *priv, in ath9k_htc_choose_bslot()
285 void ath9k_htc_swba(struct ath9k_htc_priv *priv, in ath9k_htc_swba()
320 void ath9k_htc_assign_bslot(struct ath9k_htc_priv *priv, in ath9k_htc_assign_bslot()
[all …]
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/
Dtt.c82 bool iwl_tt_is_low_power_state(struct iwl_priv *priv) in iwl_tt_is_low_power_state()
91 u8 iwl_tt_current_power_mode(struct iwl_priv *priv) in iwl_tt_current_power_mode()
98 bool iwl_ht_enabled(struct iwl_priv *priv) in iwl_ht_enabled()
109 static bool iwl_within_ct_kill_margin(struct iwl_priv *priv) in iwl_within_ct_kill_margin()
123 bool iwl_check_for_ct_kill(struct iwl_priv *priv) in iwl_check_for_ct_kill()
134 enum iwl_antenna_ok iwl_tx_ant_restriction(struct iwl_priv *priv) in iwl_tx_ant_restriction()
145 enum iwl_antenna_ok iwl_rx_ant_restriction(struct iwl_priv *priv) in iwl_rx_ant_restriction()
169 struct iwl_priv *priv = (struct iwl_priv *)data; in iwl_tt_check_exit_ct_kill() local
199 static void iwl_perform_ct_kill_task(struct iwl_priv *priv, in iwl_perform_ct_kill_task()
219 struct iwl_priv *priv = (struct iwl_priv *)data; in iwl_tt_ready_for_ct_kill() local
[all …]
Ddevices.c54 static void iwl1000_set_ct_threshold(struct iwl_priv *priv) in iwl1000_set_ct_threshold()
62 static void iwl1000_nic_config(struct iwl_priv *priv) in iwl1000_nic_config()
76 static inline u32 iwl_beacon_time_mask_low(struct iwl_priv *priv, in iwl_beacon_time_mask_low()
87 static inline u32 iwl_beacon_time_mask_high(struct iwl_priv *priv, in iwl_beacon_time_mask_high()
99 static u32 iwl_usecs_to_beacons(struct iwl_priv *priv, u32 usec, in iwl_usecs_to_beacons()
121 static __le32 iwl_add_beacon_time(struct iwl_priv *priv, u32 base, in iwl_add_beacon_time()
169 static void iwl1000_hw_set_hw_params(struct iwl_priv *priv) in iwl1000_hw_set_hw_params()
192 static void iwl2000_set_ct_threshold(struct iwl_priv *priv) in iwl2000_set_ct_threshold()
200 static void iwl2000_nic_config(struct iwl_priv *priv) in iwl2000_nic_config()
230 static void iwl2000_hw_set_hw_params(struct iwl_priv *priv) in iwl2000_hw_set_hw_params()
[all …]
Dmain.c74 void iwl_update_chain_flags(struct iwl_priv *priv) in iwl_update_chain_flags()
86 static void iwl_set_beacon_tim(struct iwl_priv *priv, in iwl_set_beacon_tim()
112 int iwlagn_send_beacon_cmd(struct iwl_priv *priv) in iwlagn_send_beacon_cmd()
198 struct iwl_priv *priv = in iwl_bg_beacon_update() local
237 struct iwl_priv *priv = in iwl_bg_bt_runtime_config() local
255 struct iwl_priv *priv = in iwl_bg_bt_full_concurrency() local
286 int iwl_send_statistics_request(struct iwl_priv *priv, u8 flags, bool clear) in iwl_send_statistics_request()
316 struct iwl_priv *priv = (struct iwl_priv *)data; in iwl_bg_statistics_periodic() local
329 static void iwl_print_cont_event_trace(struct iwl_priv *priv, u32 base, in iwl_print_cont_event_trace()
379 static void iwl_continuous_event_trace(struct iwl_priv *priv) in iwl_continuous_event_trace()
[all …]
Dscan.c57 static int iwl_send_scan_abort(struct iwl_priv *priv) in iwl_send_scan_abort()
95 static void iwl_complete_scan(struct iwl_priv *priv, bool aborted) in iwl_complete_scan()
108 static void iwl_process_scan_complete(struct iwl_priv *priv) in iwl_process_scan_complete()
161 void iwl_force_scan_end(struct iwl_priv *priv) in iwl_force_scan_end()
178 static void iwl_do_scan_abort(struct iwl_priv *priv) in iwl_do_scan_abort()
205 int iwl_scan_cancel(struct iwl_priv *priv) in iwl_scan_cancel()
217 void iwl_scan_cancel_timeout(struct iwl_priv *priv, unsigned long ms) in iwl_scan_cancel_timeout()
250 static int iwl_rx_reply_scan(struct iwl_priv *priv, in iwl_rx_reply_scan()
264 static int iwl_rx_scan_start_notif(struct iwl_priv *priv, in iwl_rx_scan_start_notif()
285 static int iwl_rx_scan_results_notif(struct iwl_priv *priv, in iwl_rx_scan_results_notif()
[all …]
Dsta.c37 static int iwl_sta_ucode_activate(struct iwl_priv *priv, u8 sta_id) in iwl_sta_ucode_activate()
63 static int iwl_process_add_sta_resp(struct iwl_priv *priv, in iwl_process_add_sta_resp()
127 int iwl_add_sta_callback(struct iwl_priv *priv, struct iwl_rx_cmd_buffer *rxb, in iwl_add_sta_callback()
138 int iwl_send_add_sta(struct iwl_priv *priv, in iwl_send_add_sta()
174 bool iwl_is_ht40_tx_allowed(struct iwl_priv *priv, in iwl_is_ht40_tx_allowed()
193 static void iwl_sta_calc_ht_flags(struct iwl_priv *priv, in iwl_sta_calc_ht_flags()
241 int iwl_sta_update_ht(struct iwl_priv *priv, struct iwl_rxon_context *ctx, in iwl_sta_update_ht()
267 static void iwl_set_ht_add_station(struct iwl_priv *priv, u8 index, in iwl_set_ht_add_station()
285 u8 iwl_prep_station(struct iwl_priv *priv, struct iwl_rxon_context *ctx, in iwl_prep_station()
372 int iwl_add_station_common(struct iwl_priv *priv, struct iwl_rxon_context *ctx, in iwl_add_station_common()
[all …]
Drxon.c37 void iwl_connection_init_rx_config(struct iwl_priv *priv, in iwl_connection_init_rx_config()
98 static int iwlagn_disable_bss(struct iwl_priv *priv, in iwlagn_disable_bss()
118 static int iwlagn_disable_pan(struct iwl_priv *priv, in iwlagn_disable_pan()
155 static int iwlagn_disconn_pan(struct iwl_priv *priv, in iwlagn_disconn_pan()
171 static void iwlagn_update_qos(struct iwl_priv *priv, in iwlagn_update_qos()
199 static int iwlagn_update_beacon(struct iwl_priv *priv, in iwlagn_update_beacon()
211 static int iwlagn_send_rxon_assoc(struct iwl_priv *priv, in iwlagn_send_rxon_assoc()
291 static int iwl_send_rxon_timing(struct iwl_priv *priv, in iwl_send_rxon_timing()
359 static int iwlagn_rxon_disconn(struct iwl_priv *priv, in iwlagn_rxon_disconn()
401 static int iwl_set_tx_power(struct iwl_priv *priv, s8 tx_power, bool force) in iwl_set_tx_power()
[all …]
Ducode.c49 iwl_get_ucode_image(struct iwl_priv *priv, enum iwl_ucode_type ucode_type) in iwl_get_ucode_image()
60 static int iwl_set_Xtal_calib(struct iwl_priv *priv) in iwl_set_Xtal_calib()
71 static int iwl_set_temperature_offset_calib(struct iwl_priv *priv) in iwl_set_temperature_offset_calib()
86 static int iwl_set_temperature_offset_calib_v2(struct iwl_priv *priv) in iwl_set_temperature_offset_calib_v2()
111 static int iwl_send_calib_cfg(struct iwl_priv *priv) in iwl_send_calib_cfg()
130 int iwl_init_alive_start(struct iwl_priv *priv) in iwl_init_alive_start()
167 static int iwl_send_wimax_coex(struct iwl_priv *priv) in iwl_send_wimax_coex()
201 void iwl_send_prio_tbl(struct iwl_priv *priv) in iwl_send_prio_tbl()
213 int iwl_send_bt_env(struct iwl_priv *priv, u8 action, u8 type) in iwl_send_bt_env()
249 static int iwl_alive_notify(struct iwl_priv *priv) in iwl_alive_notify()
[all …]
Dlib.c49 int iwlagn_send_tx_power(struct iwl_priv *priv) in iwlagn_send_tx_power()
88 void iwlagn_temperature(struct iwl_priv *priv) in iwlagn_temperature()
118 int iwlagn_manage_ibss_station(struct iwl_priv *priv, in iwlagn_manage_ibss_station()
138 int iwlagn_txfifo_flush(struct iwl_priv *priv, u32 scd_q_msk) in iwlagn_txfifo_flush()
174 void iwlagn_dev_txfifo_flush(struct iwl_priv *priv) in iwlagn_dev_txfifo_flush()
241 void iwlagn_send_advance_bt_config(struct iwl_priv *priv) in iwlagn_send_advance_bt_config()
348 void iwlagn_bt_adjust_rssi_monitor(struct iwl_priv *priv, bool rssi_ena) in iwlagn_bt_adjust_rssi_monitor()
428 struct iwl_priv *priv = in iwlagn_bt_traffic_change_work() local
502 void iwlagn_bt_coex_rssi_monitor(struct iwl_priv *priv) in iwlagn_bt_coex_rssi_monitor()
511 static void iwlagn_print_uartmsg(struct iwl_priv *priv, in iwlagn_print_uartmsg()
[all …]
Dmac80211.c97 int iwlagn_mac_setup_register(struct iwl_priv *priv, in iwlagn_mac_setup_register()
223 void iwlagn_mac_unregister(struct iwl_priv *priv) in iwlagn_mac_unregister()
232 static int __iwl_up(struct iwl_priv *priv) in __iwl_up()
280 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); in iwlagn_mac_start() local
307 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); in iwlagn_mac_stop() local
331 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); in iwlagn_mac_set_rekey_data() local
358 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); in iwlagn_mac_suspend() local
399 struct iwl_priv *priv; member
408 struct iwl_priv *priv = resume_data->priv; in iwl_resume_status_fn() local
422 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); in iwlagn_mac_resume() local
[all …]
Dled.c69 void iwlagn_led_enable(struct iwl_priv *priv) in iwlagn_led_enable()
85 static inline u8 iwl_blink_compensation(struct iwl_priv *priv, in iwl_blink_compensation()
97 static int iwl_send_led_cmd(struct iwl_priv *priv, struct iwl_led_cmd *led_cmd) in iwl_send_led_cmd()
116 static int iwl_led_cmd(struct iwl_priv *priv, in iwl_led_cmd()
155 struct iwl_priv *priv = container_of(led_cdev, struct iwl_priv, led); in iwl_led_brightness_set() local
168 struct iwl_priv *priv = container_of(led_cdev, struct iwl_priv, led); in iwl_led_blink_set() local
173 void iwl_leds_init(struct iwl_priv *priv) in iwl_leds_init()
216 void iwl_leds_exit(struct iwl_priv *priv) in iwl_leds_exit()
Drx.c126 static int iwlagn_rx_reply_error(struct iwl_priv *priv, in iwlagn_rx_reply_error()
142 static int iwlagn_rx_csa(struct iwl_priv *priv, struct iwl_rx_cmd_buffer *rxb, in iwlagn_rx_csa()
172 static int iwlagn_rx_spectrum_measure_notif(struct iwl_priv *priv, in iwlagn_rx_spectrum_measure_notif()
190 static int iwlagn_rx_pm_sleep_notif(struct iwl_priv *priv, in iwlagn_rx_pm_sleep_notif()
203 static int iwlagn_rx_pm_debug_statistics_notif(struct iwl_priv *priv, in iwlagn_rx_pm_debug_statistics_notif()
215 static int iwlagn_rx_beacon_notif(struct iwl_priv *priv, in iwlagn_rx_beacon_notif()
245 static bool iwlagn_good_plcp_health(struct iwl_priv *priv, in iwlagn_good_plcp_health()
277 int iwl_force_rf_reset(struct iwl_priv *priv, bool external) in iwl_force_rf_reset()
316 static void iwlagn_recover_from_statistics(struct iwl_priv *priv, in iwlagn_recover_from_statistics()
344 static void iwlagn_rx_calc_noise(struct iwl_priv *priv) in iwlagn_rx_calc_noise()
[all …]
Ddebugfs.c108 struct iwl_priv *priv = file->private_data; in iwl_dbgfs_sram_read() local
189 struct iwl_priv *priv = file->private_data; in iwl_dbgfs_sram_write() local
217 struct iwl_priv *priv = file->private_data; in iwl_dbgfs_wowlan_sram_read() local
230 struct iwl_priv *priv = file->private_data; in iwl_dbgfs_stations_read() local
289 struct iwl_priv *priv = file->private_data; in iwl_dbgfs_nvm_read() local
329 struct iwl_priv *priv = file->private_data; in iwl_dbgfs_channels_read() local
395 struct iwl_priv *priv = file->private_data; in iwl_dbgfs_status_read() local
429 struct iwl_priv *priv = file->private_data; in iwl_dbgfs_rx_handlers_read() local
458 struct iwl_priv *priv = file->private_data; in iwl_dbgfs_rx_handlers_write() local
480 struct iwl_priv *priv = file->private_data; in iwl_dbgfs_qos_read() local
[all …]
Dtx.c51 static void iwlagn_tx_cmd_protection(struct iwl_priv *priv, in iwlagn_tx_cmd_protection()
64 static void iwlagn_tx_cmd_build_basic(struct iwl_priv *priv, in iwlagn_tx_cmd_build_basic()
126 static void iwlagn_tx_cmd_build_rate(struct iwl_priv *priv, in iwlagn_tx_cmd_build_rate()
208 static void iwlagn_tx_cmd_build_hwcrypto(struct iwl_priv *priv, in iwlagn_tx_cmd_build_hwcrypto()
279 int iwlagn_tx_skb(struct iwl_priv *priv, in iwlagn_tx_skb()
483 static int iwlagn_alloc_agg_txq(struct iwl_priv *priv, int mq) in iwlagn_alloc_agg_txq()
498 static void iwlagn_dealloc_agg_txq(struct iwl_priv *priv, int q) in iwlagn_dealloc_agg_txq()
504 int iwlagn_tx_agg_stop(struct iwl_priv *priv, struct ieee80211_vif *vif, in iwlagn_tx_agg_stop()
595 int iwlagn_tx_agg_start(struct iwl_priv *priv, struct ieee80211_vif *vif, in iwlagn_tx_agg_start()
654 int iwlagn_tx_agg_flush(struct iwl_priv *priv, struct ieee80211_vif *vif, in iwlagn_tx_agg_flush()
[all …]
/linux-4.1.27/drivers/bluetooth/
Dbtmrvl_main.c37 void btmrvl_interrupt(struct btmrvl_private *priv) in btmrvl_interrupt()
54 bool btmrvl_check_evtpkt(struct btmrvl_private *priv, struct sk_buff *skb) in btmrvl_check_evtpkt()
83 int btmrvl_process_event(struct btmrvl_private *priv, struct sk_buff *skb) in btmrvl_process_event()
175 static int btmrvl_send_sync_cmd(struct btmrvl_private *priv, u16 opcode, in btmrvl_send_sync_cmd()
221 int btmrvl_send_module_cfg_cmd(struct btmrvl_private *priv, u8 subcmd) in btmrvl_send_module_cfg_cmd()
233 static int btmrvl_enable_sco_routing_to_host(struct btmrvl_private *priv) in btmrvl_enable_sco_routing_to_host()
245 int btmrvl_pscan_window_reporting(struct btmrvl_private *priv, u8 subcmd) in btmrvl_pscan_window_reporting()
262 int btmrvl_send_hscfg_cmd(struct btmrvl_private *priv) in btmrvl_send_hscfg_cmd()
281 int btmrvl_enable_ps(struct btmrvl_private *priv) in btmrvl_enable_ps()
299 int btmrvl_enable_hs(struct btmrvl_private *priv) in btmrvl_enable_hs()
[all …]
/linux-4.1.27/drivers/net/wireless/libertas/
Dmain.c102 int lbs_set_iface_type(struct lbs_private *priv, enum nl80211_iftype type) in lbs_set_iface_type()
128 int lbs_start_iface(struct lbs_private *priv) in lbs_start_iface()
180 struct lbs_private *priv = dev->ml_priv; in lbs_dev_open() local
204 static bool lbs_command_queue_empty(struct lbs_private *priv) in lbs_command_queue_empty()
214 int lbs_stop_iface(struct lbs_private *priv) in lbs_stop_iface()
251 struct lbs_private *priv = dev->ml_priv; in lbs_eth_stop() local
276 void lbs_host_to_card_done(struct lbs_private *priv) in lbs_host_to_card_done()
301 struct lbs_private *priv = dev->ml_priv; in lbs_set_mac_address() local
374 void lbs_update_mcast(struct lbs_private *priv) in lbs_update_mcast()
433 struct lbs_private *priv = container_of(work, struct lbs_private, mcast_work); in lbs_set_mcast_worker() local
[all …]
Dmesh.h24 static inline bool lbs_mesh_activated(struct lbs_private *priv) in lbs_mesh_activated()
63 #define lbs_init_mesh(priv) argument
64 #define lbs_deinit_mesh(priv) argument
65 #define lbs_start_mesh(priv) argument
66 #define lbs_add_mesh(priv) argument
67 #define lbs_remove_mesh(priv) argument
68 #define lbs_mesh_set_dev(priv, dev, rxpd) (dev) argument
69 #define lbs_mesh_set_txpd(priv, dev, txpd) argument
70 #define lbs_mesh_set_channel(priv, channel) (0) argument
71 #define lbs_mesh_activated(priv) (false) argument
Dcmd.c30 int lbs_cmd_copyback(struct lbs_private *priv, unsigned long extra, in lbs_cmd_copyback()
53 static int lbs_cmd_async_callback(struct lbs_private *priv, unsigned long extra, in lbs_cmd_async_callback()
88 int lbs_update_hw_spec(struct lbs_private *priv) in lbs_update_hw_spec()
166 static int lbs_ret_host_sleep_cfg(struct lbs_private *priv, unsigned long dummy, in lbs_ret_host_sleep_cfg()
183 int lbs_host_sleep_cfg(struct lbs_private *priv, uint32_t criteria, in lbs_host_sleep_cfg()
234 int lbs_set_ps_mode(struct lbs_private *priv, u16 cmd_action, bool block) in lbs_set_ps_mode()
269 int lbs_cmd_802_11_sleep_params(struct lbs_private *priv, uint16_t cmd_action, in lbs_cmd_802_11_sleep_params()
311 static int lbs_wait_for_ds_awake(struct lbs_private *priv) in lbs_wait_for_ds_awake()
329 int lbs_set_deep_sleep(struct lbs_private *priv, int deep_sleep) in lbs_set_deep_sleep()
365 static int lbs_ret_host_sleep_activate(struct lbs_private *priv, in lbs_ret_host_sleep_activate()
[all …]
Dmesh.c24 static int lbs_mesh_access(struct lbs_private *priv, uint16_t cmd_action, in lbs_mesh_access()
43 static int __lbs_mesh_config_send(struct lbs_private *priv, in __lbs_mesh_config_send()
73 static int lbs_mesh_config_send(struct lbs_private *priv, in lbs_mesh_config_send()
91 static int lbs_mesh_config(struct lbs_private *priv, uint16_t action, in lbs_mesh_config()
131 int lbs_mesh_set_channel(struct lbs_private *priv, u8 channel) in lbs_mesh_set_channel()
137 static uint16_t lbs_mesh_get_channel(struct lbs_private *priv) in lbs_mesh_get_channel()
159 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in lbs_anycast_get() local
182 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in lbs_anycast_set() local
207 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in lbs_prb_rsp_limit_get() local
234 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in lbs_prb_rsp_limit_set() local
[all …]
Dcfg.c189 static int lbs_add_channel_list_tlv(struct lbs_private *priv, u8 *tlv, in lbs_add_channel_list_tlv()
443 struct lbs_private *priv = wiphy_priv(wiphy); in lbs_cfg_set_monitor_channel() local
464 struct lbs_private *priv = wiphy_priv(wiphy); in lbs_cfg_set_mesh_channel() local
503 static int lbs_ret_scan(struct lbs_private *priv, unsigned long dummy, in lbs_ret_scan()
689 struct lbs_private *priv = in lbs_scan_worker() local
774 static void _internal_start_scan(struct lbs_private *priv, bool internal, in _internal_start_scan()
795 void lbs_scan_done(struct lbs_private *priv) in lbs_scan_done()
810 struct lbs_private *priv = wiphy_priv(wiphy); in lbs_cfg_scan() local
838 void lbs_send_disconnect_notification(struct lbs_private *priv) in lbs_send_disconnect_notification()
850 void lbs_send_mic_failureevent(struct lbs_private *priv, u32 event) in lbs_send_mic_failureevent()
[all …]
Dfirmware.c14 static void lbs_fw_loaded(struct lbs_private *priv, int ret, in lbs_fw_loaded()
30 static void do_load_firmware(struct lbs_private *priv, const char *name, in do_load_firmware()
46 struct lbs_private *priv = context; in main_firmware_cb() local
65 struct lbs_private *priv = context; in helper_firmware_cb() local
83 static void load_next_firmware_from_table(struct lbs_private *priv) in load_next_firmware_from_table()
113 void lbs_wait_for_firmware_load(struct lbs_private *priv) in lbs_wait_for_firmware_load()
130 int lbs_get_firmware_async(struct lbs_private *priv, struct device *device, in lbs_get_firmware_async()
/linux-4.1.27/drivers/net/ethernet/microchip/
Denc28j60.c88 spi_read_buf(struct enc28j60_net *priv, int len, u8 *data) in spi_read_buf()
120 static int spi_write_buf(struct enc28j60_net *priv, int len, in spi_write_buf()
141 static u8 spi_read_op(struct enc28j60_net *priv, u8 op, in spi_read_op()
168 static int spi_write_op(struct enc28j60_net *priv, u8 op, in spi_write_op()
182 static void enc28j60_soft_reset(struct enc28j60_net *priv) in enc28j60_soft_reset()
196 static void enc28j60_set_bank(struct enc28j60_net *priv, u8 addr) in enc28j60_set_bank()
240 static void nolock_reg_bfset(struct enc28j60_net *priv, in nolock_reg_bfset()
247 static void locked_reg_bfset(struct enc28j60_net *priv, in locked_reg_bfset()
258 static void nolock_reg_bfclr(struct enc28j60_net *priv, in nolock_reg_bfclr()
265 static void locked_reg_bfclr(struct enc28j60_net *priv, in locked_reg_bfclr()
[all …]
/linux-4.1.27/drivers/net/wireless/cw1200/
Dsta.c59 struct cw1200_common *priv = dev->priv; in cw1200_start() local
98 struct cw1200_common *priv = dev->priv; in cw1200_stop() local
151 void __cw1200_cqm_bssloss_sm(struct cw1200_common *priv, in __cw1200_cqm_bssloss_sm()
212 struct cw1200_common *priv = dev->priv; in cw1200_add_interface() local
254 struct cw1200_common *priv = dev->priv; in cw1200_remove_interface() local
330 struct cw1200_common *priv = dev->priv; in cw1200_config() local
442 void cw1200_update_filtering(struct cw1200_common *priv) in cw1200_update_filtering()
516 struct cw1200_common *priv = in cw1200_update_filtering_work() local
525 struct cw1200_common *priv = in cw1200_set_beacon_wakeup_period_work() local
544 struct cw1200_common *priv = hw->priv; in cw1200_prepare_multicast() local
[all …]
Dwsm.c94 static int wsm_generic_confirm(struct cw1200_common *priv, in wsm_generic_confirm()
108 int wsm_configuration(struct cw1200_common *priv, struct wsm_configuration *arg) in wsm_configuration()
137 static int wsm_configuration_confirm(struct cw1200_common *priv, in wsm_configuration_confirm()
166 int wsm_reset(struct cw1200_common *priv, const struct wsm_reset *arg) in wsm_reset()
192 int wsm_read_mib(struct cw1200_common *priv, u16 mib_id, void *_buf, in wsm_read_mib()
217 static int wsm_read_mib_confirm(struct cw1200_common *priv, in wsm_read_mib_confirm()
243 int wsm_write_mib(struct cw1200_common *priv, u16 mib_id, void *_buf, in wsm_write_mib()
270 static int wsm_write_mib_confirm(struct cw1200_common *priv, in wsm_write_mib_confirm()
290 int wsm_scan(struct cw1200_common *priv, const struct wsm_scan *arg) in wsm_scan()
343 int wsm_stop_scan(struct cw1200_common *priv) in wsm_stop_scan()
[all …]
Dbh.c53 struct cw1200_common *priv = in cw1200_bh_work() local
58 int cw1200_register_bh(struct cw1200_common *priv) in cw1200_register_bh()
89 void cw1200_unregister_bh(struct cw1200_common *priv) in cw1200_unregister_bh()
102 void cw1200_irq_handler(struct cw1200_common *priv) in cw1200_irq_handler()
118 void cw1200_bh_wakeup(struct cw1200_common *priv) in cw1200_bh_wakeup()
130 int cw1200_bh_suspend(struct cw1200_common *priv) in cw1200_bh_suspend()
145 int cw1200_bh_resume(struct cw1200_common *priv) in cw1200_bh_resume()
160 static inline void wsm_alloc_tx_buffer(struct cw1200_common *priv) in wsm_alloc_tx_buffer()
165 int wsm_release_tx_buffer(struct cw1200_common *priv, int count) in wsm_release_tx_buffer()
180 static int cw1200_bh_read_ctrl_reg(struct cw1200_common *priv, in cw1200_bh_read_ctrl_reg()
[all …]
Dtxrx.c33 static inline void cw1200_tx_queues_lock(struct cw1200_common *priv) in cw1200_tx_queues_lock()
40 static inline void cw1200_tx_queues_unlock(struct cw1200_common *priv) in cw1200_tx_queues_unlock()
68 static void tx_policy_build(const struct cw1200_common *priv, in tx_policy_build()
253 void tx_policy_clean(struct cw1200_common *priv) in tx_policy_clean()
284 void tx_policy_init(struct cw1200_common *priv) in tx_policy_init()
299 static int tx_policy_get(struct cw1200_common *priv, in tx_policy_get()
340 static void tx_policy_put(struct cw1200_common *priv, int idx) in tx_policy_put()
355 static int tx_policy_upload(struct cw1200_common *priv) in tx_policy_upload()
390 struct cw1200_common *priv = in tx_policy_upload_work() local
416 u32 cw1200_rate_mask_to_wsm(struct cw1200_common *priv, u32 rates) in cw1200_rate_mask_to_wsm()
[all …]
Ddebug.h36 static inline void cw1200_debug_txed(struct cw1200_common *priv) in cw1200_debug_txed()
41 static inline void cw1200_debug_txed_agg(struct cw1200_common *priv) in cw1200_debug_txed_agg()
46 static inline void cw1200_debug_txed_multi(struct cw1200_common *priv, in cw1200_debug_txed_multi()
53 static inline void cw1200_debug_rxed(struct cw1200_common *priv) in cw1200_debug_rxed()
58 static inline void cw1200_debug_rxed_agg(struct cw1200_common *priv) in cw1200_debug_rxed_agg()
63 static inline void cw1200_debug_tx_cache_miss(struct cw1200_common *priv) in cw1200_debug_tx_cache_miss()
68 static inline void cw1200_debug_tx_align(struct cw1200_common *priv) in cw1200_debug_tx_align()
73 static inline void cw1200_debug_tx_ttl(struct cw1200_common *priv) in cw1200_debug_tx_ttl()
78 static inline void cw1200_debug_tx_burst(struct cw1200_common *priv) in cw1200_debug_tx_burst()
83 static inline void cw1200_debug_ba(struct cw1200_common *priv, in cw1200_debug_ba()
Dscan.c20 static int cw1200_scan_start(struct cw1200_common *priv, struct wsm_scan *scan) in cw1200_scan_start()
58 struct cw1200_common *priv = hw->priv; in cw1200_hw_scan() local
133 struct cw1200_common *priv = container_of(work, struct cw1200_common, in cw1200_scan_work() local
268 static void cw1200_scan_restart_delayed(struct cw1200_common *priv) in cw1200_scan_restart_delayed()
287 static void cw1200_scan_complete(struct cw1200_common *priv) in cw1200_scan_complete()
301 void cw1200_scan_failed_cb(struct cw1200_common *priv) in cw1200_scan_failed_cb()
314 void cw1200_scan_complete_cb(struct cw1200_common *priv, in cw1200_scan_complete_cb()
329 struct cw1200_common *priv = in cw1200_clear_recent_scan_work() local
337 struct cw1200_common *priv = in cw1200_scan_timeout() local
355 struct cw1200_common *priv = in cw1200_probe_work() local
Dhwio.c33 static int __cw1200_reg_read(struct cw1200_common *priv, u16 addr, in __cw1200_reg_read()
54 static int __cw1200_reg_write(struct cw1200_common *priv, u16 addr, in __cw1200_reg_write()
69 static inline int __cw1200_reg_read_32(struct cw1200_common *priv, in __cw1200_reg_read_32()
78 static inline int __cw1200_reg_write_32(struct cw1200_common *priv, in __cw1200_reg_write_32()
85 static inline int __cw1200_reg_read_16(struct cw1200_common *priv, in __cw1200_reg_read_16()
94 static inline int __cw1200_reg_write_16(struct cw1200_common *priv, in __cw1200_reg_write_16()
101 int cw1200_reg_read(struct cw1200_common *priv, u16 addr, void *buf, in cw1200_reg_read()
111 int cw1200_reg_write(struct cw1200_common *priv, u16 addr, const void *buf, in cw1200_reg_write()
121 int cw1200_data_read(struct cw1200_common *priv, void *buf, size_t buf_len) in cw1200_data_read()
147 int cw1200_data_write(struct cw1200_common *priv, const void *buf, in cw1200_data_write()
[all …]
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_main.c163 static void stmmac_clk_csr_set(struct stmmac_priv *priv) in stmmac_clk_csr_set()
201 static inline u32 stmmac_tx_avail(struct stmmac_priv *priv) in stmmac_tx_avail()
212 static inline void stmmac_hw_fix_mac_speed(struct stmmac_priv *priv) in stmmac_hw_fix_mac_speed()
226 static void stmmac_enable_eee_mode(struct stmmac_priv *priv) in stmmac_enable_eee_mode()
240 void stmmac_disable_eee_mode(struct stmmac_priv *priv) in stmmac_disable_eee_mode()
256 struct stmmac_priv *priv = (struct stmmac_priv *)arg; in stmmac_eee_ctrl_timer() local
270 bool stmmac_eee_init(struct stmmac_priv *priv) in stmmac_eee_init()
343 static void stmmac_get_tx_hwtstamp(struct stmmac_priv *priv, in stmmac_get_tx_hwtstamp()
385 static void stmmac_get_rx_hwtstamp(struct stmmac_priv *priv, in stmmac_get_rx_hwtstamp()
424 struct stmmac_priv *priv = netdev_priv(dev); in stmmac_hwtstamp_ioctl() local
[all …]
Dstmmac_ethtool.c233 struct stmmac_priv *priv = netdev_priv(dev); in stmmac_ethtool_getdrvinfo() local
247 struct stmmac_priv *priv = netdev_priv(dev); in stmmac_ethtool_getsettings() local
332 struct stmmac_priv *priv = netdev_priv(dev); in stmmac_ethtool_setsettings() local
367 struct stmmac_priv *priv = netdev_priv(dev); in stmmac_ethtool_getmsglevel() local
373 struct stmmac_priv *priv = netdev_priv(dev); in stmmac_ethtool_setmsglevel() local
396 struct stmmac_priv *priv = netdev_priv(dev); in stmmac_ethtool_gregs() local
425 struct stmmac_priv *priv = netdev_priv(netdev); in stmmac_get_pauseparam() local
445 struct stmmac_priv *priv = netdev_priv(netdev); in stmmac_set_pauseparam() local
473 struct stmmac_priv *priv = netdev_priv(dev); in stmmac_get_ethtool_stats() local
510 struct stmmac_priv *priv = netdev_priv(netdev); in stmmac_get_sset_count() local
[all …]
/linux-4.1.27/drivers/net/wireless/p54/
Dp54spi.c58 static void p54spi_spi_read(struct p54s_priv *priv, u8 address, in p54spi_spi_read()
83 static void p54spi_spi_write(struct p54s_priv *priv, u8 address, in p54spi_spi_write()
116 static u32 p54spi_read32(struct p54s_priv *priv, u8 addr) in p54spi_read32()
125 static inline void p54spi_write16(struct p54s_priv *priv, u8 addr, __le16 val) in p54spi_write16()
130 static inline void p54spi_write32(struct p54s_priv *priv, u8 addr, __le32 val) in p54spi_write32()
135 static int p54spi_wait_bit(struct p54s_priv *priv, u16 reg, u32 bits) in p54spi_wait_bit()
147 static int p54spi_spi_write_dma(struct p54s_priv *priv, __le32 base, in p54spi_spi_write_dma()
167 struct p54s_priv *priv = dev->priv; in p54spi_request_firmware() local
189 struct p54s_priv *priv = dev->priv; in p54spi_request_eeprom() local
216 struct p54s_priv *priv = dev->priv; in p54spi_upload_firmware() local
[all …]
Dmain.c41 struct p54_common *priv = hw->priv; in p54_sta_add_remove() local
57 struct p54_common *priv = dev->priv; in p54_sta_notify() local
72 struct p54_common *priv = dev->priv; in p54_set_tim() local
138 static int p54_beacon_update(struct p54_common *priv, in p54_beacon_update()
170 struct p54_common *priv = dev->priv; in p54_start() local
205 struct p54_common *priv = dev->priv; in p54_stop() local
229 struct p54_common *priv = dev->priv; in p54_add_interface() local
263 struct p54_common *priv = dev->priv; in p54_remove_interface() local
285 struct p54_common *priv = dev->priv; in p54_wait_for_stats() local
300 static void p54_reset_stats(struct p54_common *priv) in p54_reset_stats()
[all …]
Dfwio.c32 struct p54_common *priv = dev->priv; in p54_parse_firmware() local
190 static struct sk_buff *p54_alloc_skb(struct p54_common *priv, u16 hdr_flags, in p54_alloc_skb()
216 int p54_download_eeprom(struct p54_common *priv, void *buf, in p54_download_eeprom()
265 int p54_update_beacon_tim(struct p54_common *priv, u16 aid, bool set) in p54_update_beacon_tim()
282 int p54_sta_unlock(struct p54_common *priv, u8 *addr) in p54_sta_unlock()
298 int p54_tx_cancel(struct p54_common *priv, __le32 req_id) in p54_tx_cancel()
318 int p54_setup_mac(struct p54_common *priv) in p54_setup_mac()
395 int p54_scan(struct p54_common *priv, u16 mode, u16 dwell) in p54_scan()
543 int p54_set_leds(struct p54_common *priv) in p54_set_leds()
562 int p54_set_edcf(struct p54_common *priv) in p54_set_edcf()
[all …]
Dtxrx.c30 static void p54_dump_tx_queue(struct p54_common *priv) in p54_dump_tx_queue()
82 static int p54_assign_address(struct p54_common *priv, struct sk_buff *skb) in p54_assign_address()
150 static void p54_tx_pending(struct p54_common *priv) in p54_tx_pending()
166 static void p54_wake_queues(struct p54_common *priv) in p54_wake_queues()
185 static int p54_tx_qos_accounting_alloc(struct p54_common *priv, in p54_tx_qos_accounting_alloc()
215 static void p54_tx_qos_accounting_free(struct p54_common *priv, in p54_tx_qos_accounting_free()
238 struct p54_common *priv = dev->priv; in p54_free_skb() local
248 static struct sk_buff *p54_find_and_unlink_skb(struct p54_common *priv, in p54_find_and_unlink_skb()
269 void p54_tx(struct p54_common *priv, struct sk_buff *skb) in p54_tx()
275 static int p54_rssi_to_dbm(struct p54_common *priv, int rssi) in p54_rssi_to_dbm()
[all …]
Dp54usb.c145 struct p54u_priv *priv = dev->priv; in p54u_rx_cb() local
208 struct p54u_priv *priv = dev->priv; in p54u_free_urbs() local
224 struct p54u_priv *priv = dev->priv; in p54u_init_urbs() local
296 struct p54u_priv *priv = dev->priv; in p54u_tx_lm87() local
325 struct p54u_priv *priv = dev->priv; in p54u_tx_net2280() local
392 static int p54u_write(struct p54u_priv *priv, in p54u_write()
412 static int p54u_read(struct p54u_priv *priv, void *buf, in p54u_read()
443 static int p54u_bulk_msg(struct p54u_priv *priv, unsigned int ep, in p54u_bulk_msg()
453 struct p54u_priv *priv = dev->priv; in p54u_device_reset() local
479 struct p54u_priv *priv = dev->priv; in p54u_firmware_reset_3887() local
[all …]
/linux-4.1.27/drivers/net/wireless/ipw2x00/
Dipw2200.c438 static void _ipw_write_reg32(struct ipw_priv *priv, u32 reg, u32 value) in _ipw_write_reg32()
446 static void _ipw_write_reg8(struct ipw_priv *priv, u32 reg, u8 value) in _ipw_write_reg8()
457 static void _ipw_write_reg16(struct ipw_priv *priv, u32 reg, u16 value) in _ipw_write_reg16()
468 static u8 _ipw_read_reg8(struct ipw_priv *priv, u32 reg) in _ipw_read_reg8()
478 static u32 _ipw_read_reg32(struct ipw_priv *priv, u32 reg) in _ipw_read_reg32()
492 static void _ipw_read_indirect(struct ipw_priv *priv, u32 addr, u8 * buf, in _ipw_read_indirect()
529 static void _ipw_write_indirect(struct ipw_priv *priv, u32 addr, u8 * buf, in _ipw_write_indirect()
566 static void ipw_write_direct(struct ipw_priv *priv, u32 addr, void *buf, in ipw_write_direct()
573 static inline void ipw_set_bit(struct ipw_priv *priv, u32 reg, u32 mask) in ipw_set_bit()
579 static inline void ipw_clear_bit(struct ipw_priv *priv, u32 reg, u32 mask) in ipw_clear_bit()
[all …]
Dipw2100.c347 struct ipw2100_priv *priv = libipw_priv(dev); in read_register() local
355 struct ipw2100_priv *priv = libipw_priv(dev); in write_register() local
364 struct ipw2100_priv *priv = libipw_priv(dev); in read_register_word() local
372 struct ipw2100_priv *priv = libipw_priv(dev); in read_register_byte() local
380 struct ipw2100_priv *priv = libipw_priv(dev); in write_register_word() local
388 struct ipw2100_priv *priv = libipw_priv(dev); in write_register_byte() local
531 static int ipw2100_get_ordinal(struct ipw2100_priv *priv, u32 ord, in ipw2100_get_ordinal()
610 static int ipw2100_set_ordinal(struct ipw2100_priv *priv, u32 ord, u32 * val, in ipw2100_set_ordinal()
693 static void schedule_reset(struct ipw2100_priv *priv) in schedule_reset()
729 static int ipw2100_hw_send_command(struct ipw2100_priv *priv, in ipw2100_hw_send_command()
[all …]
/linux-4.1.27/drivers/staging/vt6656/
Dmac.c52 void vnt_mac_set_filter(struct vnt_private *priv, u64 mc_filter) in vnt_mac_set_filter()
71 void vnt_mac_shutdown(struct vnt_private *priv) in vnt_mac_shutdown()
76 void vnt_mac_set_bb_type(struct vnt_private *priv, u8 type) in vnt_mac_set_bb_type()
101 void vnt_mac_disable_keyentry(struct vnt_private *priv, u8 entry_idx) in vnt_mac_disable_keyentry()
121 void vnt_mac_set_keyentry(struct vnt_private *priv, u16 key_ctl, u32 entry_idx, in vnt_mac_set_keyentry()
145 void vnt_mac_reg_bits_off(struct vnt_private *priv, u8 reg_ofs, u8 bits) in vnt_mac_reg_bits_off()
156 void vnt_mac_reg_bits_on(struct vnt_private *priv, u8 reg_ofs, u8 bits) in vnt_mac_reg_bits_on()
167 void vnt_mac_write_word(struct vnt_private *priv, u8 reg_ofs, u16 word) in vnt_mac_write_word()
178 void vnt_mac_set_bssid_addr(struct vnt_private *priv, u8 *addr) in vnt_mac_set_bssid_addr()
184 void vnt_mac_enable_protect_mode(struct vnt_private *priv) in vnt_mac_enable_protect_mode()
[all …]
Dmain_usb.c96 static void vnt_set_options(struct vnt_private *priv) in vnt_set_options()
123 static int vnt_init_registers(struct vnt_private *priv) in vnt_init_registers()
370 static void vnt_free_tx_bufs(struct vnt_private *priv) in vnt_free_tx_bufs()
387 static void vnt_free_rx_bufs(struct vnt_private *priv) in vnt_free_rx_bufs()
411 static void usb_device_reset(struct vnt_private *priv) in usb_device_reset()
421 static void vnt_free_int_bufs(struct vnt_private *priv) in vnt_free_int_bufs()
426 static bool vnt_alloc_bufs(struct vnt_private *priv) in vnt_alloc_bufs()
508 struct vnt_private *priv = hw->priv; in vnt_tx_80211() local
521 struct vnt_private *priv = hw->priv; in vnt_start() local
558 struct vnt_private *priv = hw->priv; in vnt_stop() local
[all …]
Dcard.c69 void vnt_set_channel(struct vnt_private *priv, u32 connection_channel) in vnt_set_channel()
101 static u16 vnt_get_cck_rate(struct vnt_private *priv, u16 rate_idx) in vnt_get_cck_rate()
127 static u16 vnt_get_ofdm_rate(struct vnt_private *priv, u16 rate_idx) in vnt_get_ofdm_rate()
264 void vnt_set_rspinf(struct vnt_private *priv, u8 bb_type) in vnt_set_rspinf()
357 void vnt_update_ifs(struct vnt_private *priv) in vnt_update_ifs()
444 void vnt_update_top_rates(struct vnt_private *priv) in vnt_update_top_rates()
471 int vnt_ofdm_min_rate(struct vnt_private *priv) in vnt_ofdm_min_rate()
483 u8 vnt_get_pkt_type(struct vnt_private *priv) in vnt_get_pkt_type()
537 void vnt_adjust_tsf(struct vnt_private *priv, u8 rx_rate, in vnt_adjust_tsf()
570 bool vnt_get_current_tsf(struct vnt_private *priv, u64 *current_tsf) in vnt_get_current_tsf()
[all …]
Dusbpipe.c49 int vnt_control_out(struct vnt_private *priv, u8 request, u16 value, in vnt_control_out()
71 void vnt_control_out_u8(struct vnt_private *priv, u8 reg, u8 reg_off, u8 data) in vnt_control_out_u8()
77 int vnt_control_in(struct vnt_private *priv, u8 request, u16 value, in vnt_control_in()
99 void vnt_control_in_u8(struct vnt_private *priv, u8 reg, u8 reg_off, u8 *data) in vnt_control_in_u8()
107 struct vnt_private *priv = urb->context; in vnt_start_interrupt_urb_complete() local
140 int vnt_start_interrupt_urb(struct vnt_private *priv) in vnt_start_interrupt_urb()
170 struct vnt_private *priv = rcb->priv; in vnt_submit_rx_urb_complete() local
217 int vnt_submit_rx_urb(struct vnt_private *priv, struct vnt_rcb *rcb) in vnt_submit_rx_urb()
250 struct vnt_private *priv = context->priv; in vnt_tx_context_complete() local
278 int vnt_tx_context(struct vnt_private *priv, in vnt_tx_context()
Dwcmd.c44 static void vnt_cmd_timer_wait(struct vnt_private *priv, unsigned long msecs) in vnt_cmd_timer_wait()
49 static int vnt_cmd_complete(struct vnt_private *priv) in vnt_cmd_complete()
97 struct vnt_private *priv = in vnt_run_command() local
169 int vnt_schedule_command(struct vnt_private *priv, enum vnt_cmd command) in vnt_schedule_command()
187 void vnt_reset_command_timer(struct vnt_private *priv) in vnt_reset_command_timer()
Dbaseband.c201 void vnt_get_phy_field(struct vnt_private *priv, u32 frame_length, in vnt_get_phy_field()
346 void vnt_set_antenna_mode(struct vnt_private *priv, u8 antenna_mode) in vnt_set_antenna_mode()
379 int vnt_vt3184_init(struct vnt_private *priv) in vnt_vt3184_init()
511 void vnt_set_short_slot_time(struct vnt_private *priv) in vnt_set_short_slot_time()
528 void vnt_set_vga_gain_offset(struct vnt_private *priv, u8 data) in vnt_set_vga_gain_offset()
554 void vnt_set_deep_sleep(struct vnt_private *priv) in vnt_set_deep_sleep()
560 void vnt_exit_deep_sleep(struct vnt_private *priv) in vnt_exit_deep_sleep()
566 void vnt_update_pre_ed_threshold(struct vnt_private *priv, int scanning) in vnt_update_pre_ed_threshold()
Drxtx.c78 *vnt_get_free_context(struct vnt_private *priv) in vnt_get_free_context()
107 static __le16 vnt_time_stamp_off(struct vnt_private *priv, u16 rate) in vnt_time_stamp_off()
113 static u32 vnt_get_rsvtime(struct vnt_private *priv, u8 pkt_type, in vnt_get_rsvtime()
134 static __le16 vnt_rxtx_rsvtime_le16(struct vnt_private *priv, u8 pkt_type, in vnt_rxtx_rsvtime_le16()
141 static __le16 vnt_get_rtscts_rsvtime_le(struct vnt_private *priv, in vnt_get_rtscts_rsvtime_le()
184 static __le16 vnt_get_duration_le(struct vnt_private *priv, in vnt_get_duration_le()
206 struct vnt_private *priv = context->priv; in vnt_get_rtscts_duration_le() local
264 struct vnt_private *priv = tx_context->priv; in vnt_rxtx_datahead_g() local
301 struct vnt_private *priv = tx_context->priv; in vnt_rxtx_datahead_g_fb() local
334 struct vnt_private *priv = tx_context->priv; in vnt_rxtx_datahead_a_fb() local
[all …]
/linux-4.1.27/drivers/usb/renesas_usbhs/
Dcommon.c67 #define usbhs_platform_call(priv, func, args...)\ argument
75 u16 usbhs_read(struct usbhs_priv *priv, u32 reg) in usbhs_read()
80 void usbhs_write(struct usbhs_priv *priv, u32 reg, u16 data) in usbhs_write()
85 void usbhs_bset(struct usbhs_priv *priv, u32 reg, u16 mask, u16 data) in usbhs_bset()
103 static void usbhs_sys_clock_ctrl(struct usbhs_priv *priv, int enable) in usbhs_sys_clock_ctrl()
108 void usbhs_sys_host_ctrl(struct usbhs_priv *priv, int enable) in usbhs_sys_host_ctrl()
126 void usbhs_sys_function_ctrl(struct usbhs_priv *priv, int enable) in usbhs_sys_function_ctrl()
142 void usbhs_sys_function_pullup(struct usbhs_priv *priv, int enable) in usbhs_sys_function_pullup()
147 void usbhs_sys_set_test_mode(struct usbhs_priv *priv, u16 mode) in usbhs_sys_set_test_mode()
155 int usbhs_frame_get_num(struct usbhs_priv *priv) in usbhs_frame_get_num()
[all …]
Dmod.c22 #define usbhs_priv_to_modinfo(priv) (&priv->mod_info) argument
23 #define usbhs_mod_info_call(priv, func, param...) \ argument
43 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhsm_autonomy_get_vbus() local
48 static int usbhsm_autonomy_irq_vbus(struct usbhs_priv *priv, in usbhsm_autonomy_irq_vbus()
58 void usbhs_mod_autonomy_mode(struct usbhs_priv *priv) in usbhs_mod_autonomy_mode()
75 void usbhs_mod_register(struct usbhs_priv *priv, struct usbhs_mod *mod, int id) in usbhs_mod_register()
83 struct usbhs_mod *usbhs_mod_get(struct usbhs_priv *priv, int id) in usbhs_mod_get()
98 int usbhs_mod_is_host(struct usbhs_priv *priv) in usbhs_mod_is_host()
109 struct usbhs_mod *usbhs_mod_get_current(struct usbhs_priv *priv) in usbhs_mod_get_current()
116 int usbhs_mod_change(struct usbhs_priv *priv, int id) in usbhs_mod_change()
[all …]
Dfifo.c41 struct usbhs_priv *priv = usbhs_pipe_to_priv(pkt->pipe); in usbhsf_null_handle() local
55 void (*done)(struct usbhs_priv *priv, in usbhs_pkt_push()
59 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhs_pkt_push() local
120 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhs_pkt_pop() local
163 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsf_pkt_handler() local
263 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsf_send_terminator() local
268 static int usbhsf_fifo_barrier(struct usbhs_priv *priv, in usbhsf_fifo_barrier()
287 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsf_fifo_clear() local
295 static int usbhsf_fifo_rcv_len(struct usbhs_priv *priv, in usbhsf_fifo_rcv_len()
304 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsf_fifo_unselect() local
[all …]
/linux-4.1.27/drivers/staging/rtl8192u/
Dr8192U_dm.c127 struct r8192_priv *priv = ieee80211_priv(dev); in init_hal_dm() local
153 struct r8192_priv *priv = ieee80211_priv((struct net_device *)dev); in dm_CheckRxAggregation() local
241 struct r8192_priv *priv = ieee80211_priv(dev); in init_rate_adaptive() local
299 struct r8192_priv *priv = ieee80211_priv(dev); in dm_check_rate_adaptive() local
426 struct r8192_priv *priv = ieee80211_priv(dev); in dm_init_bandwidth_autoswitch() local
437 struct r8192_priv *priv = ieee80211_priv(dev); in dm_bandwidth_autoswitch() local
505 struct r8192_priv *priv = ieee80211_priv(dev); in dm_TXPowerTrackingCallback_TSSI() local
662 struct r8192_priv *priv = ieee80211_priv(dev); in dm_TXPowerTrackingCallback_ThermalMeter() local
766 struct r8192_priv *priv = container_of(dwork, struct r8192_priv, txpower_tracking_wq); in dm_txpower_trackingcallback() local
777 struct r8192_priv *priv = ieee80211_priv(dev); in dm_InitializeTXPowerTracking_TSSI() local
[all …]
Dr8192U_core.c159 static void rtl819x_set_channel_map(u8 channel_plan, struct r8192_priv *priv) in rtl819x_set_channel_map()
239 struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev); in write_nic_byte_E() local
253 struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev); in read_nic_byte_E() local
272 struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev); in write_nic_byte() local
291 struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev); in write_nic_word() local
309 struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev); in write_nic_dword() local
327 struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev); in read_nic_byte() local
347 struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev); in read_nic_word() local
366 struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev); in read_nic_word_E() local
385 struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev); in read_nic_dword() local
[all …]
Dr8192U_wx.c40 struct r8192_priv *priv = ieee80211_priv(dev); in r8192_wx_get_freq() local
49 struct r8192_priv *priv = ieee80211_priv(dev); in r8192_wx_get_mode() local
60 struct r8192_priv *priv = ieee80211_priv(dev); in r8192_wx_get_rate() local
72 struct r8192_priv *priv = ieee80211_priv(dev); in r8192_wx_set_rate() local
89 struct r8192_priv *priv = ieee80211_priv(dev); in r8192_wx_set_rts() local
104 struct r8192_priv *priv = ieee80211_priv(dev); in r8192_wx_get_rts() local
114 struct r8192_priv *priv = ieee80211_priv(dev); in r8192_wx_set_power() local
129 struct r8192_priv *priv = ieee80211_priv(dev); in r8192_wx_get_power() local
138 struct r8192_priv *priv = ieee80211_priv(dev); in r8192_wx_force_reset() local
154 struct r8192_priv *priv = ieee80211_priv(dev); in r8192_wx_set_rawtx() local
[all …]
Dr819xU_phy.c66 struct r8192_priv *priv = ieee80211_priv(dev); in rtl8192_phy_CheckIsLegalRFPath() local
149 struct r8192_priv *priv = ieee80211_priv(dev); in rtl8192_phy_RFSerialRead() local
235 struct r8192_priv *priv = ieee80211_priv(dev); in rtl8192_phy_RFSerialWrite() local
299 struct r8192_priv *priv = ieee80211_priv(dev); in rtl8192_phy_SetRFReg() local
348 struct r8192_priv *priv = ieee80211_priv(dev); in rtl8192_phy_QueryRFReg() local
489 struct r8192_priv *priv = ieee80211_priv(dev); in rtl8192_phy_configmac() local
569 struct r8192_priv *priv = ieee80211_priv(dev); in rtl8192_InitBBRFRegDef() local
778 struct r8192_priv *priv = ieee80211_priv(dev); in rtl8192_BB_Config_ParaFile() local
871 struct r8192_priv *priv = ieee80211_priv(dev); in rtl8192_phy_getTxPower() local
918 struct r8192_priv *priv = ieee80211_priv(dev); in rtl8192_phy_setTxPower() local
[all …]
/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/
Drtl_dm.c139 struct r8192_priv *priv = rtllib_priv(dev); in init_hal_dm() local
170 struct r8192_priv *priv = rtllib_priv(dev); in hal_dm_watchdog() local
197 struct r8192_priv *priv = rtllib_priv(dev); in dm_check_ac_dc_power() local
222 struct r8192_priv *priv = rtllib_priv(dev); in init_rate_adaptive() local
262 struct r8192_priv *priv = rtllib_priv(dev); in dm_check_rate_adaptive() local
368 struct r8192_priv *priv = rtllib_priv(dev); in dm_init_bandwidth_autoswitch() local
378 struct r8192_priv *priv = rtllib_priv(dev); in dm_bandwidth_autoswitch() local
454 struct r8192_priv *priv = rtllib_priv(dev); in dm_TXPowerTrackingCallback_TSSI() local
738 struct r8192_priv *priv = rtllib_priv(dev); in dm_TXPowerTrackingCallback_ThermalMeter() local
837 struct r8192_priv *priv = container_of_dwork_rsl(data, in dm_txpower_trackingcallback() local
[all …]
Drtl_core.c314 struct r8192_priv *priv = rtllib_priv(dev); in MgntActSet_RF_State() local
444 struct r8192_priv *priv = rtllib_priv(dev); in rtl8192_get_nic_desc_num() local
459 struct r8192_priv *priv = rtllib_priv(dev); in rtl8192_check_nic_enough_desc() local
469 struct r8192_priv *priv = rtllib_priv(dev); in rtl8192_tx_timeout() local
477 struct r8192_priv *priv = (struct r8192_priv *)rtllib_priv(dev); in rtl8192_irq_enable() local
486 struct r8192_priv *priv = (struct r8192_priv *)rtllib_priv(dev); in rtl8192_irq_disable() local
495 struct r8192_priv *priv = (struct r8192_priv *)rtllib_priv(dev); in rtl8192_set_chan() local
509 struct r8192_priv *priv = rtllib_priv(dev); in rtl8192_update_cap() local
566 struct r8192_priv *priv = container_of_work_rsl(data, struct r8192_priv, in rtl8192_update_beacon() local
582 struct r8192_priv *priv = container_of_work_rsl(data, struct r8192_priv, in rtl8192_qos_activate() local
[all …]
Drtl_ps.c34 struct r8192_priv *priv = rtllib_priv(dev); in rtl8192_hw_sleep_down() local
61 struct r8192_priv *priv = rtllib_priv(dev); in rtl8192_hw_wakeup() local
92 struct r8192_priv *priv = rtllib_priv(dev); in rtl8192_hw_to_sleep() local
124 struct r8192_priv *priv = rtllib_priv(dev); in InactivePsWorkItemCallback() local
142 struct r8192_priv *priv = rtllib_priv(dev); in IPSEnter() local
163 struct r8192_priv *priv = rtllib_priv(dev); in IPSLeave() local
185 struct r8192_priv *priv = (struct r8192_priv *)rtllib_priv(dev); in IPSLeave_wq() local
194 struct r8192_priv *priv = (struct r8192_priv *)rtllib_priv(dev); in rtllib_ips_leave_wq() local
216 struct r8192_priv *priv = (struct r8192_priv *)rtllib_priv(dev); in rtllib_ips_leave() local
226 struct r8192_priv *priv = rtllib_priv(dev); in MgntActSet_802_11_PowerSaveMode() local
[all …]
Drtl_wx.c38 struct r8192_priv *priv = rtllib_priv(dev); in r8192_wx_get_freq() local
47 struct r8192_priv *priv = rtllib_priv(dev); in r8192_wx_get_mode() local
56 struct r8192_priv *priv = rtllib_priv(dev); in r8192_wx_get_rate() local
68 struct r8192_priv *priv = rtllib_priv(dev); in r8192_wx_set_rate() local
88 struct r8192_priv *priv = rtllib_priv(dev); in r8192_wx_set_rts() local
106 struct r8192_priv *priv = rtllib_priv(dev); in r8192_wx_get_rts() local
116 struct r8192_priv *priv = rtllib_priv(dev); in r8192_wx_set_power() local
137 struct r8192_priv *priv = rtllib_priv(dev); in r8192_wx_get_power() local
146 struct r8192_priv *priv = rtllib_priv(dev); in r8192_wx_set_rawtx() local
166 struct r8192_priv *priv = rtllib_priv(dev); in r8192_wx_force_reset() local
[all …]
Dr8192E_phy.c70 struct r8192_priv *priv = rtllib_priv(dev); in rtl8192_phy_CheckIsLegalRFPath() local
112 struct r8192_priv *priv = rtllib_priv(dev); in rtl8192_phy_RFSerialRead() local
170 struct r8192_priv *priv = rtllib_priv(dev); in rtl8192_phy_RFSerialWrite() local
222 struct r8192_priv *priv = rtllib_priv(dev); in rtl8192_phy_SetRFReg() local
263 struct r8192_priv *priv = rtllib_priv(dev); in rtl8192_phy_QueryRFReg() local
335 struct r8192_priv *priv = rtllib_priv(dev); in rtl8192_phy_configmac() local
366 struct r8192_priv *priv = rtllib_priv(dev); in rtl8192_phyConfigBB() local
403 struct r8192_priv *priv = rtllib_priv(dev); in rtl8192_InitBBRFRegDef() local
553 struct r8192_priv *priv = rtllib_priv(dev); in rtl8192_BB_Config_ParaFile() local
610 struct r8192_priv *priv = rtllib_priv(dev); in rtl8192_phy_getTxPower() local
[all …]
Dr8192E_dev.c37 struct r8192_priv *priv = (struct r8192_priv *)rtllib_priv(dev); in rtl8192e_start_beacon() local
62 struct r8192_priv *priv = rtllib_priv(dev); in rtl8192e_update_msr() local
100 struct r8192_priv *priv = rtllib_priv(dev); in rtl8192e_SetHwReg() local
318 struct r8192_priv *priv = rtllib_priv(dev); in rtl8192_read_eeprom_info() local
633 struct r8192_priv *priv = rtllib_priv(dev); in rtl8192_get_eeprom_size() local
650 struct r8192_priv *priv = rtllib_priv(dev); in rtl8192_hwconfig() local
709 struct r8192_priv *priv = rtllib_priv(dev); in rtl8192_adapter_start() local
969 struct r8192_priv *priv = rtllib_priv(dev); in rtl8192_net_update() local
997 struct r8192_priv *priv = rtllib_priv(dev); in rtl8192_link_change() local
1033 struct r8192_priv *priv = rtllib_priv(dev); in rtl8192_AllowAllDestAddr() local
[all …]
/linux-4.1.27/drivers/net/wireless/libertas_tf/
Dcmd.c46 int lbtf_cmd_copyback(struct lbtf_private *priv, unsigned long extra, in lbtf_cmd_copyback()
60 static void lbtf_geo_init(struct lbtf_private *priv) in lbtf_geo_init()
83 int lbtf_update_hw_spec(struct lbtf_private *priv) in lbtf_update_hw_spec()
153 int lbtf_set_channel(struct lbtf_private *priv, u8 channel) in lbtf_set_channel()
169 int lbtf_beacon_set(struct lbtf_private *priv, struct sk_buff *beacon) in lbtf_beacon_set()
191 int lbtf_beacon_ctrl(struct lbtf_private *priv, bool beacon_enable, in lbtf_beacon_ctrl()
208 static void lbtf_queue_cmd(struct lbtf_private *priv, in lbtf_queue_cmd()
236 static void lbtf_submit_command(struct lbtf_private *priv, in lbtf_submit_command()
279 static void __lbtf_cleanup_and_insert_cmd(struct lbtf_private *priv, in __lbtf_cleanup_and_insert_cmd()
298 static void lbtf_cleanup_and_insert_cmd(struct lbtf_private *priv, in lbtf_cleanup_and_insert_cmd()
[all …]
Dmain.c96 struct lbtf_private *priv = container_of(work, struct lbtf_private, in lbtf_cmd_work() local
147 static int lbtf_setup_firmware(struct lbtf_private *priv) in lbtf_setup_firmware()
177 struct lbtf_private *priv = (struct lbtf_private *)data; in command_timer_fn() local
199 static int lbtf_init_adapter(struct lbtf_private *priv) in lbtf_init_adapter()
222 static void lbtf_free_adapter(struct lbtf_private *priv) in lbtf_free_adapter()
234 struct lbtf_private *priv = hw->priv; in lbtf_op_tx() local
247 struct lbtf_private *priv = container_of(work, struct lbtf_private, in lbtf_tx_work() local
304 struct lbtf_private *priv = hw->priv; in lbtf_op_start() local
341 struct lbtf_private *priv = hw->priv; in lbtf_op_stop() local
371 struct lbtf_private *priv = hw->priv; in lbtf_op_add_interface() local
[all …]
/linux-4.1.27/drivers/rapidio/devices/
Dtsi721.c58 struct tsi721_device *priv = mport->priv; in tsi721_lcread() local
82 struct tsi721_device *priv = mport->priv; in tsi721_lcwrite() local
107 static int tsi721_maint_dma(struct tsi721_device *priv, u32 sys_size, in tsi721_maint_dma()
207 struct tsi721_device *priv = mport->priv; in tsi721_cread_dma() local
230 struct tsi721_device *priv = mport->priv; in tsi721_cwrite_dma() local
248 struct tsi721_device *priv = mport->priv; in tsi721_pw_handler() local
284 struct tsi721_device *priv = container_of(work, struct tsi721_device, in tsi721_pw_dpc() local
320 struct tsi721_device *priv = mport->priv; in tsi721_pw_enable() local
351 struct tsi721_device *priv = mport->priv; in tsi721_dsend() local
375 struct tsi721_device *priv = mport->priv; in tsi721_dbell_handler() local
[all …]
/linux-4.1.27/drivers/infiniband/ulp/ipoib/
Dipoib_ib.c85 struct ipoib_dev_priv *priv = netdev_priv(ah->dev); in ipoib_free_ah() local
94 static void ipoib_ud_dma_unmap_rx(struct ipoib_dev_priv *priv, in ipoib_ud_dma_unmap_rx()
104 struct ipoib_dev_priv *priv = netdev_priv(dev); in ipoib_ib_post_receive() local
126 struct ipoib_dev_priv *priv = netdev_priv(dev); in ipoib_alloc_rx_skb() local
159 struct ipoib_dev_priv *priv = netdev_priv(dev); in ipoib_ib_post_receives() local
178 struct ipoib_dev_priv *priv = netdev_priv(dev); in ipoib_ib_handle_rx_wc() local
340 struct ipoib_dev_priv *priv = qp_work->priv; in ipoib_qp_state_validate_work() local
377 struct ipoib_dev_priv *priv = netdev_priv(dev); in ipoib_ib_handle_tx_wc() local
424 static int poll_tx(struct ipoib_dev_priv *priv) in poll_tx()
437 struct ipoib_dev_priv *priv = container_of(napi, struct ipoib_dev_priv, napi); in ipoib_poll() local
[all …]
Dipoib_cm.c80 static void ipoib_cm_dma_unmap_rx(struct ipoib_dev_priv *priv, int frags, in ipoib_cm_dma_unmap_rx()
93 struct ipoib_dev_priv *priv = netdev_priv(dev); in ipoib_cm_post_receive_srq() local
119 struct ipoib_dev_priv *priv = netdev_priv(dev); in ipoib_cm_post_receive_nonsrq() local
146 struct ipoib_dev_priv *priv = netdev_priv(dev); in ipoib_cm_alloc_rx_skb() local
197 struct ipoib_dev_priv *priv = netdev_priv(dev); in ipoib_cm_free_rx_ring() local
210 static void ipoib_cm_start_rx_drain(struct ipoib_dev_priv *priv) in ipoib_cm_start_rx_drain()
235 struct ipoib_dev_priv *priv = netdev_priv(p->dev); in ipoib_cm_rx_event_handler() local
251 struct ipoib_dev_priv *priv = netdev_priv(dev); in ipoib_cm_create_rx_qp() local
276 struct ipoib_dev_priv *priv = netdev_priv(dev); in ipoib_cm_modify_rx_qp() local
331 struct ipoib_dev_priv *priv = netdev_priv(dev); in ipoib_cm_init_rx_wr() local
[all …]
Dipoib_main.c103 struct ipoib_dev_priv *priv = netdev_priv(dev); in ipoib_open() local
152 struct ipoib_dev_priv *priv = netdev_priv(dev); in ipoib_stop() local
190 struct ipoib_dev_priv *priv = netdev_priv(dev); in ipoib_fix_features() local
200 struct ipoib_dev_priv *priv = netdev_priv(dev); in ipoib_change_mtu() local
227 struct ipoib_dev_priv *priv = netdev_priv(dev); in ipoib_set_mode() local
258 struct ipoib_dev_priv *priv = netdev_priv(dev); in __path_find() local
282 struct ipoib_dev_priv *priv = netdev_priv(dev); in __path_add() local
351 struct ipoib_dev_priv *priv = netdev_priv(iter->dev); in ipoib_path_iter_next() local
388 struct ipoib_dev_priv *priv = netdev_priv(dev); in ipoib_mark_paths_invalid() local
405 struct ipoib_dev_priv *priv = netdev_priv(dev); in ipoib_flush_paths() local
[all …]
Dipoib_multicast.c70 static void __ipoib_mcast_schedule_join_thread(struct ipoib_dev_priv *priv, in __ipoib_mcast_schedule_join_thread()
158 struct ipoib_dev_priv *priv = netdev_priv(dev); in __ipoib_mcast_find() local
182 struct ipoib_dev_priv *priv = netdev_priv(dev); in __ipoib_mcast_add() local
212 struct ipoib_dev_priv *priv = netdev_priv(dev); in ipoib_mcast_join_finish() local
326 struct ipoib_dev_priv *priv = container_of(work, struct ipoib_dev_priv, in ipoib_mcast_carrier_on_task() local
362 struct ipoib_dev_priv *priv = netdev_priv(dev); in ipoib_mcast_join_complete() local
454 struct ipoib_dev_priv *priv = netdev_priv(dev); in ipoib_mcast_join() local
514 struct ipoib_dev_priv *priv = in ipoib_mcast_join_task() local
626 struct ipoib_dev_priv *priv = netdev_priv(dev); in ipoib_mcast_start_thread() local
640 struct ipoib_dev_priv *priv = netdev_priv(dev); in ipoib_mcast_stop_thread() local
[all …]
/linux-4.1.27/drivers/net/wireless/mwifiex/
Dsta_cmdresp.c44 mwifiex_process_cmdresp_error(struct mwifiex_private *priv, in mwifiex_process_cmdresp_error()
121 static int mwifiex_ret_802_11_rssi_info(struct mwifiex_private *priv, in mwifiex_ret_802_11_rssi_info()
181 static int mwifiex_ret_802_11_snmp_mib(struct mwifiex_private *priv, in mwifiex_ret_802_11_snmp_mib()
227 static int mwifiex_ret_get_log(struct mwifiex_private *priv, in mwifiex_ret_get_log()
276 static int mwifiex_ret_tx_rate_cfg(struct mwifiex_private *priv, in mwifiex_ret_tx_rate_cfg()
345 static int mwifiex_get_power_level(struct mwifiex_private *priv, void *data_buf) in mwifiex_get_power_level()
390 static int mwifiex_ret_tx_power_cfg(struct mwifiex_private *priv, in mwifiex_ret_tx_power_cfg()
444 static int mwifiex_ret_rf_tx_power(struct mwifiex_private *priv, in mwifiex_ret_rf_tx_power()
468 static int mwifiex_ret_rf_antenna(struct mwifiex_private *priv, in mwifiex_ret_rf_antenna()
497 static int mwifiex_ret_802_11_mac_address(struct mwifiex_private *priv, in mwifiex_ret_802_11_mac_address()
[all …]
Dsta_ioctl.c85 int mwifiex_request_set_multicast_list(struct mwifiex_private *priv, in mwifiex_request_set_multicast_list()
137 int mwifiex_fill_new_bss_desc(struct mwifiex_private *priv, in mwifiex_fill_new_bss_desc()
189 void mwifiex_dnld_txpwr_table(struct mwifiex_private *priv) in mwifiex_dnld_txpwr_table()
199 static int mwifiex_process_country_ie(struct mwifiex_private *priv, in mwifiex_process_country_ie()
259 int mwifiex_bss_start(struct mwifiex_private *priv, struct cfg80211_bss *bss, in mwifiex_bss_start()
385 int mwifiex_set_hs_params(struct mwifiex_private *priv, u16 action, in mwifiex_set_hs_params()
464 int mwifiex_cancel_hs(struct mwifiex_private *priv, int cmd_type) in mwifiex_cancel_hs()
485 struct mwifiex_private *priv; in mwifiex_enable_hs() local
534 int mwifiex_get_bss_info(struct mwifiex_private *priv, in mwifiex_get_bss_info()
579 int mwifiex_disable_auto_ds(struct mwifiex_private *priv) in mwifiex_disable_auto_ds()
[all …]
D11h.c24 void mwifiex_init_11h_params(struct mwifiex_private *priv) in mwifiex_init_11h_params()
30 inline int mwifiex_is_11h_active(struct mwifiex_private *priv) in mwifiex_is_11h_active()
38 mwifiex_11h_process_infra_join(struct mwifiex_private *priv, u8 **buffer, in mwifiex_11h_process_infra_join()
82 int mwifiex_11h_activate(struct mwifiex_private *priv, bool flag) in mwifiex_11h_activate()
100 void mwifiex_11h_process_join(struct mwifiex_private *priv, u8 **buffer, in mwifiex_11h_process_join()
128 struct mwifiex_private *priv = in mwifiex_dfs_cac_work_queue() local
148 int mwifiex_cmd_issue_chan_report_request(struct mwifiex_private *priv, in mwifiex_cmd_issue_chan_report_request()
174 void mwifiex_abort_cac(struct mwifiex_private *priv) in mwifiex_abort_cac()
189 int mwifiex_11h_handle_chanrpt_ready(struct mwifiex_private *priv, in mwifiex_11h_handle_chanrpt_ready()
237 int mwifiex_11h_handle_radar_detected(struct mwifiex_private *priv, in mwifiex_11h_handle_radar_detected()
[all …]
Dcfg80211.c102 struct mwifiex_private *priv = mwifiex_netdev_get_priv(netdev); in mwifiex_cfg80211_del_key() local
163 struct mwifiex_private *priv = mwifiex_netdev_get_priv(wdev->netdev); in mwifiex_cfg80211_mgmt_tx() local
221 struct mwifiex_private *priv = mwifiex_netdev_get_priv(wdev->netdev); in mwifiex_cfg80211_mgmt_frame_register() local
247 struct mwifiex_private *priv = mwifiex_netdev_get_priv(wdev->netdev); in mwifiex_cfg80211_remain_on_channel() local
285 struct mwifiex_private *priv = mwifiex_netdev_get_priv(wdev->netdev); in mwifiex_cfg80211_cancel_remain_on_channel() local
317 struct mwifiex_private *priv; in mwifiex_cfg80211_set_tx_power() local
343 struct mwifiex_private *priv = mwifiex_netdev_get_priv(dev); in mwifiex_cfg80211_set_power_mgmt() local
363 struct mwifiex_private *priv = mwifiex_netdev_get_priv(netdev); in mwifiex_cfg80211_set_default_key() local
388 struct mwifiex_private *priv = mwifiex_netdev_get_priv(netdev); in mwifiex_cfg80211_add_key() local
435 struct mwifiex_private *priv; in mwifiex_send_domain_info_cmd_fw() local
[all …]
Dutil.c151 int mwifiex_init_shutdown_fw(struct mwifiex_private *priv, in mwifiex_init_shutdown_fw()
175 int mwifiex_get_debug_info(struct mwifiex_private *priv, in mwifiex_get_debug_info()
236 int mwifiex_debug_info_to_buffer(struct mwifiex_private *priv, char *buf, in mwifiex_debug_info_to_buffer()
324 mwifiex_parse_mgmt_packet(struct mwifiex_private *priv, u8 *payload, u16 len, in mwifiex_parse_mgmt_packet()
360 mwifiex_process_mgmt_packet(struct mwifiex_private *priv, in mwifiex_process_mgmt_packet()
413 int mwifiex_recv_packet(struct mwifiex_private *priv, struct sk_buff *skb) in mwifiex_recv_packet()
486 mwifiex_get_sta_entry(struct mwifiex_private *priv, const u8 *mac) in mwifiex_get_sta_entry()
507 mwifiex_add_sta_entry(struct mwifiex_private *priv, const u8 *mac) in mwifiex_add_sta_entry()
536 mwifiex_set_sta_ht_cap(struct mwifiex_private *priv, const u8 *ies, in mwifiex_set_sta_ht_cap()
559 void mwifiex_del_sta_entry(struct mwifiex_private *priv, const u8 *mac) in mwifiex_del_sta_entry()
[all …]
D11n.c37 int mwifiex_fill_cap_info(struct mwifiex_private *priv, u8 radio_type, in mwifiex_fill_cap_info()
83 mwifiex_get_ba_status(struct mwifiex_private *priv, in mwifiex_get_ba_status()
110 int mwifiex_ret_11n_delba(struct mwifiex_private *priv, in mwifiex_ret_11n_delba()
156 int mwifiex_ret_11n_addba_req(struct mwifiex_private *priv, in mwifiex_ret_11n_addba_req()
214 int mwifiex_cmd_recfg_tx_buf(struct mwifiex_private *priv, in mwifiex_cmd_recfg_tx_buf()
279 int mwifiex_cmd_11n_cfg(struct mwifiex_private *priv, in mwifiex_cmd_11n_cfg()
310 mwifiex_cmd_append_11n_tlv(struct mwifiex_private *priv, in mwifiex_cmd_append_11n_tlv()
443 static int mwifiex_is_tx_ba_stream_ptr_valid(struct mwifiex_private *priv, in mwifiex_is_tx_ba_stream_ptr_valid()
462 void mwifiex_11n_delete_tx_ba_stream_tbl_entry(struct mwifiex_private *priv, in mwifiex_11n_delete_tx_ba_stream_tbl_entry()
479 void mwifiex_11n_delete_all_tx_ba_stream_tbl(struct mwifiex_private *priv) in mwifiex_11n_delete_all_tx_ba_stream_tbl()
[all …]
Dtdls.c29 static void mwifiex_restore_tdls_packets(struct mwifiex_private *priv, in mwifiex_restore_tdls_packets()
88 static void mwifiex_hold_tdls_packets(struct mwifiex_private *priv, in mwifiex_hold_tdls_packets()
123 mwifiex_tdls_append_rates_ie(struct mwifiex_private *priv, in mwifiex_tdls_append_rates_ie()
157 static void mwifiex_tdls_add_aid(struct mwifiex_private *priv, in mwifiex_tdls_add_aid()
172 static int mwifiex_tdls_add_vht_capab(struct mwifiex_private *priv, in mwifiex_tdls_add_vht_capab()
191 mwifiex_tdls_add_ht_oper(struct mwifiex_private *priv, const u8 *mac, in mwifiex_tdls_add_ht_oper()
232 static int mwifiex_tdls_add_vht_oper(struct mwifiex_private *priv, in mwifiex_tdls_add_vht_oper()
347 static void mwifiex_tdls_add_ext_capab(struct mwifiex_private *priv, in mwifiex_tdls_add_ext_capab()
372 mwifiex_tdls_add_wmm_param_ie(struct mwifiex_private *priv, struct sk_buff *skb) in mwifiex_tdls_add_wmm_param_ie()
401 mwifiex_add_wmm_info_ie(struct mwifiex_private *priv, struct sk_buff *skb, in mwifiex_add_wmm_info_ie()
[all …]
Dwmm.c142 void mwifiex_ralist_add(struct mwifiex_private *priv, const u8 *ra) in mwifiex_ralist_add()
197 static void mwifiex_wmm_default_queue_priorities(struct mwifiex_private *priv) in mwifiex_wmm_default_queue_priorities()
210 mwifiex_wmm_queue_priorities_tid(struct mwifiex_private *priv) in mwifiex_wmm_queue_priorities_tid()
231 mwifiex_wmm_setup_queue_priorities(struct mwifiex_private *priv, in mwifiex_wmm_setup_queue_priorities()
293 mwifiex_wmm_eval_downgrade_ac(struct mwifiex_private *priv, in mwifiex_wmm_eval_downgrade_ac()
332 mwifiex_wmm_setup_ac_downgrade(struct mwifiex_private *priv) in mwifiex_wmm_setup_ac_downgrade()
386 u8 mwifiex_wmm_downgrade_tid(struct mwifiex_private *priv, u32 tid) in mwifiex_wmm_downgrade_tid()
410 struct mwifiex_private *priv; in mwifiex_wmm_init() local
446 struct mwifiex_private *priv; in mwifiex_wmm_lists_empty() local
465 mwifiex_wmm_del_pkts_in_ralist_node(struct mwifiex_private *priv, in mwifiex_wmm_del_pkts_in_ralist_node()
[all …]
Djoin.c40 mwifiex_cmd_append_generic_ie(struct mwifiex_private *priv, u8 **buffer) in mwifiex_cmd_append_generic_ie()
101 mwifiex_cmd_append_tsf_tlv(struct mwifiex_private *priv, u8 **buffer, in mwifiex_cmd_append_tsf_tlv()
146 static int mwifiex_get_common_rates(struct mwifiex_private *priv, u8 *rate1, in mwifiex_get_common_rates()
202 mwifiex_setup_rates_from_bssdesc(struct mwifiex_private *priv, in mwifiex_setup_rates_from_bssdesc()
236 mwifiex_cmd_append_wps_ie(struct mwifiex_private *priv, u8 **buffer) in mwifiex_cmd_append_wps_ie()
279 mwifiex_cmd_append_wapi_ie(struct mwifiex_private *priv, u8 **buffer) in mwifiex_cmd_append_wapi_ie()
326 static int mwifiex_append_rsn_ie_wpa_wpa2(struct mwifiex_private *priv, in mwifiex_append_rsn_ie_wpa_wpa2()
383 int mwifiex_cmd_802_11_associate(struct mwifiex_private *priv, in mwifiex_cmd_802_11_associate()
616 int mwifiex_ret_802_11_associate(struct mwifiex_private *priv, in mwifiex_ret_802_11_associate()
776 mwifiex_cmd_802_11_ad_hoc_start(struct mwifiex_private *priv, in mwifiex_cmd_802_11_ad_hoc_start()
[all …]
D11n.h69 mwifiex_is_station_ampdu_allowed(struct mwifiex_private *priv, in mwifiex_is_station_ampdu_allowed()
82 mwifiex_is_ampdu_allowed(struct mwifiex_private *priv, in mwifiex_is_ampdu_allowed()
102 mwifiex_is_amsdu_allowed(struct mwifiex_private *priv, int tid) in mwifiex_is_amsdu_allowed()
115 struct mwifiex_private *priv; in mwifiex_space_avail_for_new_ba_stream() local
144 mwifiex_find_stream_to_delete(struct mwifiex_private *priv, int ptr_tid, in mwifiex_find_stream_to_delete()
171 static inline int mwifiex_is_sta_11n_enabled(struct mwifiex_private *priv, in mwifiex_is_sta_11n_enabled()
183 mwifiex_tdls_peer_11n_enabled(struct mwifiex_private *priv, const u8 *ra) in mwifiex_tdls_peer_11n_enabled()
D11n_rxreorder.c32 static int mwifiex_11n_dispatch_amsdu_pkt(struct mwifiex_private *priv, in mwifiex_11n_dispatch_amsdu_pkt()
66 static int mwifiex_11n_dispatch_pkt(struct mwifiex_private *priv, void *payload) in mwifiex_11n_dispatch_pkt()
88 mwifiex_11n_dispatch_pkt_until_start_win(struct mwifiex_private *priv, in mwifiex_11n_dispatch_pkt_until_start_win()
135 mwifiex_11n_scan_and_dispatch(struct mwifiex_private *priv, in mwifiex_11n_scan_and_dispatch()
177 mwifiex_del_rx_reorder_entry(struct mwifiex_private *priv, in mwifiex_del_rx_reorder_entry()
219 mwifiex_11n_get_rx_reorder_tbl(struct mwifiex_private *priv, int tid, u8 *ta) in mwifiex_11n_get_rx_reorder_tbl()
240 void mwifiex_11n_del_rx_reorder_tbl_by_ta(struct mwifiex_private *priv, u8 *ta) in mwifiex_11n_del_rx_reorder_tbl_by_ta()
270 struct mwifiex_private *priv = ctx->priv; in mwifiex_11n_find_last_seq_num() local
324 mwifiex_11n_create_rx_reorder_tbl(struct mwifiex_private *priv, u8 *ta, in mwifiex_11n_create_rx_reorder_tbl()
448 int mwifiex_cmd_11n_addba_rsp_gen(struct mwifiex_private *priv, in mwifiex_cmd_11n_addba_rsp_gen()
[all …]
Dsta_cmd.c43 mwifiex_cmd_802_11_rssi_info(struct mwifiex_private *priv, in mwifiex_cmd_802_11_rssi_info()
73 static int mwifiex_cmd_mac_control(struct mwifiex_private *priv, in mwifiex_cmd_mac_control()
108 static int mwifiex_cmd_802_11_snmp_mib(struct mwifiex_private *priv, in mwifiex_cmd_802_11_snmp_mib()
165 static int mwifiex_cmd_tx_rate_cfg(struct mwifiex_private *priv, in mwifiex_cmd_tx_rate_cfg()
284 static int mwifiex_cmd_rf_tx_power(struct mwifiex_private *priv, in mwifiex_cmd_rf_tx_power()
301 static int mwifiex_cmd_rf_antenna(struct mwifiex_private *priv, in mwifiex_cmd_rf_antenna()
341 mwifiex_cmd_802_11_hs_cfg(struct mwifiex_private *priv, in mwifiex_cmd_802_11_hs_cfg()
399 static int mwifiex_cmd_802_11_mac_address(struct mwifiex_private *priv, in mwifiex_cmd_802_11_mac_address()
452 static int mwifiex_cmd_802_11_deauthenticate(struct mwifiex_private *priv, in mwifiex_cmd_802_11_deauthenticate()
493 mwifiex_set_keyparamset_wep(struct mwifiex_private *priv, in mwifiex_set_keyparamset_wep()
[all …]
/linux-4.1.27/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c75 static inline void dmadesc_set_length_status(struct bcmgenet_priv *priv, in dmadesc_set_length_status()
81 static inline u32 dmadesc_get_length_status(struct bcmgenet_priv *priv, in dmadesc_get_length_status()
87 static inline void dmadesc_set_addr(struct bcmgenet_priv *priv, in dmadesc_set_addr()
104 static inline void dmadesc_set(struct bcmgenet_priv *priv, in dmadesc_set()
111 static inline dma_addr_t dmadesc_get_addr(struct bcmgenet_priv *priv, in dmadesc_get_addr()
134 static inline u32 bcmgenet_rbuf_ctrl_get(struct bcmgenet_priv *priv) in bcmgenet_rbuf_ctrl_get()
142 static inline void bcmgenet_rbuf_ctrl_set(struct bcmgenet_priv *priv, u32 val) in bcmgenet_rbuf_ctrl_set()
154 static inline u32 bcmgenet_tbuf_ctrl_get(struct bcmgenet_priv *priv) in bcmgenet_tbuf_ctrl_get()
163 static inline void bcmgenet_tbuf_ctrl_set(struct bcmgenet_priv *priv, u32 val) in bcmgenet_tbuf_ctrl_set()
172 static inline u32 bcmgenet_bp_mc_get(struct bcmgenet_priv *priv) in bcmgenet_bp_mc_get()
[all …]
Dbcmmii.c35 struct bcmgenet_priv *priv = netdev_priv(dev); in bcmgenet_mii_read() local
61 struct bcmgenet_priv *priv = netdev_priv(dev); in bcmgenet_mii_write() local
83 struct bcmgenet_priv *priv = netdev_priv(dev); in bcmgenet_mii_setup() local
163 struct bcmgenet_priv *priv = netdev_priv(dev); in bcmgenet_mii_reset() local
173 struct bcmgenet_priv *priv = netdev_priv(dev); in bcmgenet_phy_power_set() local
204 struct bcmgenet_priv *priv = netdev_priv(dev); in bcmgenet_internal_phy_setup() local
216 static void bcmgenet_moca_phy_setup(struct bcmgenet_priv *priv) in bcmgenet_moca_phy_setup()
228 struct bcmgenet_priv *priv = netdev_priv(dev); in bcmgenet_mii_config() local
327 struct bcmgenet_priv *priv = netdev_priv(dev); in bcmgenet_mii_probe() local
406 static int bcmgenet_mii_alloc(struct bcmgenet_priv *priv) in bcmgenet_mii_alloc()
[all …]
/linux-4.1.27/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_main.c86 static void sxgbe_enable_eee_mode(const struct sxgbe_priv_data *priv) in sxgbe_enable_eee_mode()
93 void sxgbe_disable_eee_mode(struct sxgbe_priv_data * const priv) in sxgbe_disable_eee_mode()
110 struct sxgbe_priv_data *priv = (struct sxgbe_priv_data *)arg; in sxgbe_eee_ctrl_timer() local
125 bool sxgbe_eee_init(struct sxgbe_priv_data * const priv) in sxgbe_eee_init()
153 static void sxgbe_eee_adjust(const struct sxgbe_priv_data *priv) in sxgbe_eee_adjust()
169 static void sxgbe_clk_csr_set(struct sxgbe_priv_data *priv) in sxgbe_clk_csr_set()
205 struct sxgbe_priv_data *priv = netdev_priv(dev); in sxgbe_adjust_link() local
270 struct sxgbe_priv_data *priv = netdev_priv(ndev); in sxgbe_init_phy() local
321 static void sxgbe_clear_descriptors(struct sxgbe_priv_data *priv) in sxgbe_clear_descriptors()
346 struct sxgbe_priv_data *priv = netdev_priv(dev); in sxgbe_init_rx_buffers() local
[all …]
Dsxgbe_ethtool.c141 struct sxgbe_priv_data *priv = netdev_priv(dev); in sxgbe_get_eee() local
156 struct sxgbe_priv_data *priv = netdev_priv(dev); in sxgbe_set_eee() local
188 struct sxgbe_priv_data *priv = netdev_priv(dev); in sxgbe_getsettings() local
198 struct sxgbe_priv_data *priv = netdev_priv(dev); in sxgbe_setsettings() local
208 struct sxgbe_priv_data *priv = netdev_priv(dev); in sxgbe_getmsglevel() local
214 struct sxgbe_priv_data *priv = netdev_priv(dev); in sxgbe_setmsglevel() local
253 struct sxgbe_priv_data *priv = netdev_priv(dev); in sxgbe_get_ethtool_stats() local
280 static u32 sxgbe_riwt2usec(u32 riwt, struct sxgbe_priv_data *priv) in sxgbe_riwt2usec()
290 static u32 sxgbe_usec2riwt(u32 usec, struct sxgbe_priv_data *priv) in sxgbe_usec2riwt()
303 struct sxgbe_priv_data *priv = netdev_priv(dev); in sxgbe_get_coalesce() local
[all …]
/linux-4.1.27/drivers/net/ethernet/freescale/
Dgianfar.c174 struct gfar_private *priv = netdev_priv(ndev); in gfar_init_bds() local
244 struct gfar_private *priv = netdev_priv(ndev); in gfar_alloc_skb_resources() local
324 static void gfar_init_tx_rx_base(struct gfar_private *priv) in gfar_init_tx_rx_base()
343 static void gfar_init_rqprm(struct gfar_private *priv) in gfar_init_rqprm()
357 static void gfar_rx_buff_size_config(struct gfar_private *priv) in gfar_rx_buff_size_config()
381 static void gfar_mac_rx_config(struct gfar_private *priv) in gfar_mac_rx_config()
428 static void gfar_mac_tx_config(struct gfar_private *priv) in gfar_mac_tx_config()
450 static void gfar_configure_coalescing(struct gfar_private *priv, in gfar_configure_coalescing()
486 void gfar_configure_coalescing_all(struct gfar_private *priv) in gfar_configure_coalescing_all()
493 struct gfar_private *priv = netdev_priv(dev); in gfar_get_stats() local
[all …]
Dfec_mpc52xx.c90 struct mpc52xx_fec_priv *priv = netdev_priv(dev); in mpc52xx_fec_tx_timeout() local
105 struct mpc52xx_fec_priv *priv = netdev_priv(dev); in mpc52xx_fec_set_paddr() local
138 struct mpc52xx_fec_priv *priv = netdev_priv(dev); in mpc52xx_fec_rx_submit() local
167 struct mpc52xx_fec_priv *priv = netdev_priv(dev); in mpc52xx_fec_adjust_link() local
217 struct mpc52xx_fec_priv *priv = netdev_priv(dev); in mpc52xx_fec_open() local
282 struct mpc52xx_fec_priv *priv = netdev_priv(dev); in mpc52xx_fec_close() local
311 struct mpc52xx_fec_priv *priv = netdev_priv(dev); in mpc52xx_fec_start_xmit() local
344 struct mpc52xx_fec_priv *priv = netdev_priv(dev); in mpc52xx_fec_poll_controller() local
361 struct mpc52xx_fec_priv *priv = netdev_priv(dev); in mpc52xx_fec_tx_interrupt() local
384 struct mpc52xx_fec_priv *priv = netdev_priv(dev); in mpc52xx_fec_rx_interrupt() local
[all …]
Dgianfar_ethtool.c127 struct gfar_private *priv = netdev_priv(dev); in gfar_gstrings() local
144 struct gfar_private *priv = netdev_priv(dev); in gfar_fill_stats() local
161 struct gfar_private *priv = netdev_priv(dev); in gfar_sset_count() local
190 struct gfar_private *priv = netdev_priv(dev); in gfar_ssettings() local
203 struct gfar_private *priv = netdev_priv(dev); in gfar_gsettings() local
232 struct gfar_private *priv = netdev_priv(dev); in gfar_get_regs() local
242 static unsigned int gfar_usecs2ticks(struct gfar_private *priv, in gfar_usecs2ticks()
267 static unsigned int gfar_ticks2usecs(struct gfar_private *priv, in gfar_ticks2usecs()
296 struct gfar_private *priv = netdev_priv(dev); in gfar_gcoalesce() local
362 struct gfar_private *priv = netdev_priv(dev); in gfar_scoalesce() local
[all …]
/linux-4.1.27/drivers/media/dvb-frontends/
Dlgs8gxx.c54 static int lgs8gxx_write_reg(struct lgs8gxx_state *priv, u8 reg, u8 data) in lgs8gxx_write_reg()
76 static int lgs8gxx_read_reg(struct lgs8gxx_state *priv, u8 reg, u8 *p_data) in lgs8gxx_read_reg()
105 static int lgs8gxx_soft_reset(struct lgs8gxx_state *priv) in lgs8gxx_soft_reset()
115 static int wait_reg_mask(struct lgs8gxx_state *priv, u8 reg, u8 mask, in wait_reg_mask()
132 static int lgs8gxx_set_ad_mode(struct lgs8gxx_state *priv) in lgs8gxx_set_ad_mode()
156 static int lgs8gxx_set_if_freq(struct lgs8gxx_state *priv, u32 freq /*in kHz*/) in lgs8gxx_set_if_freq()
192 static int lgs8gxx_get_afc_phase(struct lgs8gxx_state *priv) in lgs8gxx_get_afc_phase()
218 static int lgs8gxx_set_mode_auto(struct lgs8gxx_state *priv) in lgs8gxx_set_mode_auto()
265 static int lgs8gxx_set_mode_manual(struct lgs8gxx_state *priv) in lgs8gxx_set_mode_manual()
309 static int lgs8gxx_is_locked(struct lgs8gxx_state *priv, u8 *locked) in lgs8gxx_is_locked()
[all …]
Dcxd2820r_core.c28 static int cxd2820r_wr_regs_i2c(struct cxd2820r_priv *priv, u8 i2c, u8 reg, in cxd2820r_wr_regs_i2c()
64 static int cxd2820r_rd_regs_i2c(struct cxd2820r_priv *priv, u8 i2c, u8 reg, in cxd2820r_rd_regs_i2c()
104 int cxd2820r_wr_regs(struct cxd2820r_priv *priv, u32 reginfo, u8 *val, in cxd2820r_wr_regs()
130 int cxd2820r_rd_regs(struct cxd2820r_priv *priv, u32 reginfo, u8 *val, in cxd2820r_rd_regs()
156 int cxd2820r_wr_reg(struct cxd2820r_priv *priv, u32 reg, u8 val) in cxd2820r_wr_reg()
162 int cxd2820r_rd_reg(struct cxd2820r_priv *priv, u32 reg, u8 *val) in cxd2820r_rd_reg()
168 int cxd2820r_wr_reg_mask(struct cxd2820r_priv *priv, u32 reg, u8 val, in cxd2820r_wr_reg_mask()
190 struct cxd2820r_priv *priv = fe->demodulator_priv; in cxd2820r_gpio() local
249 struct cxd2820r_priv *priv = fe->demodulator_priv; in cxd2820r_set_frontend() local
292 struct cxd2820r_priv *priv = fe->demodulator_priv; in cxd2820r_read_status() local
[all …]
Datbm8830.c39 static int atbm8830_write_reg(struct atbm_state *priv, u16 reg, u8 data) in atbm8830_write_reg()
63 static int atbm8830_read_reg(struct atbm_state *priv, u16 reg, u8 *p_data) in atbm8830_read_reg()
96 static inline int atbm8830_reglatch_lock(struct atbm_state *priv, int lock) in atbm8830_reglatch_lock()
101 static int set_osc_freq(struct atbm_state *priv, u32 freq /*in kHz*/) in set_osc_freq()
118 static int set_if_freq(struct atbm_state *priv, u32 freq /*in kHz*/) in set_if_freq()
160 static int is_locked(struct atbm_state *priv, u8 *locked) in is_locked()
171 static int set_agc_config(struct atbm_state *priv, in set_agc_config()
185 static int set_static_channel_mode(struct atbm_state *priv) in set_static_channel_mode()
213 static int set_ts_config(struct atbm_state *priv) in set_ts_config()
232 struct atbm_state *priv = fe->demodulator_priv; in atbm8830_init() local
[all …]
Dtda10071.c29 static int tda10071_wr_regs(struct tda10071_priv *priv, u8 reg, u8 *val, in tda10071_wr_regs()
66 static int tda10071_rd_regs(struct tda10071_priv *priv, u8 reg, u8 *val, in tda10071_rd_regs()
106 static int tda10071_wr_reg(struct tda10071_priv *priv, u8 reg, u8 val) in tda10071_wr_reg()
112 static int tda10071_rd_reg(struct tda10071_priv *priv, u8 reg, u8 *val) in tda10071_rd_reg()
118 static int tda10071_wr_reg_mask(struct tda10071_priv *priv, in tda10071_wr_reg_mask()
139 static int tda10071_rd_reg_mask(struct tda10071_priv *priv, in tda10071_rd_reg_mask()
162 static int tda10071_cmd_execute(struct tda10071_priv *priv, in tda10071_cmd_execute()
208 struct tda10071_priv *priv = fe->demodulator_priv; in tda10071_set_tone() local
254 struct tda10071_priv *priv = fe->demodulator_priv; in tda10071_set_voltage() local
300 struct tda10071_priv *priv = fe->demodulator_priv; in tda10071_diseqc_send_master_cmd() local
[all …]
Dm88ds3103.c22 static int m88ds3103_wr_regs(struct m88ds3103_priv *priv, in m88ds3103_wr_regs()
60 static int m88ds3103_rd_regs(struct m88ds3103_priv *priv, in m88ds3103_rd_regs()
101 static int m88ds3103_wr_reg(struct m88ds3103_priv *priv, u8 reg, u8 val) in m88ds3103_wr_reg()
107 static int m88ds3103_rd_reg(struct m88ds3103_priv *priv, u8 reg, u8 *val) in m88ds3103_rd_reg()
113 static int m88ds3103_wr_reg_mask(struct m88ds3103_priv *priv, in m88ds3103_wr_reg_mask()
134 static int m88ds3103_rd_reg_mask(struct m88ds3103_priv *priv, in m88ds3103_rd_reg_mask()
157 static int m88ds3103_wr_reg_val_tab(struct m88ds3103_priv *priv, in m88ds3103_wr_reg_val_tab()
191 struct m88ds3103_priv *priv = fe->demodulator_priv; in m88ds3103_read_status() local
244 struct m88ds3103_priv *priv = fe->demodulator_priv; in m88ds3103_set_frontend() local
579 struct m88ds3103_priv *priv = fe->demodulator_priv; in m88ds3103_init() local
[all …]
Dhd29l2.c28 static int hd29l2_wr_regs(struct hd29l2_priv *priv, u8 reg, u8 *val, int len) in hd29l2_wr_regs()
61 static int hd29l2_rd_regs(struct hd29l2_priv *priv, u8 reg, u8 *val, int len) in hd29l2_rd_regs()
93 static int hd29l2_wr_reg(struct hd29l2_priv *priv, u8 reg, u8 val) in hd29l2_wr_reg()
99 static int hd29l2_rd_reg(struct hd29l2_priv *priv, u8 reg, u8 *val) in hd29l2_rd_reg()
105 static int hd29l2_wr_reg_mask(struct hd29l2_priv *priv, u8 reg, u8 val, u8 mask) in hd29l2_wr_reg_mask()
125 static int hd29l2_rd_reg_mask(struct hd29l2_priv *priv, u8 reg, u8 *val, u8 mask) in hd29l2_rd_reg_mask()
146 static int hd29l2_soft_reset(struct hd29l2_priv *priv) in hd29l2_soft_reset()
174 struct hd29l2_priv *priv = fe->demodulator_priv; in hd29l2_i2c_gate_ctrl() local
217 struct hd29l2_priv *priv = fe->demodulator_priv; in hd29l2_read_status() local
252 struct hd29l2_priv *priv = fe->demodulator_priv; in hd29l2_read_snr() local
[all …]
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dbcmsysport.c78 static inline void dma_desc_set_addr(struct bcm_sysport_priv *priv, in dma_desc_set_addr()
89 static inline void tdma_port_write_desc_addr(struct bcm_sysport_priv *priv, in tdma_port_write_desc_addr()
102 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_set_settings() local
113 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_get_settings() local
124 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_set_rx_csum() local
159 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_set_tx_csum() local
295 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_get_msglvl() local
302 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_set_msglvl() local
335 static void bcm_sysport_update_mib_counters(struct bcm_sysport_priv *priv) in bcm_sysport_update_mib_counters()
380 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_get_stats() local
[all …]
Dbcm63xx_enet.c50 static inline u32 enet_readl(struct bcm_enet_priv *priv, u32 off) in enet_readl()
55 static inline void enet_writel(struct bcm_enet_priv *priv, in enet_writel()
64 static inline u32 enetsw_readl(struct bcm_enet_priv *priv, u32 off) in enetsw_readl()
69 static inline void enetsw_writel(struct bcm_enet_priv *priv, in enetsw_writel()
75 static inline u16 enetsw_readw(struct bcm_enet_priv *priv, u32 off) in enetsw_readw()
80 static inline void enetsw_writew(struct bcm_enet_priv *priv, in enetsw_writew()
86 static inline u8 enetsw_readb(struct bcm_enet_priv *priv, u32 off) in enetsw_readb()
91 static inline void enetsw_writeb(struct bcm_enet_priv *priv, in enetsw_writeb()
99 static inline u32 enet_dma_readl(struct bcm_enet_priv *priv, u32 off) in enet_dma_readl()
104 static inline void enet_dma_writel(struct bcm_enet_priv *priv, in enet_dma_writel()
[all …]
/linux-4.1.27/drivers/media/tuners/
Dtda18271-fe.c42 struct tda18271_priv *priv = fe->tuner_priv; in tda18271_toggle_output() local
63 struct tda18271_priv *priv = fe->tuner_priv; in charge_pump_source() local
72 struct tda18271_priv *priv = fe->tuner_priv; in tda18271_set_if_notch() local
89 struct tda18271_priv *priv = fe->tuner_priv; in tda18271_channel_configuration() local
212 struct tda18271_priv *priv = fe->tuner_priv; in tda18271_read_thermometer() local
257 struct tda18271_priv *priv = fe->tuner_priv; in tda18271c2_rf_tracking_filters_correction() local
307 struct tda18271_priv *priv = fe->tuner_priv; in tda18271_por() local
340 struct tda18271_priv *priv = fe->tuner_priv; in tda18271_calibrate_rf() local
444 struct tda18271_priv *priv = fe->tuner_priv; in tda18271_powerscan() local
537 struct tda18271_priv *priv = fe->tuner_priv; in tda18271_powerscan_init() local
[all …]
Dxc5000.c258 static int xc_send_i2c_data(struct xc5000_priv *priv, u8 *buf, int len) in xc_send_i2c_data()
287 static int xc5000_readreg(struct xc5000_priv *priv, u16 reg, u16 *val) in xc5000_readreg()
309 struct xc5000_priv *priv = fe->tuner_priv; in xc5000_tuner_reset() local
331 static int xc_write_reg(struct xc5000_priv *priv, u16 reg_addr, u16 i2c_data) in xc_write_reg()
365 struct xc5000_priv *priv = fe->tuner_priv; in xc_load_i2c_sequence() local
417 static int xc_initialize(struct xc5000_priv *priv) in xc_initialize()
423 static int xc_set_tv_standard(struct xc5000_priv *priv, in xc_set_tv_standard()
445 static int xc_set_signal_source(struct xc5000_priv *priv, u16 rf_mode) in xc_set_signal_source()
461 static int xc_set_rf_frequency(struct xc5000_priv *priv, u32 freq_hz) in xc_set_rf_frequency()
480 static int xc_set_IF_frequency(struct xc5000_priv *priv, u32 freq_khz) in xc_set_IF_frequency()
[all …]
Dmax2165.c46 static int max2165_write_reg(struct max2165_priv *priv, u8 reg, u8 data) in max2165_write_reg()
66 static int max2165_read_reg(struct max2165_priv *priv, u8 reg, u8 *p_data) in max2165_read_reg()
91 static int max2165_mask_write_reg(struct max2165_priv *priv, u8 reg, in max2165_mask_write_reg()
108 static int max2165_read_rom_table(struct max2165_priv *priv) in max2165_read_rom_table()
135 static int max2165_set_osc(struct max2165_priv *priv, u8 osc /*MHz*/) in max2165_set_osc()
150 static int max2165_set_bandwidth(struct max2165_priv *priv, u32 bw) in max2165_set_bandwidth()
191 static int max2165_set_rf(struct max2165_priv *priv, u32 freq) in max2165_set_rf()
231 static void max2165_debug_status(struct max2165_priv *priv) in max2165_debug_status()
265 struct max2165_priv *priv = fe->tuner_priv; in max2165_set_params() local
299 struct max2165_priv *priv = fe->tuner_priv; in max2165_get_frequency() local
[all …]
Dfc2580.c44 static int fc2580_wr_regs(struct fc2580_priv *priv, u8 reg, u8 *val, int len) in fc2580_wr_regs()
79 static int fc2580_rd_regs(struct fc2580_priv *priv, u8 reg, u8 *val, int len) in fc2580_rd_regs()
118 static int fc2580_wr_reg(struct fc2580_priv *priv, u8 reg, u8 val) in fc2580_wr_reg()
124 static int fc2580_rd_reg(struct fc2580_priv *priv, u8 reg, u8 *val) in fc2580_rd_reg()
132 static int fc2580_wr_reg_ff(struct fc2580_priv *priv, u8 reg, u8 val) in fc2580_wr_reg_ff()
142 struct fc2580_priv *priv = fe->tuner_priv; in fc2580_set_params() local
405 struct fc2580_priv *priv = fe->tuner_priv; in fc2580_init() local
434 struct fc2580_priv *priv = fe->tuner_priv; in fc2580_sleep() local
460 struct fc2580_priv *priv = fe->tuner_priv; in fc2580_get_if_frequency() local
471 struct fc2580_priv *priv = fe->tuner_priv; in fc2580_release() local
[all …]
Dtda18271-common.c25 struct tda18271_priv *priv = fe->tuner_priv; in tda18271_i2c_gate_ctrl() local
68 struct tda18271_priv *priv = fe->tuner_priv; in tda18271_dump_regs() local
123 struct tda18271_priv *priv = fe->tuner_priv; in tda18271_read_regs() local
152 struct tda18271_priv *priv = fe->tuner_priv; in tda18271_read_extended() local
193 struct tda18271_priv *priv = fe->tuner_priv; in __tda18271_write_regs() local
271 struct tda18271_priv *priv = fe->tuner_priv; in __tda18271_charge_pump_source() local
291 struct tda18271_priv *priv = fe->tuner_priv; in tda18271_init_regs() local
546 struct tda18271_priv *priv = fe->tuner_priv; in tda18271_set_standby_mode() local
565 struct tda18271_priv *priv = fe->tuner_priv; in tda18271_calc_main_pll() local
588 struct tda18271_priv *priv = fe->tuner_priv; in tda18271_calc_cal_pll() local
[all …]
Dr820t.c356 static void shadow_store(struct r820t_priv *priv, u8 reg, const u8 *val, in shadow_store()
376 static int r820t_write(struct r820t_priv *priv, u8 reg, const u8 *val, in r820t_write()
413 static int r820t_write_reg(struct r820t_priv *priv, u8 reg, u8 val) in r820t_write_reg()
418 static int r820t_read_cache_reg(struct r820t_priv *priv, int reg) in r820t_read_cache_reg()
428 static int r820t_write_reg_mask(struct r820t_priv *priv, u8 reg, u8 val, in r820t_write_reg_mask()
441 static int r820t_read(struct r820t_priv *priv, u8 reg, u8 *val, int len) in r820t_read()
471 static int r820t_set_mux(struct r820t_priv *priv, u32 freq) in r820t_set_mux()
539 static int r820t_set_pll(struct r820t_priv *priv, enum v4l2_tuner_type type, in r820t_set_pll()
719 static int r820t_sysfreq_sel(struct r820t_priv *priv, u32 freq, in r820t_sysfreq_sel()
948 static int r820t_set_tv_standard(struct r820t_priv *priv, in r820t_set_tv_standard()
[all …]
Dtda18218.c27 static int tda18218_wr_regs(struct tda18218_priv *priv, u8 reg, u8 *val, u8 len) in tda18218_wr_regs()
73 static int tda18218_rd_regs(struct tda18218_priv *priv, u8 reg, u8 *val, u8 len) in tda18218_rd_regs()
112 static int tda18218_wr_reg(struct tda18218_priv *priv, u8 reg, u8 val) in tda18218_wr_reg()
119 static int tda18218_rd_reg(struct tda18218_priv *priv, u8 reg, u8 *val) in tda18218_rd_reg()
126 struct tda18218_priv *priv = fe->tuner_priv; in tda18218_set_params() local
221 struct tda18218_priv *priv = fe->tuner_priv; in tda18218_get_if_frequency() local
229 struct tda18218_priv *priv = fe->tuner_priv; in tda18218_sleep() local
249 struct tda18218_priv *priv = fe->tuner_priv; in tda18218_init() local
296 struct tda18218_priv *priv = NULL; in tda18218_attach() local
Dtua9001.c25 static int tua9001_wr_reg(struct tua9001_priv *priv, u8 reg, u16 val) in tua9001_wr_reg()
52 struct tua9001_priv *priv = fe->tuner_priv; in tua9001_release() local
69 struct tua9001_priv *priv = fe->tuner_priv; in tua9001_init() local
120 struct tua9001_priv *priv = fe->tuner_priv; in tua9001_sleep() local
137 struct tua9001_priv *priv = fe->tuner_priv; in tua9001_set_params() local
219 struct tua9001_priv *priv = fe->tuner_priv; in tua9001_get_if_frequency() local
249 struct tua9001_priv *priv = NULL; in tua9001_attach() local
Dfc0013.c27 static int fc0013_writereg(struct fc0013_priv *priv, u8 reg, u8 val) in fc0013_writereg()
41 static int fc0013_readreg(struct fc0013_priv *priv, u8 reg, u8 *val) in fc0013_readreg()
64 struct fc0013_priv *priv = fe->tuner_priv; in fc0013_init() local
132 struct fc0013_priv *priv = fe->tuner_priv; in fc0013_rc_cal_add() local
177 struct fc0013_priv *priv = fe->tuner_priv; in fc0013_rc_cal_reset() local
194 static int fc0013_set_vhf_track(struct fc0013_priv *priv, u32 freq) in fc0013_set_vhf_track()
228 struct fc0013_priv *priv = fe->tuner_priv; in fc0013_set_params() local
494 struct fc0013_priv *priv = fe->tuner_priv; in fc0013_get_frequency() local
508 struct fc0013_priv *priv = fe->tuner_priv; in fc0013_get_bandwidth() local
517 struct fc0013_priv *priv = fe->tuner_priv; in fc0013_get_rf_strength() local
[all …]
Dxc4000.c258 static int xc_send_i2c_data(struct xc4000_priv *priv, u8 *buf, int len) in xc_send_i2c_data()
277 struct xc4000_priv *priv = fe->tuner_priv; in xc4000_tuner_reset() local
300 static int xc_write_reg(struct xc4000_priv *priv, u16 regAddr, u16 i2cData) in xc_write_reg()
316 struct xc4000_priv *priv = fe->tuner_priv; in xc_load_i2c_sequence() local
367 static int xc_set_tv_standard(struct xc4000_priv *priv, in xc_set_tv_standard()
388 static int xc_set_signal_source(struct xc4000_priv *priv, u16 rf_mode) in xc_set_signal_source()
404 static int xc_set_rf_frequency(struct xc4000_priv *priv, u32 freq_hz) in xc_set_rf_frequency()
423 static int xc_get_adc_envelope(struct xc4000_priv *priv, u16 *adc_envelope) in xc_get_adc_envelope()
428 static int xc_get_frequency_error(struct xc4000_priv *priv, u32 *freq_error_hz) in xc_get_frequency_error()
444 static int xc_get_lock_status(struct xc4000_priv *priv, u16 *lock_status) in xc_get_lock_status()
[all …]
/linux-4.1.27/drivers/net/ethernet/faraday/
Dftmac100.c100 static void ftmac100_enable_all_int(struct ftmac100 *priv) in ftmac100_enable_all_int()
105 static void ftmac100_disable_all_int(struct ftmac100 *priv) in ftmac100_disable_all_int()
110 static void ftmac100_set_rx_ring_base(struct ftmac100 *priv, dma_addr_t addr) in ftmac100_set_rx_ring_base()
115 static void ftmac100_set_tx_ring_base(struct ftmac100 *priv, dma_addr_t addr) in ftmac100_set_tx_ring_base()
120 static void ftmac100_txdma_start_polling(struct ftmac100 *priv) in ftmac100_txdma_start_polling()
125 static int ftmac100_reset(struct ftmac100 *priv) in ftmac100_reset()
154 static void ftmac100_set_mac(struct ftmac100 *priv, const unsigned char *mac) in ftmac100_set_mac()
172 static int ftmac100_start_hw(struct ftmac100 *priv) in ftmac100_start_hw()
195 static void ftmac100_stop_hw(struct ftmac100 *priv) in ftmac100_stop_hw()
304 static void ftmac100_rx_pointer_advance(struct ftmac100 *priv) in ftmac100_rx_pointer_advance()
[all …]
Dftgmac100.c93 static void ftgmac100_set_rx_ring_base(struct ftgmac100 *priv, dma_addr_t addr) in ftgmac100_set_rx_ring_base()
98 static void ftgmac100_set_rx_buffer_size(struct ftgmac100 *priv, in ftgmac100_set_rx_buffer_size()
105 static void ftgmac100_set_normal_prio_tx_ring_base(struct ftgmac100 *priv, in ftgmac100_set_normal_prio_tx_ring_base()
111 static void ftgmac100_txdma_normal_prio_start_polling(struct ftgmac100 *priv) in ftgmac100_txdma_normal_prio_start_polling()
116 static int ftgmac100_reset_hw(struct ftgmac100 *priv) in ftgmac100_reset_hw()
137 static void ftgmac100_set_mac(struct ftgmac100 *priv, const unsigned char *mac) in ftgmac100_set_mac()
146 static void ftgmac100_init_hw(struct ftgmac100 *priv) in ftgmac100_init_hw()
172 static void ftgmac100_start_hw(struct ftgmac100 *priv, int speed) in ftgmac100_start_hw()
193 static void ftgmac100_stop_hw(struct ftgmac100 *priv) in ftgmac100_stop_hw()
322 static void ftgmac100_rx_pointer_advance(struct ftgmac100 *priv) in ftgmac100_rx_pointer_advance()
[all …]
/linux-4.1.27/drivers/net/ethernet/wiznet/
Dw5300.c116 static inline u16 w5300_read_direct(struct w5300_priv *priv, u16 addr) in w5300_read_direct()
121 static inline void w5300_write_direct(struct w5300_priv *priv, in w5300_write_direct()
138 static u16 w5300_read_indirect(struct w5300_priv *priv, u16 addr) in w5300_read_indirect()
152 static void w5300_write_indirect(struct w5300_priv *priv, u16 addr, u16 data) in w5300_write_indirect()
177 static u32 w5300_read32(struct w5300_priv *priv, u16 addr) in w5300_read32()
185 static void w5300_write32(struct w5300_priv *priv, u16 addr, u32 data) in w5300_write32()
191 static int w5300_command(struct w5300_priv *priv, u16 cmd) in w5300_command()
207 static void w5300_read_frame(struct w5300_priv *priv, u8 *buf, int len) in w5300_read_frame()
221 static void w5300_write_frame(struct w5300_priv *priv, u8 *buf, int len) in w5300_write_frame()
234 static void w5300_write_macaddr(struct w5300_priv *priv) in w5300_write_macaddr()
[all …]
Dw5100.c120 static inline u8 w5100_read_direct(struct w5100_priv *priv, u16 addr) in w5100_read_direct()
125 static inline void w5100_write_direct(struct w5100_priv *priv, in w5100_write_direct()
131 static u16 w5100_read16_direct(struct w5100_priv *priv, u16 addr) in w5100_read16_direct()
139 static void w5100_write16_direct(struct w5100_priv *priv, u16 addr, u16 data) in w5100_write16_direct()
145 static void w5100_readbuf_direct(struct w5100_priv *priv, in w5100_readbuf_direct()
158 static void w5100_writebuf_direct(struct w5100_priv *priv, in w5100_writebuf_direct()
182 static u8 w5100_read_indirect(struct w5100_priv *priv, u16 addr) in w5100_read_indirect()
196 static void w5100_write_indirect(struct w5100_priv *priv, u16 addr, u8 data) in w5100_write_indirect()
208 static u16 w5100_read16_indirect(struct w5100_priv *priv, u16 addr) in w5100_read16_indirect()
223 static void w5100_write16_indirect(struct w5100_priv *priv, u16 addr, u16 data) in w5100_write16_indirect()
[all …]
/linux-4.1.27/drivers/net/ethernet/tehuti/
Dtehuti.c135 #define bdx_enable_interrupts(priv) \ argument
137 #define bdx_disable_interrupts(priv) \ argument
154 bdx_fifo_init(struct bdx_priv *priv, struct fifo *f, int fsz_type, in bdx_fifo_init()
186 static void bdx_fifo_free(struct bdx_priv *priv, struct fifo *f) in bdx_fifo_free()
201 static void bdx_link_changed(struct bdx_priv *priv) in bdx_link_changed()
220 static void bdx_isr_extra(struct bdx_priv *priv, u32 isr) in bdx_isr_extra()
255 struct bdx_priv *priv = netdev_priv(ndev); in bdx_isr_napi() local
292 struct bdx_priv *priv = container_of(napi, struct bdx_priv, napi); in bdx_poll() local
322 static int bdx_fw_load(struct bdx_priv *priv) in bdx_fw_load()
365 static void bdx_restore_mac(struct net_device *ndev, struct bdx_priv *priv) in bdx_restore_mac()
[all …]
/linux-4.1.27/drivers/net/can/
Dat91_can.c194 static inline unsigned int get_mb_rx_first(const struct at91_priv *priv) in get_mb_rx_first()
199 static inline unsigned int get_mb_rx_last(const struct at91_priv *priv) in get_mb_rx_last()
204 static inline unsigned int get_mb_rx_split(const struct at91_priv *priv) in get_mb_rx_split()
209 static inline unsigned int get_mb_rx_num(const struct at91_priv *priv) in get_mb_rx_num()
214 static inline unsigned int get_mb_rx_low_last(const struct at91_priv *priv) in get_mb_rx_low_last()
219 static inline unsigned int get_mb_rx_low_mask(const struct at91_priv *priv) in get_mb_rx_low_mask()
225 static inline unsigned int get_mb_tx_shift(const struct at91_priv *priv) in get_mb_tx_shift()
230 static inline unsigned int get_mb_tx_num(const struct at91_priv *priv) in get_mb_tx_num()
235 static inline unsigned int get_mb_tx_first(const struct at91_priv *priv) in get_mb_tx_first()
240 static inline unsigned int get_mb_tx_last(const struct at91_priv *priv) in get_mb_tx_last()
[all …]
Dpch_can.c213 static void pch_can_set_run_mode(struct pch_can_priv *priv, in pch_can_set_run_mode()
231 static void pch_can_set_optmode(struct pch_can_priv *priv) in pch_can_set_optmode()
262 static void pch_can_set_int_enables(struct pch_can_priv *priv, in pch_can_set_int_enables()
284 static void pch_can_set_rxtx(struct pch_can_priv *priv, u32 buff_num, in pch_can_set_rxtx()
315 static void pch_can_set_rx_all(struct pch_can_priv *priv, int set) in pch_can_set_rx_all()
324 static void pch_can_set_tx_all(struct pch_can_priv *priv, int set) in pch_can_set_tx_all()
333 static u32 pch_can_int_pending(struct pch_can_priv *priv) in pch_can_int_pending()
338 static void pch_can_clear_if_buffers(struct pch_can_priv *priv) in pch_can_clear_if_buffers()
360 static void pch_can_config_rx_tx_buffers(struct pch_can_priv *priv) in pch_can_config_rx_tx_buffers()
416 static void pch_can_init(struct pch_can_priv *priv) in pch_can_init()
[all …]
Dti_hecc.c228 static inline int get_tx_head_mb(struct ti_hecc_priv *priv) in get_tx_head_mb()
233 static inline int get_tx_tail_mb(struct ti_hecc_priv *priv) in get_tx_tail_mb()
238 static inline int get_tx_head_prio(struct ti_hecc_priv *priv) in get_tx_head_prio()
243 static inline void hecc_write_lam(struct ti_hecc_priv *priv, u32 mbxno, u32 val) in hecc_write_lam()
248 static inline void hecc_write_mbx(struct ti_hecc_priv *priv, u32 mbxno, in hecc_write_mbx()
255 static inline u32 hecc_read_mbx(struct ti_hecc_priv *priv, u32 mbxno, u32 reg) in hecc_read_mbx()
261 static inline void hecc_write(struct ti_hecc_priv *priv, u32 reg, u32 val) in hecc_write()
266 static inline u32 hecc_read(struct ti_hecc_priv *priv, int reg) in hecc_read()
271 static inline void hecc_set_bit(struct ti_hecc_priv *priv, int reg, in hecc_set_bit()
277 static inline void hecc_clear_bit(struct ti_hecc_priv *priv, int reg, in hecc_clear_bit()
[all …]
Dxilinx_can.c169 static void xcan_write_reg_le(const struct xcan_priv *priv, enum xcan_reg reg, in xcan_write_reg_le()
183 static u32 xcan_read_reg_le(const struct xcan_priv *priv, enum xcan_reg reg) in xcan_read_reg_le()
196 static void xcan_write_reg_be(const struct xcan_priv *priv, enum xcan_reg reg, in xcan_write_reg_be()
210 static u32 xcan_read_reg_be(const struct xcan_priv *priv, enum xcan_reg reg) in xcan_read_reg_be()
226 struct xcan_priv *priv = netdev_priv(ndev); in set_reset_mode() local
252 struct xcan_priv *priv = netdev_priv(ndev); in xcan_set_bittiming() local
302 struct xcan_priv *priv = netdev_priv(ndev); in xcan_chip_start() local
390 struct xcan_priv *priv = netdev_priv(ndev); in xcan_start_xmit() local
475 struct xcan_priv *priv = netdev_priv(ndev); in xcan_rx() local
542 struct xcan_priv *priv = netdev_priv(ndev); in xcan_err_interrupt() local
[all …]
/linux-4.1.27/drivers/net/ethernet/moxa/
Dmoxart_ether.c34 struct moxart_mac_priv_t *priv = netdev_priv(ndev); in moxart_emac_write() local
65 struct moxart_mac_priv_t *priv = netdev_priv(ndev); in moxart_mac_free_memory() local
86 struct moxart_mac_priv_t *priv = netdev_priv(ndev); in moxart_mac_reset() local
99 struct moxart_mac_priv_t *priv = netdev_priv(ndev); in moxart_mac_enable() local
114 struct moxart_mac_priv_t *priv = netdev_priv(ndev); in moxart_mac_setup_desc_ring() local
160 struct moxart_mac_priv_t *priv = netdev_priv(ndev); in moxart_mac_open() local
182 struct moxart_mac_priv_t *priv = netdev_priv(ndev); in moxart_mac_stop() local
199 struct moxart_mac_priv_t *priv = container_of(napi, in moxart_rx_poll() local
272 struct moxart_mac_priv_t *priv = netdev_priv(ndev); in moxart_tx_finished() local
294 struct moxart_mac_priv_t *priv = netdev_priv(ndev); in moxart_mac_interrupt() local
[all …]
/linux-4.1.27/drivers/net/can/c_can/
Dc_can_platform.c50 static u16 c_can_plat_read_reg_aligned_to_16bit(const struct c_can_priv *priv, in c_can_plat_read_reg_aligned_to_16bit()
56 static void c_can_plat_write_reg_aligned_to_16bit(const struct c_can_priv *priv, in c_can_plat_write_reg_aligned_to_16bit()
62 static u16 c_can_plat_read_reg_aligned_to_32bit(const struct c_can_priv *priv, in c_can_plat_read_reg_aligned_to_32bit()
68 static void c_can_plat_write_reg_aligned_to_32bit(const struct c_can_priv *priv, in c_can_plat_write_reg_aligned_to_32bit()
74 static void c_can_hw_raminit_wait_syscon(const struct c_can_priv *priv, in c_can_hw_raminit_wait_syscon()
95 static void c_can_hw_raminit_syscon(const struct c_can_priv *priv, bool enable) in c_can_hw_raminit_syscon()
142 static u32 c_can_plat_read_reg32(const struct c_can_priv *priv, enum reg index) in c_can_plat_read_reg32()
152 static void c_can_plat_write_reg32(const struct c_can_priv *priv, enum reg index, in c_can_plat_write_reg32()
159 static u32 d_can_plat_read_reg32(const struct c_can_priv *priv, enum reg index) in d_can_plat_read_reg32()
164 static void d_can_plat_write_reg32(const struct c_can_priv *priv, enum reg index, in d_can_plat_write_reg32()
[all …]
Dc_can.c211 static inline void c_can_pm_runtime_enable(const struct c_can_priv *priv) in c_can_pm_runtime_enable()
217 static inline void c_can_pm_runtime_disable(const struct c_can_priv *priv) in c_can_pm_runtime_disable()
223 static inline void c_can_pm_runtime_get_sync(const struct c_can_priv *priv) in c_can_pm_runtime_get_sync()
229 static inline void c_can_pm_runtime_put_sync(const struct c_can_priv *priv) in c_can_pm_runtime_put_sync()
235 static inline void c_can_reset_ram(const struct c_can_priv *priv, bool enable) in c_can_reset_ram()
241 static void c_can_irq_control(struct c_can_priv *priv, bool enable) in c_can_irq_control()
253 struct c_can_priv *priv = netdev_priv(dev); in c_can_obj_update() local
286 struct c_can_priv *priv = netdev_priv(dev); in c_can_inval_tx_object() local
294 struct c_can_priv *priv = netdev_priv(dev); in c_can_inval_msg_object() local
304 struct c_can_priv *priv = netdev_priv(dev); in c_can_setup_tx_object() local
[all …]
Dc_can_pci.c50 static u16 c_can_pci_read_reg_aligned_to_16bit(const struct c_can_priv *priv, in c_can_pci_read_reg_aligned_to_16bit()
56 static void c_can_pci_write_reg_aligned_to_16bit(const struct c_can_priv *priv, in c_can_pci_write_reg_aligned_to_16bit()
62 static u16 c_can_pci_read_reg_aligned_to_32bit(const struct c_can_priv *priv, in c_can_pci_read_reg_aligned_to_32bit()
68 static void c_can_pci_write_reg_aligned_to_32bit(const struct c_can_priv *priv, in c_can_pci_write_reg_aligned_to_32bit()
74 static u16 c_can_pci_read_reg_32bit(const struct c_can_priv *priv, in c_can_pci_read_reg_32bit()
80 static void c_can_pci_write_reg_32bit(const struct c_can_priv *priv, in c_can_pci_write_reg_32bit()
86 static u32 c_can_pci_read_reg32(const struct c_can_priv *priv, enum reg index) in c_can_pci_read_reg32()
96 static void c_can_pci_write_reg32(const struct c_can_priv *priv, enum reg index, in c_can_pci_write_reg32()
103 static void c_can_pci_reset_pch(const struct c_can_priv *priv, bool enable) in c_can_pci_reset_pch()
118 struct c_can_priv *priv; in c_can_pci_probe() local
[all …]
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dshadowpci.c27 struct priv { struct
36 struct priv *priv = data; in pcirom_read() argument
47 struct priv *priv = data; in pcirom_fini() local
57 struct priv *priv = NULL; in pcirom_init() local
89 struct priv *priv; in platform_init() local
Dshadowof.c28 struct priv { struct
36 struct priv *priv = data; in of_read() local
49 struct priv *priv; in of_init() local
Dshadowramin.c27 struct priv { struct
47 struct priv *priv = data; in pramin_fini() local
57 struct priv *priv = NULL; in pramin_init() local
/linux-4.1.27/drivers/net/wireless/rtl818x/rtl8180/
Ddev.c197 struct rtl8180_priv *priv = dev->priv; in rtl8180_write_phy() local
213 struct rtl8180_priv *priv = dev->priv; in rtl8180_handle_rx() local
344 struct rtl8180_priv *priv = dev->priv; in rtl8180_handle_tx() local
379 struct rtl8180_priv *priv = dev->priv; in rtl8187se_interrupt() local
428 struct rtl8180_priv *priv = dev->priv; in rtl8180_interrupt() local
460 struct rtl8180_priv *priv = dev->priv; in rtl8180_tx() local
592 static void rtl8180_set_anaparam3(struct rtl8180_priv *priv, u16 anaparam3) in rtl8180_set_anaparam3()
612 void rtl8180_set_anaparam2(struct rtl8180_priv *priv, u32 anaparam2) in rtl8180_set_anaparam2()
632 void rtl8180_set_anaparam(struct rtl8180_priv *priv, u32 anaparam) in rtl8180_set_anaparam()
648 struct rtl8180_priv *priv = dev->priv; in rtl8187se_mac_config() local
[all …]
/linux-4.1.27/drivers/misc/carma/
Dcarma-fpga-program.c80 static int fpga_dma_init(struct fpga_dev *priv, int nr_pages) in fpga_dma_init()
120 static int fpga_dma_map(struct fpga_dev *priv) in fpga_dma_map()
132 static int fpga_dma_unmap(struct fpga_dev *priv) in fpga_dma_unmap()
152 static void fpga_drop_firmware_data(struct fpga_dev *priv) in fpga_drop_firmware_data()
166 struct fpga_dev *priv = container_of(ref, struct fpga_dev, ref); in fpga_dev_remove() local
239 static void fpga_programmer_enable(struct fpga_dev *priv, bool dma) in fpga_programmer_enable()
247 static void fpga_programmer_disable(struct fpga_dev *priv) in fpga_programmer_disable()
252 static void fpga_dump_registers(struct fpga_dev *priv) in fpga_dump_registers()
293 static bool fpga_power_good(struct fpga_dev *priv) in fpga_power_good()
307 static void fpga_disable_power_supplies(struct fpga_dev *priv) in fpga_disable_power_supplies()
[all …]
Dcarma-fpga.c194 struct fpga_device *priv; member
201 struct fpga_device *priv = container_of(ref, struct fpga_device, ref); in fpga_device_release() local
343 static void data_free_buffers(struct fpga_device *priv) in data_free_buffers()
384 static int data_alloc_buffers(struct fpga_device *priv) in data_alloc_buffers()
434 static dma_addr_t fpga_start_addr(struct fpga_device *priv, unsigned int fpga) in fpga_start_addr()
445 static dma_addr_t fpga_block_addr(struct fpga_device *priv, unsigned int fpga, in fpga_block_addr()
463 static int data_setup_corl_table(struct fpga_device *priv) in data_setup_corl_table()
516 static void fpga_write_reg(struct fpga_device *priv, unsigned int fpga, in fpga_write_reg()
523 static u32 fpga_read_reg(struct fpga_device *priv, unsigned int fpga, in fpga_read_reg()
541 static int data_calculate_bufsize(struct fpga_device *priv) in data_calculate_bufsize()
[all …]
/linux-4.1.27/drivers/staging/netlogic/
Dxlr_net.c83 static int send_to_rfr_fifo(struct xlr_net_priv *priv, void *addr) in send_to_rfr_fifo()
131 struct xlr_net_priv *priv; in xlr_net_fmn_handler() local
173 struct xlr_net_priv *priv = netdev_priv(ndev); in xlr_get_settings() local
183 struct xlr_net_priv *priv = netdev_priv(ndev); in xlr_set_settings() local
202 struct xlr_net_priv *priv = netdev_priv(ndev); in xlr_net_fill_rx_ring() local
220 struct xlr_net_priv *priv = netdev_priv(ndev); in xlr_net_open() local
241 struct xlr_net_priv *priv = netdev_priv(ndev); in xlr_net_stop() local
270 struct xlr_net_priv *priv = netdev_priv(ndev); in xlr_wakeup_queue() local
281 struct xlr_net_priv *priv = netdev_priv(ndev); in xlr_net_start_xmit() local
303 struct xlr_net_priv *priv = netdev_priv(ndev); in xlr_hw_set_mac_addr() local
[all …]
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dgk104.c50 read_vco(struct gk104_clk_priv *priv, u32 dsrc) in read_vco()
59 read_pll(struct gk104_clk_priv *priv, u32 pll) in read_pll()
104 read_div(struct gk104_clk_priv *priv, int doff, u32 dsrc, u32 dctl) in read_div()
130 read_mem(struct gk104_clk_priv *priv) in read_mem()
141 read_clk(struct gk104_clk_priv *priv, int clk) in read_clk()
187 struct gk104_clk_priv *priv = (void *)clk; in gk104_clk_read() local
217 calc_div(struct gk104_clk_priv *priv, int clk, u32 ref, u32 freq, u32 *ddiv) in calc_div()
228 calc_src(struct gk104_clk_priv *priv, int clk, u32 freq, u32 *dsrc, u32 *ddiv) in calc_src()
257 calc_pll(struct gk104_clk_priv *priv, int clk, u32 freq, u32 *coef) in calc_pll()
280 calc_clk(struct gk104_clk_priv *priv, in calc_clk()
[all …]
Dgf100.c49 read_vco(struct gf100_clk_priv *priv, u32 dsrc) in read_vco()
59 read_pll(struct gf100_clk_priv *priv, u32 pll) in read_pll()
98 read_div(struct gf100_clk_priv *priv, int doff, u32 dsrc, u32 dctl) in read_div()
124 read_clk(struct gf100_clk_priv *priv, int clk) in read_clk()
151 struct gf100_clk_priv *priv = (void *)clk; in gf100_clk_read() local
199 calc_div(struct gf100_clk_priv *priv, int clk, u32 ref, u32 freq, u32 *ddiv) in calc_div()
210 calc_src(struct gf100_clk_priv *priv, int clk, u32 freq, u32 *dsrc, u32 *ddiv) in calc_src()
239 calc_pll(struct gf100_clk_priv *priv, int clk, u32 freq, u32 *coef) in calc_pll()
262 calc_clk(struct gf100_clk_priv *priv, in calc_clk()
316 struct gf100_clk_priv *priv = (void *)clk; in gf100_clk_calc() local
[all …]
Dgt215.c43 read_vco(struct gt215_clk_priv *priv, int clk) in read_vco()
60 read_clk(struct gt215_clk_priv *priv, int clk, bool ignore_en) in read_clk()
106 read_pll(struct gt215_clk_priv *priv, int clk, u32 pll) in read_pll()
139 struct gt215_clk_priv *priv = (void *)clk; in gt215_clk_read() local
182 struct gt215_clk_priv *priv = (void *)clock; in gt215_clk_info() local
230 struct gt215_clk_priv *priv = (void *)clock; in gt215_pll_info() local
265 calc_clk(struct gt215_clk_priv *priv, struct nvkm_cstate *cstate, in calc_clk()
276 calc_host(struct gt215_clk_priv *priv, struct nvkm_cstate *cstate) in calc_host()
333 disable_clk_src(struct gt215_clk_priv *priv, u32 src) in disable_clk_src()
340 prog_pll(struct gt215_clk_priv *priv, int clk, u32 pll, int idx) in prog_pll()
[all …]
/linux-4.1.27/drivers/net/can/cc770/
Dcc770.c115 struct cc770_priv *priv = netdev_priv(dev); in enable_all_objs() local
177 static void disable_all_objs(const struct cc770_priv *priv) in disable_all_objs()
208 struct cc770_priv *priv = netdev_priv(dev); in set_reset_mode() local
227 struct cc770_priv *priv = netdev_priv(dev); in set_normal_mode() local
247 static void chipset_init(struct cc770_priv *priv) in chipset_init()
299 struct cc770_priv *priv = netdev_priv(dev); in cc770_probe_chip() local
337 struct cc770_priv *priv = netdev_priv(dev); in cc770_start() local
364 struct cc770_priv *priv = netdev_priv(dev); in cc770_set_bittiming() local
385 struct cc770_priv *priv = netdev_priv(dev); in cc770_get_berr_counter() local
395 struct cc770_priv *priv = netdev_priv(dev); in cc770_start_xmit() local
[all …]
/linux-4.1.27/drivers/net/wireless/prism54/
Dislpci_dev.c62 isl_upload_firmware(islpci_private *priv) in isl_upload_firmware()
192 islpci_private *priv = config; in islpci_interrupt() local
384 islpci_private *priv = netdev_priv(ndev); in islpci_open() local
411 islpci_private *priv = netdev_priv(ndev); in islpci_close() local
421 prism54_bring_down(islpci_private *priv) in prism54_bring_down()
460 islpci_upload_fw(islpci_private *priv) in islpci_upload_fw()
488 islpci_reset_if(islpci_private *priv) in islpci_reset_if()
551 islpci_reset(islpci_private *priv, int reload_firmware) in islpci_reset()
625 islpci_alloc_memory(islpci_private *priv) in islpci_alloc_memory()
730 islpci_free_memory(islpci_private *priv) in islpci_free_memory()
[all …]
Disl_ioctl.c67 prism54_mib_mode_helper(islpci_private *priv, u32 iw_mode) in prism54_mib_mode_helper()
126 prism54_mib_init(islpci_private *priv) in prism54_mib_init()
164 islpci_private *priv = container_of(work, islpci_private, stats_work); in prism54_update_stats() local
218 islpci_private *priv = netdev_priv(ndev); in prism54_get_wireless_stats() local
245 islpci_private *priv = netdev_priv(ndev); in prism54_commit() local
261 islpci_private *priv = netdev_priv(ndev); in prism54_get_name() local
292 islpci_private *priv = netdev_priv(ndev); in prism54_set_freq() local
312 islpci_private *priv = netdev_priv(ndev); in prism54_get_freq() local
329 islpci_private *priv = netdev_priv(ndev); in prism54_set_mode() local
373 islpci_private *priv = netdev_priv(ndev); in prism54_get_mode() local
[all …]
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
Dbase.c31 struct nvkm_therm_priv *priv = (void *)therm; in nvkm_therm_update_trip() local
64 struct nvkm_therm_priv *priv = (void *)therm; in nvkm_therm_update_linear() local
88 struct nvkm_therm_priv *priv = (void *)therm; in nvkm_therm_update() local
142 struct nvkm_therm_priv *priv = (void *)ptherm; in nvkm_therm_cstate() local
155 struct nvkm_therm_priv *priv = in nvkm_therm_alarm() local
163 struct nvkm_therm_priv *priv = (void *)therm; in nvkm_therm_fan_mode() local
194 struct nvkm_therm_priv *priv = (void *)therm; in nvkm_therm_attr_get() local
228 struct nvkm_therm_priv *priv = (void *)therm; in nvkm_therm_attr_set() local
288 struct nvkm_therm_priv *priv = (void *)therm; in _nvkm_therm_init() local
311 struct nvkm_therm_priv *priv = (void *)therm; in _nvkm_therm_fini() local
[all …]
Dtemp.c29 struct nvkm_therm_priv *priv = (void *)therm; in nvkm_therm_temp_set_defaults() local
50 struct nvkm_therm_priv *priv = (void *)therm; in nvkm_therm_temp_safety_checks() local
66 struct nvkm_therm_priv *priv = (void *)therm; in nvkm_therm_sensor_set_threshold_state() local
75 struct nvkm_therm_priv *priv = (void *)therm; in nvkm_therm_sensor_get_threshold_state() local
90 struct nvkm_therm_priv *priv = (void *)therm; in nvkm_therm_sensor_event() local
169 struct nvkm_therm_priv *priv = in alarm_timer_callback() local
200 struct nvkm_therm_priv *priv = (void *)therm; in nvkm_therm_program_alarms_polling() local
217 struct nvkm_therm_priv *priv = (void *)therm; in nvkm_therm_sensor_init() local
225 struct nvkm_therm_priv *priv = (void *)therm; in nvkm_therm_sensor_fini() local
247 struct nvkm_therm_priv *priv = (void *)therm; in nvkm_therm_sensor_ctor() local
Dfan.c35 struct nvkm_therm_priv *priv = (void *)therm; in nvkm_fan_update() local
114 struct nvkm_therm_priv *priv = (void *)therm; in nvkm_therm_fan_get() local
121 struct nvkm_therm_priv *priv = (void *)therm; in nvkm_therm_fan_set() local
128 struct nvkm_therm_priv *priv = (void *)therm; in nvkm_therm_fan_sense() local
174 struct nvkm_therm_priv *priv = (void *)therm; in nvkm_therm_fan_user_set() local
185 struct nvkm_therm_priv *priv = (void *)therm; in nvkm_therm_fan_set_defaults() local
199 struct nvkm_therm_priv *priv = (void *)therm; in nvkm_therm_fan_safety_checks() local
219 struct nvkm_therm_priv *priv = (void *)therm; in nvkm_therm_fan_fini() local
230 struct nvkm_therm_priv *priv = (void *)therm; in nvkm_therm_fan_ctor() local
/linux-4.1.27/drivers/net/dsa/
Dbcm_sf2.c104 struct bcm_sf2_priv *priv = ds_to_priv(ds); in bcm_sf2_sw_get_ethtool_stats() local
141 struct bcm_sf2_priv *priv = ds_to_priv(ds); in bcm_sf2_imp_vlan_setup() local
161 struct bcm_sf2_priv *priv = ds_to_priv(ds); in bcm_sf2_imp_setup() local
226 struct bcm_sf2_priv *priv = ds_to_priv(ds); in bcm_sf2_eee_enable_set() local
239 struct bcm_sf2_priv *priv = ds_to_priv(ds); in bcm_sf2_gphy_enable_set() local
269 struct bcm_sf2_priv *priv = ds_to_priv(ds); in bcm_sf2_port_setup() local
325 struct bcm_sf2_priv *priv = ds_to_priv(ds); in bcm_sf2_port_disable() local
359 struct bcm_sf2_priv *priv = ds_to_priv(ds); in bcm_sf2_eee_init() local
377 struct bcm_sf2_priv *priv = ds_to_priv(ds); in bcm_sf2_sw_get_eee() local
392 struct bcm_sf2_priv *priv = ds_to_priv(ds); in bcm_sf2_sw_set_eee() local
[all …]
/linux-4.1.27/drivers/net/can/sja1000/
Dsja1000.c85 static void sja1000_write_cmdreg(struct sja1000_priv *priv, u8 val) in sja1000_write_cmdreg()
99 static int sja1000_is_absent(struct sja1000_priv *priv) in sja1000_is_absent()
106 struct sja1000_priv *priv = netdev_priv(dev); in sja1000_probe_chip() local
117 struct sja1000_priv *priv = netdev_priv(dev); in set_reset_mode() local
142 struct sja1000_priv *priv = netdev_priv(dev); in set_normal_mode() local
185 struct sja1000_priv *priv = netdev_priv(dev); in chipset_init() local
206 struct sja1000_priv *priv = netdev_priv(dev); in sja1000_start() local
246 struct sja1000_priv *priv = netdev_priv(dev); in sja1000_set_bittiming() local
267 struct sja1000_priv *priv = netdev_priv(dev); in sja1000_get_berr_counter() local
284 struct sja1000_priv *priv = netdev_priv(dev); in sja1000_start_xmit() local
[all …]
Dsja1000_platform.c43 static u8 sp_read_reg8(const struct sja1000_priv *priv, int reg) in sp_read_reg8()
48 static void sp_write_reg8(const struct sja1000_priv *priv, int reg, u8 val) in sp_write_reg8()
53 static u8 sp_read_reg16(const struct sja1000_priv *priv, int reg) in sp_read_reg16()
58 static void sp_write_reg16(const struct sja1000_priv *priv, int reg, u8 val) in sp_write_reg16()
63 static u8 sp_read_reg32(const struct sja1000_priv *priv, int reg) in sp_read_reg32()
68 static void sp_write_reg32(const struct sja1000_priv *priv, int reg, u8 val) in sp_write_reg32()
73 static void sp_populate(struct sja1000_priv *priv, in sp_populate()
99 static void sp_populate_of(struct sja1000_priv *priv, struct device_node *of) in sp_populate_of()
162 struct sja1000_priv *priv; in sp_probe() local
/linux-4.1.27/drivers/net/wireless/
Dadm8211.c81 struct adm8211_priv *priv = eeprom->data; in adm8211_eeprom_register_read() local
92 struct adm8211_priv *priv = eeprom->data; in adm8211_eeprom_register_write() local
110 struct adm8211_priv *priv = dev->priv; in adm8211_read_eeprom() local
248 struct adm8211_priv *priv = dev->priv; in adm8211_write_sram() local
265 struct adm8211_priv *priv = dev->priv; in adm8211_write_sram_bytes() local
287 struct adm8211_priv *priv = dev->priv; in adm8211_clear_sram() local
300 struct adm8211_priv *priv = dev->priv; in adm8211_get_stats() local
309 struct adm8211_priv *priv = dev->priv; in adm8211_interrupt_tci() local
357 struct adm8211_priv *priv = dev->priv; in adm8211_interrupt_rci() local
465 struct adm8211_priv *priv = dev->priv; in adm8211_interrupt() local
[all …]
Dat76c50x-usb.c612 static int at76_get_hw_config(struct at76_priv *priv) in at76_get_hw_config()
772 static int at76_wait_completion(struct at76_priv *priv, int cmd) in at76_wait_completion()
807 static int at76_set_mib(struct at76_priv *priv, struct set_mib_buffer *buf) in at76_set_mib()
829 static int at76_set_radio(struct at76_priv *priv, int enable) in at76_set_radio()
851 static int at76_set_pm_mode(struct at76_priv *priv) in at76_set_pm_mode()
868 static int at76_set_preamble(struct at76_priv *priv, u8 type) in at76_set_preamble()
885 static int at76_set_frag(struct at76_priv *priv, u16 size) in at76_set_frag()
902 static int at76_set_rts(struct at76_priv *priv, u16 size) in at76_set_rts()
918 static int at76_set_autorate_fallback(struct at76_priv *priv, int onoff) in at76_set_autorate_fallback()
935 static void at76_dump_mib_mac_addr(struct at76_priv *priv) in at76_dump_mib_mac_addr()
[all …]
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c50 static int mlx4_en_moderation_update(struct mlx4_en_priv *priv) in mlx4_en_moderation_update()
85 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_get_drvinfo() local
214 struct mlx4_en_priv *priv = netdev_priv(netdev); in mlx4_en_get_wol() local
253 struct mlx4_en_priv *priv = netdev_priv(netdev); in mlx4_en_set_wol() local
327 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_get_sset_count() local
354 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_get_ethtool_stats() local
421 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_get_strings() local
495 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_autoneg_get() local
716 struct mlx4_en_priv *priv = netdev_priv(dev); in ethtool_get_ptys_settings() local
790 struct mlx4_en_priv *priv = netdev_priv(dev); in ethtool_get_default_settings() local
[all …]
Den_netdev.c54 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_setup_tc() local
78 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_low_latency_recv() local
113 struct mlx4_en_priv *priv; member
142 struct mlx4_en_priv *priv = filter->priv; in mlx4_en_filter_work() local
212 filter_hash_bucket(struct mlx4_en_priv *priv, __be32 src_ip, __be32 dst_ip, in filter_hash_bucket()
228 mlx4_en_filter_alloc(struct mlx4_en_priv *priv, int rxq_index, __be32 src_ip, in mlx4_en_filter_alloc()
262 struct mlx4_en_priv *priv = filter->priv; in mlx4_en_filter_free() local
275 mlx4_en_filter_find(struct mlx4_en_priv *priv, __be32 src_ip, __be32 dst_ip, in mlx4_en_filter_find()
302 struct mlx4_en_priv *priv = netdev_priv(net_dev); in mlx4_en_filter_rfs() local
359 void mlx4_en_cleanup_filters(struct mlx4_en_priv *priv) in mlx4_en_cleanup_filters()
[all …]
Den_rx.c51 static int mlx4_alloc_pages(struct mlx4_en_priv *priv, in mlx4_alloc_pages()
90 static int mlx4_en_alloc_frags(struct mlx4_en_priv *priv, in mlx4_en_alloc_frags()
137 static void mlx4_en_free_frag(struct mlx4_en_priv *priv, in mlx4_en_free_frag()
153 static int mlx4_en_init_allocator(struct mlx4_en_priv *priv, in mlx4_en_init_allocator()
187 static void mlx4_en_destroy_allocator(struct mlx4_en_priv *priv, in mlx4_en_destroy_allocator()
211 static void mlx4_en_init_rx_desc(struct mlx4_en_priv *priv, in mlx4_en_init_rx_desc()
236 static int mlx4_en_prepare_rx_desc(struct mlx4_en_priv *priv, in mlx4_en_prepare_rx_desc()
258 static void mlx4_en_free_rx_desc(struct mlx4_en_priv *priv, in mlx4_en_free_rx_desc()
272 static int mlx4_en_fill_rx_buffers(struct mlx4_en_priv *priv) in mlx4_en_fill_rx_buffers()
315 static void mlx4_en_free_rx_buf(struct mlx4_en_priv *priv, in mlx4_en_free_rx_buf()
[all …]
Dintf.c51 static void mlx4_add_device(struct mlx4_interface *intf, struct mlx4_priv *priv) in mlx4_add_device()
70 static void mlx4_remove_device(struct mlx4_interface *intf, struct mlx4_priv *priv) in mlx4_remove_device()
88 struct mlx4_priv *priv; in mlx4_register_interface() local
113 struct mlx4_priv *priv; in mlx4_unregister_interface() local
128 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_do_bond() local
181 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_dispatch_event() local
196 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_register_device() local
214 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_unregister_device() local
231 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_get_protocol_dev() local
Den_selftest.c43 static int mlx4_en_test_registers(struct mlx4_en_priv *priv) in mlx4_en_test_registers()
49 static int mlx4_en_test_loopback_xmit(struct mlx4_en_priv *priv) in mlx4_en_test_loopback_xmit()
80 static int mlx4_en_test_loopback(struct mlx4_en_priv *priv) in mlx4_en_test_loopback()
122 static int mlx4_en_test_link(struct mlx4_en_priv *priv) in mlx4_en_test_link()
132 static int mlx4_en_test_speed(struct mlx4_en_priv *priv) in mlx4_en_test_speed()
153 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_ex_selftest() local
/linux-4.1.27/drivers/platform/x86/
Dideapad-laptop.c78 struct ideapad_private *priv; member
210 struct ideapad_private *priv = s->private; in debugfs_status_show() local
263 struct ideapad_private *priv = s->private; in debugfs_cfg_show() local
314 static int ideapad_debugfs_init(struct ideapad_private *priv) in ideapad_debugfs_init()
344 static void ideapad_debugfs_exit(struct ideapad_private *priv) in ideapad_debugfs_exit()
358 struct ideapad_private *priv = dev_get_drvdata(dev); in show_ideapad_cam() local
370 struct ideapad_private *priv = dev_get_drvdata(dev); in store_ideapad_cam() local
389 struct ideapad_private *priv = dev_get_drvdata(dev); in show_ideapad_fan() local
401 struct ideapad_private *priv = dev_get_drvdata(dev); in store_ideapad_fan() local
428 struct ideapad_private *priv = dev_get_drvdata(dev); in ideapad_is_visible() local
[all …]
/linux-4.1.27/drivers/net/ethernet/sgi/
Dmeth.c122 static unsigned long mdio_read(struct meth_private *priv, unsigned long phyreg) in mdio_read()
134 static int mdio_probe(struct meth_private *priv) in mdio_probe()
178 struct meth_private *priv = netdev_priv(dev); in meth_check_link() local
211 static int meth_init_tx_ring(struct meth_private *priv) in meth_init_tx_ring()
227 static int meth_init_rx_ring(struct meth_private *priv) in meth_init_rx_ring()
246 static void meth_free_tx_ring(struct meth_private *priv) in meth_free_tx_ring()
261 static void meth_free_rx_ring(struct meth_private *priv) in meth_free_rx_ring()
276 struct meth_private *priv = netdev_priv(dev); in meth_reset() local
318 struct meth_private *priv = netdev_priv(dev); in meth_open() local
362 struct meth_private *priv = netdev_priv(dev); in meth_release() local
[all …]
/linux-4.1.27/drivers/staging/octeon/
Dethernet-mdio.c56 struct octeon_ethernet *priv = netdev_priv(dev); in cvm_oct_get_settings() local
66 struct octeon_ethernet *priv = netdev_priv(dev); in cvm_oct_set_settings() local
79 struct octeon_ethernet *priv = netdev_priv(dev); in cvm_oct_nway_reset() local
108 struct octeon_ethernet *priv = netdev_priv(dev); in cvm_oct_ioctl() local
119 static void cvm_oct_note_carrier(struct octeon_ethernet *priv, in cvm_oct_note_carrier()
135 struct octeon_ethernet *priv = netdev_priv(dev); in cvm_oct_adjust_link() local
152 struct octeon_ethernet *priv = netdev_priv(dev); in cvm_oct_common_stop() local
180 struct octeon_ethernet *priv = netdev_priv(dev); in cvm_oct_phy_setup_device() local
/linux-4.1.27/drivers/i2c/busses/
Di2c-hix5hd2.c102 static u32 hix5hd2_i2c_clr_pend_irq(struct hix5hd2_i2c_priv *priv) in hix5hd2_i2c_clr_pend_irq()
111 static void hix5hd2_i2c_clr_all_irq(struct hix5hd2_i2c_priv *priv) in hix5hd2_i2c_clr_all_irq()
116 static void hix5hd2_i2c_disable_irq(struct hix5hd2_i2c_priv *priv) in hix5hd2_i2c_disable_irq()
121 static void hix5hd2_i2c_enable_irq(struct hix5hd2_i2c_priv *priv) in hix5hd2_i2c_enable_irq()
127 static void hix5hd2_i2c_drv_setrate(struct hix5hd2_i2c_priv *priv) in hix5hd2_i2c_drv_setrate()
149 static void hix5hd2_i2c_init(struct hix5hd2_i2c_priv *priv) in hix5hd2_i2c_init()
157 static void hix5hd2_i2c_reset(struct hix5hd2_i2c_priv *priv) in hix5hd2_i2c_reset()
165 static int hix5hd2_i2c_wait_bus_idle(struct hix5hd2_i2c_priv *priv) in hix5hd2_i2c_wait_bus_idle()
183 static void hix5hd2_rw_over(struct hix5hd2_i2c_priv *priv) in hix5hd2_rw_over()
194 static void hix5hd2_rw_handle_stop(struct hix5hd2_i2c_priv *priv) in hix5hd2_rw_handle_stop()
[all …]
/linux-4.1.27/drivers/media/rc/img-ir/
Dimg-ir-hw.c376 static void img_ir_write_timings(struct img_ir_priv *priv, in img_ir_write_timings()
397 static void img_ir_write_filter(struct img_ir_priv *priv, in img_ir_write_filter()
418 static void _img_ir_set_filter(struct img_ir_priv *priv, in _img_ir_set_filter()
446 static void _img_ir_set_wake_filter(struct img_ir_priv *priv, in _img_ir_set_wake_filter()
464 struct img_ir_priv *priv = dev->priv; in img_ir_set_filter() local
535 static void img_ir_set_decoder(struct img_ir_priv *priv, in img_ir_set_decoder()
621 static bool img_ir_decoder_compatible(struct img_ir_priv *priv, in img_ir_decoder_compatible()
640 static u64 img_ir_allowed_protos(struct img_ir_priv *priv) in img_ir_allowed_protos()
656 struct img_ir_priv *priv = dev->priv; in img_ir_change_protocol() local
693 static void img_ir_set_protocol(struct img_ir_priv *priv, u64 proto) in img_ir_set_protocol()
[all …]
Dimg-ir-raw.c22 static void img_ir_refresh_raw(struct img_ir_priv *priv, u32 irq_status) in img_ir_refresh_raw()
50 void img_ir_isr_raw(struct img_ir_priv *priv, u32 irq_status) in img_ir_isr_raw()
72 struct img_ir_priv *priv = (struct img_ir_priv *)arg; in img_ir_echo_timer() local
87 void img_ir_setup_raw(struct img_ir_priv *priv) in img_ir_setup_raw()
103 int img_ir_probe_raw(struct img_ir_priv *priv) in img_ir_probe_raw()
135 void img_ir_remove_raw(struct img_ir_priv *priv) in img_ir_remove_raw()
/linux-4.1.27/drivers/input/mouse/
Dsynaptics.c253 struct synaptics_data *priv = psmouse->private; in synaptics_model_id() local
264 struct synaptics_data *priv = psmouse->private; in synaptics_more_extended_queries() local
281 struct synaptics_data *priv = psmouse->private; in synaptics_query_modes() local
303 struct synaptics_data *priv = psmouse->private; in synaptics_firmware_id() local
318 struct synaptics_data *priv = psmouse->private; in synaptics_capability() local
374 struct synaptics_data *priv = psmouse->private; in synaptics_identify() local
392 struct synaptics_data *priv = psmouse->private; in synaptics_resolution() local
448 struct synaptics_data *priv = psmouse->private; in synaptics_apply_quirks() local
499 struct synaptics_data *priv = psmouse->private; in synaptics_set_advanced_gesture_mode() local
519 struct synaptics_data *priv = psmouse->private; in synaptics_set_mode() local
[all …]
Dhgpk.c129 struct hgpk_data *priv = psmouse->private; in hgpk_discard_decay_hack() local
179 static void hgpk_reset_spew_detection(struct hgpk_data *priv) in hgpk_reset_spew_detection()
190 struct hgpk_data *priv = psmouse->private; in hgpk_reset_hack_state() local
217 struct hgpk_data *priv = psmouse->private; in hgpk_spewing_hack() local
311 struct hgpk_data *priv = psmouse->private; in hgpk_is_byte_valid() local
345 struct hgpk_data *priv = psmouse->private; in hgpk_process_advanced_packet() local
465 struct hgpk_data *priv = psmouse->private; in hgpk_process_byte() local
498 struct hgpk_data *priv = psmouse->private; in hgpk_select_mode() local
640 struct hgpk_data *priv = psmouse->private; in hgpk_force_recalibrate() local
757 struct hgpk_data *priv = psmouse->private; in hgpk_reconnect() local
[all …]
Dalps.c210 static bool alps_is_valid_first_byte(struct alps_data *priv, in alps_is_valid_first_byte()
245 struct alps_data *priv = psmouse->private; in alps_process_packet_v1_v2() local
358 static void alps_process_bitmap_dolphin(struct alps_data *priv, in alps_process_bitmap_dolphin()
434 static int alps_process_bitmap(struct alps_data *priv, in alps_process_bitmap()
503 struct alps_data *priv = psmouse->private; in alps_report_mt_data() local
517 struct alps_data *priv = psmouse->private; in alps_report_semi_mt_data() local
543 struct alps_data *priv = psmouse->private; in alps_process_trackstick_packet_v3() local
661 struct alps_data *priv = psmouse->private; in alps_decode_dolphin() local
696 struct alps_data *priv = psmouse->private; in alps_process_touchpad_packet_v3_v5() local
811 struct alps_data *priv = psmouse->private; in alps_process_packet_v6() local
[all …]
/linux-4.1.27/drivers/net/ethernet/arc/
Demac_main.c36 static inline int arc_emac_tx_avail(struct arc_emac_priv *priv) in arc_emac_tx_avail()
50 struct arc_emac_priv *priv = netdev_priv(ndev); in arc_emac_adjust_link() local
96 struct arc_emac_priv *priv = netdev_priv(ndev); in arc_emac_get_settings() local
115 struct arc_emac_priv *priv = netdev_priv(ndev); in arc_emac_set_settings() local
134 struct arc_emac_priv *priv = netdev_priv(ndev); in arc_emac_get_drvinfo() local
155 struct arc_emac_priv *priv = netdev_priv(ndev); in arc_emac_tx_clean() local
218 struct arc_emac_priv *priv = netdev_priv(ndev); in arc_emac_rx() local
311 struct arc_emac_priv *priv = netdev_priv(ndev); in arc_emac_poll() local
338 struct arc_emac_priv *priv = netdev_priv(ndev); in arc_emac_intr() local
405 struct arc_emac_priv *priv = netdev_priv(ndev); in arc_emac_open() local
[all …]
/linux-4.1.27/drivers/staging/vt6655/
Dbaseband.c1780 void vnt_get_phy_field(struct vnt_private *priv, u32 frame_length, in vnt_get_phy_field()
1925 bool BBbReadEmbedded(struct vnt_private *priv, in BBbReadEmbedded()
1969 bool BBbWriteEmbedded(struct vnt_private *priv, in BBbWriteEmbedded()
2013 bool BBbVT3253Init(struct vnt_private *priv) in BBbVT3253Init()
2205 BBvSetShortSlotTime(struct vnt_private *priv) in BBvSetShortSlotTime()
2225 void BBvSetVGAGainOffset(struct vnt_private *priv, unsigned char byData) in BBvSetVGAGainOffset()
2256 BBvSoftwareReset(struct vnt_private *priv) in BBvSoftwareReset()
2277 BBvPowerSaveModeON(struct vnt_private *priv) in BBvPowerSaveModeON()
2299 BBvPowerSaveModeOFF(struct vnt_private *priv) in BBvPowerSaveModeOFF()
2323 BBvSetTxAntennaMode(struct vnt_private *priv, unsigned char byAntennaMode) in BBvSetTxAntennaMode()
[all …]
Drf.c419 static bool s_bAL7230Init(struct vnt_private *priv) in s_bAL7230Init()
467 static bool s_bAL7230SelectChannel(struct vnt_private *priv, unsigned char byChannel) in s_bAL7230SelectChannel()
506 bool IFRFbWriteEmbedded(struct vnt_private *priv, unsigned long dwData) in IFRFbWriteEmbedded()
539 static bool RFbAL2230Init(struct vnt_private *priv) in RFbAL2230Init()
583 static bool RFbAL2230SelectChannel(struct vnt_private *priv, unsigned char byChannel) in RFbAL2230SelectChannel()
616 struct vnt_private *priv in RFbInit()
654 bool RFbSelectChannel(struct vnt_private *priv, unsigned char byRFType, in RFbSelectChannel()
691 bool RFvWriteWakeProgSyn(struct vnt_private *priv, unsigned char byRFType, in RFvWriteWakeProgSyn()
770 struct vnt_private *priv, in RFbSetPower()
843 struct vnt_private *priv, in RFbRawSetPower()
[all …]
/linux-4.1.27/drivers/usb/misc/
Duss720.c73 struct parport_uss720_private *priv; member
86 struct parport_uss720_private *priv = container_of(kref, struct parport_uss720_private, ref_count); in destroy_priv() local
96 struct parport_uss720_private *priv = rq->priv; in destroy_async() local
115 struct parport_uss720_private *priv; in async_complete() local
138 static struct uss720_async_request *submit_async_request(struct parport_uss720_private *priv, in submit_async_request()
194 static unsigned int kill_all_async_requests_priv(struct parport_uss720_private *priv) in kill_all_async_requests_priv()
213 struct parport_uss720_private *priv; in get_1284_register() local
249 struct parport_uss720_private *priv; in set_1284_register() local
277 struct parport_uss720_private *priv = pp->private_data; in change_mode() local
369 struct parport_uss720_private *priv = pp->private_data; in parport_uss720_write_control() local
[all …]
/linux-4.1.27/drivers/net/wireless/orinoco/
Dmain.c158 #define MAX_MULTICAST(priv) (HERMES_MAX_MULTICAST) argument
227 void set_port_type(struct orinoco_private *priv) in set_port_type()
259 struct orinoco_private *priv = ndev_priv(dev); in orinoco_open() local
279 struct orinoco_private *priv = ndev_priv(dev); in orinoco_stop() local
299 struct orinoco_private *priv = ndev_priv(dev); in orinoco_get_stats() local
307 struct orinoco_private *priv = ndev_priv(dev); in orinoco_set_multicast_list() local
323 struct orinoco_private *priv = ndev_priv(dev); in orinoco_change_mtu() local
369 struct orinoco_private *priv, in orinoco_process_xmit_skb()
438 struct orinoco_private *priv = ndev_priv(dev); in orinoco_xmit() local
584 struct orinoco_private *priv = ndev_priv(dev); in __orinoco_ev_alloc() local
[all …]
Dwext.c30 static int orinoco_set_key(struct orinoco_private *priv, int index, in orinoco_set_key()
91 struct orinoco_private *priv = ndev_priv(dev); in orinoco_get_wireless_stats() local
160 struct orinoco_private *priv = ndev_priv(dev); in orinoco_ioctl_setwap() local
219 struct orinoco_private *priv = ndev_priv(dev); in orinoco_ioctl_getwap() local
240 struct orinoco_private *priv = ndev_priv(dev); in orinoco_ioctl_setiwencode() local
331 struct orinoco_private *priv = ndev_priv(dev); in orinoco_ioctl_getiwencode() local
367 struct orinoco_private *priv = ndev_priv(dev); in orinoco_ioctl_setessid() local
398 struct orinoco_private *priv = ndev_priv(dev); in orinoco_ioctl_getessid() local
426 struct orinoco_private *priv = ndev_priv(dev); in orinoco_ioctl_setfreq() local
475 struct orinoco_private *priv = ndev_priv(dev); in orinoco_ioctl_getfreq() local
[all …]
Dspectrum_cs.c131 spectrum_cs_hard_reset(struct orinoco_private *priv) in spectrum_cs_hard_reset()
143 spectrum_cs_stop_firmware(struct orinoco_private *priv, int idle) in spectrum_cs_stop_firmware()
158 struct orinoco_private *priv; in spectrum_cs_probe() local
177 struct orinoco_private *priv = link->priv; in spectrum_cs_detach() local
198 struct orinoco_private *priv = link->priv; in spectrum_cs_config() local
262 struct orinoco_private *priv = link->priv; in spectrum_cs_release() local
280 struct orinoco_private *priv = link->priv; in spectrum_cs_suspend() local
292 struct orinoco_private *priv = link->priv; in spectrum_cs_resume() local
/linux-4.1.27/drivers/net/wireless/rtl818x/rtl8187/
Ddev.c124 static void rtl8187_iowrite_async(struct rtl8187_priv *priv, __le16 addr, in rtl8187_iowrite_async()
167 static inline void rtl818x_iowrite32_async(struct rtl8187_priv *priv, in rtl818x_iowrite32_async()
178 struct rtl8187_priv *priv = dev->priv; in rtl8187_write_phy() local
194 struct rtl8187_priv *priv = hw->priv; in rtl8187_tx_cb() local
234 struct rtl8187_priv *priv = dev->priv; in rtl8187_tx() local
335 struct rtl8187_priv *priv = dev->priv; in rtl8187_rx_cb() local
421 struct rtl8187_priv *priv = dev->priv; in rtl8187_init_urbs() local
467 struct rtl8187_priv *priv = hw->priv; in rtl8187b_status_cb() local
550 struct rtl8187_priv *priv = dev->priv; in rtl8187b_init_status_urb() local
571 static void rtl8187_set_anaparam(struct rtl8187_priv *priv, bool rfon) in rtl8187_set_anaparam()
[all …]
Dleds.c31 struct rtl8187_priv *priv = container_of(work, struct rtl8187_priv, in led_turn_on() local
69 struct rtl8187_priv *priv = container_of(work, struct rtl8187_priv, in led_turn_off() local
108 struct rtl8187_priv *priv; in rtl8187_led_brightness_set() local
140 struct rtl8187_priv *priv = dev->priv; in rtl8187_register_led() local
167 struct rtl8187_priv *priv = hw->priv; in rtl8187_unregister_led() local
176 struct rtl8187_priv *priv = dev->priv; in rtl8187_leds_init() local
236 struct rtl8187_priv *priv = dev->priv; in rtl8187_leds_exit() local
/linux-4.1.27/drivers/char/hw_random/
Domap-rng.c132 static inline u32 omap_rng_read(struct omap_rng_dev *priv, u16 reg) in omap_rng_read()
137 static inline void omap_rng_write(struct omap_rng_dev *priv, u16 reg, in omap_rng_write()
145 struct omap_rng_dev *priv; in omap_rng_data_present() local
166 struct omap_rng_dev *priv; in omap_rng_data_read() local
182 struct omap_rng_dev *priv; in omap_rng_init() local
190 struct omap_rng_dev *priv; in omap_rng_cleanup() local
204 static inline u32 omap2_rng_data_present(struct omap_rng_dev *priv) in omap2_rng_data_present()
209 static int omap2_rng_init(struct omap_rng_dev *priv) in omap2_rng_init()
215 static void omap2_rng_cleanup(struct omap_rng_dev *priv) in omap2_rng_cleanup()
229 static inline u32 omap4_rng_data_present(struct omap_rng_dev *priv) in omap4_rng_data_present()
[all …]
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/
Dgf100.c31 gf100_ltc_cbc_clear(struct nvkm_ltc_priv *priv, u32 start, u32 limit) in gf100_ltc_cbc_clear()
39 gf100_ltc_cbc_wait(struct nvkm_ltc_priv *priv) in gf100_ltc_cbc_wait()
49 gf100_ltc_zbc_clear_color(struct nvkm_ltc_priv *priv, int i, const u32 color[4]) in gf100_ltc_zbc_clear_color()
59 gf100_ltc_zbc_clear_depth(struct nvkm_ltc_priv *priv, int i, const u32 depth) in gf100_ltc_zbc_clear_depth()
84 gf100_ltc_lts_intr(struct nvkm_ltc_priv *priv, int ltc, int lts) in gf100_ltc_lts_intr()
102 struct nvkm_ltc_priv *priv = (void *)subdev; in gf100_ltc_intr() local
117 struct nvkm_ltc_priv *priv = (void *)object; in gf100_ltc_init() local
136 struct nvkm_ltc_priv *priv = (void *)object; in gf100_ltc_dtor() local
148 gf100_ltc_init_tag_ram(struct nvkm_fb *pfb, struct nvkm_ltc_priv *priv) in gf100_ltc_init_tag_ram()
204 struct nvkm_ltc_priv *priv; in gf100_ltc_ctor() local
Dgm107.c30 gm107_ltc_cbc_clear(struct nvkm_ltc_priv *priv, u32 start, u32 limit) in gm107_ltc_cbc_clear()
38 gm107_ltc_cbc_wait(struct nvkm_ltc_priv *priv) in gm107_ltc_cbc_wait()
48 gm107_ltc_zbc_clear_color(struct nvkm_ltc_priv *priv, int i, const u32 color[4]) in gm107_ltc_zbc_clear_color()
58 gm107_ltc_zbc_clear_depth(struct nvkm_ltc_priv *priv, int i, const u32 depth) in gm107_ltc_zbc_clear_depth()
65 gm107_ltc_lts_isr(struct nvkm_ltc_priv *priv, int ltc, int lts) in gm107_ltc_lts_isr()
79 struct nvkm_ltc_priv *priv = (void *)subdev; in gm107_ltc_intr() local
94 struct nvkm_ltc_priv *priv = (void *)object; in gm107_ltc_init() local
114 struct nvkm_ltc_priv *priv; in gm107_ltc_ctor() local
/linux-4.1.27/drivers/net/irda/
Dirtty-sir.c62 struct sirtty_cb *priv = dev->priv; in irtty_chars_in_buffer() local
89 struct sirtty_cb *priv = dev->priv; in irtty_wait_until_sent() local
116 struct sirtty_cb *priv = dev->priv; in irtty_change_speed() local
147 struct sirtty_cb *priv = dev->priv; in irtty_set_dtr_rts() local
184 struct sirtty_cb *priv = dev->priv; in irtty_do_write() local
223 struct sirtty_cb *priv = tty->disc_data; in irtty_receive_buf() local
261 struct sirtty_cb *priv = tty->disc_data; in irtty_write_wakeup() local
307 struct sirtty_cb *priv; in irtty_start_dev() local
334 struct sirtty_cb *priv; in irtty_stop_dev() local
384 struct sirtty_cb *priv = tty->disc_data; in irtty_ioctl() local
[all …]
/linux-4.1.27/drivers/input/touchscreen/
Deeti_ts.c63 static inline int eeti_ts_irq_active(struct eeti_ts_priv *priv) in eeti_ts_irq_active()
72 struct eeti_ts_priv *priv = in eeti_ts_read() local
119 struct eeti_ts_priv *priv = dev_id; in eeti_ts_isr() local
127 static void eeti_ts_start(struct eeti_ts_priv *priv) in eeti_ts_start()
135 static void eeti_ts_stop(struct eeti_ts_priv *priv) in eeti_ts_stop()
143 struct eeti_ts_priv *priv = input_get_drvdata(dev); in eeti_ts_open() local
152 struct eeti_ts_priv *priv = input_get_drvdata(dev); in eeti_ts_close() local
161 struct eeti_ts_priv *priv; in eeti_ts_probe() local
252 struct eeti_ts_priv *priv = i2c_get_clientdata(client); in eeti_ts_remove() local
270 struct eeti_ts_priv *priv = i2c_get_clientdata(client); in eeti_ts_suspend() local
[all …]
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/timer/
Dnv04.c31 struct nv04_timer_priv *priv = (void *)ptimer; in nv04_timer_read() local
45 struct nv04_timer_priv *priv = (void *)ptimer; in nv04_timer_alarm_trigger() local
77 struct nv04_timer_priv *priv = (void *)ptimer; in nv04_timer_alarm() local
104 struct nv04_timer_priv *priv = (void *)ptimer; in nv04_timer_alarm_cancel() local
114 struct nv04_timer_priv *priv = (void *)subdev; in nv04_timer_intr() local
132 struct nv04_timer_priv *priv = (void *)object; in nv04_timer_fini() local
143 struct nv04_timer_priv *priv = (void *)object; in nv04_timer_init() local
225 struct nv04_timer_priv *priv = (void *)object; in nv04_timer_dtor() local
234 struct nv04_timer_priv *priv; in nv04_timer_ctor() local
/linux-4.1.27/drivers/cpufreq/
Dkirkwood-cpufreq.c23 static struct priv struct
30 } priv; argument
/linux-4.1.27/drivers/net/ethernet/i825xx/
Dsun3_82586.c142 struct priv struct
144 unsigned long base;
145 char *memtop;
146 long int lock;
147 int reseted;
148 volatile struct rfd_struct *rfd_last,*rfd_top,*rfd_first;
149 volatile struct scp_struct *scp; /* volatile is important */
150 volatile struct iscp_struct *iscp; /* volatile is important */
151 volatile struct scb_struct *scb; /* volatile is important */
152 volatile struct tbd_struct *xmit_buffs[NUM_XMIT_BUFFS];
[all …]
/linux-4.1.27/drivers/net/can/mscan/
Dmscan.c63 struct mscan_priv *priv = netdev_priv(dev); in mscan_set_mode() local
139 struct mscan_priv *priv = netdev_priv(dev); in mscan_start() local
177 struct mscan_priv *priv = netdev_priv(dev); in mscan_restart() local
200 struct mscan_priv *priv = netdev_priv(dev); in mscan_start_xmit() local
294 struct mscan_priv *priv = netdev_priv(dev); in get_new_state() local
305 struct mscan_priv *priv = netdev_priv(dev); in mscan_get_rx_frame() local
346 struct mscan_priv *priv = netdev_priv(dev); in mscan_get_err_frame() local
391 struct mscan_priv *priv = container_of(napi, struct mscan_priv, napi); in mscan_rx_poll() local
439 struct mscan_priv *priv = netdev_priv(dev); in mscan_isr() local
519 struct mscan_priv *priv = netdev_priv(dev); in mscan_do_set_bittiming() local
[all …]
/linux-4.1.27/drivers/mcb/
Dmcb-pci.c18 struct priv { struct
36 struct priv *priv; in mcb_pci_probe() argument
112 struct priv *priv = pci_get_drvdata(pdev); in mcb_pci_remove() local
/linux-4.1.27/sound/soc/sh/rcar/
Ddvc.c27 #define rsnd_dvc_of_node(priv) \ argument
33 #define for_each_rsnd_dvc(pos, priv, i) \ argument
123 struct rsnd_priv *priv) in rsnd_dvc_remove_gen2()
137 struct rsnd_priv *priv) in rsnd_dvc_init()
184 struct rsnd_priv *priv) in rsnd_dvc_quit()
192 struct rsnd_priv *priv) in rsnd_dvc_start()
200 struct rsnd_priv *priv) in rsnd_dvc_stop()
266 struct rsnd_priv *priv = rsnd_mod_to_priv(mod); in rsnd_dvc_dma_req() local
283 struct rsnd_mod *rsnd_dvc_mod_get(struct rsnd_priv *priv, int id) in rsnd_dvc_mod_get()
293 struct rsnd_priv *priv) in rsnd_of_parse_dvc()
[all …]
Dssi.c73 #define for_each_rsnd_ssi(pos, priv, i) \ argument
79 #define rsnd_ssi_nr(priv) ((priv)->ssi_nr) argument
86 #define rsnd_ssi_of_node(priv) \ argument
109 struct rsnd_priv *priv = rsnd_mod_to_priv(mod); in rsnd_ssi_status_check() local
128 struct rsnd_priv *priv = rsnd_io_to_priv(io); in rsnd_ssi_master_clk_start() local
182 struct rsnd_priv *priv = rsnd_io_to_priv(io); in rsnd_ssi_hw_start() local
226 struct rsnd_priv *priv = rsnd_mod_to_priv(&ssi->mod); in rsnd_ssi_hw_stop() local
273 struct rsnd_priv *priv) in rsnd_ssi_init()
324 struct rsnd_priv *priv) in rsnd_ssi_quit()
351 struct rsnd_priv *priv) in rsnd_ssi_start()
[all …]
/linux-4.1.27/drivers/video/fbdev/
Dpxa3xx-gcu.c116 gc_readl(struct pxa3xx_gcu_priv *priv, unsigned int off) in gc_readl()
122 gc_writel(struct pxa3xx_gcu_priv *priv, unsigned int off, unsigned long val) in gc_writel()
127 #define QPRINT(priv, level, msg) \ argument
152 pxa3xx_gcu_reset(struct pxa3xx_gcu_priv *priv) in pxa3xx_gcu_reset()
179 dump_whole_state(struct pxa3xx_gcu_priv *priv) in dump_whole_state()
198 flush_running(struct pxa3xx_gcu_priv *priv) in flush_running()
214 run_ready(struct pxa3xx_gcu_priv *priv) in run_ready()
251 struct pxa3xx_gcu_priv *priv = ctx; in pxa3xx_gcu_handle_irq() local
300 pxa3xx_gcu_wait_idle(struct pxa3xx_gcu_priv *priv) in pxa3xx_gcu_wait_idle()
334 pxa3xx_gcu_wait_free(struct pxa3xx_gcu_priv *priv) in pxa3xx_gcu_wait_free()
[all …]
/linux-4.1.27/drivers/block/
Dps3vram.c115 struct ps3vram_priv *priv = ps3_system_bus_get_drvdata(dev); in ps3vram_notifier_reset() local
126 struct ps3vram_priv *priv = ps3_system_bus_get_drvdata(dev); in ps3vram_notifier_wait() local
149 struct ps3vram_priv *priv = ps3_system_bus_get_drvdata(dev); in ps3vram_init_ring() local
158 struct ps3vram_priv *priv = ps3_system_bus_get_drvdata(dev); in ps3vram_wait_ring() local
174 static void ps3vram_out_ring(struct ps3vram_priv *priv, u32 data) in ps3vram_out_ring()
179 static void ps3vram_begin_ring(struct ps3vram_priv *priv, u32 chan, u32 tag, in ps3vram_begin_ring()
187 struct ps3vram_priv *priv = ps3_system_bus_get_drvdata(dev); in ps3vram_rewind_ring() local
205 struct ps3vram_priv *priv = ps3_system_bus_get_drvdata(dev); in ps3vram_fire_ring() local
231 struct ps3vram_priv *priv = ps3_system_bus_get_drvdata(dev); in ps3vram_bind() local
254 struct ps3vram_priv *priv = ps3_system_bus_get_drvdata(dev); in ps3vram_upload() local
[all …]
/linux-4.1.27/drivers/usb/serial/
Dcypress_m8.c241 struct cypress_private *priv; in analyze_baud_rate() local
301 struct cypress_private *priv; in cypress_serial_control() local
424 struct cypress_private *priv = usb_get_serial_port_data(port); in cypress_set_dead() local
448 struct cypress_private *priv; in cypress_generic_port_probe() local
510 struct cypress_private *priv; in cypress_earthmate_port_probe() local
541 struct cypress_private *priv; in cypress_hidcom_port_probe() local
558 struct cypress_private *priv; in cypress_ca42v2_port_probe() local
575 struct cypress_private *priv; in cypress_port_remove() local
587 struct cypress_private *priv = usb_get_serial_port_data(port); in cypress_open() local
633 struct cypress_private *priv = usb_get_serial_port_data(port); in cypress_dtr_rts() local
[all …]
Dftdi_sio.c1188 struct ftdi_private *priv = usb_get_serial_port_data(port); in update_mctrl() local
1234 struct ftdi_private *priv = usb_get_serial_port_data(port); in get_ftdi_divisor() local
1371 struct ftdi_private *priv = usb_get_serial_port_data(port); in change_speed() local
1398 struct ftdi_private *priv = usb_get_serial_port_data(port); in write_latency_timer() local
1421 struct ftdi_private *priv = usb_get_serial_port_data(port); in read_latency_timer() local
1449 struct ftdi_private *priv = usb_get_serial_port_data(port); in get_serial_info() local
1466 struct ftdi_private *priv = usb_get_serial_port_data(port); in set_serial_info() local
1532 struct ftdi_private *priv = usb_get_serial_port_data(port); in get_lsr_info() local
1550 struct ftdi_private *priv = usb_get_serial_port_data(port); in ftdi_determine_type() local
1630 struct ftdi_private *priv = usb_get_serial_port_data(port); in ftdi_set_max_packet_size() local
[all …]
/linux-4.1.27/drivers/s390/net/
Dctcm_main.c77 struct ctcm_priv *priv = dev->ml_priv; in ctcm_unpack_skb() local
426 struct ctcm_priv *priv = dev->ml_priv; in ctcm_open() local
444 struct ctcm_priv *priv = dev->ml_priv; in ctcm_close() local
588 struct ctcm_priv *priv = dev->ml_priv; in ctcm_transmit_skb() local
600 struct ctcm_priv *priv; in ctcmpc_send_sweep_req() local
667 struct ctcm_priv *priv = dev->ml_priv; in ctcmpc_transmit_skb() local
880 struct ctcm_priv *priv = dev->ml_priv; in ctcm_tx() local
924 struct ctcm_priv *priv = dev->ml_priv; in ctcmpc_tx() local
1032 struct ctcm_priv *priv; in ctcm_change_mtu() local
1068 struct ctcm_priv *priv; in ctcm_free_netdevice() local
[all …]
/linux-4.1.27/drivers/thermal/
Drcar_thermal.c74 #define rcar_priv_to_dev(priv) ((priv)->common->dev) argument
75 #define rcar_has_irq_support(priv) ((priv)->common->base) argument
76 #define rcar_id_to_shift(priv) ((priv)->id * 8) argument
79 # define rcar_force_update_temp(priv) 1 argument
81 # define rcar_force_update_temp(priv) 0 argument
117 static u32 _rcar_thermal_read(struct rcar_thermal_priv *priv, u32 reg) in _rcar_thermal_read()
123 static void _rcar_thermal_write(struct rcar_thermal_priv *priv, in _rcar_thermal_write()
130 static void _rcar_thermal_bset(struct rcar_thermal_priv *priv, u32 reg, in _rcar_thermal_bset()
144 static int rcar_thermal_update_temp(struct rcar_thermal_priv *priv) in rcar_thermal_update_temp()
206 struct rcar_thermal_priv *priv = rcar_zone_to_priv(zone); in rcar_thermal_get_temp() local
[all …]
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dgf100.c45 gf100_gr_zbc_clear_color(struct gf100_gr_priv *priv, int zbc) in gf100_gr_zbc_clear_color()
59 gf100_gr_zbc_color_get(struct gf100_gr_priv *priv, int format, in gf100_gr_zbc_color_get()
95 gf100_gr_zbc_clear_depth(struct gf100_gr_priv *priv, int zbc) in gf100_gr_zbc_clear_depth()
105 gf100_gr_zbc_depth_get(struct gf100_gr_priv *priv, int format, in gf100_gr_zbc_depth_get()
145 struct gf100_gr_priv *priv = (void *)object->engine; in gf100_fermi_mthd_zbc_color() local
191 struct gf100_gr_priv *priv = (void *)object->engine; in gf100_fermi_mthd_zbc_depth() local
239 struct gf100_gr_priv *priv = (void *)object->engine; in gf100_gr_set_shader_exceptions() local
280 struct gf100_gr_priv *priv = (void *)engine; in gf100_gr_context_ctor() local
638 gf100_gr_zbc_init(struct gf100_gr_priv *priv) in gf100_gr_zbc_init()
667 gf100_gr_mmio(struct gf100_gr_priv *priv, const struct gf100_gr_pack *p) in gf100_gr_mmio()
[all …]
Dnv10.c415 #define PIPE_SAVE(priv, state, addr) \ argument
423 #define PIPE_RESTORE(priv, state, addr) \ argument
482 struct nv10_gr_priv *priv = nv10_gr_priv(chan); in nv17_gr_mthd_lma_window() local
559 struct nv10_gr_priv *priv = nv10_gr_priv(chan); in nv17_gr_mthd_lma_enable() local
606 nv10_gr_channel(struct nv10_gr_priv *priv) in nv10_gr_channel()
620 struct nv10_gr_priv *priv = nv10_gr_priv(chan); in nv10_gr_save_pipe() local
638 struct nv10_gr_priv *priv = nv10_gr_priv(chan); in nv10_gr_load_pipe() local
688 struct nv10_gr_priv *priv = nv10_gr_priv(chan); in nv10_gr_create_pipe() local
841 nv10_gr_ctx_regs_find_offset(struct nv10_gr_priv *priv, int reg) in nv10_gr_ctx_regs_find_offset()
853 nv17_gr_ctx_regs_find_offset(struct nv10_gr_priv *priv, int reg) in nv17_gr_ctx_regs_find_offset()
[all …]
/linux-4.1.27/drivers/phy/
Dphy-mvebu-sata.c19 struct priv { struct
34 struct priv *priv = phy_get_drvdata(phy); in phy_mvebu_sata_power_on() argument
57 struct priv *priv = phy_get_drvdata(phy); in phy_mvebu_sata_power_off() local
88 struct priv *priv; in phy_mvebu_sata_probe() local
Dphy-spear1340-miphy.c92 static int spear1340_miphy_sata_init(struct spear1340_miphy_priv *priv) in spear1340_miphy_sata_init()
116 static int spear1340_miphy_sata_exit(struct spear1340_miphy_priv *priv) in spear1340_miphy_sata_exit()
138 static int spear1340_miphy_pcie_init(struct spear1340_miphy_priv *priv) in spear1340_miphy_pcie_init()
150 static int spear1340_miphy_pcie_exit(struct spear1340_miphy_priv *priv) in spear1340_miphy_pcie_exit()
162 struct spear1340_miphy_priv *priv = phy_get_drvdata(phy); in spear1340_miphy_init() local
175 struct spear1340_miphy_priv *priv = phy_get_drvdata(phy); in spear1340_miphy_exit() local
201 struct spear1340_miphy_priv *priv = dev_get_drvdata(dev); in spear1340_miphy_suspend() local
212 struct spear1340_miphy_priv *priv = dev_get_drvdata(dev); in spear1340_miphy_resume() local
228 struct spear1340_miphy_priv *priv = dev_get_drvdata(dev); in spear1340_miphy_xlate() local
248 struct spear1340_miphy_priv *priv; in spear1340_miphy_probe() local
/linux-4.1.27/drivers/rtc/
Drtc-mc13xxx.c37 struct mc13xxx_rtc *priv = dev_get_drvdata(dev); in mc13xxx_rtc_irq_enable_unlocked() local
50 struct mc13xxx_rtc *priv = dev_get_drvdata(dev); in mc13xxx_rtc_alarm_irq_enable() local
64 struct mc13xxx_rtc *priv = dev_get_drvdata(dev); in mc13xxx_rtc_read_time() local
93 struct mc13xxx_rtc *priv = dev_get_drvdata(dev); in mc13xxx_rtc_set_mmss() local
159 struct mc13xxx_rtc *priv = dev_get_drvdata(dev); in mc13xxx_rtc_read_alarm() local
201 struct mc13xxx_rtc *priv = dev_get_drvdata(dev); in mc13xxx_rtc_set_alarm() local
243 struct mc13xxx_rtc *priv = dev; in mc13xxx_rtc_alarm_handler() local
255 struct mc13xxx_rtc *priv = dev; in mc13xxx_rtc_update_handler() local
275 struct mc13xxx_rtc *priv = dev; in mc13xxx_rtc_reset_handler() local
288 struct mc13xxx_rtc *priv; in mc13xxx_rtc_probe() local
[all …]
Drtc-ds1286.c31 static inline u8 ds1286_rtc_read(struct ds1286_priv *priv, int reg) in ds1286_rtc_read()
36 static inline void ds1286_rtc_write(struct ds1286_priv *priv, u8 data, int reg) in ds1286_rtc_write()
44 struct ds1286_priv *priv = dev_get_drvdata(dev); in ds1286_alarm_irq_enable() local
65 struct ds1286_priv *priv = dev_get_drvdata(dev); in ds1286_ioctl() local
100 struct ds1286_priv *priv = dev_get_drvdata(dev); in ds1286_proc() local
158 struct ds1286_priv *priv = dev_get_drvdata(dev); in ds1286_read_time() local
221 struct ds1286_priv *priv = dev_get_drvdata(dev); in ds1286_set_time() local
270 struct ds1286_priv *priv = dev_get_drvdata(dev); in ds1286_read_alarm() local
292 struct ds1286_priv *priv = dev_get_drvdata(dev); in ds1286_set_alarm() local
333 struct ds1286_priv *priv; in ds1286_probe() local
/linux-4.1.27/drivers/tty/serial/
Dpch_uart.c323 struct eg20t_port *priv = file->private_data; in port_show_regs() local
438 static void pch_uart_hal_enable_interrupt(struct eg20t_port *priv, in pch_uart_hal_enable_interrupt()
446 static void pch_uart_hal_disable_interrupt(struct eg20t_port *priv, in pch_uart_hal_disable_interrupt()
454 static int pch_uart_hal_set_line(struct eg20t_port *priv, unsigned int baud, in pch_uart_hal_set_line()
499 static int pch_uart_hal_fifo_reset(struct eg20t_port *priv, in pch_uart_hal_fifo_reset()
516 static int pch_uart_hal_set_fifo(struct eg20t_port *priv, in pch_uart_hal_set_fifo()
569 static u8 pch_uart_hal_get_modem(struct eg20t_port *priv) in pch_uart_hal_get_modem()
576 static void pch_uart_hal_write(struct eg20t_port *priv, in pch_uart_hal_write()
588 static int pch_uart_hal_read(struct eg20t_port *priv, unsigned char *buf, in pch_uart_hal_read()
618 static unsigned char pch_uart_hal_get_iid(struct eg20t_port *priv) in pch_uart_hal_get_iid()
[all …]
/linux-4.1.27/drivers/gpu/drm/i2c/
Dch7006_drv.c36 struct ch7006_priv *priv = to_ch7006_priv(encoder); in ch7006_encoder_set_config() local
43 struct ch7006_priv *priv = to_ch7006_priv(encoder); in ch7006_encoder_destroy() local
56 struct ch7006_priv *priv = to_ch7006_priv(encoder); in ch7006_encoder_dpms() local
73 struct ch7006_priv *priv = to_ch7006_priv(encoder); in ch7006_encoder_save() local
83 struct ch7006_priv *priv = to_ch7006_priv(encoder); in ch7006_encoder_restore() local
94 struct ch7006_priv *priv = to_ch7006_priv(encoder); in ch7006_encoder_mode_fixup() local
118 struct ch7006_priv *priv = to_ch7006_priv(encoder); in ch7006_encoder_mode_set() local
181 struct ch7006_priv *priv = to_ch7006_priv(encoder); in ch7006_encoder_detect() local
228 struct ch7006_priv *priv = to_ch7006_priv(encoder); in ch7006_encoder_get_modes() local
249 struct ch7006_priv *priv = to_ch7006_priv(encoder); in ch7006_encoder_create_resources() local
[all …]
/linux-4.1.27/drivers/media/platform/soc_camera/
Dsh_mobile_csi2.c51 struct sh_csi2 *priv = container_of(sd, struct sh_csi2, subdev); in sh_csi2_try_fmt() local
99 struct sh_csi2 *priv = container_of(sd, struct sh_csi2, subdev); in sh_csi2_s_fmt() local
136 struct sh_csi2 *priv = container_of(sd, struct sh_csi2, subdev); in sh_csi2_g_mbus_config() local
195 struct sh_csi2 *priv = container_of(sd, struct sh_csi2, subdev); in sh_csi2_s_mbus_config() local
220 static void sh_csi2_hwinit(struct sh_csi2 *priv) in sh_csi2_hwinit()
261 static int sh_csi2_client_connect(struct sh_csi2 *priv) in sh_csi2_client_connect()
288 static void sh_csi2_client_disconnect(struct sh_csi2 *priv) in sh_csi2_client_disconnect()
300 struct sh_csi2 *priv = container_of(sd, struct sh_csi2, subdev); in sh_csi2_s_power() local
323 struct sh_csi2 *priv; in sh_csi2_probe() local
380 struct sh_csi2 *priv = container_of(subdev, struct sh_csi2, subdev); in sh_csi2_remove() local
/linux-4.1.27/drivers/nfc/nfcmrvl/
Dmain.c29 struct nfcmrvl_private *priv = nci_get_drvdata(ndev); in nfcmrvl_nci_open() local
45 struct nfcmrvl_private *priv = nci_get_drvdata(ndev); in nfcmrvl_nci_close() local
57 struct nfcmrvl_private *priv = nci_get_drvdata(ndev); in nfcmrvl_nci_send() local
94 struct nfcmrvl_private *priv; in nfcmrvl_nci_register_dev() local
137 void nfcmrvl_nci_unregister_dev(struct nfcmrvl_private *priv) in nfcmrvl_nci_unregister_dev()
147 int nfcmrvl_nci_recv_frame(struct nfcmrvl_private *priv, void *data, int count) in nfcmrvl_nci_recv_frame()
/linux-4.1.27/drivers/thermal/int340x_thermal/
Dint3403_thermal.c55 void *priv; member
61 struct int3403_priv *priv = data; in int3403_notify() local
83 static int int3403_sensor_add(struct int3403_priv *priv) in int3403_sensor_add()
111 static int int3403_sensor_remove(struct int3403_priv *priv) in int3403_sensor_remove()
126 struct int3403_priv *priv = cdev->devdata; in int3403_get_max_state() local
136 struct int3403_priv *priv = cdev->devdata; in int3403_get_cur_state() local
151 struct int3403_priv *priv = cdev->devdata; in int3403_set_cur_state() local
167 static int int3403_cdev_add(struct int3403_priv *priv) in int3403_cdev_add()
205 static int int3403_cdev_remove(struct int3403_priv *priv) in int3403_cdev_remove()
215 struct int3403_priv *priv; in int3403_add() local
[all …]
/linux-4.1.27/drivers/scsi/
Dqlogicfas408.c78 static void ql_zap(struct qlogicfas408_priv *priv) in ql_zap()
96 static int ql_pdma(struct qlogicfas408_priv *priv, int phase, char *request, int reqlen) in ql_pdma()
181 static int ql_wai(struct qlogicfas408_priv *priv) in ql_wai()
214 struct qlogicfas408_priv *priv = get_priv_by_cmd(cmd); in ql_icmd() local
269 struct qlogicfas408_priv *priv = get_priv_by_cmd(cmd); in ql_pcmd() local
404 struct qlogicfas408_priv *priv = get_priv_by_host(host); in ql_ihandl() local
445 struct qlogicfas408_priv *priv = get_priv_by_cmd(cmd); in qlogicfas408_queuecommand_lck() local
493 struct qlogicfas408_priv *priv = get_priv_by_cmd(cmd); in qlogicfas408_abort() local
507 struct qlogicfas408_priv *priv = get_priv_by_cmd(cmd); in qlogicfas408_bus_reset() local
525 struct qlogicfas408_priv *priv = get_priv_by_host(host); in qlogicfas408_info() local
[all …]
/linux-4.1.27/drivers/char/agp/
Dfrontend.c230 static void agp_insert_file_private(struct agp_file_private * priv) in agp_insert_file_private()
242 static void agp_remove_file_private(struct agp_file_private * priv) in agp_remove_file_private()
343 struct agp_file_private *priv; in agp_remove_all_clients() local
411 struct agp_file_private *priv; in agp_controller_make_current() local
434 struct agp_file_private *priv; in agp_controller_release_current() local
570 struct agp_file_private *priv = file->private_data; in agp_mmap() local
645 struct agp_file_private *priv = file->private_data; in agp_release() local
677 struct agp_file_private *priv; in agp_open() local
713 static int agpioc_info_wrap(struct agp_file_private *priv, void __user *arg) in agpioc_info_wrap()
737 int agpioc_acquire_wrap(struct agp_file_private *priv) in agpioc_acquire_wrap()
[all …]
/linux-4.1.27/drivers/net/ethernet/ti/
Dcpsw.c53 #define cpsw_info(priv, type, format, ...) \ argument
59 #define cpsw_err(priv, type, format, ...) \ argument
65 #define cpsw_dbg(priv, type, format, ...) \ argument
71 #define cpsw_notice(priv, type, format, ...) \ argument
141 #define cpsw_enable_irq(priv) \ argument
147 #define cpsw_disable_irq(priv) \ argument
154 #define cpsw_slave_index(priv) \ argument
499 #define for_each_slave(priv, func, arg...) \ argument
511 #define cpsw_get_slave_ndev(priv, __slave_no__) \ argument
513 #define cpsw_get_slave_priv(priv, __slave_no__) \ argument
[all …]
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dnv04.c58 struct nv04_fifo_priv *priv = (void *)parent->engine; in nv04_fifo_object_attach() local
95 struct nv04_fifo_priv *priv = (void *)parent->engine; in nv04_fifo_object_detach() local
118 struct nv04_fifo_priv *priv = (void *)engine; in nv04_fifo_chan_ctor() local
162 struct nv04_fifo_priv *priv = (void *)object->engine; in nv04_fifo_chan_dtor() local
176 struct nv04_fifo_priv *priv = (void *)object->engine; in nv04_fifo_chan_init() local
195 struct nv04_fifo_priv *priv = (void *)object->engine; in nv04_fifo_chan_fini() local
304 struct nv04_fifo_priv *priv = (void *)pfifo; in nv04_fifo_pause() local
337 struct nv04_fifo_priv *priv = (void *)pfifo; in nv04_fifo_start() local
357 nv04_fifo_swmthd(struct nv04_fifo_priv *priv, u32 chid, u32 addr, u32 data) in nv04_fifo_swmthd()
410 struct nv04_fifo_priv *priv, u32 chid, u32 get) in nv04_fifo_cache_error()
[all …]
/linux-4.1.27/drivers/mmc/host/
Ddw_mmc-exynos.c81 struct dw_mci_exynos_priv_data *priv = host->priv; in dw_mci_exynos_get_ciu_div() local
96 struct dw_mci_exynos_priv_data *priv = host->priv; in dw_mci_exynos_priv_init() local
123 struct dw_mci_exynos_priv_data *priv = host->priv; in dw_mci_exynos_setup_clock() local
132 struct dw_mci_exynos_priv_data *priv = host->priv; in dw_mci_exynos_set_clksel_timing() local
180 struct dw_mci_exynos_priv_data *priv = host->priv; in dw_mci_exynos_resume_noirq() local
207 struct dw_mci_exynos_priv_data *priv = host->priv; in dw_mci_exynos_prepare_command() local
227 struct dw_mci_exynos_priv_data *priv = host->priv; in dw_mci_exynos_config_hs400() local
253 struct dw_mci_exynos_priv_data *priv = host->priv; in dw_mci_exynos_adjust_clock() local
285 struct dw_mci_exynos_priv_data *priv = host->priv; in dw_mci_exynos_set_ios() local
318 struct dw_mci_exynos_priv_data *priv; in dw_mci_exynos_parse_dt() local
[all …]

12345678