Home
last modified time | relevance | path

Searched defs:priv (Results 1 – 25 of 3192) sorted by relevance

12345678910>>...128

/openbmc/linux/drivers/staging/ks7010/
H A Dks_hostif.c21 static inline void inc_smeqhead(struct ks_wlan_private *priv) in inc_smeqhead()
26 static inline void inc_smeqtail(struct ks_wlan_private *priv) in inc_smeqtail()
31 static inline unsigned int cnt_smeqbody(struct ks_wlan_private *priv) in cnt_smeqbody()
37 static inline u8 get_byte(struct ks_wlan_private *priv) in get_byte()
47 static inline u16 get_word(struct ks_wlan_private *priv) in get_word()
56 static inline u32 get_dword(struct ks_wlan_private *priv) in get_dword()
69 struct ks_wlan_private *priv; in ks_wlan_hw_wakeup_task() local
88 static void ks_wlan_do_power_save(struct ks_wlan_private *priv) in ks_wlan_do_power_save()
97 int get_current_ap(struct ks_wlan_private *priv, struct link_ap_info *ap_info) in get_current_ap()
253 int get_ap_information(struct ks_wlan_private *priv, struct ap_info *ap_info, in get_ap_information()
[all …]
/openbmc/linux/drivers/usb/renesas_usbhs/
H A Dcommon.c53 #define usbhs_platform_call(priv, func, args...)\ argument
61 u16 usbhs_read(struct usbhs_priv *priv, u32 reg) in usbhs_read()
66 void usbhs_write(struct usbhs_priv *priv, u32 reg, u16 data) in usbhs_write()
71 void usbhs_bset(struct usbhs_priv *priv, u32 reg, u16 mask, u16 data) in usbhs_bset()
94 static void usbhs_sys_clock_ctrl(struct usbhs_priv *priv, int enable) in usbhs_sys_clock_ctrl()
99 void usbhs_sys_host_ctrl(struct usbhs_priv *priv, int enable) in usbhs_sys_host_ctrl()
113 void usbhs_sys_function_ctrl(struct usbhs_priv *priv, int enable) in usbhs_sys_function_ctrl()
135 void usbhs_sys_function_pullup(struct usbhs_priv *priv, int enable) in usbhs_sys_function_pullup()
140 void usbhs_sys_set_test_mode(struct usbhs_priv *priv, u16 mode) in usbhs_sys_set_test_mode()
148 int usbhs_frame_get_num(struct usbhs_priv *priv) in usbhs_frame_get_num()
[all …]
/openbmc/linux/drivers/net/ethernet/altera/
H A Daltera_sgdma.c54 int sgdma_initialize(struct altera_tse_private *priv) in sgdma_initialize()
102 void sgdma_uninitialize(struct altera_tse_private *priv) in sgdma_uninitialize()
116 void sgdma_reset(struct altera_tse_private *priv) in sgdma_reset()
134 void sgdma_enable_rxirq(struct altera_tse_private *priv) in sgdma_enable_rxirq()
138 void sgdma_enable_txirq(struct altera_tse_private *priv) in sgdma_enable_txirq()
142 void sgdma_disable_rxirq(struct altera_tse_private *priv) in sgdma_disable_rxirq()
146 void sgdma_disable_txirq(struct altera_tse_private *priv) in sgdma_disable_txirq()
150 void sgdma_clear_rxirq(struct altera_tse_private *priv) in sgdma_clear_rxirq()
156 void sgdma_clear_txirq(struct altera_tse_private *priv) in sgdma_clear_txirq()
167 int sgdma_tx_buffer(struct altera_tse_private *priv, struct tse_buffer *buffer) in sgdma_tx_buffer()
[all …]
H A Daltera_msgdma.c13 int msgdma_initialize(struct altera_tse_private *priv) in msgdma_initialize()
18 void msgdma_uninitialize(struct altera_tse_private *priv) in msgdma_uninitialize()
22 void msgdma_start_rxdma(struct altera_tse_private *priv) in msgdma_start_rxdma()
26 void msgdma_reset(struct altera_tse_private *priv) in msgdma_reset()
74 void msgdma_disable_rxirq(struct altera_tse_private *priv) in msgdma_disable_rxirq()
80 void msgdma_enable_rxirq(struct altera_tse_private *priv) in msgdma_enable_rxirq()
86 void msgdma_disable_txirq(struct altera_tse_private *priv) in msgdma_disable_txirq()
92 void msgdma_enable_txirq(struct altera_tse_private *priv) in msgdma_enable_txirq()
98 void msgdma_clear_rxirq(struct altera_tse_private *priv) in msgdma_clear_rxirq()
103 void msgdma_clear_txirq(struct altera_tse_private *priv) in msgdma_clear_txirq()
[all …]
/openbmc/linux/drivers/net/ethernet/google/gve/
H A Dgve_main.c39 static int gve_verify_driver_compatibility(struct gve_priv *priv) in gve_verify_driver_compatibility() argument
84 struct gve_priv *priv = netdev_priv(dev); in gve_start_xmit() local
94 struct gve_priv *priv = netdev_priv(dev); in gve_get_stats() local
129 gve_alloc_counter_array(struct gve_priv * priv) gve_alloc_counter_array() argument
142 gve_free_counter_array(struct gve_priv * priv) gve_free_counter_array() argument
157 struct gve_priv *priv = container_of(work, struct gve_priv, gve_stats_report_task() local
165 gve_stats_report_schedule(struct gve_priv * priv) gve_stats_report_schedule() argument
176 struct gve_priv *priv = from_timer(priv, t, stats_report_timer); gve_stats_report_timer() local
184 gve_alloc_stats_report(struct gve_priv * priv) gve_alloc_stats_report() argument
205 gve_free_stats_report(struct gve_priv * priv) gve_free_stats_report() argument
218 struct gve_priv *priv = arg; gve_mgmnt_intr() local
227 struct gve_priv *priv = block->priv; gve_intr() local
248 struct gve_priv *priv; gve_napi_poll() local
297 struct gve_priv *priv = block->priv; gve_napi_poll_dqo() local
331 gve_alloc_notify_blocks(struct gve_priv * priv) gve_alloc_notify_blocks() argument
449 gve_free_notify_blocks(struct gve_priv * priv) gve_free_notify_blocks() argument
477 gve_setup_device_resources(struct gve_priv * priv) gve_setup_device_resources() argument
541 gve_teardown_device_resources(struct gve_priv * priv) gve_teardown_device_resources() argument
572 gve_add_napi(struct gve_priv * priv,int ntfy_idx,int (* gve_poll)(struct napi_struct *,int)) gve_add_napi() argument
580 gve_remove_napi(struct gve_priv * priv,int ntfy_idx) gve_remove_napi() argument
587 gve_register_xdp_qpls(struct gve_priv * priv) gve_register_xdp_qpls() argument
609 gve_register_qpls(struct gve_priv * priv) gve_register_qpls() argument
645 gve_unregister_xdp_qpls(struct gve_priv * priv) gve_unregister_xdp_qpls() argument
665 gve_unregister_qpls(struct gve_priv * priv) gve_unregister_qpls() argument
697 gve_create_xdp_rings(struct gve_priv * priv) gve_create_xdp_rings() argument
718 gve_create_rings(struct gve_priv * priv) gve_create_rings() argument
767 add_napi_init_xdp_sync_stats(struct gve_priv * priv,int (* napi_poll)(struct napi_struct * napi,int budget)) add_napi_init_xdp_sync_stats() argument
784 add_napi_init_sync_stats(struct gve_priv * priv,int (* napi_poll)(struct napi_struct * napi,int budget)) add_napi_init_sync_stats() argument
808 gve_tx_free_rings(struct gve_priv * priv,int start_id,int num_rings) gve_tx_free_rings() argument
817 gve_alloc_xdp_rings(struct gve_priv * priv) gve_alloc_xdp_rings() argument
834 gve_alloc_rings(struct gve_priv * priv) gve_alloc_rings() argument
884 gve_destroy_xdp_rings(struct gve_priv * priv) gve_destroy_xdp_rings() argument
904 gve_destroy_rings(struct gve_priv * priv) gve_destroy_rings() argument
928 gve_rx_free_rings(struct gve_priv * priv) gve_rx_free_rings() argument
936 gve_free_xdp_rings(struct gve_priv * priv) gve_free_xdp_rings() argument
951 gve_free_rings(struct gve_priv * priv) gve_free_rings() argument
977 gve_alloc_page(struct gve_priv * priv,struct device * dev,struct page ** page,dma_addr_t * dma,enum dma_data_direction dir,gfp_t gfp_flags) gve_alloc_page() argument
995 gve_alloc_queue_page_list(struct gve_priv * priv,u32 id,int pages) gve_alloc_queue_page_list() argument
1044 gve_free_queue_page_list(struct gve_priv * priv,u32 id) gve_free_queue_page_list() argument
1066 gve_alloc_xdp_qpls(struct gve_priv * priv) gve_alloc_xdp_qpls() argument
1088 gve_alloc_qpls(struct gve_priv * priv) gve_alloc_qpls() argument
1146 gve_free_xdp_qpls(struct gve_priv * priv) gve_free_xdp_qpls() argument
1156 gve_free_qpls(struct gve_priv * priv) gve_free_qpls() argument
1178 gve_schedule_reset(struct gve_priv * priv) gve_schedule_reset() argument
1189 gve_reg_xdp_info(struct gve_priv * priv,struct net_device * dev) gve_reg_xdp_info() argument
1244 gve_unreg_xdp_info(struct gve_priv * priv) gve_unreg_xdp_info() argument
1267 gve_drain_page_cache(struct gve_priv * priv) gve_drain_page_cache() argument
1284 struct gve_priv *priv = netdev_priv(dev); gve_open() local
1359 struct gve_priv *priv = netdev_priv(dev); gve_close() local
1393 gve_remove_xdp_queues(struct gve_priv * priv) gve_remove_xdp_queues() argument
1412 gve_add_xdp_queues(struct gve_priv * priv) gve_add_xdp_queues() argument
1449 gve_handle_link_status(struct gve_priv * priv,bool link_status) gve_handle_link_status() argument
1466 gve_set_xdp(struct gve_priv * priv,struct bpf_prog * prog,struct netlink_ext_ack * extack) gve_set_xdp() argument
1510 struct gve_priv *priv = netdev_priv(dev); gve_xsk_pool_enable() local
1565 struct gve_priv *priv = netdev_priv(dev); gve_xsk_pool_disable() local
1611 struct gve_priv *priv = netdev_priv(dev); gve_xsk_wakeup() local
1640 struct gve_priv *priv = netdev_priv(dev); verify_xdp_configuration() local
1672 struct gve_priv *priv = netdev_priv(dev); gve_xdp() local
1691 gve_adjust_queues(struct gve_priv * priv,struct gve_queue_config new_rx_config,struct gve_queue_config new_tx_config) gve_adjust_queues() argument
1729 gve_turndown(struct gve_priv * priv) gve_turndown() argument
1763 gve_turnup(struct gve_priv * priv) gve_turnup() argument
1803 struct gve_priv *priv; gve_tx_timeout() local
1849 struct gve_priv *priv = netdev_priv(netdev); gve_set_features() local
1893 gve_handle_status(struct gve_priv * priv,u32 status) gve_handle_status() argument
1905 gve_handle_reset(struct gve_priv * priv) gve_handle_reset() argument
1921 gve_handle_report_stats(struct gve_priv * priv) gve_handle_report_stats() argument
2000 struct gve_priv *priv = container_of(work, struct gve_priv, gve_service_task() local
2010 gve_set_netdev_xdp_features(struct gve_priv * priv) gve_set_netdev_xdp_features() argument
2022 gve_init_priv(struct gve_priv * priv,bool skip_describe_device) gve_init_priv() argument
2113 gve_teardown_priv_resources(struct gve_priv * priv) gve_teardown_priv_resources() argument
2119 gve_trigger_reset(struct gve_priv * priv) gve_trigger_reset() argument
2125 gve_reset_and_teardown(struct gve_priv * priv,bool was_up) gve_reset_and_teardown() argument
2134 gve_reset_recovery(struct gve_priv * priv,bool was_up) gve_reset_recovery() argument
2153 gve_reset(struct gve_priv * priv,bool attempt_teardown) gve_reset() argument
2212 struct gve_priv *priv; gve_probe() local
2341 struct gve_priv *priv = netdev_priv(netdev); gve_remove() local
2358 struct gve_priv *priv = netdev_priv(netdev); gve_shutdown() local
2376 struct gve_priv *priv = netdev_priv(netdev); gve_suspend() local
2396 struct gve_priv *priv = netdev_priv(netdev); gve_resume() local
[all...]
/openbmc/linux/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-core.c95 mcp251xfd_get_model_str(const struct mcp251xfd_priv *priv) in mcp251xfd_get_model_str()
140 static inline int mcp251xfd_vdd_enable(const struct mcp251xfd_priv *priv) in mcp251xfd_vdd_enable()
148 static inline int mcp251xfd_vdd_disable(const struct mcp251xfd_priv *priv) in mcp251xfd_vdd_disable()
157 mcp251xfd_transceiver_enable(const struct mcp251xfd_priv *priv) in mcp251xfd_transceiver_enable()
166 mcp251xfd_transceiver_disable(const struct mcp251xfd_priv *priv) in mcp251xfd_transceiver_disable()
174 static int mcp251xfd_clks_and_vdd_enable(const struct mcp251xfd_priv *priv) in mcp251xfd_clks_and_vdd_enable()
193 static int mcp251xfd_clks_and_vdd_disable(const struct mcp251xfd_priv *priv) in mcp251xfd_clks_and_vdd_disable()
212 mcp251xfd_chip_get_mode(const struct mcp251xfd_priv *priv, u8 *mode) in mcp251xfd_chip_get_mode()
227 __mcp251xfd_chip_set_mode(const struct mcp251xfd_priv *priv, in __mcp251xfd_chip_set_mode()
288 mcp251xfd_chip_set_mode(const struct mcp251xfd_priv *priv, in mcp251xfd_chip_set_mode()
[all …]
/openbmc/linux/drivers/net/wireless/st/cw1200/
H A Dsta.c56 struct cw1200_common *priv = dev->priv; in cw1200_start() local
95 struct cw1200_common *priv = dev->priv; in cw1200_stop() local
148 void __cw1200_cqm_bssloss_sm(struct cw1200_common *priv, in __cw1200_cqm_bssloss_sm()
209 struct cw1200_common *priv = dev->priv; in cw1200_add_interface() local
251 struct cw1200_common *priv = dev->priv; in cw1200_remove_interface() local
327 struct cw1200_common *priv = dev->priv; in cw1200_config() local
439 void cw1200_update_filtering(struct cw1200_common *priv) in cw1200_update_filtering()
513 struct cw1200_common *priv = in cw1200_update_filtering_work() local
522 struct cw1200_common *priv = in cw1200_set_beacon_wakeup_period_work() local
541 struct cw1200_common *priv = hw->priv; in cw1200_prepare_multicast() local
[all …]
/openbmc/linux/drivers/net/ethernet/actions/
H A Dowl-emac.c25 static u32 owl_emac_reg_read(struct owl_emac_priv *priv, u32 reg) in owl_emac_reg_read()
30 static void owl_emac_reg_write(struct owl_emac_priv *priv, u32 reg, u32 data) in owl_emac_reg_write()
35 static u32 owl_emac_reg_update(struct owl_emac_priv *priv, in owl_emac_reg_update()
51 static void owl_emac_reg_set(struct owl_emac_priv *priv, u32 reg, u32 bits) in owl_emac_reg_set()
56 static void owl_emac_reg_clear(struct owl_emac_priv *priv, u32 reg, u32 bits) in owl_emac_reg_clear()
61 static struct device *owl_emac_get_dev(struct owl_emac_priv *priv) in owl_emac_get_dev()
66 static void owl_emac_irq_enable(struct owl_emac_priv *priv) in owl_emac_irq_enable()
79 static void owl_emac_irq_disable(struct owl_emac_priv *priv) in owl_emac_irq_disable()
92 static u32 owl_emac_irq_status(struct owl_emac_priv *priv) in owl_emac_irq_status()
97 static u32 owl_emac_irq_clear(struct owl_emac_priv *priv) in owl_emac_irq_clear()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A 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 …]
/openbmc/linux/drivers/bluetooth/
H A Dbtmrvl_main.c24 void btmrvl_interrupt(struct btmrvl_private *priv) in btmrvl_interrupt()
41 bool btmrvl_check_evtpkt(struct btmrvl_private *priv, struct sk_buff *skb) in btmrvl_check_evtpkt()
70 int btmrvl_process_event(struct btmrvl_private *priv, struct sk_buff *skb) in btmrvl_process_event()
155 static int btmrvl_send_sync_cmd(struct btmrvl_private *priv, u16 opcode, in btmrvl_send_sync_cmd()
201 int btmrvl_send_module_cfg_cmd(struct btmrvl_private *priv, u8 subcmd) in btmrvl_send_module_cfg_cmd()
213 static int btmrvl_enable_sco_routing_to_host(struct btmrvl_private *priv) in btmrvl_enable_sco_routing_to_host()
225 int btmrvl_pscan_window_reporting(struct btmrvl_private *priv, u8 subcmd) in btmrvl_pscan_window_reporting()
242 int btmrvl_send_hscfg_cmd(struct btmrvl_private *priv) in btmrvl_send_hscfg_cmd()
261 int btmrvl_enable_ps(struct btmrvl_private *priv) in btmrvl_enable_ps()
279 int btmrvl_enable_hs(struct btmrvl_private *priv) in btmrvl_enable_hs()
[all …]
/openbmc/linux/drivers/net/can/peak_canfd/
H A Dpeak_canfd.c42 static struct peak_canfd_priv *pucan_init_cmd(struct peak_canfd_priv *priv) in pucan_init_cmd()
48 static void *pucan_add_cmd(struct peak_canfd_priv *priv, int cmd_op) in pucan_add_cmd()
66 static int pucan_write_cmd(struct peak_canfd_priv *priv) in pucan_write_cmd()
87 static int pucan_set_reset_mode(struct peak_canfd_priv *priv) in pucan_set_reset_mode()
93 static int pucan_set_normal_mode(struct peak_canfd_priv *priv) in pucan_set_normal_mode()
105 static int pucan_set_listen_only_mode(struct peak_canfd_priv *priv) in pucan_set_listen_only_mode()
117 static int pucan_set_timing_slow(struct peak_canfd_priv *priv, in pucan_set_timing_slow()
140 static int pucan_set_timing_fast(struct peak_canfd_priv *priv, in pucan_set_timing_fast()
159 static int pucan_set_std_filter(struct peak_canfd_priv *priv, u8 row, u32 mask) in pucan_set_std_filter()
183 static int pucan_tx_abort(struct peak_canfd_priv *priv, u16 flags) in pucan_tx_abort()
[all …]
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dtt.c64 bool iwl_tt_is_low_power_state(struct iwl_priv *priv) in iwl_tt_is_low_power_state()
73 u8 iwl_tt_current_power_mode(struct iwl_priv *priv) in iwl_tt_current_power_mode()
80 bool iwl_ht_enabled(struct iwl_priv *priv) in iwl_ht_enabled()
91 static bool iwl_within_ct_kill_margin(struct iwl_priv *priv) in iwl_within_ct_kill_margin()
105 bool iwl_check_for_ct_kill(struct iwl_priv *priv) in iwl_check_for_ct_kill()
116 enum iwl_antenna_ok iwl_tx_ant_restriction(struct iwl_priv *priv) in iwl_tx_ant_restriction()
127 enum iwl_antenna_ok iwl_rx_ant_restriction(struct iwl_priv *priv) in iwl_rx_ant_restriction()
151 struct iwl_priv *priv = from_timer(priv, t, in iwl_tt_check_exit_ct_kill() local
181 static void iwl_perform_ct_kill_task(struct iwl_priv *priv, in iwl_perform_ct_kill_task()
201 struct iwl_priv *priv = from_timer(priv, t, in iwl_tt_ready_for_ct_kill() local
[all …]
H A Dmain.c142 void iwl_update_chain_flags(struct iwl_priv *priv) in iwl_update_chain_flags()
154 static void iwl_set_beacon_tim(struct iwl_priv *priv, in iwl_set_beacon_tim()
180 int iwlagn_send_beacon_cmd(struct iwl_priv *priv) in iwlagn_send_beacon_cmd()
266 struct iwl_priv *priv = in iwl_bg_beacon_update() local
305 struct iwl_priv *priv = in iwl_bg_bt_runtime_config() local
323 struct iwl_priv *priv = in iwl_bg_bt_full_concurrency() local
354 int iwl_send_statistics_request(struct iwl_priv *priv, u8 flags, bool clear) in iwl_send_statistics_request()
384 struct iwl_priv *priv = from_timer(priv, t, statistics_periodic); in iwl_bg_statistics_periodic() local
397 static void iwl_print_cont_event_trace(struct iwl_priv *priv, u32 base, in iwl_print_cont_event_trace()
446 static void iwl_continuous_event_trace(struct iwl_priv *priv) in iwl_continuous_event_trace()
[all …]
H A Ddevices.c37 static void iwl1000_set_ct_threshold(struct iwl_priv *priv) in iwl1000_set_ct_threshold()
45 static void iwl1000_nic_config(struct iwl_priv *priv) in iwl1000_nic_config()
59 static inline u32 iwl_beacon_time_mask_low(struct iwl_priv *priv, in iwl_beacon_time_mask_low()
70 static inline u32 iwl_beacon_time_mask_high(struct iwl_priv *priv, in iwl_beacon_time_mask_high()
82 static u32 iwl_usecs_to_beacons(struct iwl_priv *priv, u32 usec, in iwl_usecs_to_beacons()
104 static __le32 iwl_add_beacon_time(struct iwl_priv *priv, u32 base, in iwl_add_beacon_time()
152 static void iwl1000_hw_set_hw_params(struct iwl_priv *priv) in iwl1000_hw_set_hw_params()
175 static void iwl2000_set_ct_threshold(struct iwl_priv *priv) in iwl2000_set_ct_threshold()
183 static void iwl2000_nic_config(struct iwl_priv *priv) in iwl2000_nic_config()
213 static void iwl2000_hw_set_hw_params(struct iwl_priv *priv) in iwl2000_hw_set_hw_params()
[all …]
/openbmc/linux/sound/soc/codecs/
H A Dmt6359-accdet.c75 static unsigned int adjust_eint_analog_setting(struct mt6359_accdet *priv) in adjust_eint_analog_setting()
109 static unsigned int adjust_eint_digital_setting(struct mt6359_accdet *priv) in adjust_eint_digital_setting()
139 static unsigned int mt6359_accdet_jd_setting(struct mt6359_accdet *priv) in mt6359_accdet_jd_setting()
157 static void recover_eint_analog_setting(struct mt6359_accdet *priv) in recover_eint_analog_setting()
182 static void recover_eint_digital_setting(struct mt6359_accdet *priv) in recover_eint_digital_setting()
227 static void recover_eint_setting(struct mt6359_accdet *priv) in recover_eint_setting()
235 static void mt6359_accdet_recover_jd_setting(struct mt6359_accdet *priv) in mt6359_accdet_recover_jd_setting()
272 static void accdet_set_debounce(struct mt6359_accdet *priv, int state, in accdet_set_debounce()
323 static void mt6359_accdet_jack_report(struct mt6359_accdet *priv) in mt6359_accdet_jack_report()
334 static unsigned int check_button(struct mt6359_accdet *priv, unsigned int v) in check_button()
[all …]
H A Dmt6359.c21 static void mt6359_set_gpio_smt(struct mt6359_priv *priv) in mt6359_set_gpio_smt()
27 static void mt6359_set_gpio_driving(struct mt6359_priv *priv) in mt6359_set_gpio_driving()
35 static void mt6359_set_playback_gpio(struct mt6359_priv *priv) in mt6359_set_playback_gpio()
46 static void mt6359_reset_playback_gpio(struct mt6359_priv *priv) in mt6359_reset_playback_gpio()
57 static void mt6359_set_capture_gpio(struct mt6359_priv *priv) in mt6359_set_capture_gpio()
67 static void mt6359_reset_capture_gpio(struct mt6359_priv *priv) in mt6359_reset_capture_gpio()
86 static void mt6359_set_dcxo(struct mt6359_priv *priv, bool enable) in mt6359_set_dcxo()
94 static void mt6359_set_clksq(struct mt6359_priv *priv, bool enable) in mt6359_set_clksq()
103 static void mt6359_set_aud_global_bias(struct mt6359_priv *priv, bool enable) in mt6359_set_aud_global_bias()
111 static void mt6359_set_topck(struct mt6359_priv *priv, bool enable) in mt6359_set_topck()
[all …]
/openbmc/linux/drivers/net/ethernet/microchip/
H A Dencx24j600.c71 static void encx24j600_dump_rsv(struct encx24j600_priv *priv, const char *msg, in encx24j600_dump_rsv()
98 static u16 encx24j600_read_reg(struct encx24j600_priv *priv, u8 reg) in encx24j600_read_reg()
110 static void encx24j600_write_reg(struct encx24j600_priv *priv, u8 reg, u16 val) in encx24j600_write_reg()
120 static void encx24j600_update_reg(struct encx24j600_priv *priv, u8 reg, in encx24j600_update_reg()
131 static u16 encx24j600_read_phy(struct encx24j600_priv *priv, u8 reg) in encx24j600_read_phy()
143 static void encx24j600_write_phy(struct encx24j600_priv *priv, u8 reg, u16 val) in encx24j600_write_phy()
153 static void encx24j600_clr_bits(struct encx24j600_priv *priv, u8 reg, u16 mask) in encx24j600_clr_bits()
158 static void encx24j600_set_bits(struct encx24j600_priv *priv, u8 reg, u16 mask) in encx24j600_set_bits()
163 static void encx24j600_cmd(struct encx24j600_priv *priv, u8 cmd) in encx24j600_cmd()
173 static int encx24j600_raw_read(struct encx24j600_priv *priv, u8 reg, u8 *data, in encx24j600_raw_read()
[all …]
/openbmc/linux/drivers/net/dsa/realtek/
H A Drealtek-smi.c46 static inline void realtek_smi_clk_delay(struct realtek_priv *priv) in realtek_smi_clk_delay()
51 static void realtek_smi_start(struct realtek_priv *priv) in realtek_smi_start()
76 static void realtek_smi_stop(struct realtek_priv *priv) in realtek_smi_stop()
101 static void realtek_smi_write_bits(struct realtek_priv *priv, u32 data, u32 len) in realtek_smi_write_bits()
117 static void realtek_smi_read_bits(struct realtek_priv *priv, u32 len, u32 *data) in realtek_smi_read_bits()
138 static int realtek_smi_wait_for_ack(struct realtek_priv *priv) in realtek_smi_wait_for_ack()
159 static int realtek_smi_write_byte(struct realtek_priv *priv, u8 data) in realtek_smi_write_byte()
165 static int realtek_smi_write_byte_noack(struct realtek_priv *priv, u8 data) in realtek_smi_write_byte_noack()
171 static int realtek_smi_read_byte0(struct realtek_priv *priv, u8 *data) in realtek_smi_read_byte0()
185 static int realtek_smi_read_byte1(struct realtek_priv *priv, u8 *data) in realtek_smi_read_byte1()
[all …]
/openbmc/linux/drivers/net/wireless/intel/ipw2x00/
H A Dipw2200.c411 static void _ipw_write_reg32(struct ipw_priv *priv, u32 reg, u32 value) in _ipw_write_reg32()
419 static void _ipw_write_reg8(struct ipw_priv *priv, u32 reg, u8 value) in _ipw_write_reg8()
430 static void _ipw_write_reg16(struct ipw_priv *priv, u32 reg, u16 value) in _ipw_write_reg16()
441 static u8 _ipw_read_reg8(struct ipw_priv *priv, u32 reg) in _ipw_read_reg8()
451 static u32 _ipw_read_reg32(struct ipw_priv *priv, u32 reg) in _ipw_read_reg32()
465 static void _ipw_read_indirect(struct ipw_priv *priv, u32 addr, u8 * buf, in _ipw_read_indirect()
502 static void _ipw_write_indirect(struct ipw_priv *priv, u32 addr, u8 * buf, in _ipw_write_indirect()
539 static void ipw_write_direct(struct ipw_priv *priv, u32 addr, void *buf, in ipw_write_direct()
546 static inline void ipw_set_bit(struct ipw_priv *priv, u32 reg, u32 mask) in ipw_set_bit()
552 static inline void ipw_clear_bit(struct ipw_priv *priv, u32 reg, u32 mask) in ipw_clear_bit()
[all …]
/openbmc/linux/drivers/media/dvb-frontends/
H A Dcxd2841er.c203 static void cxd2841er_i2c_debug(struct cxd2841er_priv *priv, in cxd2841er_i2c_debug()
212 static int cxd2841er_write_regs(struct cxd2841er_priv *priv, in cxd2841er_write_regs()
250 static int cxd2841er_write_reg(struct cxd2841er_priv *priv, in cxd2841er_write_reg()
258 static int cxd2841er_read_regs(struct cxd2841er_priv *priv, in cxd2841er_read_regs()
291 static int cxd2841er_read_reg(struct cxd2841er_priv *priv, in cxd2841er_read_reg()
297 static int cxd2841er_set_reg_bits(struct cxd2841er_priv *priv, in cxd2841er_set_reg_bits()
327 static int cxd2841er_get_if_hz(struct cxd2841er_priv *priv, u32 def_hz) in cxd2841er_get_if_hz()
343 struct cxd2841er_priv *priv = fe->demodulator_priv; in cxd2841er_tuner_set() local
355 static int cxd2841er_dvbs2_set_symbol_rate(struct cxd2841er_priv *priv, in cxd2841er_dvbs2_set_symbol_rate()
385 static int cxd2841er_sleep_s_to_active_s(struct cxd2841er_priv *priv, in cxd2841er_sleep_s_to_active_s()
[all …]
/openbmc/linux/drivers/staging/rtl8192e/rtl8192e/
H A Drtl_dm.c200 struct r8192_priv *priv = rtllib_priv(dev); in rtl92e_dm_init() local
225 struct r8192_priv *priv = rtllib_priv(dev); in rtl92e_dm_watchdog() local
249 struct r8192_priv *priv = rtllib_priv(dev); in rtl92e_init_adaptive_rate() local
277 struct r8192_priv *priv = rtllib_priv(dev); in _rtl92e_dm_check_rate_adaptive() local
385 struct r8192_priv *priv = rtllib_priv(dev); in _rtl92e_dm_init_bandwidth_autoswitch() local
395 struct r8192_priv *priv = rtllib_priv(dev); in _rtl92e_dm_bandwidth_autoswitch() local
507 struct r8192_priv *priv = rtllib_priv(dev); in _rtl92e_dm_tx_power_tracking_callback_tssi() local
653 struct r8192_priv *priv = rtllib_priv(dev); in _rtl92e_dm_tx_power_tracking_cb_thermal() local
741 struct r8192_priv *priv = container_of_dwork_rsl(data, in rtl92e_dm_txpower_tracking_wq() local
753 struct r8192_priv *priv = rtllib_priv(dev); in _rtl92e_dm_initialize_tx_power_tracking_tssi() local
[all …]
/openbmc/linux/drivers/infiniband/ulp/ipoib/
H A Dipoib_ib.c84 struct ipoib_dev_priv *priv = ipoib_priv(ah->dev); in ipoib_free_ah() local
93 static void ipoib_ud_dma_unmap_rx(struct ipoib_dev_priv *priv, in ipoib_ud_dma_unmap_rx()
103 struct ipoib_dev_priv *priv = ipoib_priv(dev); in ipoib_ib_post_receive() local
124 struct ipoib_dev_priv *priv = ipoib_priv(dev); in ipoib_alloc_rx_skb() local
156 struct ipoib_dev_priv *priv = ipoib_priv(dev); in ipoib_ib_post_receives() local
175 struct ipoib_dev_priv *priv = ipoib_priv(dev); in ipoib_ib_handle_rx_wc() local
317 void ipoib_dma_unmap_tx(struct ipoib_dev_priv *priv, in ipoib_dma_unmap_tx()
350 struct ipoib_dev_priv *priv = qp_work->priv; in ipoib_qp_state_validate_work() local
387 struct ipoib_dev_priv *priv = ipoib_priv(dev); in ipoib_ib_handle_tx_wc() local
434 static int poll_tx(struct ipoib_dev_priv *priv) in poll_tx()
[all …]
/openbmc/linux/drivers/net/wireless/marvell/libertas/
H A 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
202 static bool lbs_command_queue_empty(struct lbs_private *priv) in lbs_command_queue_empty()
212 int lbs_stop_iface(struct lbs_private *priv) in lbs_stop_iface()
246 struct lbs_private *priv = dev->ml_priv; in lbs_eth_stop() local
268 void lbs_host_to_card_done(struct lbs_private *priv) in lbs_host_to_card_done()
290 struct lbs_private *priv = dev->ml_priv; in lbs_set_mac_address() local
360 void lbs_update_mcast(struct lbs_private *priv) in lbs_update_mcast()
415 struct lbs_private *priv = container_of(work, struct lbs_private, mcast_work); in lbs_set_mcast_worker() local
[all …]
/openbmc/linux/drivers/net/wireless/intersil/p54/
H A Dp54spi.c46 static void p54spi_spi_read(struct p54s_priv *priv, u8 address, in p54spi_spi_read()
71 static void p54spi_spi_write(struct p54s_priv *priv, u8 address, in p54spi_spi_write()
104 static u32 p54spi_read32(struct p54s_priv *priv, u8 addr) in p54spi_read32()
113 static inline void p54spi_write16(struct p54s_priv *priv, u8 addr, __le16 val) in p54spi_write16()
118 static inline void p54spi_write32(struct p54s_priv *priv, u8 addr, __le32 val) in p54spi_write32()
123 static int p54spi_wait_bit(struct p54s_priv *priv, u16 reg, u32 bits) in p54spi_wait_bit()
135 static int p54spi_spi_write_dma(struct p54s_priv *priv, __le32 base, in p54spi_spi_write_dma()
155 struct p54s_priv *priv = dev->priv; in p54spi_request_firmware() local
177 struct p54s_priv *priv = dev->priv; in p54spi_request_eeprom() local
204 struct p54s_priv *priv = dev->priv; in p54spi_upload_firmware() local
[all …]
/openbmc/linux/drivers/net/dsa/
H A Dmt7530.c83 core_read_mmd_indirect(struct mt7530_priv *priv, int prtad, int devad) in core_read_mmd_indirect()
114 core_write_mmd_indirect(struct mt7530_priv *priv, int prtad, in core_write_mmd_indirect()
145 mt7530_mutex_lock(struct mt7530_priv *priv) in mt7530_mutex_lock()
152 mt7530_mutex_unlock(struct mt7530_priv *priv) in mt7530_mutex_unlock()
159 core_write(struct mt7530_priv *priv, u32 reg, u32 val) in core_write()
169 core_rmw(struct mt7530_priv *priv, u32 reg, u32 mask, u32 set) in core_rmw()
184 core_set(struct mt7530_priv *priv, u32 reg, u32 val) in core_set()
190 core_clear(struct mt7530_priv *priv, u32 reg, u32 val) in core_clear()
196 mt7530_mii_write(struct mt7530_priv *priv, u32 reg, u32 val) in mt7530_mii_write()
210 mt7530_mii_read(struct mt7530_priv *priv, u32 reg) in mt7530_mii_read()
[all …]

12345678910>>...128