Home
last modified time | relevance | path

Searched defs:adapter (Results 1 – 200 of 623) sorted by relevance

1234

/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_main.c96 static u32 qlcnic_vlan_tx_check(struct qlcnic_adapter *adapter) in qlcnic_vlan_tx_check()
301 int qlcnic_read_mac_addr(struct qlcnic_adapter *adapter) in qlcnic_read_mac_addr()
325 static void qlcnic_delete_adapter_mac(struct qlcnic_adapter *adapter) in qlcnic_delete_adapter_mac()
344 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_set_mac() local
380 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_fdb_del() local
405 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_fdb_add() local
438 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_fdb_dump() local
450 static void qlcnic_82xx_cancel_idc_work(struct qlcnic_adapter *adapter) in qlcnic_82xx_cancel_idc_work()
464 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_get_phys_port_id() local
480 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_add_vxlan_port() local
[all …]
Dqlcnic_83xx_hw.c265 int qlcnic_83xx_get_fw_version(struct qlcnic_adapter *adapter) in qlcnic_83xx_get_fw_version()
281 static int __qlcnic_set_win_base(struct qlcnic_adapter *adapter, u32 addr) in __qlcnic_set_win_base()
296 int qlcnic_83xx_rd_reg_indirect(struct qlcnic_adapter *adapter, ulong addr, in qlcnic_83xx_rd_reg_indirect()
311 int qlcnic_83xx_wrt_reg_indirect(struct qlcnic_adapter *adapter, ulong addr, in qlcnic_83xx_wrt_reg_indirect()
329 static void qlcnic_83xx_enable_legacy(struct qlcnic_adapter *adapter) in qlcnic_83xx_enable_legacy()
341 static int qlcnic_83xx_calculate_msix_vector(struct qlcnic_adapter *adapter) in qlcnic_83xx_calculate_msix_vector()
356 int qlcnic_83xx_setup_intr(struct qlcnic_adapter *adapter) in qlcnic_83xx_setup_intr()
412 static inline void qlcnic_83xx_clear_legacy_intr_mask(struct qlcnic_adapter *adapter) in qlcnic_83xx_clear_legacy_intr_mask()
417 static inline void qlcnic_83xx_set_legacy_intr_mask(struct qlcnic_adapter *adapter) in qlcnic_83xx_set_legacy_intr_mask()
423 static inline void qlcnic_83xx_enable_legacy_msix_mbx_intr(struct qlcnic_adapter in qlcnic_83xx_enable_legacy_msix_mbx_intr()
[all …]
Dqlcnic_sriov_pf.c32 static int qlcnic_sriov_pf_set_vport_info(struct qlcnic_adapter *adapter, in qlcnic_sriov_pf_set_vport_info()
67 static int qlcnic_sriov_pf_cal_res_limit(struct qlcnic_adapter *adapter, in qlcnic_sriov_pf_cal_res_limit()
136 static void qlcnic_sriov_pf_set_ff_max_res(struct qlcnic_adapter *adapter, in qlcnic_sriov_pf_set_ff_max_res()
155 static void qlcnic_sriov_set_vf_max_vlan(struct qlcnic_adapter *adapter, in qlcnic_sriov_set_vf_max_vlan()
174 static int qlcnic_sriov_get_pf_info(struct qlcnic_adapter *adapter, in qlcnic_sriov_get_pf_info()
232 static void qlcnic_sriov_pf_reset_vport_handle(struct qlcnic_adapter *adapter, in qlcnic_sriov_pf_reset_vport_handle()
250 static void qlcnic_sriov_pf_set_vport_handle(struct qlcnic_adapter *adapter, in qlcnic_sriov_pf_set_vport_handle()
268 static int qlcnic_sriov_pf_get_vport_handle(struct qlcnic_adapter *adapter, in qlcnic_sriov_pf_get_vport_handle()
288 static int qlcnic_sriov_pf_config_vport(struct qlcnic_adapter *adapter, in qlcnic_sriov_pf_config_vport()
329 static int qlcnic_sriov_pf_cfg_vlan_filtering(struct qlcnic_adapter *adapter, in qlcnic_sriov_pf_cfg_vlan_filtering()
[all …]
Dqlcnic_hw.c318 qlcnic_pcie_sem_lock(struct qlcnic_adapter *adapter, int sem, u32 id_reg) in qlcnic_pcie_sem_lock()
354 qlcnic_pcie_sem_unlock(struct qlcnic_adapter *adapter, int sem) in qlcnic_pcie_sem_unlock()
361 int qlcnic_ind_rd(struct qlcnic_adapter *adapter, u32 addr) in qlcnic_ind_rd()
376 int qlcnic_ind_wr(struct qlcnic_adapter *adapter, u32 addr, u32 data) in qlcnic_ind_wr()
389 qlcnic_send_cmd_descs(struct qlcnic_adapter *adapter, in qlcnic_send_cmd_descs()
444 int qlcnic_82xx_sre_macaddr_change(struct qlcnic_adapter *adapter, u8 *addr, in qlcnic_82xx_sre_macaddr_change()
468 int qlcnic_nic_del_mac(struct qlcnic_adapter *adapter, const u8 *addr) in qlcnic_nic_del_mac()
490 int qlcnic_nic_add_mac(struct qlcnic_adapter *adapter, const u8 *addr, u16 vlan, in qlcnic_nic_add_mac()
523 void qlcnic_flush_mcast_mac(struct qlcnic_adapter *adapter) in qlcnic_flush_mcast_mac()
542 struct qlcnic_adapter *adapter = netdev_priv(netdev); in __qlcnic_set_multi() local
[all …]
Dqlcnic_init.c83 void qlcnic_release_rx_buffers(struct qlcnic_adapter *adapter) in qlcnic_release_rx_buffers()
108 void qlcnic_reset_rx_buffers_list(struct qlcnic_adapter *adapter) in qlcnic_reset_rx_buffers_list()
130 void qlcnic_release_tx_buffers(struct qlcnic_adapter *adapter, in qlcnic_release_tx_buffers()
166 void qlcnic_free_sw_resources(struct qlcnic_adapter *adapter) in qlcnic_free_sw_resources()
185 int qlcnic_alloc_sw_resources(struct qlcnic_adapter *adapter) in qlcnic_alloc_sw_resources()
295 static int qlcnic_wait_rom_done(struct qlcnic_adapter *adapter) in qlcnic_wait_rom_done()
315 static int do_rom_fast_read(struct qlcnic_adapter *adapter, in do_rom_fast_read()
339 static int do_rom_fast_read_words(struct qlcnic_adapter *adapter, int addr, in do_rom_fast_read_words()
358 qlcnic_rom_fast_read_words(struct qlcnic_adapter *adapter, int addr, in qlcnic_rom_fast_read_words()
373 int qlcnic_rom_fast_read(struct qlcnic_adapter *adapter, u32 addr, u32 *valp) in qlcnic_rom_fast_read()
[all …]
Dqlcnic_ethtool.c176 static inline int qlcnic_82xx_statistics(struct qlcnic_adapter *adapter) in qlcnic_82xx_statistics()
183 static inline int qlcnic_83xx_statistics(struct qlcnic_adapter *adapter) in qlcnic_83xx_statistics()
192 static int qlcnic_dev_statistics_len(struct qlcnic_adapter *adapter) in qlcnic_dev_statistics_len()
241 static inline int qlcnic_get_ring_regs_len(struct qlcnic_adapter *adapter) in qlcnic_get_ring_regs_len()
251 struct qlcnic_adapter *adapter = netdev_priv(dev); in qlcnic_get_regs_len() local
272 struct qlcnic_adapter *adapter = netdev_priv(dev); in qlcnic_get_drvinfo() local
287 static int qlcnic_82xx_get_settings(struct qlcnic_adapter *adapter, in qlcnic_82xx_get_settings()
432 struct qlcnic_adapter *adapter = netdev_priv(dev); in qlcnic_get_settings() local
443 static int qlcnic_set_port_config(struct qlcnic_adapter *adapter, in qlcnic_set_port_config()
480 struct qlcnic_adapter *adapter = netdev_priv(dev); in qlcnic_set_settings() local
[all …]
Dqlcnic_83xx_vnic.c11 static int qlcnic_83xx_enable_vnic_mode(struct qlcnic_adapter *adapter, int lock) in qlcnic_83xx_enable_vnic_mode()
24 int qlcnic_83xx_disable_vnic_mode(struct qlcnic_adapter *adapter, int lock) in qlcnic_83xx_disable_vnic_mode()
42 int qlcnic_83xx_set_vnic_opmode(struct qlcnic_adapter *adapter) in qlcnic_83xx_set_vnic_opmode()
65 qlcnic_83xx_config_vnic_buff_descriptors(struct qlcnic_adapter *adapter) in qlcnic_83xx_config_vnic_buff_descriptors()
95 static int qlcnic_83xx_init_mgmt_vnic(struct qlcnic_adapter *adapter) in qlcnic_83xx_init_mgmt_vnic()
144 static int qlcnic_83xx_init_privileged_vnic(struct qlcnic_adapter *adapter) in qlcnic_83xx_init_privileged_vnic()
162 static int qlcnic_83xx_init_non_privileged_vnic(struct qlcnic_adapter *adapter) in qlcnic_83xx_init_non_privileged_vnic()
192 int qlcnic_83xx_config_vnic_opmode(struct qlcnic_adapter *adapter) in qlcnic_83xx_config_vnic_opmode()
242 int qlcnic_83xx_check_vnic_state(struct qlcnic_adapter *adapter) in qlcnic_83xx_check_vnic_state()
263 int qlcnic_83xx_set_port_eswitch_status(struct qlcnic_adapter *adapter, in qlcnic_83xx_set_port_eswitch_status()
Dqlcnic_83xx_init.c133 qlcnic_83xx_idc_check_driver_presence_reg(struct qlcnic_adapter *adapter) in qlcnic_83xx_idc_check_driver_presence_reg()
144 static void qlcnic_83xx_idc_log_state_history(struct qlcnic_adapter *adapter) in qlcnic_83xx_idc_log_state_history()
156 static int qlcnic_83xx_idc_update_audit_reg(struct qlcnic_adapter *adapter, in qlcnic_83xx_idc_update_audit_reg()
185 static void qlcnic_83xx_idc_update_minor_version(struct qlcnic_adapter *adapter) in qlcnic_83xx_idc_update_minor_version()
195 static int qlcnic_83xx_idc_update_major_version(struct qlcnic_adapter *adapter, in qlcnic_83xx_idc_update_major_version()
217 qlcnic_83xx_idc_update_drv_presence_reg(struct qlcnic_adapter *adapter, in qlcnic_83xx_idc_update_drv_presence_reg()
243 static int qlcnic_83xx_idc_check_major_version(struct qlcnic_adapter *adapter) in qlcnic_83xx_idc_check_major_version()
261 static int qlcnic_83xx_idc_clear_registers(struct qlcnic_adapter *adapter, in qlcnic_83xx_idc_clear_registers()
283 static int qlcnic_83xx_idc_update_drv_ack_reg(struct qlcnic_adapter *adapter, in qlcnic_83xx_idc_update_drv_ack_reg()
306 static int qlcnic_83xx_idc_check_timeout(struct qlcnic_adapter *adapter, in qlcnic_83xx_idc_check_timeout()
[all …]
Dqlcnic_sysfs.c29 int qlcnicvf_config_bridged_mode(struct qlcnic_adapter *adapter, u32 enable) in qlcnicvf_config_bridged_mode()
34 int qlcnicvf_config_led(struct qlcnic_adapter *adapter, u32 state, u32 rate) in qlcnicvf_config_led()
43 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_store_bridged_mode() local
67 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_show_bridged_mode() local
80 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_store_diag_mode() local
95 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_show_diag_mode() local
99 static int qlcnic_validate_beacon(struct qlcnic_adapter *adapter, u16 beacon, in qlcnic_validate_beacon()
120 static int qlcnic_83xx_store_beacon(struct qlcnic_adapter *adapter, in qlcnic_83xx_store_beacon()
160 static int qlcnic_82xx_store_beacon(struct qlcnic_adapter *adapter, in qlcnic_82xx_store_beacon()
222 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_store_beacon() local
[all …]
Dqlcnic_sriov_common.c119 static int qlcnic_sriov_virtid_fn(struct qlcnic_adapter *adapter, int vf_id) in qlcnic_sriov_virtid_fn()
135 int qlcnic_sriov_init(struct qlcnic_adapter *adapter, int num_vfs) in qlcnic_sriov_init()
251 void __qlcnic_sriov_cleanup(struct qlcnic_adapter *adapter) in __qlcnic_sriov_cleanup()
280 static void qlcnic_sriov_vf_cleanup(struct qlcnic_adapter *adapter) in qlcnic_sriov_vf_cleanup()
287 void qlcnic_sriov_cleanup(struct qlcnic_adapter *adapter) in qlcnic_sriov_cleanup()
301 static int qlcnic_sriov_post_bc_msg(struct qlcnic_adapter *adapter, u32 *hdr, in qlcnic_sriov_post_bc_msg()
338 static void qlcnic_sriov_vf_cfg_buff_desc(struct qlcnic_adapter *adapter) in qlcnic_sriov_vf_cfg_buff_desc()
348 int qlcnic_sriov_get_vf_vport_info(struct qlcnic_adapter *adapter, in qlcnic_sriov_get_vf_vport_info()
415 static int qlcnic_sriov_set_pvid_mode(struct qlcnic_adapter *adapter, in qlcnic_sriov_set_pvid_mode()
423 static int qlcnic_sriov_set_guest_vlan_mode(struct qlcnic_adapter *adapter, in qlcnic_sriov_set_guest_vlan_mode()
[all …]
Dqlcnic_ctx.c54 struct qlcnic_adapter *adapter, u32 type) in qlcnic_82xx_alloc_mbx_args()
95 qlcnic_poll_rsp(struct qlcnic_adapter *adapter) in qlcnic_poll_rsp()
113 int qlcnic_82xx_issue_cmd(struct qlcnic_adapter *adapter, in qlcnic_82xx_issue_cmd()
177 int qlcnic_fw_cmd_set_drv_version(struct qlcnic_adapter *adapter, u32 fw_cmd) in qlcnic_fw_cmd_set_drv_version()
212 qlcnic_fw_cmd_set_mtu(struct qlcnic_adapter *adapter, int mtu) in qlcnic_fw_cmd_set_mtu()
236 int qlcnic_82xx_fw_cmd_create_rx_ctx(struct qlcnic_adapter *adapter) in qlcnic_82xx_fw_cmd_create_rx_ctx()
395 void qlcnic_82xx_fw_cmd_del_rx_ctx(struct qlcnic_adapter *adapter) in qlcnic_82xx_fw_cmd_del_rx_ctx()
415 int qlcnic_82xx_fw_cmd_create_tx_ctx(struct qlcnic_adapter *adapter, in qlcnic_82xx_fw_cmd_create_tx_ctx()
526 void qlcnic_82xx_fw_cmd_del_tx_ctx(struct qlcnic_adapter *adapter, in qlcnic_82xx_fw_cmd_del_tx_ctx()
544 qlcnic_fw_cmd_set_port(struct qlcnic_adapter *adapter, u32 config) in qlcnic_fw_cmd_set_port()
[all …]
Dqlcnic_io.c143 static inline u32 qlcnic_get_ref_handle(struct qlcnic_adapter *adapter, in qlcnic_get_ref_handle()
157 static void qlcnic_delete_rx_list_mac(struct qlcnic_adapter *adapter, in qlcnic_delete_rx_list_mac()
192 static void qlcnic_add_lb_filter(struct qlcnic_adapter *adapter, in qlcnic_add_lb_filter()
271 void qlcnic_82xx_change_filter(struct qlcnic_adapter *adapter, u64 *uaddr, in qlcnic_82xx_change_filter()
303 static void qlcnic_send_filter(struct qlcnic_adapter *adapter, in qlcnic_send_filter()
371 static int qlcnic_tx_encap_pkt(struct qlcnic_adapter *adapter, in qlcnic_tx_encap_pkt()
459 static int qlcnic_tx_pkt(struct qlcnic_adapter *adapter, in qlcnic_tx_pkt()
650 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_xmit_frame() local
787 void qlcnic_advert_link_change(struct qlcnic_adapter *adapter, int linkup) in qlcnic_advert_link_change()
811 static int qlcnic_alloc_rx_skb(struct qlcnic_adapter *adapter, in qlcnic_alloc_rx_skb()
[all …]
Dqlcnic_dcb.c196 static u8 qlcnic_dcb_get_num_app(struct qlcnic_adapter *adapter, u32 val) in qlcnic_dcb_get_num_app()
204 static inline u8 qlcnic_dcb_pfc_hdr_valid(struct qlcnic_adapter *adapter, in qlcnic_dcb_pfc_hdr_valid()
213 static inline u8 qlcnic_dcb_tsa_hdr_valid(struct qlcnic_adapter *adapter, in qlcnic_dcb_tsa_hdr_valid()
222 static inline u8 qlcnic_dcb_get_prio_map_app(struct qlcnic_adapter *adapter, in qlcnic_dcb_get_prio_map_app()
248 static void qlcnic_set_dcb_ops(struct qlcnic_adapter *adapter) in qlcnic_set_dcb_ops()
256 int qlcnic_register_dcb(struct qlcnic_adapter *adapter) in qlcnic_register_dcb()
277 struct qlcnic_adapter *adapter; in __qlcnic_dcb_free() local
347 struct qlcnic_adapter *adapter = dcb->adapter; in __qlcnic_dcb_query_hw_capability() local
428 struct qlcnic_adapter *adapter = dcb->adapter; in qlcnic_82xx_dcb_query_cee_param() local
568 struct qlcnic_adapter *adapter = dcb->adapter; in qlcnic_83xx_dcb_query_cee_param() local
[all …]
Dqlcnic_sriov.h153 struct qlcnic_adapter *adapter; member
210 static inline bool qlcnic_sriov_enable_check(struct qlcnic_adapter *adapter) in qlcnic_sriov_enable_check()
242 static inline void qlcnic_sriov_pf_disable(struct qlcnic_adapter *adapter) {} in qlcnic_sriov_pf_disable()
243 static inline void qlcnic_sriov_pf_cleanup(struct qlcnic_adapter *adapter) {} in qlcnic_sriov_pf_cleanup()
245 qlcnic_pf_set_interface_id_create_rx_ctx(struct qlcnic_adapter *adapter, in qlcnic_pf_set_interface_id_create_rx_ctx()
248 qlcnic_pf_set_interface_id_create_tx_ctx(struct qlcnic_adapter *adapter, in qlcnic_pf_set_interface_id_create_tx_ctx()
251 qlcnic_pf_set_interface_id_del_rx_ctx(struct qlcnic_adapter *adapter, in qlcnic_pf_set_interface_id_del_rx_ctx()
254 qlcnic_pf_set_interface_id_del_tx_ctx(struct qlcnic_adapter *adapter, in qlcnic_pf_set_interface_id_del_tx_ctx()
257 qlcnic_pf_set_interface_id_ipaddr(struct qlcnic_adapter *adapter, u32 *int_id) in qlcnic_pf_set_interface_id_ipaddr()
260 qlcnic_pf_set_interface_id_macaddr(struct qlcnic_adapter *adapter, u32 *int_id) in qlcnic_pf_set_interface_id_macaddr()
[all …]
Dqlcnic.h597 struct qlcnic_adapter *adapter; member
631 struct qlcnic_adapter *adapter; member
1035 #define QLCNIC_IS_MSI_FAMILY(adapter) \ argument
1037 #define QLCNIC_IS_TSO_CAPABLE(adapter) \ argument
1094 struct qlcnic_adapter *adapter; member
1554 #define QLCRD32(adapter, off, err) \ argument
1557 #define QLCWR32(adapter, off, val) \ argument
1835 static inline bool qlcnic_encap_tx_offload(struct qlcnic_adapter *adapter) in qlcnic_encap_tx_offload()
1841 static inline bool qlcnic_encap_rx_offload(struct qlcnic_adapter *adapter) in qlcnic_encap_rx_offload()
1847 static inline int qlcnic_start_firmware(struct qlcnic_adapter *adapter) in qlcnic_start_firmware()
[all …]
Dqlcnic_minidump.c385 static u32 qlcnic_dump_crb(struct qlcnic_adapter *adapter, in qlcnic_dump_crb()
403 static u32 qlcnic_dump_ctrl(struct qlcnic_adapter *adapter, in qlcnic_dump_ctrl()
501 static u32 qlcnic_dump_mux(struct qlcnic_adapter *adapter, in qlcnic_dump_mux()
519 static u32 qlcnic_dump_que(struct qlcnic_adapter *adapter, in qlcnic_dump_que()
542 static u32 qlcnic_dump_ocm(struct qlcnic_adapter *adapter, in qlcnic_dump_ocm()
559 static u32 qlcnic_read_rom(struct qlcnic_adapter *adapter, in qlcnic_read_rom()
589 static u32 qlcnic_dump_l1_cache(struct qlcnic_adapter *adapter, in qlcnic_dump_l1_cache()
614 static u32 qlcnic_dump_l2_cache(struct qlcnic_adapter *adapter, in qlcnic_dump_l2_cache()
661 static u32 qlcnic_read_memory_test_agent(struct qlcnic_adapter *adapter, in qlcnic_read_memory_test_agent()
720 static int qlcnic_start_pex_dma(struct qlcnic_adapter *adapter, in qlcnic_start_pex_dma()
[all …]
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/
Di40evf_main.c74 struct i40evf_adapter *adapter = (struct i40evf_adapter *)hw->back; in i40evf_allocate_dma_mem_d() local
95 struct i40evf_adapter *adapter = (struct i40evf_adapter *)hw->back; in i40evf_free_dma_mem_d() local
170 struct i40evf_adapter *adapter = netdev_priv(netdev); in i40evf_tx_timeout() local
183 static void i40evf_misc_irq_disable(struct i40evf_adapter *adapter) in i40evf_misc_irq_disable()
199 static void i40evf_misc_irq_enable(struct i40evf_adapter *adapter) in i40evf_misc_irq_enable()
215 static void i40evf_irq_disable(struct i40evf_adapter *adapter) in i40evf_irq_disable()
236 void i40evf_irq_enable_queues(struct i40evf_adapter *adapter, u32 mask) in i40evf_irq_enable_queues()
256 static void i40evf_fire_sw_int(struct i40evf_adapter *adapter, u32 mask) in i40evf_fire_sw_int()
284 void i40evf_irq_enable(struct i40evf_adapter *adapter, bool flush) in i40evf_irq_enable()
303 struct i40evf_adapter *adapter = netdev_priv(netdev); in i40evf_msix_aq() local
[all …]
Di40evf_virtchnl.c43 static int i40evf_send_pf_msg(struct i40evf_adapter *adapter, in i40evf_send_pf_msg()
67 int i40evf_send_api_ver(struct i40evf_adapter *adapter) in i40evf_send_api_ver()
87 int i40evf_verify_api_ver(struct i40evf_adapter *adapter) in i40evf_verify_api_ver()
146 int i40evf_send_vf_config_msg(struct i40evf_adapter *adapter) in i40evf_send_vf_config_msg()
162 int i40evf_get_vf_config(struct i40evf_adapter *adapter) in i40evf_get_vf_config()
208 void i40evf_configure_queues(struct i40evf_adapter *adapter) in i40evf_configure_queues()
265 void i40evf_enable_queues(struct i40evf_adapter *adapter) in i40evf_enable_queues()
290 void i40evf_disable_queues(struct i40evf_adapter *adapter) in i40evf_disable_queues()
316 void i40evf_map_queues(struct i40evf_adapter *adapter) in i40evf_map_queues()
368 void i40evf_add_ether_addrs(struct i40evf_adapter *adapter) in i40evf_add_ether_addrs()
[all …]
Di40evf_ethtool.c115 struct i40evf_adapter *adapter = netdev_priv(netdev); in i40evf_get_ethtool_stats() local
143 struct i40evf_adapter *adapter = netdev_priv(netdev); in i40evf_get_strings() local
176 struct i40evf_adapter *adapter = netdev_priv(netdev); in i40evf_get_msglevel() local
191 struct i40evf_adapter *adapter = netdev_priv(netdev); in i40evf_set_msglevel() local
208 struct i40evf_adapter *adapter = netdev_priv(netdev); in i40evf_get_drvinfo() local
227 struct i40evf_adapter *adapter = netdev_priv(netdev); in i40evf_get_ringparam() local
246 struct i40evf_adapter *adapter = netdev_priv(netdev); in i40evf_set_ringparam() local
288 struct i40evf_adapter *adapter = netdev_priv(netdev); in i40evf_get_coalesce() local
316 struct i40evf_adapter *adapter = netdev_priv(netdev); in i40evf_set_coalesce() local
370 static int i40evf_get_rss_hash_opts(struct i40evf_adapter *adapter, in i40evf_get_rss_hash_opts()
[all …]
/linux-4.1.27/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c122 netxen_nic_update_cmd_producer(struct netxen_adapter *adapter, in netxen_nic_update_cmd_producer()
134 netxen_nic_update_cmd_consumer(struct netxen_adapter *adapter, in netxen_nic_update_cmd_consumer()
151 struct netxen_adapter *adapter = sds_ring->adapter; in netxen_nic_disable_int() local
158 struct netxen_adapter *adapter = sds_ring->adapter; in netxen_nic_enable_int() local
184 netxen_napi_add(struct netxen_adapter *adapter, struct net_device *netdev) in netxen_napi_add()
203 netxen_napi_del(struct netxen_adapter *adapter) in netxen_napi_del()
218 netxen_napi_enable(struct netxen_adapter *adapter) in netxen_napi_enable()
232 netxen_napi_disable(struct netxen_adapter *adapter) in netxen_napi_disable()
246 static int nx_set_dma_mask(struct netxen_adapter *adapter) in nx_set_dma_mask()
276 nx_update_dma_mask(struct netxen_adapter *adapter) in nx_update_dma_mask()
[all …]
Dnetxen_nic_hw.c62 #define PCI_OFFSET_FIRST_RANGE(adapter, off) \ argument
64 #define PCI_OFFSET_SECOND_RANGE(adapter, off) \ argument
66 #define PCI_OFFSET_THIRD_RANGE(adapter, off) \ argument
69 static void __iomem *pci_base_offset(struct netxen_adapter *adapter, in pci_base_offset()
322 netxen_pcie_sem_lock(struct netxen_adapter *adapter, int sem, u32 id_reg) in netxen_pcie_sem_lock()
342 netxen_pcie_sem_unlock(struct netxen_adapter *adapter, int sem) in netxen_pcie_sem_unlock()
347 static int netxen_niu_xg_init_port(struct netxen_adapter *adapter, int port) in netxen_niu_xg_init_port()
358 static int netxen_niu_disable_xg_port(struct netxen_adapter *adapter) in netxen_niu_disable_xg_port()
385 static int netxen_p2_nic_set_promisc(struct netxen_adapter *adapter, u32 mode) in netxen_p2_nic_set_promisc()
436 static int netxen_p2_nic_set_mac_addr(struct netxen_adapter *adapter, u8 *addr) in netxen_p2_nic_set_mac_addr()
[all …]
Dnetxen_nic_init.c107 void netxen_release_rx_buffers(struct netxen_adapter *adapter) in netxen_release_rx_buffers()
131 void netxen_release_tx_buffers(struct netxen_adapter *adapter) in netxen_release_tx_buffers()
165 void netxen_free_sw_resources(struct netxen_adapter *adapter) in netxen_free_sw_resources()
194 int netxen_alloc_sw_resources(struct netxen_adapter *adapter) in netxen_alloc_sw_resources()
342 static int netxen_wait_rom_done(struct netxen_adapter *adapter) in netxen_wait_rom_done()
362 static int do_rom_fast_read(struct netxen_adapter *adapter, in do_rom_fast_read()
382 static int do_rom_fast_read_words(struct netxen_adapter *adapter, int addr, in do_rom_fast_read_words()
401 netxen_rom_fast_read_words(struct netxen_adapter *adapter, int addr, in netxen_rom_fast_read_words()
416 int netxen_rom_fast_read(struct netxen_adapter *adapter, int addr, int *valp) in netxen_rom_fast_read()
432 int netxen_pinit_from_rom(struct netxen_adapter *adapter) in netxen_pinit_from_rom()
[all …]
Dnetxen_nic_ethtool.c79 struct netxen_adapter *adapter = netdev_priv(dev); in netxen_nic_get_drvinfo() local
103 struct netxen_adapter *adapter = netdev_priv(dev); in netxen_nic_get_settings() local
260 struct netxen_adapter *adapter = netdev_priv(dev); in netxen_nic_set_settings() local
296 struct netxen_adapter *adapter = netdev_priv(dev); in netxen_nic_get_regs() local
365 struct netxen_adapter *adapter = netdev_priv(dev); in netxen_nic_test_link() local
384 struct netxen_adapter *adapter = netdev_priv(dev); in netxen_nic_get_eeprom() local
407 struct netxen_adapter *adapter = netdev_priv(dev); in netxen_nic_get_ringparam() local
445 struct netxen_adapter *adapter = netdev_priv(dev); in netxen_nic_set_ringparam() local
485 struct netxen_adapter *adapter = netdev_priv(dev); in netxen_nic_get_pauseparam() local
532 struct netxen_adapter *adapter = netdev_priv(dev); in netxen_nic_set_pauseparam() local
[all …]
Dnetxen_nic_ctx.c30 netxen_poll_rsp(struct netxen_adapter *adapter) in netxen_poll_rsp()
49 netxen_issue_cmd(struct netxen_adapter *adapter, struct netxen_cmd_args *cmd) in netxen_issue_cmd()
100 netxen_get_minidump_template_size(struct netxen_adapter *adapter) in netxen_get_minidump_template_size()
118 netxen_get_minidump_template(struct netxen_adapter *adapter) in netxen_get_minidump_template()
158 netxen_check_template_checksum(struct netxen_adapter *adapter) in netxen_check_template_checksum()
173 netxen_setup_minidump(struct netxen_adapter *adapter) in netxen_setup_minidump()
237 nx_fw_cmd_set_mtu(struct netxen_adapter *adapter, int mtu) in nx_fw_cmd_set_mtu()
259 nx_fw_cmd_set_gbe_port(struct netxen_adapter *adapter, in nx_fw_cmd_set_gbe_port()
273 nx_fw_cmd_create_rx_ctx(struct netxen_adapter *adapter) in nx_fw_cmd_create_rx_ctx()
418 nx_fw_cmd_destroy_rx_ctx(struct netxen_adapter *adapter) in nx_fw_cmd_destroy_rx_ctx()
[all …]
/linux-4.1.27/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c96 static inline void atl1e_irq_enable(struct atl1e_adapter *adapter) in atl1e_irq_enable()
109 static inline void atl1e_irq_disable(struct atl1e_adapter *adapter) in atl1e_irq_disable()
121 static inline void atl1e_irq_reset(struct atl1e_adapter *adapter) in atl1e_irq_reset()
135 struct atl1e_adapter *adapter = (struct atl1e_adapter *) data; in atl1e_phy_config() local
144 void atl1e_reinit_locked(struct atl1e_adapter *adapter) in atl1e_reinit_locked()
157 struct atl1e_adapter *adapter; in atl1e_reset_task() local
163 static int atl1e_check_link(struct atl1e_adapter *adapter) in atl1e_check_link()
219 struct atl1e_adapter *adapter; in atl1e_link_chg_task() local
228 static void atl1e_link_chg_event(struct atl1e_adapter *adapter) in atl1e_link_chg_event()
251 static void atl1e_del_timer(struct atl1e_adapter *adapter) in atl1e_del_timer()
[all …]
Datl1e_ethtool.c32 struct atl1e_adapter *adapter = netdev_priv(netdev); in atl1e_get_settings() local
71 struct atl1e_adapter *adapter = netdev_priv(netdev); in atl1e_set_settings() local
152 struct atl1e_adapter *adapter = netdev_priv(netdev); in atl1e_get_regs() local
200 struct atl1e_adapter *adapter = netdev_priv(netdev); in atl1e_get_eeprom_len() local
211 struct atl1e_adapter *adapter = netdev_priv(netdev); in atl1e_get_eeprom() local
251 struct atl1e_adapter *adapter = netdev_priv(netdev); in atl1e_set_eeprom() local
311 struct atl1e_adapter *adapter = netdev_priv(netdev); in atl1e_get_drvinfo() local
328 struct atl1e_adapter *adapter = netdev_priv(netdev); in atl1e_get_wol() local
347 struct atl1e_adapter *adapter = netdev_priv(netdev); in atl1e_set_wol() local
367 struct atl1e_adapter *adapter = netdev_priv(netdev); in atl1e_nway_reset() local
Datl1e_hw.c389 struct atl1e_adapter *adapter = hw->adapter; in atl1e_phy_commit() local
422 struct atl1e_adapter *adapter = hw->adapter; in atl1e_phy_init() local
517 struct atl1e_adapter *adapter = hw->adapter; in atl1e_reset_hw() local
/linux-4.1.27/drivers/staging/slicoss/
Dslic.h314 struct adapter *adapter[SLIC_MAX_PORTS]; member
338 struct adapter *adapter[SLIC_MAX_PORTS]; member
366 uint adapter; member
394 struct adapter { struct
404 struct slic_spinlock adapter_lock; argument
405 struct slic_spinlock reset_lock;
406 struct pci_dev *pcidev;
407 uint busnumber;
408 uint slotnumber;
409 uint functionnumber;
[all …]
Dslicoss.c143 static inline void slic_reg64_write(struct adapter *adapter, void __iomem *reg, in slic_reg64_write()
160 static void slic_mcast_set_bit(struct adapter *adapter, char *address) in slic_mcast_set_bit()
178 static void slic_mcast_set_mask(struct adapter *adapter) in slic_mcast_set_mask()
204 struct adapter *adapter; in slic_timer_ping() local
214 static void slic_unmap_mmio_space(struct adapter *adapter) in slic_unmap_mmio_space()
227 static void slic_link_config(struct adapter *adapter, in slic_link_config()
371 static int slic_card_download_gbrcv(struct adapter *adapter) in slic_card_download_gbrcv()
444 static int slic_card_download(struct adapter *adapter) in slic_card_download()
558 static void slic_adapter_set_hwaddr(struct adapter *adapter) in slic_adapter_set_hwaddr()
575 static void slic_intagg_set(struct adapter *adapter, u32 value) in slic_intagg_set()
[all …]
/linux-4.1.27/drivers/net/ethernet/intel/igbvf/
Dnetdev.c105 static void igbvf_receive_skb(struct igbvf_adapter *adapter, in igbvf_receive_skb()
125 static inline void igbvf_rx_checksum_adv(struct igbvf_adapter *adapter, in igbvf_rx_checksum_adv()
158 struct igbvf_adapter *adapter = rx_ring->adapter; in igbvf_alloc_rx_buffers() local
264 static bool igbvf_clean_rx_irq(struct igbvf_adapter *adapter, in igbvf_clean_rx_irq()
406 static void igbvf_put_txbuf(struct igbvf_adapter *adapter, in igbvf_put_txbuf()
435 int igbvf_setup_tx_resources(struct igbvf_adapter *adapter, in igbvf_setup_tx_resources()
473 int igbvf_setup_rx_resources(struct igbvf_adapter *adapter, in igbvf_setup_rx_resources()
516 struct igbvf_adapter *adapter = tx_ring->adapter; in igbvf_clean_tx_ring() local
570 struct igbvf_adapter *adapter = rx_ring->adapter; in igbvf_clean_rx_ring() local
661 static enum latency_range igbvf_update_itr(struct igbvf_adapter *adapter, in igbvf_update_itr()
[all …]
Dethtool.c77 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_get_settings() local
130 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_get_msglevel() local
137 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_set_msglevel() local
151 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_get_regs() local
192 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_get_drvinfo() local
206 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_get_ringparam() local
219 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_set_ringparam() local
295 static int igbvf_link_test(struct igbvf_adapter *adapter, u64 *data) in igbvf_link_test()
311 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_diag_test() local
341 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_get_coalesce() local
[all …]
/linux-4.1.27/drivers/net/ethernet/emulex/benet/
Dbe_main.c128 static void be_queue_free(struct be_adapter *adapter, struct be_queue_info *q) in be_queue_free()
139 static int be_queue_alloc(struct be_adapter *adapter, struct be_queue_info *q, in be_queue_alloc()
155 static void be_reg_intr_set(struct be_adapter *adapter, bool enable) in be_reg_intr_set()
174 static void be_intr_set(struct be_adapter *adapter, bool enable) in be_intr_set()
190 static void be_rxq_notify(struct be_adapter *adapter, u16 qid, u16 posted) in be_rxq_notify()
201 static void be_txq_notify(struct be_adapter *adapter, struct be_tx_obj *txo, in be_txq_notify()
213 static void be_eq_notify(struct be_adapter *adapter, u16 qid, in be_eq_notify()
233 void be_cq_notify(struct be_adapter *adapter, u16 qid, bool arm, u16 num_popped) in be_cq_notify()
252 struct be_adapter *adapter = netdev_priv(netdev); in be_mac_addr_set() local
312 static void *hw_stats_from_cmd(struct be_adapter *adapter) in hw_stats_from_cmd()
[all …]
Dbe_ethtool.c223 struct be_adapter *adapter = netdev_priv(netdev); in be_get_drvinfo() local
241 static u32 lancer_cmd_get_file_len(struct be_adapter *adapter, u8 *file_name) in lancer_cmd_get_file_len()
257 static int lancer_cmd_read_file(struct be_adapter *adapter, u8 *file_name, in lancer_cmd_read_file()
300 struct be_adapter *adapter = netdev_priv(netdev); in be_get_reg_len() local
319 struct be_adapter *adapter = netdev_priv(netdev); in be_get_regs() local
334 struct be_adapter *adapter = netdev_priv(netdev); in be_get_coalesce() local
357 struct be_adapter *adapter = netdev_priv(netdev); in be_set_coalesce() local
377 struct be_adapter *adapter = netdev_priv(netdev); in be_get_ethtool_stats() local
429 struct be_adapter *adapter = netdev_priv(netdev); in be_get_stat_strings() local
464 struct be_adapter *adapter = netdev_priv(netdev); in be_get_sset_count() local
[all …]
Dbe_roce.c30 static void _be_roce_dev_add(struct be_adapter *adapter) in _be_roce_dev_add()
86 void be_roce_dev_add(struct be_adapter *adapter) in be_roce_dev_add()
102 static void _be_roce_dev_remove(struct be_adapter *adapter) in _be_roce_dev_remove()
109 void be_roce_dev_remove(struct be_adapter *adapter) in be_roce_dev_remove()
119 static void _be_roce_dev_open(struct be_adapter *adapter) in _be_roce_dev_open()
127 void be_roce_dev_open(struct be_adapter *adapter) in be_roce_dev_open()
136 static void _be_roce_dev_close(struct be_adapter *adapter) in _be_roce_dev_close()
144 void be_roce_dev_close(struct be_adapter *adapter) in be_roce_dev_close()
153 void be_roce_dev_shutdown(struct be_adapter *adapter) in be_roce_dev_shutdown()
Dbe_cmds.c71 static bool be_cmd_allowed(struct be_adapter *adapter, u8 opcode, u8 subsystem) in be_cmd_allowed()
91 static void be_mcc_notify(struct be_adapter *adapter) in be_mcc_notify()
154 static void be_async_cmd_process(struct be_adapter *adapter, in be_async_cmd_process()
203 static int be_mcc_compl_process(struct be_adapter *adapter, in be_mcc_compl_process()
242 static void be_async_link_state_process(struct be_adapter *adapter, in be_async_link_state_process()
268 static void be_async_port_misconfig_event_process(struct be_adapter *adapter, in be_async_port_misconfig_event_process()
292 static void be_async_grp5_cos_priority_process(struct be_adapter *adapter, in be_async_grp5_cos_priority_process()
307 static void be_async_grp5_qos_speed_process(struct be_adapter *adapter, in be_async_grp5_qos_speed_process()
319 static void be_async_grp5_pvid_state_process(struct be_adapter *adapter, in be_async_grp5_pvid_state_process()
333 static void be_async_grp5_evt_process(struct be_adapter *adapter, in be_async_grp5_evt_process()
[all …]
Dbe.h187 struct be_adapter *adapter; member
306 struct be_adapter *adapter; member
579 #define be_physfn(adapter) (!adapter->virtfn) argument
580 #define be_virtfn(adapter) (adapter->virtfn) argument
581 #define sriov_enabled(adapter) (adapter->flags & \ argument
584 #define for_all_vfs(adapter, vf_cfg, i) \ argument
591 #define be_max_vlans(adapter) (adapter->res.max_vlans) argument
592 #define be_max_uc(adapter) (adapter->res.max_uc_mac) argument
593 #define be_max_mc(adapter) (adapter->res.max_mcast_mac) argument
594 #define be_max_vfs(adapter) (adapter->pool_res.max_vfs) argument
[all …]
/linux-4.1.27/drivers/staging/rtl8188eu/include/
Ddrv_types.h177 struct adapter { struct
178 int pid[3];/* process id from UI, 0:wps, 1:hostapd, 2:dhcpcd */
179 u16 chip_type;
181 struct dvobj_priv *dvobj;
182 struct mlme_priv mlmepriv;
183 struct mlme_ext_priv mlmeextpriv;
184 struct cmd_priv cmdpriv;
185 struct xmit_priv xmitpriv;
186 struct recv_priv recvpriv;
210 void (*intf_start)(struct adapter *adapter); argument
[all …]
/linux-4.1.27/drivers/scsi/
Dvmw_pvscsi.c154 pvscsi_dev(const struct pvscsi_adapter *adapter) in pvscsi_dev()
160 pvscsi_find_context(const struct pvscsi_adapter *adapter, struct scsi_cmnd *cmd) in pvscsi_find_context()
173 pvscsi_acquire_context(struct pvscsi_adapter *adapter, struct scsi_cmnd *cmd) in pvscsi_acquire_context()
187 static void pvscsi_release_context(struct pvscsi_adapter *adapter, in pvscsi_release_context()
200 static u64 pvscsi_map_context(const struct pvscsi_adapter *adapter, in pvscsi_map_context()
207 pvscsi_get_context(const struct pvscsi_adapter *adapter, u64 context) in pvscsi_get_context()
212 static void pvscsi_reg_write(const struct pvscsi_adapter *adapter, in pvscsi_reg_write()
218 static u32 pvscsi_reg_read(const struct pvscsi_adapter *adapter, u32 offset) in pvscsi_reg_read()
223 static u32 pvscsi_read_intr_status(const struct pvscsi_adapter *adapter) in pvscsi_read_intr_status()
228 static void pvscsi_write_intr_status(const struct pvscsi_adapter *adapter, in pvscsi_write_intr_status()
[all …]
Dmegaraid.c80 #define RDINDOOR(adapter) readl((adapter)->mmio_base + 0x20) argument
81 #define RDOUTDOOR(adapter) readl((adapter)->mmio_base + 0x2C) argument
82 #define WRINDOOR(adapter,value) writel(value, (adapter)->mmio_base + 0x20) argument
83 #define WROUTDOOR(adapter,value) writel(value, (adapter)->mmio_base + 0x2C) argument
137 mega_setup_mailbox(adapter_t *adapter) in mega_setup_mailbox()
194 mega_query_adapter(adapter_t *adapter) in mega_query_adapter()
358 mega_runpendq(adapter_t *adapter) in mega_runpendq()
374 adapter_t *adapter; in megaraid_queue_lck() local
458 mega_get_ldrv_num(adapter_t *adapter, Scsi_Cmnd *cmd, int channel) in mega_get_ldrv_num()
521 mega_build_cmd(adapter_t *adapter, Scsi_Cmnd *cmd, int *busy) in mega_build_cmd()
[all …]
DBusLogic.c141 static void blogic_announce_drvr(struct blogic_adapter *adapter) in blogic_announce_drvr()
155 struct blogic_adapter *adapter = in blogic_drvr_info() local
166 static void blogic_init_ccbs(struct blogic_adapter *adapter, void *blk_pointer, in blogic_init_ccbs()
197 static bool __init blogic_create_initccbs(struct blogic_adapter *adapter) in blogic_create_initccbs()
221 static void blogic_destroy_ccbs(struct blogic_adapter *adapter) in blogic_destroy_ccbs()
249 static void blogic_create_addlccbs(struct blogic_adapter *adapter, in blogic_create_addlccbs()
283 static struct blogic_ccb *blogic_alloc_ccb(struct blogic_adapter *adapter) in blogic_alloc_ccb()
316 struct blogic_adapter *adapter = ccb->adapter; in blogic_dealloc_ccb() local
349 static int blogic_cmd(struct blogic_adapter *adapter, enum blogic_opcode opcode, in blogic_cmd()
594 static void __init blogic_init_probeinfo_isa(struct blogic_adapter *adapter) in blogic_init_probeinfo_isa()
[all …]
Dwd7000.c244 typedef struct adapter { struct
246 int iobase; /* This adapter's I/O base address */ argument
247 int irq; /* This adapter's IRQ level */ argument
248 int dma; /* This adapter's DMA channel */ argument
249 int int_counter; /* This adapter's interrupt counter */ argument
250 int bus_on; /* This adapter's BUS_ON time */ argument
251 int bus_off; /* This adapter's BUS_OFF time */ argument
252 struct { /* This adapter's mailboxes */ argument
255 } mb;
256 int next_ogmb; /* to reduce contention at mailboxes */
[all …]
/linux-4.1.27/drivers/net/wireless/mwifiex/
Dpcie.c52 mwifiex_map_pci_memory(struct mwifiex_adapter *adapter, struct sk_buff *skb, in mwifiex_map_pci_memory()
68 static void mwifiex_unmap_pci_memory(struct mwifiex_adapter *adapter, in mwifiex_unmap_pci_memory()
81 static bool mwifiex_pcie_ok_to_access_hw(struct mwifiex_adapter *adapter) in mwifiex_pcie_ok_to_access_hw()
112 struct mwifiex_adapter *adapter; in mwifiex_pcie_suspend() local
149 struct mwifiex_adapter *adapter; in mwifiex_pcie_resume() local
226 struct mwifiex_adapter *adapter; in mwifiex_pcie_remove() local
302 static int mwifiex_write_reg(struct mwifiex_adapter *adapter, int reg, u32 data) in mwifiex_write_reg()
314 static int mwifiex_read_reg(struct mwifiex_adapter *adapter, int reg, u32 *data) in mwifiex_read_reg()
324 static int mwifiex_read_reg_byte(struct mwifiex_adapter *adapter, in mwifiex_read_reg_byte()
337 static void mwifiex_pcie_dev_wakeup_delay(struct mwifiex_adapter *adapter) in mwifiex_pcie_dev_wakeup_delay()
[all …]
Dusb.c60 static int mwifiex_usb_recv(struct mwifiex_adapter *adapter, in mwifiex_usb_recv()
160 struct mwifiex_adapter *adapter = context->adapter; in mwifiex_usb_rx_complete() local
249 struct mwifiex_adapter *adapter = context->adapter; in mwifiex_usb_tx_complete() local
272 struct mwifiex_adapter *adapter = ctx->adapter; in mwifiex_usb_submit_rx_urb() local
461 struct mwifiex_adapter *adapter; in mwifiex_usb_suspend() local
512 struct mwifiex_adapter *adapter; in mwifiex_usb_resume() local
555 struct mwifiex_adapter *adapter; in mwifiex_usb_disconnect() local
601 static int mwifiex_usb_tx_init(struct mwifiex_adapter *adapter) in mwifiex_usb_tx_init()
632 static int mwifiex_usb_rx_init(struct mwifiex_adapter *adapter) in mwifiex_usb_rx_init()
673 static int mwifiex_write_data_sync(struct mwifiex_adapter *adapter, u8 *pbuf, in mwifiex_write_data_sync()
[all …]
Dinit.c36 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_add_bss_prio_tbl() local
57 struct mwifiex_adapter *adapter = (struct mwifiex_adapter *)data; in wakeup_timer_fn() local
168 static int mwifiex_allocate_adapter(struct mwifiex_adapter *adapter) in mwifiex_allocate_adapter()
201 static void mwifiex_init_adapter(struct mwifiex_adapter *adapter) in mwifiex_init_adapter()
324 struct mwifiex_adapter *adapter) in mwifiex_wake_up_net_dev_queue()
345 struct mwifiex_adapter *adapter) in mwifiex_stop_net_dev_queue()
366 static void mwifiex_free_lock_list(struct mwifiex_adapter *adapter) in mwifiex_free_lock_list()
402 mwifiex_adapter_cleanup(struct mwifiex_adapter *adapter) in mwifiex_adapter_cleanup()
447 int mwifiex_init_lock_list(struct mwifiex_adapter *adapter) in mwifiex_init_lock_list()
521 int mwifiex_init_fw(struct mwifiex_adapter *adapter) in mwifiex_init_fw()
[all …]
Dcmdevt.c58 mwifiex_get_cmd_node(struct mwifiex_adapter *adapter) in mwifiex_get_cmd_node()
89 mwifiex_clean_cmd_node(struct mwifiex_adapter *adapter, in mwifiex_clean_cmd_node()
135 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_dnld_cmd_to_fw() local
265 static int mwifiex_dnld_sleep_confirm_cmd(struct mwifiex_adapter *adapter) in mwifiex_dnld_sleep_confirm_cmd()
348 int mwifiex_alloc_cmd_buffer(struct mwifiex_adapter *adapter) in mwifiex_alloc_cmd_buffer()
382 int mwifiex_free_cmd_buffer(struct mwifiex_adapter *adapter) in mwifiex_free_cmd_buffer()
430 int mwifiex_process_event(struct mwifiex_adapter *adapter) in mwifiex_process_event()
491 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_send_cmd() local
601 mwifiex_insert_cmd_to_free_q(struct mwifiex_adapter *adapter, in mwifiex_insert_cmd_to_free_q()
621 void mwifiex_recycle_cmd_node(struct mwifiex_adapter *adapter, in mwifiex_recycle_cmd_node()
[all …]
Dsdio.c151 struct mwifiex_adapter *adapter; in mwifiex_sdio_resume() local
191 struct mwifiex_adapter *adapter; in mwifiex_sdio_remove() local
232 struct mwifiex_adapter *adapter; in mwifiex_sdio_suspend() local
337 mwifiex_write_reg(struct mwifiex_adapter *adapter, u32 reg, u8 data) in mwifiex_write_reg()
353 mwifiex_read_reg(struct mwifiex_adapter *adapter, u32 reg, u8 *data) in mwifiex_read_reg()
374 mwifiex_write_data_sync(struct mwifiex_adapter *adapter, in mwifiex_write_data_sync()
406 static int mwifiex_read_data_sync(struct mwifiex_adapter *adapter, u8 *buffer, in mwifiex_read_data_sync()
435 static int mwifiex_pm_wakeup_card(struct mwifiex_adapter *adapter) in mwifiex_pm_wakeup_card()
447 static int mwifiex_pm_wakeup_card_complete(struct mwifiex_adapter *adapter) in mwifiex_pm_wakeup_card_complete()
458 static int mwifiex_init_sdio_new_mode(struct mwifiex_adapter *adapter) in mwifiex_init_sdio_new_mode()
[all …]
Dmain.c54 struct mwifiex_adapter *adapter; in mwifiex_register() local
112 static int mwifiex_unregister(struct mwifiex_adapter *adapter) in mwifiex_unregister()
134 void mwifiex_queue_main_work(struct mwifiex_adapter *adapter) in mwifiex_queue_main_work()
149 static void mwifiex_queue_rx_work(struct mwifiex_adapter *adapter) in mwifiex_queue_rx_work()
162 static int mwifiex_process_rx(struct mwifiex_adapter *adapter) in mwifiex_process_rx()
220 int mwifiex_main_process(struct mwifiex_adapter *adapter) in mwifiex_main_process()
411 static void mwifiex_free_adapter(struct mwifiex_adapter *adapter) in mwifiex_free_adapter()
426 static void mwifiex_terminate_workqueue(struct mwifiex_adapter *adapter) in mwifiex_terminate_workqueue()
451 struct mwifiex_adapter *adapter = context; in mwifiex_fw_dpc() local
597 static int mwifiex_init_hw_fw(struct mwifiex_adapter *adapter) in mwifiex_init_hw_fw()
[all …]
Dtxrx.c36 int mwifiex_handle_rx_packet(struct mwifiex_adapter *adapter, in mwifiex_handle_rx_packet()
84 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_process_tx() local
151 static int mwifiex_host_to_card(struct mwifiex_adapter *adapter, in mwifiex_host_to_card()
229 mwifiex_dequeue_tx_queue(struct mwifiex_adapter *adapter) in mwifiex_dequeue_tx_queue()
258 mwifiex_process_tx_queue(struct mwifiex_adapter *adapter) in mwifiex_process_tx_queue()
275 int mwifiex_write_data_complete(struct mwifiex_adapter *adapter, in mwifiex_write_data_complete()
Duap_txrx.c40 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_uap_del_tx_pkts_in_ralist() local
93 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_uap_queue_bridged_pkt() local
217 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_handle_uap_rx_forward() local
263 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_process_uap_rx_packet() local
348 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_process_uap_txpd() local
Dsta_event.c46 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_reset_connect_state() local
149 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_parse_tdls_event() local
235 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_process_sta_event() local
Dsta_tx.c47 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_process_sta_txpd() local
136 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_send_null_packet() local
220 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_check_last_packet_indication() local
Dwmm.c95 mwifiex_wmm_allocate_ralist_node(struct mwifiex_adapter *adapter, const u8 *ra) in mwifiex_wmm_allocate_ralist_node()
146 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_ralist_add() local
361 mwifiex_wmm_convert_tos_to_ac(struct mwifiex_adapter *adapter, u32 tos) in mwifiex_wmm_convert_tos_to_ac()
407 mwifiex_wmm_init(struct mwifiex_adapter *adapter) in mwifiex_wmm_init()
443 mwifiex_wmm_lists_empty(struct mwifiex_adapter *adapter) in mwifiex_wmm_lists_empty()
468 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_wmm_del_pkts_in_ralist_node() local
673 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_wmm_add_buf_txqueue() local
940 mwifiex_wmm_get_highest_priolist_ptr(struct mwifiex_adapter *adapter, in mwifiex_wmm_get_highest_priolist_ptr()
1016 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_rotate_priolists() local
1079 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_send_single_packet() local
[all …]
Dcfg80211.c316 struct mwifiex_adapter *adapter = mwifiex_cfg80211_get_adapter(wiphy); in mwifiex_cfg80211_set_tx_power() local
434 struct mwifiex_adapter *adapter = mwifiex_cfg80211_get_adapter(wiphy); in mwifiex_send_domain_info_cmd_fw() local
516 struct mwifiex_adapter *adapter = mwifiex_cfg80211_get_adapter(wiphy); in mwifiex_reg_notifier() local
590 struct mwifiex_adapter *adapter = mwifiex_cfg80211_get_adapter(wiphy); in mwifiex_cfg80211_set_wiphy_params() local
720 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_deinit_priv_params() local
765 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_init_new_priv_params() local
816 struct mwifiex_adapter *adapter; in mwifiex_change_vif_to_p2p() local
887 struct mwifiex_adapter *adapter; in mwifiex_change_vif_to_sta_adhoc() local
946 struct mwifiex_adapter *adapter; in mwifiex_change_vif_to_ap() local
1127 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_parse_htinfo() local
[all …]
Dscan.c375 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_is_network_compatible() local
494 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_scan_create_channel_list() local
591 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_scan_channel_list() local
800 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_config_scan() local
1083 mwifiex_ret_802_11_scan_get_tlv_ptrs(struct mwifiex_adapter *adapter, in mwifiex_ret_802_11_scan_get_tlv_ptrs()
1147 int mwifiex_update_bss_desc_with_ie(struct mwifiex_adapter *adapter, in mwifiex_update_bss_desc_with_ie()
1411 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_scan_networks() local
1612 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_parse_single_response_buf() local
1762 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_complete_scan() local
1776 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_check_next_scan_command() local
[all …]
Dethtool.c71 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_get_dump_flag() local
97 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_get_dump_data() local
132 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_set_dump() local
D11ac.c61 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_convert_mcsmap_to_maxrate() local
101 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_fill_vht_cap_info() local
114 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_fill_vht_cap_tlv() local
177 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_cmd_append_11ac_tlv() local
Dsta_ioctl.c57 int mwifiex_wait_queue_complete(struct mwifiex_adapter *adapter, in mwifiex_wait_queue_complete()
263 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_bss_start() local
389 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_set_hs_params() local
482 int mwifiex_enable_hs(struct mwifiex_adapter *adapter) in mwifiex_enable_hs()
537 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_get_bss_info() local
713 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_drv_set_power() local
863 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_sec_ioctl_set_wep_key() local
1029 mwifiex_drv_get_driver_version(struct mwifiex_adapter *adapter, char *version, in mwifiex_drv_get_driver_version()
1348 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_misc_ioctl_gen_ie() local
Dutil.c124 int mwifiex_init_fw_complete(struct mwifiex_adapter *adapter) in mwifiex_init_fw_complete()
139 int mwifiex_shutdown_fw_complete(struct mwifiex_adapter *adapter) in mwifiex_shutdown_fw_complete()
178 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_get_debug_info() local
464 int mwifiex_complete_cmd(struct mwifiex_adapter *adapter, in mwifiex_complete_cmd()
Dsta_cmdresp.c48 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_process_cmdresp_error() local
393 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_ret_tx_power_cfg() local
473 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_ret_rf_antenna() local
553 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_ret_802_11_deauthenticate() local
954 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_ret_sdio_rx_aggr_cfg() local
974 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_process_sta_cmdresp() local
Djoin.c619 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_ret_802_11_associate() local
781 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_cmd_802_11_ad_hoc_start() local
1201 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_ret_802_11_ad_hoc() local
1440 void mwifiex_deauthenticate_all(struct mwifiex_adapter *adapter) in mwifiex_deauthenticate_all()
/linux-4.1.27/drivers/net/ethernet/intel/ixgb/
Dixgb_main.c183 ixgb_irq_disable(struct ixgb_adapter *adapter) in ixgb_irq_disable()
196 ixgb_irq_enable(struct ixgb_adapter *adapter) in ixgb_irq_enable()
207 ixgb_up(struct ixgb_adapter *adapter) in ixgb_up()
281 ixgb_down(struct ixgb_adapter *adapter, bool kill_watchdog) in ixgb_down()
311 ixgb_reset(struct ixgb_adapter *adapter) in ixgb_reset()
347 struct ixgb_adapter *adapter = netdev_priv(netdev); in ixgb_set_features() local
401 struct ixgb_adapter *adapter; in ixgb_probe() local
561 struct ixgb_adapter *adapter = netdev_priv(netdev); in ixgb_remove() local
584 ixgb_sw_init(struct ixgb_adapter *adapter) in ixgb_sw_init()
633 struct ixgb_adapter *adapter = netdev_priv(netdev); in ixgb_open() local
[all …]
Dixgb_ethtool.c99 struct ixgb_adapter *adapter = netdev_priv(netdev); in ixgb_get_settings() local
120 struct ixgb_adapter *adapter = netdev_priv(netdev); in ixgb_set_speed_duplex() local
131 struct ixgb_adapter *adapter = netdev_priv(netdev); in ixgb_set_settings() local
153 struct ixgb_adapter *adapter = netdev_priv(netdev); in ixgb_get_pauseparam() local
172 struct ixgb_adapter *adapter = netdev_priv(netdev); in ixgb_set_pauseparam() local
200 struct ixgb_adapter *adapter = netdev_priv(netdev); in ixgb_get_msglevel() local
207 struct ixgb_adapter *adapter = netdev_priv(netdev); in ixgb_set_msglevel() local
223 struct ixgb_adapter *adapter = netdev_priv(netdev); in ixgb_get_regs() local
370 struct ixgb_adapter *adapter = netdev_priv(netdev); in ixgb_get_eeprom() local
416 struct ixgb_adapter *adapter = netdev_priv(netdev); in ixgb_set_eeprom() local
[all …]
/linux-4.1.27/drivers/net/vmxnet3/
Dvmxnet3_drv.c55 vmxnet3_enable_intr(struct vmxnet3_adapter *adapter, unsigned intr_idx) in vmxnet3_enable_intr()
62 vmxnet3_disable_intr(struct vmxnet3_adapter *adapter, unsigned intr_idx) in vmxnet3_disable_intr()
72 vmxnet3_enable_all_intrs(struct vmxnet3_adapter *adapter) in vmxnet3_enable_all_intrs()
84 vmxnet3_disable_all_intrs(struct vmxnet3_adapter *adapter) in vmxnet3_disable_all_intrs()
96 vmxnet3_ack_events(struct vmxnet3_adapter *adapter, u32 events) in vmxnet3_ack_events()
103 vmxnet3_tq_stopped(struct vmxnet3_tx_queue *tq, struct vmxnet3_adapter *adapter) in vmxnet3_tq_stopped()
110 vmxnet3_tq_start(struct vmxnet3_tx_queue *tq, struct vmxnet3_adapter *adapter) in vmxnet3_tq_start()
118 vmxnet3_tq_wake(struct vmxnet3_tx_queue *tq, struct vmxnet3_adapter *adapter) in vmxnet3_tq_wake()
126 vmxnet3_tq_stop(struct vmxnet3_tx_queue *tq, struct vmxnet3_adapter *adapter) in vmxnet3_tq_stop()
138 vmxnet3_check_link(struct vmxnet3_adapter *adapter, bool affectTxQueue) in vmxnet3_check_link()
[all …]
Dvmxnet3_ethtool.c120 struct vmxnet3_adapter *adapter; in vmxnet3_get_stats64() local
170 struct vmxnet3_adapter *adapter = netdev_priv(netdev); in vmxnet3_get_sset_count() local
193 struct vmxnet3_adapter *adapter = netdev_priv(netdev); in vmxnet3_get_regs_len() local
202 struct vmxnet3_adapter *adapter = netdev_priv(netdev); in vmxnet3_get_drvinfo() local
221 struct vmxnet3_adapter *adapter = netdev_priv(netdev); in vmxnet3_get_strings() local
262 struct vmxnet3_adapter *adapter = netdev_priv(netdev); in vmxnet3_set_features() local
302 struct vmxnet3_adapter *adapter = netdev_priv(netdev); in vmxnet3_get_ethtool_stats() local
348 struct vmxnet3_adapter *adapter = netdev_priv(netdev); in vmxnet3_get_regs() local
394 struct vmxnet3_adapter *adapter = netdev_priv(netdev); in vmxnet3_get_wol() local
404 struct vmxnet3_adapter *adapter = netdev_priv(netdev); in vmxnet3_set_wol() local
[all …]
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/
Dsubr.c61 static int t1_wait_op_done(adapter_t *adapter, int reg, u32 mask, int polarity, in t1_wait_op_done()
81 int __t1_tpi_write(adapter_t *adapter, u32 addr, u32 value) in __t1_tpi_write()
97 int t1_tpi_write(adapter_t *adapter, u32 addr, u32 value) in t1_tpi_write()
110 int __t1_tpi_read(adapter_t *adapter, u32 addr, u32 *valp) in __t1_tpi_read()
127 int t1_tpi_read(adapter_t *adapter, u32 addr, u32 *valp) in t1_tpi_read()
140 static void t1_tpi_par(adapter_t *adapter, u32 value) in t1_tpi_par()
150 void t1_link_changed(adapter_t *adapter, int port_id) in t1_link_changed()
173 static int t1_pci_intr_handler(adapter_t *adapter) in t1_pci_intr_handler()
193 static int fpga_phy_intr_handler(adapter_t *adapter) in fpga_phy_intr_handler()
213 static int fpga_slow_intr(adapter_t *adapter) in fpga_slow_intr()
[all …]
Dcxgb2.c121 struct adapter *adapter = dev->ml_priv; in t1_set_rxmode() local
148 void t1_link_negotiated(struct adapter *adapter, int port_id, int link_stat, in t1_link_negotiated()
191 static void enable_hw_csum(struct adapter *adapter) in enable_hw_csum()
202 static int cxgb_up(struct adapter *adapter) in cxgb_up()
237 static void cxgb_down(struct adapter *adapter) in cxgb_down()
249 struct adapter *adapter = dev->ml_priv; in cxgb_open() local
271 struct adapter *adapter = dev->ml_priv; in cxgb_close() local
297 struct adapter *adapter = dev->ml_priv; in t1_get_stats() local
345 struct adapter *adapter = dev->ml_priv; in get_msglevel() local
352 struct adapter *adapter = dev->ml_priv; in set_msglevel() local
[all …]
Dcommon.h227 struct adapter { struct
239 struct adapter_params params; argument
261 enum { /* adapter flags */ argument
291 static inline int t1_is_asic(const adapter_t *adapter) in t1_is_asic()
298 static inline int adapter_matches_type(const adapter_t *adapter, in adapter_matches_type()
309 static inline int vlan_tso_capable(const adapter_t *adapter) in vlan_tso_capable()
314 #define for_each_port(adapter, iter) \ argument
317 #define board_info(adapter) ((adapter)->params.brd_info) argument
318 #define is_10G(adapter) (board_info(adapter)->caps & SUPPORTED_10000baseT_Full) argument
Despi.c44 adapter_t *adapter; member
60 static int tricn_write(adapter_t *adapter, int bundle_addr, int module_addr, in tricn_write()
83 static int tricn_init(adapter_t *adapter) in tricn_init()
187 static void espi_setup_for_pm3393(adapter_t *adapter) in espi_setup_for_pm3393()
202 static void espi_setup_for_vsc7321(adapter_t *adapter) in espi_setup_for_vsc7321()
218 static void espi_setup_for_ixf1010(adapter_t *adapter, int nports) in espi_setup_for_ixf1010()
240 adapter_t *adapter = espi->adapter; in t1_espi_init() local
290 struct peespi *t1_espi_create(adapter_t *adapter) in t1_espi_create()
314 u32 t1_espi_get_mon(adapter_t *adapter, u32 addr, u8 wait) in t1_espi_get_mon()
345 int t1_espi_get_mon_t204(adapter_t *adapter, u32 *valp, u8 wait) in t1_espi_get_mon_t204()
Dvsc7326.c36 static void vsc_read(adapter_t *adapter, u32 addr, u32 *val) in vsc_read()
64 static void vsc_write(adapter_t *adapter, u32 addr, u32 data) in vsc_write()
76 static void vsc7326_full_reset(adapter_t* adapter) in vsc7326_full_reset()
221 static void run_table(adapter_t *adapter, struct init_table *ib, int len) in run_table()
234 static int bist_rd(adapter_t *adapter, int moduleid, int address) in bist_rd()
261 static int bist_wr(adapter_t *adapter, int moduleid, int address, int value) in bist_wr()
291 static int run_bist(adapter_t *adapter, int moduleid) in run_bist()
300 static int check_bist(adapter_t *adapter, int moduleid) in check_bist()
314 static int enable_mem(adapter_t *adapter, int moduleid) in enable_mem()
321 static int run_bist_all(adapter_t *adapter) in run_bist_all()
[all …]
Dsge.c255 struct adapter *adapter; /* adapter backpointer */ member
495 static inline void doorbell_pio(struct adapter *adapter, u32 val) in doorbell_pio()
719 static inline void setup_ring_params(struct adapter *adapter, u64 addr, in setup_ring_params()
731 void t1_vlan_mode(struct adapter *adapter, netdev_features_t features) in t1_vlan_mode()
873 struct adapter *adapter = sge->adapter; in freelQs_empty() local
940 struct adapter *adapter = sge->adapter; in t1_sge_intr_error_handler() local
1040 static inline struct sk_buff *get_packet(struct adapter *adapter, in get_packet()
1090 static void unexpected_offload(struct adapter *adapter, struct freelQ *fl) in unexpected_offload()
1200 static inline void write_tx_descs(struct adapter *adapter, struct sk_buff *skb, in write_tx_descs()
1308 struct adapter *adapter = sge->adapter; in restart_sched() local
[all …]
Dtp.c10 adapter_t *adapter; member
58 struct petp *t1_tp_create(adapter_t *adapter, struct tp_params *p) in t1_tp_create()
166 adapter_t *adapter = tp->adapter; in t1_tp_reset() local
Dmy3126.c42 adapter_t *adapter; in my3126_interrupt_handler() local
114 adapter_t *adapter; in my3126_get_link_status() local
186 static int my3126_phy_reset(adapter_t * adapter) in my3126_phy_reset()
/linux-4.1.27/drivers/scsi/megaraid/
Dmegaraid_mbox.c420 adapter_t *adapter; in megaraid_probe_one() local
542 adapter_t *adapter; in megaraid_detach_one() local
604 adapter_t *adapter = pci_get_drvdata(pdev); in megaraid_mbox_shutdown() local
630 megaraid_io_attach(adapter_t *adapter) in megaraid_io_attach()
682 megaraid_io_detach(adapter_t *adapter) in megaraid_io_detach()
713 megaraid_init_mbox(adapter_t *adapter) in megaraid_init_mbox()
926 megaraid_fini_mbox(adapter_t *adapter) in megaraid_fini_mbox()
961 megaraid_alloc_cmd_packets(adapter_t *adapter) in megaraid_alloc_cmd_packets()
1120 megaraid_free_cmd_packets(adapter_t *adapter) in megaraid_free_cmd_packets()
1145 megaraid_mbox_setup_dma_pools(adapter_t *adapter) in megaraid_mbox_setup_dma_pools()
[all …]
Dmegaraid_mm.c245 mraid_mmadp_t *adapter; in mraid_mm_get_adapter() local
737 mraid_mmadp_t* adapter; in ioctl_done() local
906 mraid_mmadp_t *adapter; in mraid_mm_register_adp() local
1038 mraid_mmadp_t *adapter; in mraid_mm_adapter_app_handle() local
1119 mraid_mmadp_t *adapter; in mraid_mm_unregister_adp() local
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ptp.c119 static void ixgbe_ptp_setup_sdp(struct ixgbe_adapter *adapter) in ixgbe_ptp_setup_sdp()
194 struct ixgbe_adapter *adapter = in ixgbe_ptp_read() local
215 struct ixgbe_adapter *adapter = in ixgbe_ptp_adjfreq() local
261 struct ixgbe_adapter *adapter = in ixgbe_ptp_adjtime() local
284 struct ixgbe_adapter *adapter = in ixgbe_ptp_gettime() local
309 struct ixgbe_adapter *adapter = in ixgbe_ptp_settime() local
337 struct ixgbe_adapter *adapter = in ixgbe_ptp_feature_enable() local
372 void ixgbe_ptp_check_pps_event(struct ixgbe_adapter *adapter, u32 eicr) in ixgbe_ptp_check_pps_event()
403 void ixgbe_ptp_overflow_check(struct ixgbe_adapter *adapter) in ixgbe_ptp_overflow_check()
424 void ixgbe_ptp_rx_hang(struct ixgbe_adapter *adapter) in ixgbe_ptp_rx_hang()
[all …]
Dixgbe_sriov.c49 static int __ixgbe_enable_sriov(struct ixgbe_adapter *adapter) in __ixgbe_enable_sriov()
130 void ixgbe_enable_sriov(struct ixgbe_adapter *adapter) in ixgbe_enable_sriov()
179 int ixgbe_disable_sriov(struct ixgbe_adapter *adapter) in ixgbe_disable_sriov()
248 struct ixgbe_adapter *adapter = pci_get_drvdata(dev); in ixgbe_pci_sriov_enable() local
296 struct ixgbe_adapter *adapter = pci_get_drvdata(dev); in ixgbe_pci_sriov_disable() local
321 static int ixgbe_set_vf_multicasts(struct ixgbe_adapter *adapter, in ixgbe_set_vf_multicasts()
367 void ixgbe_restore_vf_multicasts(struct ixgbe_adapter *adapter) in ixgbe_restore_vf_multicasts()
400 static int ixgbe_set_vf_vlan(struct ixgbe_adapter *adapter, int add, int vid, in ixgbe_set_vf_vlan()
410 static s32 ixgbe_set_vf_lpe(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) in ixgbe_set_vf_lpe()
507 static void ixgbe_clear_vmvir(struct ixgbe_adapter *adapter, u32 vf) in ixgbe_clear_vmvir()
[all …]
Dixgbe_main.c173 static int ixgbe_read_pci_cfg_word_parent(struct ixgbe_adapter *adapter, in ixgbe_read_pci_cfg_word_parent()
197 static s32 ixgbe_get_parent_bus_info(struct ixgbe_adapter *adapter) in ixgbe_get_parent_bus_info()
240 static void ixgbe_check_minimum_link(struct ixgbe_adapter *adapter, in ixgbe_check_minimum_link()
300 static void ixgbe_service_event_schedule(struct ixgbe_adapter *adapter) in ixgbe_service_event_schedule()
310 struct ixgbe_adapter *adapter = hw->back; in ixgbe_remove_adapter() local
379 struct ixgbe_adapter *adapter = hw->back; in ixgbe_read_pci_cfg_word() local
394 struct ixgbe_adapter *adapter = hw->back; in ixgbe_read_pci_cfg_dword() local
409 struct ixgbe_adapter *adapter = hw->back; in ixgbe_write_pci_cfg_word() local
416 static void ixgbe_service_event_complete(struct ixgbe_adapter *adapter) in ixgbe_service_event_complete()
548 static void ixgbe_dump(struct ixgbe_adapter *adapter) in ixgbe_dump()
[all …]
Dixgbe_ethtool.c157 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_get_settings() local
309 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_set_settings() local
370 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_get_pauseparam() local
392 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_set_pauseparam() local
431 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_get_msglevel() local
437 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_set_msglevel() local
452 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_get_regs() local
811 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_get_eeprom_len() local
818 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_get_eeprom() local
854 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_set_eeprom() local
[all …]
Dixgbe_dcb_nl.c48 static int ixgbe_copy_dcb_cfg(struct ixgbe_adapter *adapter, int tc_max) in ixgbe_copy_dcb_cfg()
148 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_dcbnl_get_state() local
155 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_dcbnl_set_state() local
172 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_dcbnl_get_perm_hw_addr() local
196 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_dcbnl_set_pg_tc_cfg_tx() local
213 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_dcbnl_set_pg_bwg_cfg_tx() local
222 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_dcbnl_set_pg_tc_cfg_rx() local
239 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_dcbnl_set_pg_bwg_cfg_rx() local
248 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_dcbnl_get_pg_tc_cfg_tx() local
259 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_dcbnl_get_pg_bwg_cfg_tx() local
[all …]
Dixgbe_lib.c42 static bool ixgbe_cache_ring_dcb_sriov(struct ixgbe_adapter *adapter) in ixgbe_cache_ring_dcb_sriov()
111 static void ixgbe_get_first_reg_idx(struct ixgbe_adapter *adapter, u8 tc, in ixgbe_get_first_reg_idx()
168 static bool ixgbe_cache_ring_dcb(struct ixgbe_adapter *adapter) in ixgbe_cache_ring_dcb()
203 static bool ixgbe_cache_ring_sriov(struct ixgbe_adapter *adapter) in ixgbe_cache_ring_sriov()
267 static bool ixgbe_cache_ring_rss(struct ixgbe_adapter *adapter) in ixgbe_cache_ring_rss()
290 static void ixgbe_cache_ring_register(struct ixgbe_adapter *adapter) in ixgbe_cache_ring_register()
326 static bool ixgbe_set_dcb_sriov_queues(struct ixgbe_adapter *adapter) in ixgbe_set_dcb_sriov_queues()
422 static bool ixgbe_set_dcb_queues(struct ixgbe_adapter *adapter) in ixgbe_set_dcb_queues()
495 static bool ixgbe_set_sriov_queues(struct ixgbe_adapter *adapter) in ixgbe_set_sriov_queues()
603 static bool ixgbe_set_rss_queues(struct ixgbe_adapter *adapter) in ixgbe_set_rss_queues()
[all …]
Dixgbe_fcoe.c72 struct ixgbe_adapter *adapter; in ixgbe_fcoe_ddp_put() local
160 struct ixgbe_adapter *adapter; in ixgbe_fcoe_ddp_setup() local
406 int ixgbe_fcoe_ddp(struct ixgbe_adapter *adapter, in ixgbe_fcoe_ddp()
659 void ixgbe_configure_fcoe(struct ixgbe_adapter *adapter) in ixgbe_configure_fcoe()
734 void ixgbe_free_fcoe_ddp_resources(struct ixgbe_adapter *adapter) in ixgbe_free_fcoe_ddp_resources()
772 int ixgbe_setup_fcoe_ddp_resources(struct ixgbe_adapter *adapter) in ixgbe_setup_fcoe_ddp_resources()
813 static int ixgbe_fcoe_ddp_enable(struct ixgbe_adapter *adapter) in ixgbe_fcoe_ddp_enable()
835 static void ixgbe_fcoe_ddp_disable(struct ixgbe_adapter *adapter) in ixgbe_fcoe_ddp_disable()
858 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_fcoe_enable() local
905 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_fcoe_disable() local
[all …]
Dixgbe_debugfs.c47 struct ixgbe_adapter *adapter = filp->private_data; in ixgbe_dbg_reg_ops_read() local
83 struct ixgbe_adapter *adapter = filp->private_data; in ixgbe_dbg_reg_ops_write() local
152 struct ixgbe_adapter *adapter = filp->private_data; in ixgbe_dbg_netdev_ops_read() local
188 struct ixgbe_adapter *adapter = filp->private_data; in ixgbe_dbg_netdev_ops_write() local
229 void ixgbe_dbg_adapter_init(struct ixgbe_adapter *adapter) in ixgbe_dbg_adapter_init()
254 void ixgbe_dbg_adapter_exit(struct ixgbe_adapter *adapter) in ixgbe_dbg_adapter_exit()
Dixgbe_sysfs.c109 static int ixgbe_add_hwmon_attr(struct ixgbe_adapter *adapter, in ixgbe_add_hwmon_attr()
160 static void ixgbe_sysfs_del_adapter(struct ixgbe_adapter *adapter) in ixgbe_sysfs_del_adapter()
165 void ixgbe_sysfs_exit(struct ixgbe_adapter *adapter) in ixgbe_sysfs_exit()
171 int ixgbe_sysfs_init(struct ixgbe_adapter *adapter) in ixgbe_sysfs_init()
/linux-4.1.27/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c175 static inline void atl1c_irq_enable(struct atl1c_adapter *adapter) in atl1c_irq_enable()
188 static inline void atl1c_irq_disable(struct atl1c_adapter *adapter) in atl1c_irq_disable()
201 static inline void atl1c_irq_reset(struct atl1c_adapter *adapter) in atl1c_irq_reset()
231 struct atl1c_adapter *adapter = (struct atl1c_adapter *) data; in atl1c_phy_config() local
240 void atl1c_reinit_locked(struct atl1c_adapter *adapter) in atl1c_reinit_locked()
248 static void atl1c_check_link_status(struct atl1c_adapter *adapter) in atl1c_check_link_status()
303 static void atl1c_link_chg_event(struct atl1c_adapter *adapter) in atl1c_link_chg_event()
334 struct atl1c_adapter *adapter; in atl1c_common_task() local
359 static void atl1c_del_timer(struct atl1c_adapter *adapter) in atl1c_del_timer()
371 struct atl1c_adapter *adapter = netdev_priv(netdev); in atl1c_tx_timeout() local
[all …]
Datl1c_ethtool.c32 struct atl1c_adapter *adapter = netdev_priv(netdev); in atl1c_get_settings() local
70 struct atl1c_adapter *adapter = netdev_priv(netdev); in atl1c_set_settings() local
119 struct atl1c_adapter *adapter = netdev_priv(netdev); in atl1c_get_msglevel() local
125 struct atl1c_adapter *adapter = netdev_priv(netdev); in atl1c_set_msglevel() local
137 struct atl1c_adapter *adapter = netdev_priv(netdev); in atl1c_get_regs() local
176 struct atl1c_adapter *adapter = netdev_priv(netdev); in atl1c_get_eeprom_len() local
187 struct atl1c_adapter *adapter = netdev_priv(netdev); in atl1c_get_eeprom() local
229 struct atl1c_adapter *adapter = netdev_priv(netdev); in atl1c_get_drvinfo() local
245 struct atl1c_adapter *adapter = netdev_priv(netdev); in atl1c_get_wol() local
264 struct atl1c_adapter *adapter = netdev_priv(netdev); in atl1c_set_wol() local
[all …]
/linux-4.1.27/drivers/isdn/hisax/
Dst5481_d.c56 static inline void D_L1L2(struct st5481_adapter *adapter, int pr, void *arg) in D_L1L2()
66 struct st5481_adapter *adapter = fi->userdata; in l1_go_f3() local
78 struct st5481_adapter *adapter = fi->userdata; in l1_go_f6() local
89 struct st5481_adapter *adapter = fi->userdata; in l1_go_f7() local
100 struct st5481_adapter *adapter = fi->userdata; in l1_go_f8() local
111 struct st5481_adapter *adapter = fi->userdata; in l1_timer3() local
126 struct st5481_adapter *adapter = fi->userdata; in l1_activate() local
287 struct st5481_adapter *adapter = context; in dout_stop_event() local
295 static void usb_d_out(struct st5481_adapter *adapter, int buf_nr) in usb_d_out()
370 struct st5481_adapter *adapter = context; in fifo_reseted() local
[all …]
Dhisax_fcpcipnp.c155 struct fritz_adapter *adapter = isac->priv; in fcpci_read_isac() local
173 struct fritz_adapter *adapter = isac->priv; in fcpci_write_isac() local
189 struct fritz_adapter *adapter = isac->priv; in fcpci_read_isac_fifo() local
201 struct fritz_adapter *adapter = isac->priv; in fcpci_write_isac_fifo() local
210 static u32 fcpci_read_hdlc_status(struct fritz_adapter *adapter, int nr) in fcpci_read_hdlc_status()
225 struct fritz_adapter *adapter = bcs->adapter; in __fcpci_write_ctrl() local
237 struct fritz_adapter *adapter = bcs->adapter; in fcpci_write_ctrl() local
250 struct fritz_adapter *adapter = isac->priv; in fcpci2_read_isac() local
267 struct fritz_adapter *adapter = isac->priv; in fcpci2_write_isac() local
281 struct fritz_adapter *adapter = isac->priv; in fcpci2_read_isac_fifo() local
[all …]
Dst5481_usb.c29 struct st5481_adapter *adapter) in usb_next_ctrl_msg()
60 static void usb_ctrl_msg(struct st5481_adapter *adapter, in usb_ctrl_msg()
88 void st5481_usb_device_ctrl_msg(struct st5481_adapter *adapter, in st5481_usb_device_ctrl_msg()
100 void st5481_usb_pipe_reset(struct st5481_adapter *adapter, in st5481_usb_pipe_reset()
116 void st5481_ph_command(struct st5481_adapter *adapter, unsigned int command) in st5481_ph_command()
130 struct st5481_adapter *adapter = urb->context; in usb_ctrl_complete() local
179 struct st5481_adapter *adapter = urb->context; in usb_int_complete() local
238 int st5481_setup_usb(struct st5481_adapter *adapter) in st5481_setup_usb()
330 void st5481_release_usb(struct st5481_adapter *adapter) in st5481_release_usb()
352 void st5481_start(struct st5481_adapter *adapter) in st5481_start()
[all …]
Dst5481_b.c33 struct st5481_adapter *adapter = bcs->adapter; in usb_b_out() local
147 static void led_blink(struct st5481_adapter *adapter) in led_blink()
169 struct st5481_adapter *adapter = bcs->adapter; in usb_b_out_complete() local
203 struct st5481_adapter *adapter = bcs->adapter; in st5481B_mode() local
Dst5481_init.c61 struct st5481_adapter *adapter; in probe_st5481() local
135 struct st5481_adapter *adapter = usb_get_intfdata(intf); in disconnect_st5481() local
/linux-4.1.27/drivers/net/ethernet/intel/e1000/
De1000_main.c147 static void e1000_alloc_dummy_rx_buffers(struct e1000_adapter *adapter, in e1000_alloc_dummy_rx_buffers()
239 struct e1000_adapter *adapter = hw->back; in e1000_get_hw_dev() local
282 static int e1000_request_irq(struct e1000_adapter *adapter) in e1000_request_irq()
298 static void e1000_free_irq(struct e1000_adapter *adapter) in e1000_free_irq()
309 static void e1000_irq_disable(struct e1000_adapter *adapter) in e1000_irq_disable()
322 static void e1000_irq_enable(struct e1000_adapter *adapter) in e1000_irq_enable()
330 static void e1000_update_mng_vlan(struct e1000_adapter *adapter) in e1000_update_mng_vlan()
358 static void e1000_init_manageability(struct e1000_adapter *adapter) in e1000_init_manageability()
372 static void e1000_release_manageability(struct e1000_adapter *adapter) in e1000_release_manageability()
390 static void e1000_configure(struct e1000_adapter *adapter) in e1000_configure()
[all …]
De1000_ethtool.c109 struct e1000_adapter *adapter = netdev_priv(netdev); in e1000_get_settings() local
191 struct e1000_adapter *adapter = netdev_priv(netdev); in e1000_set_settings() local
254 struct e1000_adapter *adapter = netdev_priv(netdev); in e1000_get_link() local
271 struct e1000_adapter *adapter = netdev_priv(netdev); in e1000_get_pauseparam() local
290 struct e1000_adapter *adapter = netdev_priv(netdev); in e1000_set_pauseparam() local
327 struct e1000_adapter *adapter = netdev_priv(netdev); in e1000_get_msglevel() local
334 struct e1000_adapter *adapter = netdev_priv(netdev); in e1000_set_msglevel() local
348 struct e1000_adapter *adapter = netdev_priv(netdev); in e1000_get_regs() local
435 struct e1000_adapter *adapter = netdev_priv(netdev); in e1000_get_eeprom_len() local
444 struct e1000_adapter *adapter = netdev_priv(netdev); in e1000_get_eeprom() local
[all …]
De1000_param.c210 struct e1000_adapter *adapter) in e1000_validate_option()
270 void e1000_check_options(struct e1000_adapter *adapter) in e1000_check_options()
537 static void e1000_check_fiber_options(struct e1000_adapter *adapter) in e1000_check_fiber_options()
562 static void e1000_check_copper_options(struct e1000_adapter *adapter) in e1000_check_copper_options()
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/
Dnetdev.c191 static void e1000e_dump_ps_pages(struct e1000_adapter *adapter, in e1000e_dump_ps_pages()
213 static void e1000e_dump(struct e1000_adapter *adapter) in e1000e_dump()
511 static void e1000e_systim_to_hwtstamp(struct e1000_adapter *adapter, in e1000e_systim_to_hwtstamp()
536 static void e1000e_rx_hwtstamp(struct e1000_adapter *adapter, u32 status, in e1000e_rx_hwtstamp()
568 static void e1000_receive_skb(struct e1000_adapter *adapter, in e1000_receive_skb()
591 static void e1000_rx_checksum(struct e1000_adapter *adapter, u32 status_err, in e1000_rx_checksum()
625 struct e1000_adapter *adapter = rx_ring->adapter; in e1000e_update_rdt_wa() local
642 struct e1000_adapter *adapter = tx_ring->adapter; in e1000e_update_tdt_wa() local
664 struct e1000_adapter *adapter = rx_ring->adapter; in e1000_alloc_rx_buffers() local
732 struct e1000_adapter *adapter = rx_ring->adapter; in e1000_alloc_rx_buffers_ps() local
[all …]
Dethtool.c123 struct e1000_adapter *adapter = netdev_priv(netdev); in e1000_get_settings() local
207 static int e1000_set_spd_dplx(struct e1000_adapter *adapter, u32 spd, u8 dplx) in e1000_set_spd_dplx()
260 struct e1000_adapter *adapter = netdev_priv(netdev); in e1000_set_settings() local
345 struct e1000_adapter *adapter = netdev_priv(netdev); in e1000_get_pauseparam() local
364 struct e1000_adapter *adapter = netdev_priv(netdev); in e1000_set_pauseparam() local
414 struct e1000_adapter *adapter = netdev_priv(netdev); in e1000_get_msglevel() local
420 struct e1000_adapter *adapter = netdev_priv(netdev); in e1000_set_msglevel() local
433 struct e1000_adapter *adapter = netdev_priv(netdev); in e1000_get_regs() local
490 struct e1000_adapter *adapter = netdev_priv(netdev); in e1000_get_eeprom_len() local
497 struct e1000_adapter *adapter = netdev_priv(netdev); in e1000_get_eeprom() local
[all …]
Dptp.c39 struct e1000_adapter *adapter = container_of(ptp, struct e1000_adapter, in e1000e_phc_adjfreq() local
90 struct e1000_adapter *adapter = container_of(ptp, struct e1000_adapter, in e1000e_phc_adjtime() local
111 struct e1000_adapter *adapter = container_of(ptp, struct e1000_adapter, in e1000e_phc_gettime() local
136 struct e1000_adapter *adapter = container_of(ptp, struct e1000_adapter, in e1000e_phc_settime() local
169 struct e1000_adapter *adapter = container_of(work, struct e1000_adapter, in e1000e_systim_overflow_work() local
205 void e1000e_ptp_init(struct e1000_adapter *adapter) in e1000e_ptp_init()
261 void e1000e_ptp_remove(struct e1000_adapter *adapter) in e1000e_ptp_remove()
/linux-4.1.27/drivers/net/ethernet/micrel/
Dks8842.c159 #define KS8842_USE_DMA(adapter) (((adapter)->dma_tx.channel != -1) && \ argument
178 static inline void ks8842_resume_dma(struct ks8842_adapter *adapter) in ks8842_resume_dma()
183 static inline void ks8842_select_bank(struct ks8842_adapter *adapter, u16 bank) in ks8842_select_bank()
188 static inline void ks8842_write8(struct ks8842_adapter *adapter, u16 bank, in ks8842_write8()
195 static inline void ks8842_write16(struct ks8842_adapter *adapter, u16 bank, in ks8842_write16()
202 static inline void ks8842_enable_bits(struct ks8842_adapter *adapter, u16 bank, in ks8842_enable_bits()
212 static inline void ks8842_clear_bits(struct ks8842_adapter *adapter, u16 bank, in ks8842_clear_bits()
222 static inline void ks8842_write32(struct ks8842_adapter *adapter, u16 bank, in ks8842_write32()
229 static inline u8 ks8842_read8(struct ks8842_adapter *adapter, u16 bank, in ks8842_read8()
236 static inline u16 ks8842_read16(struct ks8842_adapter *adapter, u16 bank, in ks8842_read16()
[all …]
/linux-4.1.27/drivers/net/ethernet/intel/igb/
Digb_ethtool.c139 struct igb_adapter *adapter = netdev_priv(netdev); in igb_get_settings() local
260 struct igb_adapter *adapter = netdev_priv(netdev); in igb_set_settings() local
353 struct igb_adapter *adapter = netdev_priv(netdev); in igb_get_link() local
371 struct igb_adapter *adapter = netdev_priv(netdev); in igb_get_pauseparam() local
390 struct igb_adapter *adapter = netdev_priv(netdev); in igb_set_pauseparam() local
433 struct igb_adapter *adapter = netdev_priv(netdev); in igb_get_msglevel() local
439 struct igb_adapter *adapter = netdev_priv(netdev); in igb_set_msglevel() local
452 struct igb_adapter *adapter = netdev_priv(netdev); in igb_get_regs() local
711 struct igb_adapter *adapter = netdev_priv(netdev); in igb_get_eeprom_len() local
718 struct igb_adapter *adapter = netdev_priv(netdev); in igb_get_eeprom() local
[all …]
Digb_main.c362 static void igb_dump(struct igb_adapter *adapter) in igb_dump()
571 struct igb_adapter *adapter = (struct igb_adapter *)data; in igb_get_i2c_data() local
587 struct igb_adapter *adapter = (struct igb_adapter *)data; in igb_set_i2c_data() local
612 struct igb_adapter *adapter = (struct igb_adapter *)data; in igb_set_i2c_clk() local
635 struct igb_adapter *adapter = (struct igb_adapter *)data; in igb_get_i2c_clk() local
659 struct igb_adapter *adapter = hw->back; in igb_get_hw_dev() local
710 static void igb_cache_ring_register(struct igb_adapter *adapter) in igb_cache_ring_register()
795 struct igb_adapter *adapter = q_vector->adapter; in igb_assign_vector() local
878 static void igb_configure_msix(struct igb_adapter *adapter) in igb_configure_msix()
944 static int igb_request_msix(struct igb_adapter *adapter) in igb_request_msix()
[all …]
Digb_ptp.c119 static void igb_ptp_read_i210(struct igb_adapter *adapter, in igb_ptp_read_i210()
137 static void igb_ptp_write_i210(struct igb_adapter *adapter, in igb_ptp_write_i210()
166 static void igb_ptp_systim_to_hwtstamp(struct igb_adapter *adapter, in igb_ptp_systim_to_hwtstamp()
598 struct igb_adapter *adapter = container_of(work, struct igb_adapter, in igb_ptp_tx_work() local
648 void igb_ptp_rx_hang(struct igb_adapter *adapter) in igb_ptp_rx_hang()
687 static void igb_ptp_tx_hwtstamp(struct igb_adapter *adapter) in igb_ptp_tx_hwtstamp()
738 struct igb_adapter *adapter = q_vector->adapter; in igb_ptp_rx_rgtstamp() local
777 struct igb_adapter *adapter = netdev_priv(netdev); in igb_ptp_get_ts_config() local
801 static int igb_ptp_set_timestamp_mode(struct igb_adapter *adapter, in igb_ptp_set_timestamp_mode()
957 struct igb_adapter *adapter = netdev_priv(netdev); in igb_ptp_set_ts_config() local
[all …]
Digb_hwmon.c109 static int igb_add_hwmon_attr(struct igb_adapter *adapter, in igb_add_hwmon_attr()
161 static void igb_sysfs_del_adapter(struct igb_adapter *adapter) in igb_sysfs_del_adapter()
166 void igb_sysfs_exit(struct igb_adapter *adapter) in igb_sysfs_exit()
172 int igb_sysfs_init(struct igb_adapter *adapter) in igb_sysfs_init()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c99 static void ixgbevf_service_event_schedule(struct ixgbevf_adapter *adapter) in ixgbevf_service_event_schedule()
107 static void ixgbevf_service_event_complete(struct ixgbevf_adapter *adapter) in ixgbevf_service_event_complete()
123 struct ixgbevf_adapter *adapter = hw->back; in ixgbevf_remove_adapter() local
172 static void ixgbevf_set_ivar(struct ixgbevf_adapter *adapter, s8 direction, in ixgbevf_set_ivar()
225 struct ixgbevf_adapter *adapter = netdev_priv(ring->netdev); in ixgbevf_get_tx_pending() local
265 static void ixgbevf_tx_timeout_reset(struct ixgbevf_adapter *adapter) in ixgbevf_tx_timeout_reset()
280 struct ixgbevf_adapter *adapter = netdev_priv(netdev); in ixgbevf_tx_timeout() local
293 struct ixgbevf_adapter *adapter = q_vector->adapter; in ixgbevf_clean_tx_irq() local
904 static inline void ixgbevf_irq_enable_queues(struct ixgbevf_adapter *adapter, in ixgbevf_irq_enable_queues()
1010 struct ixgbevf_adapter *adapter = q_vector->adapter; in ixgbevf_poll() local
[all …]
Dethtool.c108 struct ixgbevf_adapter *adapter = netdev_priv(netdev); in ixgbevf_get_settings() local
148 struct ixgbevf_adapter *adapter = netdev_priv(netdev); in ixgbevf_get_msglevel() local
155 struct ixgbevf_adapter *adapter = netdev_priv(netdev); in ixgbevf_set_msglevel() local
172 struct ixgbevf_adapter *adapter = netdev_priv(netdev); in ixgbevf_get_regs() local
244 struct ixgbevf_adapter *adapter = netdev_priv(netdev); in ixgbevf_get_drvinfo() local
256 struct ixgbevf_adapter *adapter = netdev_priv(netdev); in ixgbevf_get_ringparam() local
267 struct ixgbevf_adapter *adapter = netdev_priv(netdev); in ixgbevf_set_ringparam() local
410 struct ixgbevf_adapter *adapter = netdev_priv(netdev); in ixgbevf_get_ethtool_stats() local
479 static int ixgbevf_link_test(struct ixgbevf_adapter *adapter, u64 *data) in ixgbevf_link_test()
537 static bool reg_pattern_test(struct ixgbevf_adapter *adapter, u64 *data, in reg_pattern_test()
[all …]
/linux-4.1.27/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c149 pch_rx_timestamp(struct pch_gbe_adapter *adapter, struct sk_buff *skb) in pch_rx_timestamp()
187 pch_tx_timestamp(struct pch_gbe_adapter *adapter, struct sk_buff *skb) in pch_tx_timestamp()
230 struct pch_gbe_adapter *adapter = netdev_priv(netdev); in hwtstamp_ioctl() local
295 struct pch_gbe_adapter *adapter = pch_gbe_hw_to_adapter(hw); in pch_gbe_mac_read_mac_addr() local
337 struct pch_gbe_adapter *adapter = pch_gbe_hw_to_adapter(hw); in pch_gbe_mac_mar_set() local
466 struct pch_gbe_adapter *adapter = pch_gbe_hw_to_adapter(hw); in pch_gbe_mac_force_mac_fc() local
512 struct pch_gbe_adapter *adapter = pch_gbe_hw_to_adapter(hw); in pch_gbe_mac_set_wol_event() local
548 struct pch_gbe_adapter *adapter = pch_gbe_hw_to_adapter(hw); in pch_gbe_mac_ctrl_miim() local
588 struct pch_gbe_adapter *adapter = pch_gbe_hw_to_adapter(hw); in pch_gbe_mac_set_pause_packet() local
629 static int pch_gbe_alloc_queues(struct pch_gbe_adapter *adapter) in pch_gbe_alloc_queues()
[all …]
Dpch_gbe_ethtool.c86 struct pch_gbe_adapter *adapter = netdev_priv(netdev); in pch_gbe_get_settings() local
109 struct pch_gbe_adapter *adapter = netdev_priv(netdev); in pch_gbe_set_settings() local
161 struct pch_gbe_adapter *adapter = netdev_priv(netdev); in pch_gbe_get_drvinfo() local
179 struct pch_gbe_adapter *adapter = netdev_priv(netdev); in pch_gbe_get_regs() local
203 struct pch_gbe_adapter *adapter = netdev_priv(netdev); in pch_gbe_get_wol() local
229 struct pch_gbe_adapter *adapter = netdev_priv(netdev); in pch_gbe_set_wol() local
256 struct pch_gbe_adapter *adapter = netdev_priv(netdev); in pch_gbe_nway_reset() local
269 struct pch_gbe_adapter *adapter = netdev_priv(netdev); in pch_gbe_get_ringparam() local
290 struct pch_gbe_adapter *adapter = netdev_priv(netdev); in pch_gbe_set_ringparam() local
380 struct pch_gbe_adapter *adapter = netdev_priv(netdev); in pch_gbe_get_pauseparam() local
[all …]
Dpch_gbe_api.c73 struct pch_gbe_adapter *adapter = pch_gbe_hw_to_adapter(hw); in pch_gbe_plat_init_hw() local
120 struct pch_gbe_adapter *adapter = pch_gbe_hw_to_adapter(hw); in pch_gbe_hal_setup_init_funcs() local
136 struct pch_gbe_adapter *adapter = pch_gbe_hw_to_adapter(hw); in pch_gbe_hal_get_bus_info() local
154 struct pch_gbe_adapter *adapter = pch_gbe_hw_to_adapter(hw); in pch_gbe_hal_init_hw() local
203 struct pch_gbe_adapter *adapter = pch_gbe_hw_to_adapter(hw); in pch_gbe_hal_phy_hw_reset() local
218 struct pch_gbe_adapter *adapter = pch_gbe_hw_to_adapter(hw); in pch_gbe_hal_phy_sw_reset() local
236 struct pch_gbe_adapter *adapter = pch_gbe_hw_to_adapter(hw); in pch_gbe_hal_read_mac_addr() local
Dpch_gbe_phy.c108 struct pch_gbe_adapter *adapter = pch_gbe_hw_to_adapter(hw); in pch_gbe_phy_get_id() local
147 struct pch_gbe_adapter *adapter = pch_gbe_hw_to_adapter(hw); in pch_gbe_phy_read_reg_miic() local
172 struct pch_gbe_adapter *adapter = pch_gbe_hw_to_adapter(hw); in pch_gbe_phy_write_reg_miic() local
272 struct pch_gbe_adapter *adapter = pch_gbe_hw_to_adapter(hw); in pch_gbe_phy_tx_clk_delay() local
310 struct pch_gbe_adapter *adapter = pch_gbe_hw_to_adapter(hw); in pch_gbe_phy_init_setting() local
348 struct pch_gbe_adapter *adapter = pch_gbe_hw_to_adapter(hw); in pch_gbe_phy_disable_hibernate() local
Dpch_gbe_param.c228 struct pch_gbe_adapter *adapter) in pch_gbe_validate_option()
282 static void pch_gbe_check_copper_options(struct pch_gbe_adapter *adapter) in pch_gbe_check_copper_options()
443 void pch_gbe_check_options(struct pch_gbe_adapter *adapter) in pch_gbe_check_options()
/linux-4.1.27/drivers/net/ethernet/atheros/atlx/
Datlx.c76 struct atlx_adapter *adapter = netdev_priv(netdev); in atlx_set_mac() local
92 static void atlx_check_for_link(struct atlx_adapter *adapter) in atlx_check_for_link()
128 struct atlx_adapter *adapter = netdev_priv(netdev); in atlx_set_multi() local
157 static inline void atlx_imr_set(struct atlx_adapter *adapter, in atlx_imr_set()
168 static void atlx_irq_enable(struct atlx_adapter *adapter) in atlx_irq_enable()
178 static void atlx_irq_disable(struct atlx_adapter *adapter) in atlx_irq_disable()
185 static void atlx_clear_phy_int(struct atlx_adapter *adapter) in atlx_clear_phy_int()
201 struct atlx_adapter *adapter = netdev_priv(netdev); in atlx_tx_timeout() local
211 struct atlx_adapter *adapter; in atlx_link_chg_task() local
235 struct atlx_adapter *adapter = netdev_priv(netdev); in atlx_vlan_mode() local
[all …]
Datl1.c207 static void atl1_check_options(struct atl1_adapter *adapter) in atl1_check_options()
260 struct atl1_adapter *adapter = hw->back; in atl1_reset_hw() local
655 struct atl1_adapter *adapter = hw->back; in atl1_phy_reset() local
792 struct atl1_adapter *adapter = hw->back; in atl1_setup_link() local
887 struct atl1_adapter *adapter = hw->back; in atl1_get_speed_and_duplex() local
947 static int atl1_sw_init(struct atl1_adapter *adapter) in atl1_sw_init()
1000 struct atl1_adapter *adapter = netdev_priv(netdev); in mdio_read() local
1011 struct atl1_adapter *adapter = netdev_priv(netdev); in mdio_write() local
1018 struct atl1_adapter *adapter = netdev_priv(netdev); in atl1_mii_ioctl() local
1038 static s32 atl1_setup_ring_resources(struct atl1_adapter *adapter) in atl1_setup_ring_resources()
[all …]
Datl2.c85 static int atl2_sw_init(struct atl2_adapter *adapter) in atl2_sw_init()
136 struct atl2_adapter *adapter = netdev_priv(netdev); in atl2_set_multi() local
166 static void init_ring_ptrs(struct atl2_adapter *adapter) in init_ring_ptrs()
185 static int atl2_configure(struct atl2_adapter *adapter) in atl2_configure()
291 static s32 atl2_setup_ring_resources(struct atl2_adapter *adapter) in atl2_setup_ring_resources()
346 static inline void atl2_irq_enable(struct atl2_adapter *adapter) in atl2_irq_enable()
356 static inline void atl2_irq_disable(struct atl2_adapter *adapter) in atl2_irq_disable()
377 struct atl2_adapter *adapter = netdev_priv(netdev); in atl2_vlan_mode() local
389 static void atl2_restore_vlan(struct atl2_adapter *adapter) in atl2_restore_vlan()
420 static void atl2_intr_rx(struct atl2_adapter *adapter) in atl2_intr_rx()
[all …]
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/
Dadapter.h67 struct adapter *adapter; member
221 struct adapter { struct
223 struct list_head adapter_list; argument
234 struct adapter_params params; argument
235 unsigned int slow_intr_mask;
236 unsigned long irq_stats[IRQ_NUM_STATS];
238 int msix_nvectors;
239 struct {
242 } msix_info[SGE_QSETS + 1];
245 struct sge sge;
[all …]
Dt3_hw.c55 int t3_wait_op_done_val(struct adapter *adapter, int reg, u32 mask, in t3_wait_op_done_val()
84 void t3_write_regs(struct adapter *adapter, const struct addr_val_pair *p, in t3_write_regs()
103 void t3_set_reg_field(struct adapter *adapter, unsigned int addr, u32 mask, in t3_set_reg_field()
213 struct adapter *adapter = pi->adapter; in t3_mi1_read() local
232 struct adapter *adapter = pi->adapter; in t3_mi1_write() local
256 static int mi1_wr_addr(struct adapter *adapter, int phy_addr, int mmd_addr, in mi1_wr_addr()
276 struct adapter *adapter = pi->adapter; in mi1_ext_read() local
296 struct adapter *adapter = pi->adapter; in mi1_ext_write() local
613 int t3_seeprom_read(struct adapter *adapter, u32 addr, __le32 *data) in t3_seeprom_read()
647 int t3_seeprom_write(struct adapter *adapter, u32 addr, __le32 data) in t3_seeprom_write()
[all …]
Dcxgb3_main.c182 static void enable_tx_fifo_drain(struct adapter *adapter, in enable_tx_fifo_drain()
192 static void disable_tx_fifo_drain(struct adapter *adapter, in disable_tx_fifo_drain()
251 void t3_os_link_changed(struct adapter *adapter, int port_id, int link_stat, in t3_os_link_changed()
359 static inline void cxgb_disable_msi(struct adapter *adapter) in cxgb_disable_msi()
427 static void free_irq_resources(struct adapter *adapter) in free_irq_resources()
900 static int write_smt_entry(struct adapter *adapter, int idx) in write_smt_entry()
921 static int init_smt(struct adapter *adapter) in init_smt()
930 static void init_port_mtus(struct adapter *adapter) in init_port_mtus()
1026 struct adapter *adapter = phy->adapter; in t3_get_edc_fw() local
1097 static inline char t3rev2char(struct adapter *adapter) in t3rev2char()
[all …]
Dmc5.c93 static int mc5_cmd_write(struct adapter *adapter, u32 cmd) in mc5_cmd_write()
100 static inline void dbgi_wr_data3(struct adapter *adapter, u32 v1, u32 v2, in dbgi_wr_data3()
113 static int mc5_write(struct adapter *adapter, u32 addr_lo, u32 cmd) in mc5_write()
401 void t3_mc5_prep(struct adapter *adapter, struct mc5 *mc5, int mode) in t3_mc5_prep()
Dcxgb3_offload.c72 const struct adapter *adapter = tdev2adap(tdev); in offload_activated() local
176 static struct net_device *get_iff_from_mac(struct adapter *adapter, in get_iff_from_mac()
203 static int cxgb_ulp_iscsi_ctl(struct adapter *adapter, unsigned int req, in cxgb_ulp_iscsi_ctl()
275 static int cxgb_rdma_ctl(struct adapter *adapter, unsigned int req, void *data) in cxgb_rdma_ctl()
375 struct adapter *adapter = tdev2adap(tdev); in cxgb_offload_ctl() local
1057 struct adapter *adapter; in is_offloading() local
1241 int cxgb3_offload_activate(struct adapter *adapter) in cxgb3_offload_activate()
1312 void cxgb3_offload_deactivate(struct adapter *adapter) in cxgb3_offload_deactivate()
1351 static inline int adap2type(struct adapter *adapter) in adap2type()
1370 void cxgb3_adapter_ofld(struct adapter *adapter) in cxgb3_adapter_ofld()
[all …]
Dael1002.c212 int t3_ael1002_phy_prep(struct cphy *phy, struct adapter *adapter, in t3_ael1002_phy_prep()
238 int t3_ael1006_phy_prep(struct cphy *phy, struct adapter *adapter, in t3_ael1006_phy_prep()
509 int t3_ael2005_phy_prep(struct cphy *phy, struct adapter *adapter, in t3_ael2005_phy_prep()
815 int t3_ael2020_phy_prep(struct cphy *phy, struct adapter *adapter, int phy_addr, in t3_ael2020_phy_prep()
870 int t3_qt2045_phy_prep(struct cphy *phy, struct adapter *adapter, in t3_qt2045_phy_prep()
934 int t3_xaui_direct_phy_prep(struct cphy *phy, struct adapter *adapter, in t3_xaui_direct_phy_prep()
/linux-4.1.27/drivers/net/wireless/rsi/
Drsi_91x_mac80211.c148 static void rsi_register_rates_channels(struct rsi_hw *adapter, int band) in rsi_register_rates_channels()
194 void rsi_mac80211_detach(struct rsi_hw *adapter) in rsi_mac80211_detach()
216 void rsi_indicate_tx_status(struct rsi_hw *adapter, in rsi_indicate_tx_status()
244 struct rsi_hw *adapter = hw->priv; in rsi_mac80211_tx() local
260 struct rsi_hw *adapter = hw->priv; in rsi_mac80211_start() local
278 struct rsi_hw *adapter = hw->priv; in rsi_mac80211_stop() local
297 struct rsi_hw *adapter = hw->priv; in rsi_mac80211_add_interface() local
331 struct rsi_hw *adapter = hw->priv; in rsi_mac80211_remove_interface() local
353 struct rsi_hw *adapter = hw->priv; in rsi_channel_change() local
408 struct rsi_hw *adapter = hw->priv; in rsi_mac80211_config() local
[all …]
Drsi_91x_usb.c30 static int rsi_usb_card_write(struct rsi_hw *adapter, in rsi_usb_card_write()
65 static int rsi_write_multiple(struct rsi_hw *adapter, in rsi_write_multiple()
98 struct rsi_hw *adapter) in rsi_find_bulk_in_and_out_endpoints()
239 struct rsi_hw *adapter = urb->context; in rsi_rx_done_handler() local
254 static int rsi_rx_urb_submit(struct rsi_hw *adapter) in rsi_rx_urb_submit()
286 int rsi_usb_write_register_multiple(struct rsi_hw *adapter, in rsi_usb_write_register_multiple()
336 static int rsi_usb_host_intf_write_pkt(struct rsi_hw *adapter, in rsi_usb_host_intf_write_pkt()
357 static void rsi_deinit_usb_interface(struct rsi_hw *adapter) in rsi_deinit_usb_interface()
374 static int rsi_init_usb_interface(struct rsi_hw *adapter, in rsi_init_usb_interface()
457 struct rsi_hw *adapter; in rsi_probe() local
[all …]
Drsi_91x_sdio.c139 struct rsi_hw *adapter = sdio_get_drvdata(function); in rsi_handle_interrupt() local
338 static void rsi_setclock(struct rsi_hw *adapter, u32 freq) in rsi_setclock()
359 static int rsi_setblocklength(struct rsi_hw *adapter, u32 length) in rsi_setblocklength()
380 static int rsi_setupcard(struct rsi_hw *adapter) in rsi_setupcard()
405 int rsi_sdio_read_register(struct rsi_hw *adapter, in rsi_sdio_read_register()
436 int rsi_sdio_write_register(struct rsi_hw *adapter, in rsi_sdio_write_register()
464 void rsi_sdio_ack_intr(struct rsi_hw *adapter, u8 int_bit) in rsi_sdio_ack_intr()
488 static int rsi_sdio_read_register_multiple(struct rsi_hw *adapter, in rsi_sdio_read_register_multiple()
518 int rsi_sdio_write_register_multiple(struct rsi_hw *adapter, in rsi_sdio_write_register_multiple()
563 static int rsi_sdio_host_intf_write_pkt(struct rsi_hw *adapter, in rsi_sdio_host_intf_write_pkt()
[all …]
Drsi_91x_sdio_ops.c30 static int rsi_sdio_master_access_msword(struct rsi_hw *adapter, in rsi_sdio_master_access_msword()
80 struct rsi_hw *adapter = common->priv; in rsi_copy_to_card() local
170 struct rsi_hw *adapter = common->priv; in rsi_load_ta_instructions() local
237 struct rsi_hw *adapter = common->priv; in rsi_process_pkt() local
284 int rsi_init_sdio_slave_regs(struct rsi_hw *adapter) in rsi_init_sdio_slave_regs()
369 void rsi_interrupt_handler(struct rsi_hw *adapter) in rsi_interrupt_handler()
506 int rsi_sdio_read_buffer_status_register(struct rsi_hw *adapter, u8 q_num) in rsi_sdio_read_buffer_status_register()
564 int rsi_sdio_determine_event_timeout(struct rsi_hw *adapter) in rsi_sdio_determine_event_timeout()
Drsi_91x_usb_ops.c38 struct rsi_hw *adapter = common->priv; in rsi_copy_to_card() local
91 struct rsi_hw *adapter = common->priv; in rsi_usb_rx_thread() local
134 struct rsi_hw *adapter = common->priv; in rsi_load_ta_instructions() local
Drsi_91x_main.c169 struct rsi_hw *adapter = common->priv; in rsi_tx_scheduler_thread() local
192 struct rsi_hw *adapter = NULL; in rsi_91x_init() local
242 void rsi_91x_deinit(struct rsi_hw *adapter) in rsi_91x_deinit()
Drsi_debugfs.h24 static inline int rsi_init_dbgfs(struct rsi_hw *adapter) in rsi_init_dbgfs()
29 static inline void rsi_remove_dbgfs(struct rsi_hw *adapter) in rsi_remove_dbgfs()
Drsi_91x_core.c91 struct rsi_hw *adapter = common->priv; in rsi_get_num_pkts_dequeue() local
254 struct rsi_hw *adapter = common->priv; in rsi_core_qos_processor() local
323 struct rsi_hw *adapter = common->priv; in rsi_core_xmit() local
Drsi_91x_debugfs.c30 struct rsi_hw *adapter = common->priv; in rsi_sdio_stats_read() local
283 int rsi_init_dbgfs(struct rsi_hw *adapter) in rsi_init_dbgfs()
327 void rsi_remove_dbgfs(struct rsi_hw *adapter) in rsi_remove_dbgfs()
Drsi_91x_pkt.c29 struct rsi_hw *adapter = common->priv; in rsi_send_data_pkt() local
125 struct rsi_hw *adapter = common->priv; in rsi_send_mgmt_pkt() local
Drsi_usb.h53 static inline int rsi_usb_check_queue_status(struct rsi_hw *adapter, u8 q_num) in rsi_usb_check_queue_status()
59 static inline int rsi_usb_event_timeout(struct rsi_hw *adapter) in rsi_usb_event_timeout()
/linux-4.1.27/drivers/staging/rtl8712/
Dmlme_linux.c37 struct _adapter *adapter = (struct _adapter *)data; in sitesurvey_ctrl_handler() local
46 struct _adapter *adapter = (struct _adapter *)data; in join_timeout_handler() local
53 struct _adapter *adapter = (struct _adapter *)data; in _scan_timeout_handler() local
60 struct _adapter *adapter = (struct _adapter *)data; in dhcp_timeout_handler() local
67 struct _adapter *adapter = (struct _adapter *)data; in wdg_timeout_handler() local
92 void r8712_os_indicate_connect(struct _adapter *adapter) in r8712_os_indicate_connect()
99 void r8712_os_indicate_disconnect(struct _adapter *adapter) in r8712_os_indicate_disconnect()
146 void r8712_report_sec_ie(struct _adapter *adapter, u8 authmode, u8 *sec_ie) in r8712_report_sec_ie()
Drtl8712_io.c37 u8 r8712_read8(struct _adapter *adapter, u32 addr) in r8712_read8()
47 u16 r8712_read16(struct _adapter *adapter, u32 addr) in r8712_read16()
57 u32 r8712_read32(struct _adapter *adapter, u32 addr) in r8712_read32()
67 void r8712_write8(struct _adapter *adapter, u32 addr, u8 val) in r8712_write8()
77 void r8712_write16(struct _adapter *adapter, u32 addr, u16 val) in r8712_write16()
87 void r8712_write32(struct _adapter *adapter, u32 addr, u32 val) in r8712_write32()
98 void r8712_read_mem(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem) in r8712_read_mem()
112 void r8712_write_mem(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem) in r8712_write_mem()
123 void r8712_read_port(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem) in r8712_read_port()
137 void r8712_write_port(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem) in r8712_write_port()
Drtl871x_mlme.c272 int r8712_is_same_ibss(struct _adapter *adapter, struct wlan_network *pnetwork) in r8712_is_same_ibss()
372 static void update_current_network(struct _adapter *adapter, in update_current_network()
390 static void update_scanned_network(struct _adapter *adapter, in update_scanned_network()
453 static void rtl8711_add_network(struct _adapter *adapter, in rtl8711_add_network()
473 static int is_desired_network(struct _adapter *adapter, in is_desired_network()
502 void r8712_atimdone_event_callback(struct _adapter *adapter, u8 *pbuf) in r8712_atimdone_event_callback()
506 void r8712_survey_event_callback(struct _adapter *adapter, u8 *pbuf) in r8712_survey_event_callback()
577 void r8712_surveydone_event_callback(struct _adapter *adapter, u8 *pbuf) in r8712_surveydone_event_callback()
635 void r8712_free_assoc_resources(struct _adapter *adapter) in r8712_free_assoc_resources()
715 void r8712_joinbss_event_callback(struct _adapter *adapter, u8 *pbuf) in r8712_joinbss_event_callback()
[all …]
Drtl871x_recv.c158 sint r8712_recvframe_chkmic(struct _adapter *adapter, in r8712_recvframe_chkmic()
248 union recv_frame *r8712_portctrl(struct _adapter *adapter, in r8712_portctrl()
313 static sint sta2sta_data_frame(struct _adapter *adapter, in sta2sta_data_frame()
379 static sint ap2sta_data_frame(struct _adapter *adapter, in ap2sta_data_frame()
438 static sint sta2ap_data_frame(struct _adapter *adapter, in sta2ap_data_frame()
460 static sint validate_recv_ctrl_frame(struct _adapter *adapter, in validate_recv_ctrl_frame()
466 static sint validate_recv_mgnt_frame(struct _adapter *adapter, in validate_recv_mgnt_frame()
473 static sint validate_recv_data_frame(struct _adapter *adapter, in validate_recv_data_frame()
555 sint r8712_validate_recv_frame(struct _adapter *adapter, in r8712_validate_recv_frame()
607 struct _adapter *adapter = precvframe->u.hdr.adapter; in r8712_wlanhdr_to_ethhdr() local
Drtl871x_io.c91 struct _adapter *adapter = (struct _adapter *)dev; in register_intf_hdl() local
109 uint r8712_alloc_io_queue(struct _adapter *adapter) in r8712_alloc_io_queue()
151 void r8712_free_io_queue(struct _adapter *adapter) in r8712_free_io_queue()
/linux-4.1.27/drivers/s390/scsi/
Dzfcp_aux.c59 struct zfcp_adapter *adapter; in zfcp_init_device_configure() local
184 struct zfcp_port *zfcp_get_port_by_wwpn(struct zfcp_adapter *adapter, in zfcp_get_port_by_wwpn()
202 static int zfcp_allocate_low_mem_buffers(struct zfcp_adapter *adapter) in zfcp_allocate_low_mem_buffers()
249 static void zfcp_free_low_mem_buffers(struct zfcp_adapter *adapter) in zfcp_free_low_mem_buffers()
276 int zfcp_status_read_refill(struct zfcp_adapter *adapter) in zfcp_status_read_refill()
299 struct zfcp_adapter *adapter = in zfcp_print_sl() local
307 static int zfcp_setup_adapter_work_queue(struct zfcp_adapter *adapter) in zfcp_setup_adapter_work_queue()
320 static void zfcp_destroy_adapter_work_queue(struct zfcp_adapter *adapter) in zfcp_destroy_adapter_work_queue()
339 struct zfcp_adapter *adapter; in zfcp_adapter_enqueue() local
421 void zfcp_adapter_unregister(struct zfcp_adapter *adapter) in zfcp_adapter_unregister()
[all …]
Dzfcp_erp.c58 static void zfcp_erp_adapter_block(struct zfcp_adapter *adapter, int mask) in zfcp_erp_adapter_block()
76 struct zfcp_adapter *adapter = act->adapter; in zfcp_erp_action_ready() local
114 static void zfcp_erp_action_dismiss_adapter(struct zfcp_adapter *adapter) in zfcp_erp_action_dismiss_adapter()
128 static int zfcp_erp_required_act(int want, struct zfcp_adapter *adapter, in zfcp_erp_required_act()
180 struct zfcp_adapter *adapter, in zfcp_erp_setup_act()
239 static int zfcp_erp_action_enqueue(int want, struct zfcp_adapter *adapter, in zfcp_erp_action_enqueue()
267 static int _zfcp_erp_adapter_reopen(struct zfcp_adapter *adapter, in _zfcp_erp_adapter_reopen()
289 void zfcp_erp_adapter_reopen(struct zfcp_adapter *adapter, int clear, char *id) in zfcp_erp_adapter_reopen()
312 void zfcp_erp_adapter_shutdown(struct zfcp_adapter *adapter, int clear, in zfcp_erp_adapter_shutdown()
359 struct zfcp_adapter *adapter = port->adapter; in zfcp_erp_port_forced_reopen() local
[all …]
Dzfcp_ccw.c22 struct zfcp_adapter *adapter; in zfcp_ccw_adapter_by_cdev() local
33 void zfcp_ccw_adapter_put(struct zfcp_adapter *adapter) in zfcp_ccw_adapter_put()
50 struct zfcp_adapter *adapter = zfcp_ccw_adapter_by_cdev(cdev); in zfcp_ccw_activate() local
113 struct zfcp_adapter *adapter; in zfcp_ccw_remove() local
160 struct zfcp_adapter *adapter = zfcp_ccw_adapter_by_cdev(cdev); in zfcp_ccw_set_online() local
207 struct zfcp_adapter *adapter = zfcp_ccw_adapter_by_cdev(cdev); in zfcp_ccw_offline_sync() local
242 struct zfcp_adapter *adapter = zfcp_ccw_adapter_by_cdev(cdev); in zfcp_ccw_notify() local
291 struct zfcp_adapter *adapter = zfcp_ccw_adapter_by_cdev(cdev); in zfcp_ccw_shutdown() local
Dzfcp_fc.c52 static void zfcp_fc_port_scan_time(struct zfcp_adapter *adapter) in zfcp_fc_port_scan_time()
60 static void zfcp_fc_port_scan(struct zfcp_adapter *adapter) in zfcp_fc_port_scan()
77 void zfcp_fc_conditional_port_scan(struct zfcp_adapter *adapter) in zfcp_fc_conditional_port_scan()
85 void zfcp_fc_inverse_conditional_port_scan(struct zfcp_adapter *adapter) in zfcp_fc_inverse_conditional_port_scan()
103 struct zfcp_adapter *adapter = container_of(events, struct zfcp_adapter, in zfcp_fc_post_event() local
126 void zfcp_fc_enqueue_event(struct zfcp_adapter *adapter, in zfcp_fc_enqueue_event()
199 struct zfcp_adapter *adapter) in zfcp_fc_wka_port_init()
234 struct zfcp_adapter *adapter = fsf_req->adapter; in _zfcp_fc_incoming_rscn() local
279 struct zfcp_adapter *adapter = req->adapter; in zfcp_fc_incoming_wwpn() local
361 struct zfcp_adapter *adapter = port->adapter; in zfcp_fc_ns_gid_pn_request() local
[all …]
Dzfcp_scsi.c113 struct zfcp_adapter *adapter = in zfcp_scsi_slave_alloc() local
152 struct zfcp_adapter *adapter = in zfcp_scsi_eh_abort_handler() local
215 struct zfcp_adapter *adapter = zfcp_sdev->port->adapter; in zfcp_task_mgmt_function() local
264 struct zfcp_adapter *adapter = zfcp_sdev->port->adapter; in zfcp_scsi_eh_host_reset_handler() local
311 int zfcp_scsi_adapter_register(struct zfcp_adapter *adapter) in zfcp_scsi_adapter_register()
351 void zfcp_scsi_adapter_unregister(struct zfcp_adapter *adapter) in zfcp_scsi_adapter_unregister()
372 zfcp_init_fc_host_stats(struct zfcp_adapter *adapter) in zfcp_init_fc_host_stats()
446 struct zfcp_adapter *adapter; in zfcp_get_fc_host_stats() local
480 struct zfcp_adapter *adapter; in zfcp_reset_fc_host_stats() local
502 struct zfcp_adapter *adapter = in zfcp_get_host_port_state() local
[all …]
Dzfcp_fsf.c25 struct zfcp_adapter *adapter = (struct zfcp_adapter *) data; in zfcp_fsf_request_timeout_handler() local
96 struct zfcp_adapter *adapter = req->adapter; in zfcp_fsf_status_read_port_closed() local
112 struct zfcp_adapter *adapter = req->adapter; in zfcp_fsf_link_down_info_eval() local
212 struct zfcp_adapter *adapter = req->adapter; in zfcp_fsf_status_read_handler() local
315 struct zfcp_adapter *adapter = req->adapter; in zfcp_fsf_protstatus_eval() local
420 void zfcp_fsf_req_dismiss_all(struct zfcp_adapter *adapter) in zfcp_fsf_req_dismiss_all()
466 struct zfcp_adapter *adapter = req->adapter; in zfcp_fsf_exchange_config_evaluate() local
529 struct zfcp_adapter *adapter = req->adapter; in zfcp_fsf_exchange_config_data_handler() local
607 struct zfcp_adapter *adapter = req->adapter; in zfcp_fsf_exchange_port_evaluate() local
684 struct zfcp_adapter *adapter = qdio->adapter; in zfcp_fsf_req_create() local
[all …]
Dzfcp_qdio.c24 struct zfcp_adapter *adapter = qdio->adapter; in zfcp_qdio_handler_error() local
87 struct zfcp_adapter *adapter = qdio->adapter; in zfcp_qdio_int_resp() local
344 struct zfcp_adapter *adapter = qdio->adapter; in zfcp_qdio_close() local
379 struct zfcp_adapter *adapter = qdio->adapter; in zfcp_qdio_open() local
460 int zfcp_qdio_setup(struct zfcp_adapter *adapter) in zfcp_qdio_setup()
493 void zfcp_qdio_siosl(struct zfcp_adapter *adapter) in zfcp_qdio_siosl()
Dzfcp_dbf.c181 void zfcp_dbf_hba_def_err(struct zfcp_adapter *adapter, u64 req_id, u16 scount, in zfcp_dbf_hba_def_err()
214 void zfcp_dbf_hba_basic(char *tag, struct zfcp_adapter *adapter) in zfcp_dbf_hba_basic()
231 struct zfcp_adapter *adapter, in zfcp_dbf_set_common()
258 void zfcp_dbf_rec_trig(char *tag, struct zfcp_adapter *adapter, in zfcp_dbf_rec_trig()
404 struct zfcp_adapter *adapter = in zfcp_dbf_scsi() local
481 int zfcp_dbf_adapter_register(struct zfcp_adapter *adapter) in zfcp_dbf_adapter_register()
538 void zfcp_dbf_adapter_unregister(struct zfcp_adapter *adapter) in zfcp_dbf_adapter_unregister()
Dzfcp_sysfs.c170 struct zfcp_adapter *adapter = zfcp_ccw_adapter_by_cdev(cdev); in zfcp_sysfs_adapter_failed_show() local
190 struct zfcp_adapter *adapter = zfcp_ccw_adapter_by_cdev(cdev); in zfcp_sysfs_adapter_failed_store() local
219 struct zfcp_adapter *adapter = zfcp_ccw_adapter_by_cdev(cdev); in zfcp_sysfs_port_rescan_store() local
245 struct zfcp_adapter *adapter = zfcp_ccw_adapter_by_cdev(cdev); in zfcp_sysfs_port_remove_store() local
527 struct zfcp_adapter *adapter; in zfcp_sysfs_adapter_util_show() local
552 struct zfcp_adapter *adapter; in zfcp_sysfs_adapter_ex_config() local
/linux-4.1.27/drivers/net/ethernet/ibm/
Dibmveth.c106 static inline u32 ibmveth_rxq_flags(struct ibmveth_adapter *adapter) in ibmveth_rxq_flags()
111 static inline int ibmveth_rxq_toggle(struct ibmveth_adapter *adapter) in ibmveth_rxq_toggle()
117 static inline int ibmveth_rxq_pending_buffer(struct ibmveth_adapter *adapter) in ibmveth_rxq_pending_buffer()
122 static inline int ibmveth_rxq_buffer_valid(struct ibmveth_adapter *adapter) in ibmveth_rxq_buffer_valid()
127 static inline int ibmveth_rxq_frame_offset(struct ibmveth_adapter *adapter) in ibmveth_rxq_frame_offset()
132 static inline int ibmveth_rxq_frame_length(struct ibmveth_adapter *adapter) in ibmveth_rxq_frame_length()
137 static inline int ibmveth_rxq_csum_good(struct ibmveth_adapter *adapter) in ibmveth_rxq_csum_good()
205 static void ibmveth_replenish_buffer_pool(struct ibmveth_adapter *adapter, in ibmveth_replenish_buffer_pool()
300 static void ibmveth_update_rx_no_buffer(struct ibmveth_adapter *adapter) in ibmveth_update_rx_no_buffer()
308 static void ibmveth_replenish_task(struct ibmveth_adapter *adapter) in ibmveth_replenish_task()
[all …]
/linux-4.1.27/drivers/net/ethernet/agere/
Det131x.c520 static int eeprom_write(struct et131x_adapter *adapter, u32 addr, u8 data) in eeprom_write()
628 static int eeprom_read(struct et131x_adapter *adapter, u32 addr, u8 *pdata) in eeprom_read()
668 static int et131x_init_eeprom(struct et131x_adapter *adapter) in et131x_init_eeprom()
735 static void et131x_rx_dma_enable(struct et131x_adapter *adapter) in et131x_rx_dma_enable()
769 static void et131x_rx_dma_disable(struct et131x_adapter *adapter) in et131x_rx_dma_disable()
786 static void et131x_tx_dma_enable(struct et131x_adapter *adapter) in et131x_tx_dma_enable()
805 static void et1310_config_mac_regs1(struct et131x_adapter *adapter) in et1310_config_mac_regs1()
863 static void et1310_config_mac_regs2(struct et131x_adapter *adapter) in et1310_config_mac_regs2()
938 static int et1310_in_phy_coma(struct et131x_adapter *adapter) in et1310_in_phy_coma()
945 static void et1310_setup_device_for_multicast(struct et131x_adapter *adapter) in et1310_setup_device_for_multicast()
[all …]
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c50 int t4vf_wait_dev_ready(struct adapter *adapter) in t4vf_wait_dev_ready()
72 static void get_mbox_rpl(struct adapter *adapter, __be64 *rpl, int size, in get_mbox_rpl()
82 static void dump_mbox(struct adapter *adapter, const char *tag, u32 mbox_data) in dump_mbox()
116 int t4vf_wr_mbox_core(struct adapter *adapter, const void *cmd, int size, in t4vf_wr_mbox_core()
282 int t4vf_port_init(struct adapter *adapter, int pidx) in t4vf_port_init()
345 int t4vf_fw_reset(struct adapter *adapter) in t4vf_fw_reset()
366 static int t4vf_query_params(struct adapter *adapter, unsigned int nparams, in t4vf_query_params()
404 int t4vf_set_params(struct adapter *adapter, unsigned int nparams, in t4vf_set_params()
455 int t4_bar2_sge_qregs(struct adapter *adapter, in t4_bar2_sge_qregs()
527 int t4vf_get_sge_params(struct adapter *adapter) in t4vf_get_sge_params()
[all …]
Dcxgb4vf_main.c144 void t4vf_os_link_changed(struct adapter *adapter, int pidx, int link_ok) in t4vf_os_link_changed()
217 void t4vf_os_portmod_changed(struct adapter *adapter, int pidx) in t4vf_os_portmod_changed()
290 static void name_msix_vecs(struct adapter *adapter) in name_msix_vecs()
321 static int request_msix_queue_irqs(struct adapter *adapter) in request_msix_queue_irqs()
359 static void free_msix_queue_irqs(struct adapter *adapter) in free_msix_queue_irqs()
391 static void enable_rx(struct adapter *adapter) in enable_rx()
415 static void quiesce_rx(struct adapter *adapter) in quiesce_rx()
434 struct adapter *adapter = rspq->adapter; in fwevtq_handler() local
529 static int setup_sge_queues(struct adapter *adapter) in setup_sge_queues()
640 static int setup_rss(struct adapter *adapter) in setup_rss()
[all …]
Dadapter.h94 struct adapter *adapter; /* our adapter */ member
190 struct adapter *adapter; /* our adapter */ member
354 struct adapter { struct
361 /* "adapter" resources */ argument
365 struct adapter_params params; argument
386 enum { /* adapter flags */ argument
405 static inline u32 t4_read_reg(struct adapter *adapter, u32 reg_addr) in t4_read_reg()
418 static inline void t4_write_reg(struct adapter *adapter, u32 reg_addr, u32 val) in t4_write_reg()
443 static inline u64 t4_read_reg64(struct adapter *adapter, u32 reg_addr) in t4_read_reg64()
456 static inline void t4_write_reg64(struct adapter *adapter, u32 reg_addr, in t4_write_reg64()
[all …]
Dsge.c261 static inline bool fl_starving(const struct adapter *adapter, in fl_starving()
377 static void free_tx_desc(struct adapter *adapter, struct sge_txq *tq, in free_tx_desc()
430 static inline void reclaim_completed_tx(struct adapter *adapter, in reclaim_completed_tx()
454 static inline int get_buf_size(const struct adapter *adapter, in get_buf_size()
473 static void free_rx_bufs(struct adapter *adapter, struct sge_fl *fl, int n) in free_rx_bufs()
503 static void unmap_rx_buf(struct adapter *adapter, struct sge_fl *fl) in unmap_rx_buf()
525 static inline void ring_fl_db(struct adapter *adapter, struct sge_fl *fl) in ring_fl_db()
606 static unsigned int refill_fl(struct adapter *adapter, struct sge_fl *fl, in refill_fl()
727 static inline void __refill_fl(struct adapter *adapter, struct sge_fl *fl) in __refill_fl()
971 static inline void ring_tx_db(struct adapter *adapter, struct sge_txq *tq, in ring_tx_db()
[all …]
Dt4vf_common.h228 #define for_each_port(adapter, iter) \ argument
242 static inline unsigned int core_ticks_per_usec(const struct adapter *adapter) in core_ticks_per_usec()
247 static inline unsigned int us_to_core_ticks(const struct adapter *adapter, in us_to_core_ticks()
253 static inline unsigned int core_ticks_to_us(const struct adapter *adapter, in core_ticks_to_us()
261 static inline int t4vf_wr_mbox(struct adapter *adapter, const void *cmd, in t4vf_wr_mbox()
267 static inline int t4vf_wr_mbox_ns(struct adapter *adapter, const void *cmd, in t4vf_wr_mbox_ns()
/linux-4.1.27/drivers/staging/rtl8723au/core/
Drtw_mlme.c220 void rtw_set_roaming(struct rtw_adapter *adapter, u8 to_roaming) in rtw_set_roaming()
288 bool rtw_is_same_ibss23a(struct rtw_adapter *adapter, in rtw_is_same_ibss23a()
414 static void update_current_network(struct rtw_adapter *adapter, in update_current_network()
435 static void rtw_update_scanned_network(struct rtw_adapter *adapter, in rtw_update_scanned_network()
514 static void rtw_add_network(struct rtw_adapter *adapter, in rtw_add_network()
527 static int rtw_is_desired_network(struct rtw_adapter *adapter, in rtw_is_desired_network()
570 void rtw_survey_event_cb23a(struct rtw_adapter *adapter, const u8 *pbuf) in rtw_survey_event_cb23a()
637 rtw_surveydone_event_callback23a(struct rtw_adapter *adapter, const u8 *pbuf) in rtw_surveydone_event_callback23a()
734 void rtw_free_assoc_resources23a(struct rtw_adapter *adapter, in rtw_free_assoc_resources23a()
857 void rtw_scan_abort23a(struct rtw_adapter *adapter) in rtw_scan_abort23a()
[all …]
Drtw_recv.c214 u32 rtw_free_uc_swdec_pending_queue23a(struct rtw_adapter *adapter) in rtw_free_uc_swdec_pending_queue23a()
280 int recvframe_chkmic(struct rtw_adapter *adapter, in recvframe_chkmic()
530 static struct recv_frame *portctrl(struct rtw_adapter *adapter, in portctrl()
740 static int sta2sta_data_frame(struct rtw_adapter *adapter, in sta2sta_data_frame()
842 int ap2sta_data_frame(struct rtw_adapter *adapter, in ap2sta_data_frame()
969 int sta2ap_data_frame(struct rtw_adapter *adapter, in sta2ap_data_frame()
1234 static int validate_recv_data_frame(struct rtw_adapter *adapter, in validate_recv_data_frame()
1414 static int validate_recv_frame(struct rtw_adapter *adapter, in validate_recv_frame()
1502 struct rtw_adapter *adapter = precvframe->adapter; in wlanhdr_to_ethhdr() local
1568 struct recv_frame *recvframe_defrag(struct rtw_adapter *adapter, in recvframe_defrag()
[all …]
/linux-4.1.27/drivers/staging/rtl8188eu/core/
Drtw_mlme.c316 int rtw_is_same_ibss(struct adapter *adapter, struct wlan_network *pnetwork) in rtw_is_same_ibss()
426 static void update_current_network(struct adapter *adapter, struct wlan_bssid_ex *pnetwork) in update_current_network()
441 void rtw_update_scanned_network(struct adapter *adapter, struct wlan_bssid_ex *target) in rtw_update_scanned_network()
527 static void rtw_add_network(struct adapter *adapter, in rtw_add_network()
542 static int rtw_is_desired_network(struct adapter *adapter, struct wlan_network *pnetwork) in rtw_is_desired_network()
584 void rtw_atimdone_event_callback(struct adapter *adapter , u8 *pbuf) in rtw_atimdone_event_callback()
591 void rtw_survey_event_callback(struct adapter *adapter, u8 *pbuf) in rtw_survey_event_callback()
638 void rtw_surveydone_event_callback(struct adapter *adapter, u8 *pbuf) in rtw_surveydone_event_callback()
727 void rtw_dummy_event_callback(struct adapter *adapter , u8 *pbuf) in rtw_dummy_event_callback()
731 void rtw_fwdbg_event_callback(struct adapter *adapter , u8 *pbuf) in rtw_fwdbg_event_callback()
[all …]
Drtw_recv.c272 u32 rtw_free_uc_swdec_pending_queue(struct adapter *adapter) in rtw_free_uc_swdec_pending_queue()
285 static int recvframe_chkmic(struct adapter *adapter, in recvframe_chkmic()
489 static struct recv_frame *portctrl(struct adapter *adapter, in portctrl()
715 int sta2sta_data_frame(struct adapter *adapter, struct recv_frame *precv_frame, in sta2sta_data_frame()
803 struct adapter *adapter, in ap2sta_data_frame()
912 static int sta2ap_data_frame(struct adapter *adapter, in sta2ap_data_frame()
1139 static int validate_recv_data_frame(struct adapter *adapter, in validate_recv_data_frame()
1258 static int validate_recv_frame(struct adapter *adapter, in validate_recv_frame()
1378 struct adapter *adapter = precvframe->adapter; in wlanhdr_to_ethhdr() local
1436 static struct recv_frame *recvframe_defrag(struct adapter *adapter, in recvframe_defrag()
[all …]
Drtw_iol.c23 bool rtw_IOL_applied(struct adapter *adapter) in rtw_IOL_applied()
/linux-4.1.27/drivers/misc/cxl/
Dpci.c331 static int init_implementation_adapter_regs(struct cxl *adapter, struct pci_dev *dev) in init_implementation_adapter_regs()
375 int cxl_setup_irq(struct cxl *adapter, unsigned int hwirq, in cxl_setup_irq()
383 int cxl_update_image_control(struct cxl *adapter) in cxl_update_image_control()
418 int cxl_alloc_one_irq(struct cxl *adapter) in cxl_alloc_one_irq()
425 void cxl_release_one_irq(struct cxl *adapter, int hwirq) in cxl_release_one_irq()
432 int cxl_alloc_irq_ranges(struct cxl_irq_ranges *irqs, struct cxl *adapter, unsigned int num) in cxl_alloc_irq_ranges()
439 void cxl_release_irq_ranges(struct cxl_irq_ranges *irqs, struct cxl *adapter) in cxl_release_irq_ranges()
500 static int cxl_map_slice_regs(struct cxl_afu *afu, struct cxl *adapter, struct pci_dev *dev) in cxl_map_slice_regs()
547 static struct cxl_afu *cxl_alloc_afu(struct cxl *adapter, int slice) in cxl_alloc_afu()
675 static int cxl_init_afu(struct cxl *adapter, int slice, struct pci_dev *dev) in cxl_init_afu()
[all …]
Dmain.c63 struct cxl *adapter; in cxl_slbia_core() local
145 struct cxl *adapter; in get_cxl_adapter() local
155 int cxl_alloc_adapter_nr(struct cxl *adapter) in cxl_alloc_adapter_nr()
172 void cxl_remove_adapter_nr(struct cxl *adapter) in cxl_remove_adapter_nr()
Ddebugfs.c18 void cxl_stop_trace(struct cxl *adapter) in cxl_stop_trace()
54 int cxl_debugfs_adapter_add(struct cxl *adapter) in cxl_debugfs_adapter_add()
78 void cxl_debugfs_adapter_remove(struct cxl *adapter) in cxl_debugfs_adapter_remove()
Dsysfs.c25 struct cxl *adapter = to_cxl_adapter(device); in caia_version_show() local
35 struct cxl *adapter = to_cxl_adapter(device); in psl_revision_show() local
44 struct cxl *adapter = to_cxl_adapter(device); in base_image_show() local
53 struct cxl *adapter = to_cxl_adapter(device); in image_loaded_show() local
64 struct cxl *adapter = to_cxl_adapter(device); in reset_adapter_store() local
81 struct cxl *adapter = to_cxl_adapter(device); in load_image_on_perst_show() local
95 struct cxl *adapter = to_cxl_adapter(device); in load_image_on_perst_store() local
371 int cxl_sysfs_adapter_add(struct cxl *adapter) in cxl_sysfs_adapter_add()
385 void cxl_sysfs_adapter_remove(struct cxl *adapter) in cxl_sysfs_adapter_remove()
Dirq.c69 struct cxl *adapter = data; in cxl_irq_err() local
262 unsigned int cxl_map_irq(struct cxl *adapter, irq_hw_number_t hwirq, in cxl_map_irq()
293 static int cxl_register_one_irq(struct cxl *adapter, in cxl_register_one_irq()
318 int cxl_register_psl_err_irq(struct cxl *adapter) in cxl_register_psl_err_irq()
341 void cxl_release_psl_err_irq(struct cxl *adapter) in cxl_release_psl_err_irq()
/linux-4.1.27/drivers/staging/rtl8188eu/hal/
Dhal_com.c207 static void one_out_pipe(struct adapter *adapter) in one_out_pipe()
222 static void two_out_pipe(struct adapter *adapter, bool wifi_cfg) in two_out_pipe()
258 static void three_out_pipe(struct adapter *adapter, bool wifi_cfg) in three_out_pipe()
294 bool Hal_MappingOutPipe(struct adapter *adapter, u8 numoutpipe) in Hal_MappingOutPipe()
317 void hal_init_macaddr(struct adapter *adapter) in hal_init_macaddr()
Dodm_RTL8188E.c26 struct adapter *adapter = dm_odm->Adapter; in dm_rx_hw_antena_div_init() local
57 struct adapter *adapter = dm_odm->Adapter; in dm_trx_hw_antenna_div_init() local
101 struct adapter *adapter = dm_odm->Adapter; in dm_fast_training_init() local
190 struct adapter *adapter = dm_odm->Adapter; in rtl88eu_dm_update_rx_idle_ant() local
337 struct adapter *adapter = dm_odm->Adapter; in rtl88eu_dm_antenna_diversity() local
Dodm.c438 struct adapter *adapter = pDM_Odm->Adapter; in odm_CommonInfoSelfInit() local
519 struct adapter *adapter = pDM_Odm->Adapter; in ODM_Write_DIG() local
529 struct adapter *adapter = pDM_Odm->Adapter; in odm_DIGInit() local
731 struct adapter *adapter = pDM_Odm->Adapter; in odm_FalseAlarmCounterStatistics() local
845 struct adapter *adapter = pDM_Odm->Adapter; in ODM_RF_Saving() local
/linux-4.1.27/drivers/i2c/busses/
Di2c-robotfuzz-osif.c35 struct i2c_adapter adapter; member
39 static int osif_usb_read(struct i2c_adapter *adapter, int cmd, in osif_usb_read()
49 static int osif_usb_write(struct i2c_adapter *adapter, int cmd, in osif_usb_write()
60 static int osif_xfer(struct i2c_adapter *adapter, struct i2c_msg *msgs, in osif_xfer()
115 static u32 osif_func(struct i2c_adapter *adapter) in osif_func()
Di2c-taos-evm.c41 struct i2c_adapter adapter; member
55 static struct i2c_client *taos_instantiate_device(struct i2c_adapter *adapter) in taos_instantiate_device()
66 static int taos_smbus_xfer(struct i2c_adapter *adapter, u16 addr, in taos_smbus_xfer()
141 static u32 taos_smbus_func(struct i2c_adapter *adapter) in taos_smbus_func()
204 struct i2c_adapter *adapter; in taos_connect() local
Di2c-tiny-usb.c55 static int usb_xfer(struct i2c_adapter *adapter, struct i2c_msg *msgs, int num) in usb_xfer()
126 static u32 usb_func(struct i2c_adapter *adapter) in usb_func()
174 struct i2c_adapter adapter; /* i2c related things */ member
177 static int usb_read(struct i2c_adapter *adapter, int cmd, in usb_read()
188 static int usb_write(struct i2c_adapter *adapter, int cmd, in usb_write()
Di2c-parport.c40 struct i2c_adapter adapter; member
152 struct i2c_par *adapter = data; in i2c_parport_irq() local
165 struct i2c_par *adapter; in i2c_parport_attach() local
244 struct i2c_par *adapter, *_n; in i2c_parport_detach() local
Di2c-cbus-gpio.c169 static int cbus_i2c_smbus_xfer(struct i2c_adapter *adapter, in cbus_i2c_smbus_xfer()
194 static u32 cbus_i2c_func(struct i2c_adapter *adapter) in cbus_i2c_func()
206 struct i2c_adapter *adapter = platform_get_drvdata(pdev); in cbus_i2c_remove() local
215 struct i2c_adapter *adapter; in cbus_i2c_probe() local
Di2c-puv3.c173 static u32 puv3_i2c_func(struct i2c_adapter *adapter) in puv3_i2c_func()
188 struct i2c_adapter *adapter; in puv3_i2c_probe() local
234 struct i2c_adapter *adapter = platform_get_drvdata(pdev); in puv3_i2c_remove() local
Di2c-pasemi.c30 struct i2c_adapter adapter; member
115 static int pasemi_i2c_xfer_msg(struct i2c_adapter *adapter, in pasemi_i2c_xfer_msg()
158 static int pasemi_i2c_xfer(struct i2c_adapter *adapter, in pasemi_i2c_xfer()
174 static int pasemi_smb_xfer(struct i2c_adapter *adapter, in pasemi_smb_xfer()
325 static u32 pasemi_smb_func(struct i2c_adapter *adapter) in pasemi_smb_func()
Di2c-opal.c190 static u32 i2c_opal_func(struct i2c_adapter *adapter) in i2c_opal_func()
214 struct i2c_adapter *adapter; in i2c_opal_probe() local
253 struct i2c_adapter *adapter = platform_get_drvdata(pdev); in i2c_opal_remove() local
Dscx200_acb.c73 struct i2c_adapter adapter; member
276 static s32 scx200_acb_smbus_xfer(struct i2c_adapter *adapter, in scx200_acb_smbus_xfer()
372 static u32 scx200_acb_func(struct i2c_adapter *adapter) in scx200_acb_func()
427 struct i2c_adapter *adapter; in scx200_create_iface() local
448 struct i2c_adapter *adapter; in scx200_acb_create() local
Di2c-powermac.c188 static u32 i2c_powermac_func(struct i2c_adapter * adapter) in i2c_powermac_func()
208 struct i2c_adapter *adapter = platform_get_drvdata(dev); in i2c_powermac_remove() local
396 struct i2c_adapter *adapter; in i2c_powermac_probe() local
Di2c-sirf.c86 struct i2c_adapter adapter; member
397 struct i2c_adapter *adapter = platform_get_drvdata(pdev); in i2c_sirfsoc_remove() local
411 struct i2c_adapter *adapter = platform_get_drvdata(pdev); in i2c_sirfsoc_suspend() local
424 struct i2c_adapter *adapter = platform_get_drvdata(pdev); in i2c_sirfsoc_resume() local
/linux-4.1.27/drivers/staging/rtl8188eu/os_dep/
Dmlme_linux.c40 void rtw_os_indicate_connect(struct adapter *adapter) in rtw_os_indicate_connect()
55 void rtw_reset_securitypriv(struct adapter *adapter) in rtw_reset_securitypriv()
95 void rtw_os_indicate_disconnect(struct adapter *adapter) in rtw_os_indicate_disconnect()
102 void rtw_report_sec_ie(struct adapter *adapter, u8 authmode, u8 *sec_ie) in rtw_report_sec_ie()
Dusb_ops_linux.c313 u8 usb_read8(struct adapter *adapter, u32 addr) in usb_read8()
337 u16 usb_read16(struct adapter *adapter, u32 addr) in usb_read16()
356 u32 usb_read32(struct adapter *adapter, u32 addr) in usb_read32()
454 u32 usb_read_port(struct adapter *adapter, u32 addr, u32 cnt, u8 *rmem) in usb_read_port()
548 int usb_write8(struct adapter *adapter, u32 addr, u8 val) in usb_write8()
567 int usb_write16(struct adapter *adapter, u32 addr, u16 val) in usb_write16()
592 int usb_write32(struct adapter *adapter, u32 addr, u32 val) in usb_write32()
/linux-4.1.27/drivers/media/pci/mantis/
Dmantis_vp2040.c54 struct i2c_adapter *adapter = &mantis->adapter; in tda1002x_cu1216_tuner_set() local
108 struct i2c_adapter *adapter = &mantis->adapter; in read_pwm() local
126 struct i2c_adapter *adapter = &mantis->adapter; in vp2040_frontend_init() local
Dmantis_vp2033.c52 struct i2c_adapter *adapter = &mantis->adapter; in read_pwm() local
72 struct i2c_adapter *adapter = &mantis->adapter; in tda1002x_cu1216_tuner_set() local
126 struct i2c_adapter *adapter = &mantis->adapter; in vp2033_frontend_init() local
Dmantis_vp1033.c90 struct i2c_adapter *adapter = &mantis->adapter; in lgtdqcs001f_tuner_set() local
166 struct i2c_adapter *adapter = &mantis->adapter; in vp1033_frontend_init() local
Dmantis_i2c.c128 static int mantis_i2c_xfer(struct i2c_adapter *adapter, struct i2c_msg *msgs, int num) in mantis_i2c_xfer()
210 static u32 mantis_i2c_func(struct i2c_adapter *adapter) in mantis_i2c_func()
/linux-4.1.27/drivers/staging/rtl8723au/os_dep/
Dmlme_linux.c24 void rtw_reset_securitypriv23a(struct rtw_adapter *adapter) in rtw_reset_securitypriv23a()
73 void rtw_os_indicate_disconnect23a(struct rtw_adapter *adapter) in rtw_os_indicate_disconnect23a()
/linux-4.1.27/drivers/media/pci/ngene/
Dngene-cards.c180 static int i2c_read(struct i2c_adapter *adapter, u8 adr, u8 *val) in i2c_read()
187 static int i2c_read_reg16(struct i2c_adapter *adapter, u8 adr, in i2c_read_reg16()
375 static int i2c_write_eeprom(struct i2c_adapter *adapter, in i2c_write_eeprom()
389 static int i2c_read_eeprom(struct i2c_adapter *adapter, in i2c_read_eeprom()
405 static int ReadEEProm(struct i2c_adapter *adapter, in ReadEEProm()
445 static int WriteEEProm(struct i2c_adapter *adapter, in WriteEEProm()
507 static int eeprom_read_ushort(struct i2c_adapter *adapter, u16 tag, u16 *data) in eeprom_read_ushort()
523 static int eeprom_write_ushort(struct i2c_adapter *adapter, u16 tag, u16 data) in eeprom_write_ushort()
/linux-4.1.27/drivers/gpu/drm/gma500/
Dpsb_intel_modes.c29 bool psb_intel_ddc_probe(struct i2c_adapter *adapter) in psb_intel_ddc_probe()
63 struct i2c_adapter *adapter) in psb_intel_ddc_get_modes()
Dintel_gmbus.c68 struct i2c_adapter adapter; member
219 struct i2c_adapter *adapter, in intel_i2c_quirk_xfer()
245 gmbus_xfer(struct i2c_adapter *adapter, in gmbus_xfer()
360 static u32 gmbus_func(struct i2c_adapter *adapter) in gmbus_func()
448 void gma_intel_gmbus_set_speed(struct i2c_adapter *adapter, int speed) in gma_intel_gmbus_set_speed()
461 void gma_intel_gmbus_force_bit(struct i2c_adapter *adapter, bool force_bit) in gma_intel_gmbus_force_bit()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c56 static int t4_wait_op_done_val(struct adapter *adapter, int reg, u32 mask, in t4_wait_op_done_val()
74 static inline int t4_wait_op_done(struct adapter *adapter, int reg, u32 mask, in t4_wait_op_done()
91 void t4_set_reg_field(struct adapter *adapter, unsigned int addr, u32 mask, in t4_set_reg_field()
634 unsigned int t4_get_regs_len(struct adapter *adapter) in t4_get_regs_len()
1369 int t4_seeprom_wp(struct adapter *adapter, bool enable) in t4_seeprom_wp()
1383 int get_vpd_params(struct adapter *adapter, struct vpd_params *p) in get_vpd_params()
1519 static int sf1_read(struct adapter *adapter, unsigned int byte_cnt, int cont, in sf1_read()
1548 static int sf1_write(struct adapter *adapter, unsigned int byte_cnt, int cont, in sf1_write()
1569 static int flash_wait_op(struct adapter *adapter, int attempts, int delay) in flash_wait_op()
1600 int t4_read_flash(struct adapter *adapter, unsigned int addr, in t4_read_flash()
[all …]
Dcxgb4.h409 struct adapter *adapter; member
668 struct adapter { struct
681 struct adapter_params params; argument
682 struct cxgb4_virt_res vres;
683 unsigned int swintr;
685 unsigned int wol;
687 struct {
690 } msix_info[MAX_INGQ + 1];
692 struct sge sge;
694 struct net_device *port[MAX_NPORTS];
[all …]
/linux-4.1.27/drivers/video/fbdev/core/
Dfb_ddc.c22 static unsigned char *fb_do_probe_ddc_edid(struct i2c_adapter *adapter) in fb_do_probe_ddc_edid()
54 unsigned char *fb_ddc_read(struct i2c_adapter *adapter) in fb_ddc_read()
/linux-4.1.27/drivers/net/ethernet/ibm/ehea/
Dehea_main.c157 struct ehea_adapter *adapter; in ehea_update_firmware_handles() local
246 struct ehea_adapter *adapter; in ehea_update_bcmc_registrations() local
984 static struct ehea_port *ehea_get_port(struct ehea_adapter *adapter, in ehea_get_port()
1161 static void ehea_parse_eqe(struct ehea_adapter *adapter, u64 eqe) in ehea_parse_eqe()
1245 struct ehea_adapter *adapter = (struct ehea_adapter *)data; in ehea_neq_tasklet() local
1269 struct ehea_adapter *adapter = param; in ehea_interrupt_neq() local
1421 struct ehea_adapter *adapter = pr->port->adapter; in ehea_gen_smrs() local
1467 struct ehea_adapter *adapter = port->adapter; in ehea_init_port_res() local
2128 struct ehea_adapter *adapter = port->adapter; in ehea_vlan_rx_add_vid() local
2166 struct ehea_adapter *adapter = port->adapter; in ehea_vlan_rx_kill_vid() local
[all …]
Dehea_qmr.c122 struct ehea_cq *ehea_create_cq(struct ehea_adapter *adapter, in ehea_create_cq()
249 struct ehea_eq *ehea_create_eq(struct ehea_adapter *adapter, in ehea_create_eq()
379 struct ehea_adapter *adapter, int h_call_q_selector) in ehea_qp_alloc_register()
417 struct ehea_qp *ehea_create_qp(struct ehea_adapter *adapter, in ehea_create_qp()
814 struct ehea_adapter *adapter, in ehea_reg_mr_section()
845 struct ehea_adapter *adapter, in ehea_reg_mr_sections()
863 struct ehea_adapter *adapter, in ehea_reg_mr_dir_sections()
880 int ehea_reg_kernel_mr(struct ehea_adapter *adapter, struct ehea_mr *mr) in ehea_reg_kernel_mr()
954 int ehea_gen_smr(struct ehea_adapter *adapter, struct ehea_mr *old_mr, in ehea_gen_smr()
994 u64 ehea_error_data(struct ehea_adapter *adapter, u64 res_handle, in ehea_error_data()
/linux-4.1.27/drivers/media/usb/go7007/
Dgo7007-i2c.c136 static int go7007_smbus_xfer(struct i2c_adapter *adapter, u16 addr, in go7007_smbus_xfer()
153 static int go7007_i2c_master_xfer(struct i2c_adapter *adapter, in go7007_i2c_master_xfer()
189 static u32 go7007_functionality(struct i2c_adapter *adapter) in go7007_functionality()
/linux-4.1.27/drivers/i2c/
Di2c-core.c84 struct i2c_adapter *adapter; member
124 struct i2c_adapter *adapter = data; in acpi_i2c_add_device() local
260 struct i2c_adapter *adapter = data->adapter; in acpi_i2c_space_handler() local
370 static int acpi_i2c_install_space_handler(struct i2c_adapter *adapter) in acpi_i2c_install_space_handler()
412 static void acpi_i2c_remove_space_handler(struct i2c_adapter *adapter) in acpi_i2c_remove_space_handler()
437 static inline void acpi_i2c_remove_space_handler(struct i2c_adapter *adapter) in acpi_i2c_remove_space_handler()
440 static inline int acpi_i2c_install_space_handler(struct i2c_adapter *adapter) in acpi_i2c_install_space_handler()
818 static int i2c_check_mux_parents(struct i2c_adapter *adapter, int addr) in i2c_check_mux_parents()
846 static int i2c_check_addr_busy(struct i2c_adapter *adapter, int addr) in i2c_check_addr_busy()
865 void i2c_lock_adapter(struct i2c_adapter *adapter) in i2c_lock_adapter()
[all …]
Di2c-smbus.c139 struct i2c_adapter *adapter = ara->adapter; in smbalert_probe() local
210 struct i2c_client *i2c_setup_smbus_alert(struct i2c_adapter *adapter, in i2c_setup_smbus_alert()
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_i2c.c156 intel_gpio_pre_xfer(struct i2c_adapter *adapter) in intel_gpio_pre_xfer()
172 intel_gpio_post_xfer(struct i2c_adapter *adapter) in intel_gpio_post_xfer()
430 gmbus_xfer(struct i2c_adapter *adapter, in gmbus_xfer()
559 static u32 gmbus_func(struct i2c_adapter *adapter) in gmbus_func()
645 void intel_gmbus_set_speed(struct i2c_adapter *adapter, int speed) in intel_gmbus_set_speed()
652 void intel_gmbus_force_bit(struct i2c_adapter *adapter, bool force_bit) in intel_gmbus_force_bit()
Ddvo_sil164.c71 struct i2c_adapter *adapter = dvo->i2c_bus; in sil164_readb() local
108 struct i2c_adapter *adapter = dvo->i2c_bus; in sil164_writeb() local
133 struct i2c_adapter *adapter) in sil164_init()
Ddvo_ns2501.c380 struct i2c_adapter *adapter = dvo->i2c_bus; in ns2501_readb() local
425 struct i2c_adapter *adapter = dvo->i2c_bus; in ns2501_writeb() local
457 struct i2c_adapter *adapter) in ns2501_init()
Ddvo_tfp410.c96 struct i2c_adapter *adapter = dvo->i2c_bus; in tfp410_readb() local
133 struct i2c_adapter *adapter = dvo->i2c_bus; in tfp410_writeb() local
169 struct i2c_adapter *adapter) in tfp410_init()
/linux-4.1.27/drivers/platform/x86/
Dmxm-wmi.c43 int mxm_wmi_call_mxds(int adapter) in mxm_wmi_call_mxds()
68 int mxm_wmi_call_mxmx(int adapter) in mxm_wmi_call_mxmx()
/linux-4.1.27/drivers/media/pci/ttpci/
Dttpci-eeprom.c117 static int ttpci_eeprom_read_encodedMAC(struct i2c_adapter *adapter, u8 * encodedMAC) in ttpci_eeprom_read_encodedMAC()
138 int ttpci_eeprom_parse_mac(struct i2c_adapter *adapter, u8 *proposed_mac) in ttpci_eeprom_parse_mac()
/linux-4.1.27/drivers/staging/rtl8723au/hal/
Dodm.c242 void ODM_DMWatchdog23a(struct rtw_adapter *adapter) in ODM_DMWatchdog23a()
444 struct rtw_adapter *adapter = pDM_Odm->Adapter; in ODM_Write_DIG23a() local
542 void odm_DIG23a(struct rtw_adapter *adapter) in odm_DIG23a()
723 struct rtw_adapter *adapter = pDM_Odm->Adapter; in odm_FalseAlarmCounterStatistics23a() local
905 struct rtw_adapter *adapter = pDM_Odm->Adapter; in ODM_RF_Saving23a() local
1426 struct rtw_adapter *adapter = pDM_Odm->Adapter; in GetPSDData() local
1521 struct rtw_adapter *adapter = pDM_Odm->Adapter; in ODM_SingleDualAntennaDetection() local
/linux-4.1.27/drivers/video/fbdev/omap2/displays-new/
Dconnector-dvi.c146 static int dvic_ddc_read(struct i2c_adapter *adapter, in dvic_ddc_read()
250 struct i2c_adapter *adapter; in dvic_probe_pdata() local
285 struct i2c_adapter *adapter; in dvic_probe_of() local
/linux-4.1.27/drivers/misc/eeprom/
Deeprom.c133 struct i2c_adapter *adapter = client->adapter; in eeprom_detect() local
160 struct i2c_adapter *adapter = client->adapter; in eeprom_probe() local

1234