Home
last modified time | relevance | path

Searched defs:adapter (Results 1 – 25 of 50) sorted by relevance

12

/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_nic_hw.c311 crb_win_lock(struct unm_adapter_s *adapter) in crb_win_lock()
339 crb_win_unlock(struct unm_adapter_s *adapter) in crb_win_unlock()
398 unm_nic_get_crbwindow(unm_adapter *adapter) in unm_nic_get_crbwindow()
1659 unm_nic_get_board_info(struct unm_adapter_s *adapter) in unm_nic_get_board_info()
1933 unm_nic_init_port(struct unm_adapter_s *adapter) in unm_nic_init_port()
1973 unm_nic_stop_port(struct unm_adapter_s *adapter) in unm_nic_stop_port()
1995 struct unm_adapter_s *adapter) in unm_crb_write_adapter()
2002 struct unm_adapter_s *adapter) in unm_crb_read_adapter()
2069 unm_nic_flash_print(struct unm_adapter_s *adapter) in unm_nic_flash_print()
2179 nx_p3_nic_set_promisc(unm_adapter *adapter, u32 mode) in nx_p3_nic_set_promisc()
[all …]
H A Dunm_nic_main.c225 unm_nic_clear_int(unm_adapter *adapter) in unm_nic_clear_int()
370 unm_nic_remove(unm_adapter *adapter) in unm_nic_remove()
397 init_firmware(unm_adapter *adapter) in init_firmware()
1153 unm_adapter *adapter = v; in unm_watchdog() local
1179 unm_nic_poll(unm_adapter *adapter) in unm_nic_poll()
1802 unm_nic_resume(unm_adapter *adapter) in unm_nic_resume()
1822 unm_nic_suspend(unm_adapter *adapter) in unm_nic_suspend()
2069 unm_adapter *adapter; in unm_kstat_update() local
2162 unm_fini_kstats(unm_adapter* adapter) in unm_fini_kstats()
2198 unm_adapter *adapter = arg; in ntxn_m_start() local
[all …]
H A Dniu.c54 static int phy_lock(struct unm_adapter_s *adapter) in phy_lock()
76 phy_unlock(struct unm_adapter_s *adapter) in phy_unlock()
99 unm_niu_gbe_phy_read(struct unm_adapter_s *adapter, long reg, in unm_niu_gbe_phy_read()
177 unm_niu_macaddr_get(struct unm_adapter_s *adapter, unsigned char *addr) in unm_niu_macaddr_get()
232 unm_niu_enable_gbe_port(struct unm_adapter_s *adapter) in unm_niu_enable_gbe_port()
351 unm_niu_disable_gbe_port(struct unm_adapter_s *adapter) in unm_niu_disable_gbe_port()
373 unm_niu_disable_xg_port(struct unm_adapter_s *adapter) in unm_niu_disable_xg_port()
398 unm_niu_set_promiscuous_mode(struct unm_adapter_s *adapter, in unm_niu_set_promiscuous_mode()
478 unm_niu_xg_macaddr_set(struct unm_adapter_s *adapter, in unm_niu_xg_macaddr_set()
546 unm_niu_xg_set_promiscuous_mode(struct unm_adapter_s *adapter, in unm_niu_xg_set_promiscuous_mode()
[all …]
H A Dunm_gem.c287 unm_free_dummy_dma(unm_adapter *adapter) in unm_free_dummy_dma()
297 unm_pci_cfg_init(unm_adapter *adapter) in unm_pci_cfg_init()
391 unm_free_tx_dmahdl(unm_adapter *adapter) in unm_free_tx_dmahdl()
414 unm_alloc_tx_dmahdl(unm_adapter *adapter) in unm_alloc_tx_dmahdl()
521 unm_free_tx_buffers(unm_adapter *adapter) in unm_free_tx_buffers()
705 unm_check_options(unm_adapter *adapter) in unm_check_options()
894 unm_pci_map_setup(unm_adapter *adapter) in unm_pci_map_setup()
1061 unm_destroy_intr(unm_adapter *adapter) in unm_destroy_intr()
1151 unm_adapter *adapter; in unmattach() local
1388 create_rxtx_rings(unm_adapter *adapter) in create_rxtx_rings()
[all …]
H A Dunm_nic_init.c165 rom_lock(unm_adapter *adapter) in rom_lock()
187 rom_unlock(unm_adapter *adapter) in rom_unlock()
196 wait_rom_done(unm_adapter *adapter) in wait_rom_done()
215 do_rom_fast_read(unm_adapter *adapter, int addr, int *valp) in do_rom_fast_read()
237 rom_fast_read(struct unm_adapter_s *adapter, int addr, int *valp) in rom_fast_read()
258 pinit_from_rom(struct unm_adapter_s *adapter, int verbose) in pinit_from_rom()
443 phantom_init(struct unm_adapter_s *adapter, int pegtune_val) in phantom_init()
474 load_from_flash(struct unm_adapter_s *adapter) in load_from_flash()
H A Dunm_nic_ctx.c114 netxen_api_lock(struct unm_adapter_s *adapter) in netxen_api_lock()
141 netxen_api_unlock(struct unm_adapter_s *adapter) in netxen_api_unlock()
151 netxen_poll_rsp(struct unm_adapter_s *adapter) in netxen_poll_rsp()
173 netxen_issue_cmd(struct unm_adapter_s *adapter, in netxen_issue_cmd()
245 nx_fw_cmd_create_rx_ctx(struct unm_adapter_s *adapter) in nx_fw_cmd_create_rx_ctx()
375 nx_fw_cmd_destroy_rx_ctx(struct unm_adapter_s *adapter) in nx_fw_cmd_destroy_rx_ctx()
393 nx_fw_cmd_create_tx_ctx(struct unm_adapter_s *adapter) in nx_fw_cmd_create_tx_ctx()
485 nx_fw_cmd_destroy_tx_ctx(struct unm_adapter_s *adapter) in nx_fw_cmd_destroy_tx_ctx()
577 netxen_init_old_ctx(struct unm_adapter_s *adapter) in netxen_init_old_ctx()
633 netxen_destroy_rxtx(struct unm_adapter_s *adapter) in netxen_destroy_rxtx()
[all …]
H A Dunm_ndd.c185 unm_param_register(unm_adapter *adapter) in unm_param_register()
262 unm_nd_init(unm_adapter *adapter) in unm_nd_init()
428 unm_nd_ioctl(unm_adapter *adapter, queue_t *wq, mblk_t *mp, struct iocblk *iocp) in unm_nd_ioctl()
498 unm_nd_cleanup(unm_adapter *adapter) in unm_nd_cleanup()
H A Dunm_nic_isr.c55 unm_nic_isr_other(struct unm_adapter_s *adapter) in unm_nic_isr_other()
77 unm_nic_handle_phy_intr(struct unm_adapter_s *adapter) in unm_nic_handle_phy_intr()
/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Dch_subr.c160 link_changed(adapter_t *adapter, int port_id) in link_changed()
224 static int fpga_slow_intr(adapter_t *adapter) in fpga_slow_intr()
866 elmer0_ext_intr_handler(adapter_t *adapter) in elmer0_ext_intr_handler()
974 t1_interrupts_enable(adapter_t *adapter) in t1_interrupts_enable()
1026 t1_interrupts_disable(adapter_t * adapter) in t1_interrupts_disable()
1063 t1_interrupts_clear(adapter_t * adapter) in t1_interrupts_clear()
1104 static int asic_slow_intr(adapter_t *adapter) in asic_slow_intr()
1139 t1_slow_intr_handler(adapter_t *adapter) in t1_slow_intr_handler()
1150 power_sequence_xpak(adapter_t * adapter) in power_sequence_xpak()
1233 t1_init_hw_modules(adapter_t *adapter) in t1_init_hw_modules()
[all …]
H A Despi.c33 adapter_t *adapter; member
49 static int tricn_write(adapter_t *adapter, int bundle_addr, int module_addr, in tricn_write()
97 static int tricn_init(adapter_t *adapter) in tricn_init()
192 static void espi_setup_for_pm3393(adapter_t *adapter) in espi_setup_for_pm3393()
208 static void espi_setup_for_vsc7321(adapter_t *adapter) in espi_setup_for_vsc7321()
238 static void espi_setup_for_ixf1010(adapter_t *adapter, int nports) in espi_setup_for_ixf1010()
266 adapter_t *adapter = espi->adapter; in t1_espi_init() local
319 struct peespi *t1_espi_create(adapter_t *adapter) in t1_espi_create()
328 void t1_espi_set_misc_ctrl(adapter_t *adapter, u32 val) in t1_espi_set_misc_ctrl()
341 u32 t1_espi_get_mon(adapter_t *adapter, u32 addr, u8 wait) in t1_espi_get_mon()
[all …]
H A Dmc3.c37 adapter_t *adapter; member
111 adapter_t *adapter = mc3->adapter; in t1_mc3_intr_handler() local
175 #define is_MC3A(adapter) (!t1_is_T1B(adapter)) argument
182 static int wrreg_wait(adapter_t *adapter, unsigned int addr, u32 val) in wrreg_wait()
199 adapter_t *adapter = mc3->adapter; in t1_mc3_init() local
328 static unsigned int __devinit mc3_calc_size(const adapter_t *adapter, u32 cfg) in mc3_calc_size()
341 struct pemc3 * __devinit t1_mc3_create(adapter_t *adapter) in t1_mc3_create()
H A Dmc4.c35 adapter_t *adapter; member
46 #define is_MC4A(adapter) (!t1_is_T1B(adapter)) argument
49 static unsigned int __devinit mc4_calc_size(adapter_t *adapter) in mc4_calc_size()
64 static int wrreg_wait(adapter_t *adapter, unsigned int addr, u32 val) in wrreg_wait()
88 adapter_t *adapter = mc4->adapter; in t1_mc4_init() local
193 struct pemc4 * __devinit t1_mc4_create(adapter_t *adapter) in t1_mc4_create()
248 adapter_t *adapter = mc4->adapter; in t1_mc4_intr_handler() local
H A Dvsc7326.c55 static void vsc_read(adapter_t *adapter, u32 addr, u32 *val) in vsc_read()
83 static void vsc_write(adapter_t *adapter, u32 addr, u32 data) in vsc_write()
95 static void vsc7326_full_reset(adapter_t* adapter) in vsc7326_full_reset()
240 static void run_table(adapter_t *adapter, struct init_table *ib, int len) in run_table()
254 static int bist_rd(adapter_t *adapter, int moduleid, int address) in bist_rd()
311 static int run_bist(adapter_t *adapter, int moduleid) in run_bist()
320 static int check_bist(adapter_t *adapter, int moduleid) in check_bist()
334 static int enable_mem(adapter_t *adapter, int moduleid) in enable_mem()
341 static int run_bist_all(adapter_t *adapter) in run_bist_all()
724 static struct cmac *vsc7326_mac_create(adapter_t *adapter, int index) in vsc7326_mac_create()
[all …]
H A Dcspi.c33 adapter_t *adapter; member
60 adapter_t *adapter = cspi->adapter; in t1_cspi_init() local
67 struct pecspi *t1_cspi_create(adapter_t *adapter) in t1_cspi_create()
H A Dmy3126.c76 adapter_t *adapter; in my3126_interrupt_handler() local
136 adapter_t *adapter; in my3126_get_link_status() local
205 static struct cphy *my3126_phy_create(adapter_t *adapter, int phy_addr, in my3126_phy_create()
223 static int my3126_phy_reset(adapter_t *adapter) in my3126_phy_reset()
H A Dtp.c36 adapter_t *adapter; member
52 static void tp_pm_configure(adapter_t *adapter, struct tp_params *p) in tp_pm_configure()
74 static void tp_cm_configure(adapter_t *adapter, u32 cm_size) in tp_cm_configure()
105 static void tp_set_tcp_time_params(adapter_t *adapter, unsigned int tp_clk) in tp_set_tcp_time_params()
286 struct petp * __devinit t1_tp_create(adapter_t *adapter, struct tp_params *p) in t1_tp_create()
419 adapter_t *adapter = tp->adapter; in t1_tp_reset() local
H A Dulp.c33 adapter_t *adapter; member
122 adapter_t *adapter = ulp->adapter; in t1_ulp_init() local
151 struct peulp *t1_ulp_create(adapter_t *adapter) in t1_ulp_create()
H A Dvsc7321.c66 static void vsc_read(adapter_t *adapter, u32 addr, u32 *val) in vsc_read()
84 static void vsc_write(adapter_t *adapter, u32 addr, u32 data) in vsc_write()
91 static void vsc7321_full_reset(adapter_t* adapter) in vsc7321_full_reset()
221 static void run_table(adapter_t *adapter, struct init_table *ib, int len) in run_table()
235 static int vsc7321_mac_reset(adapter_t *adapter) in vsc7321_mac_reset()
240 static struct cmac *vsc7321_mac_create(adapter_t *adapter, int index) in vsc7321_mac_create()
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dadapter.h489 struct adapter { struct
491 dev_info_t *dip;
492 dev_t dev;
500 u32 t4_bar0;
509 caddr_t regp;
512 caddr_t reg1p;
515 int intr_type;
516 int intr_count;
517 int intr_cap;
541 struct adapter_params params; argument
[all …]
/illumos-gate/usr/src/uts/common/io/rsm/
H A Drsmka_pathmanager.c311 adapter_t *adapter; in do_deferred_work() local
660 adapter_t *adapter; in rsmka_add_adapter() local
774 adapter_t *adapter; in rsmka_remove_adapter() local
871 adapter_t *adapter; in rsmka_add_path() local
1408 adapter_t *adapter; in rsmka_do_path_active() local
1937 link_adapter(adapter_t *adapter) in link_adapter()
1977 adapter_t *adapter; in init_adapter() local
2025 adapter_t *adapter; in lookup_path() local
2068 adapter_t *adapter; in rsm_find_path() local
2666 adapter_t *adapter; in create_ipc_sendq() local
[all …]
/illumos-gate/usr/src/uts/common/sys/rsm/
H A Drsmka_path_int.h172 typedef struct adapter { struct
173 struct adapter *next; argument
174 struct adapter_listhead *listhead; argument
185 } adapter_t; argument
200 * There is one adapter_listhead for each adapter devname. This argument
252 #define ADAPTER_HOLD(adapter) { \ argument
259 #define ADAPTER_RELE(adapter) { \ argument
266 #define ADAPTER_RELE_NOLOCK(adapter) { \ argument
/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_debug.h48 #define IGB_DEBUGLOG_0(adapter, fmt) \ argument
50 #define IGB_DEBUGLOG_1(adapter, fmt, d1) \ argument
52 #define IGB_DEBUGLOG_2(adapter, fmt, d1, d2) \ argument
54 #define IGB_DEBUGLOG_3(adapter, fmt, d1, d2, d3) \ argument
/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_debug.h48 #define IXGBE_DEBUGLOG_0(adapter, fmt) \ argument
50 #define IXGBE_DEBUGLOG_1(adapter, fmt, d1) \ argument
52 #define IXGBE_DEBUGLOG_2(adapter, fmt, d1, d2) \ argument
54 #define IXGBE_DEBUGLOG_3(adapter, fmt, d1, d2, d3) \ argument
56 #define IXGBE_DEBUGLOG_6(adapter, fmt, d1, d2, d3, d4, d5, d6) \ argument
H A Dixgbe_debug.c38 ixgbe_dump_interrupt(void *adapter, char *tag) in ixgbe_dump_interrupt()
150 ixgbe_dump_addr(void *adapter, char *tag, const uint8_t *addr) in ixgbe_dump_addr()
427 ixgbe_dump_regs(void *adapter) in ixgbe_dump_regs()
/illumos-gate/usr/src/uts/common/io/cxgbe/common/
H A Dt4_hw.c243 static void t4_record_mbox(struct adapter *adapter, in t4_record_mbox()
3356 int t4_get_pfres(struct adapter *adapter) in t4_get_pfres()
4128 int t4_flash_cfg_addr(struct adapter *adapter) in t4_flash_cfg_addr()
5384 void t4_intr_enable(struct adapter *adapter) in t4_intr_enable()
5415 void t4_intr_disable(struct adapter *adapter) in t4_intr_disable()
9431 struct adapter *adapter = pi->adapter; in t4_handle_get_port_info() local
9950 int t4_prep_pf(struct adapter *adapter) in t4_prep_pf()
10592 struct adapter *adapter = pi->adapter; in t4_init_portmirror() local
10663 struct adapter *adapter = pi->adapter; in t4_init_portinfo_viid() local
11142 void t4_idma_monitor(struct adapter *adapter, in t4_idma_monitor()
[all …]

12