/freebsd/sys/dev/cxgbe/common/ |
H A D | t4_hw.c | 119 void t4_read_indirect(struct adapter *adap, unsigned int addr_reg, in t4_read_indirect() 142 void t4_write_indirect(struct adapter *adap, unsigned int addr_reg, in t4_write_indirect() 162 u32 t4_hw_pci_read_cfg4(adapter_t *adap, int reg) in t4_hw_pci_read_cfg4() 197 void t4_report_fw_error(struct adapter *adap) in t4_report_fw_error() 221 static void get_mbox_rpl(struct adapter *adap, __be64 *rpl, int nflit, in get_mbox_rpl() 231 static void fw_asrt(struct adapter *adap, struct fw_debug_cmd *asrt) in fw_asrt() 247 t4_port_reg(struct adapter *adap, u8 port, u32 reg) in t4_port_reg() 326 int t4_wr_mbox_meat_timeout(struct adapter *adap, int mbox, const void *cmd, in t4_wr_mbox_meat_timeout() 508 int t4_wr_mbox_meat(struct adapter *adap, int mbox, const void *cmd, int size, in t4_wr_mbox_meat() 516 static int t4_edc_err_read(struct adapter *adap, int idx) in t4_edc_err_read() [all …]
|
H A D | common.h | 495 static inline int is_offload(const struct adapter *adap) in is_offload() 500 static inline int is_ethoffload(const struct adapter *adap) in is_ethoffload() 505 static inline int is_hashfilter(const struct adapter *adap) in is_hashfilter() 510 static inline int is_ktls(const struct adapter *adap) in is_ktls() 515 static inline int chip_id(struct adapter *adap) in chip_id() 520 static inline int chip_rev(struct adapter *adap) in chip_rev() 525 static inline int is_t4(struct adapter *adap) in is_t4() 530 static inline int is_t5(struct adapter *adap) in is_t5() 535 static inline int is_t6(struct adapter *adap) in is_t6() 540 static inline int is_fpga(struct adapter *adap) in is_fpga() [all …]
|
/freebsd/sys/dev/cxgb/common/ |
H A D | cxgb_vsc7323.c | 51 int t3_elmr_blk_write(adapter_t *adap, int start, const u32 *vals, int n) in t3_elmr_blk_write() 69 static int elmr_write(adapter_t *adap, int addr, u32 val) in elmr_write() 74 int t3_elmr_blk_read(adapter_t *adap, int start, u32 *vals, int n) in t3_elmr_blk_read() 111 int t3_vsc7323_init(adapter_t *adap, int nports) in t3_vsc7323_init() 193 int t3_vsc7323_set_speed_fc(adapter_t *adap, int speed, int fc, int port) in t3_vsc7323_set_speed_fc() 224 int t3_vsc7323_set_mtu(adapter_t *adap, unsigned int mtu, int port) in t3_vsc7323_set_mtu() 229 int t3_vsc7323_set_addr(adapter_t *adap, u8 addr[6], int port) in t3_vsc7323_set_addr() 241 int t3_vsc7323_enable(adapter_t *adap, int port, int which) in t3_vsc7323_enable() 259 int t3_vsc7323_disable(adapter_t *adap, int port, int which) in t3_vsc7323_disable()
|
H A D | cxgb_xgmac.c | 48 adapter_t *adap = mac->adapter; in xgm_reset_ctrl() local 73 adapter_t *adap = mac->adapter; in xaui_serdes_reset() local 159 adapter_t *adap = mac->adapter; in t3_mac_init() local 222 adapter_t *adap = mac->adapter; in t3_mac_reset() local 435 adapter_t *adap = mac->adapter; in t3_mac_set_rx_mode() local 478 adapter_t *adap = mac->adapter; in t3_mac_set_mtu() local 571 adapter_t *adap = mac->adapter; in t3_mac_set_speed_duplex_fc() local 649 adapter_t *adap = mac->adapter; in t3_mac_enable() local 700 adapter_t *adap = mac->adapter; in t3_mac_disable() local 725 adapter_t *adap = mac->adapter; in t3b2_mac_watchdog_task() local
|
H A D | cxgb_mc5.c | 133 adapter_t *adap = mc5->adapter; in init_mask_data_array() local 181 adapter_t *adap = mc5->adapter; in init_idt52100() local 245 adapter_t *adap = mc5->adapter; in init_idt43102() local 333 adapter_t *adap = mc5->adapter; in t3_mc5_init() local 395 adapter_t *adap = mc5->adapter; in t3_read_mc5_range() local 430 adapter_t *adap = mc5->adapter; in t3_mc5_intr_handler() local
|
H A D | cxgb_t3_hw.c | 120 static void t3_read_indirect(adapter_t *adap, unsigned int addr_reg, in t3_read_indirect() 148 adapter_t *adap = mc7->adapter; in t3_mc7_bd_read() local 248 static void mi1_init(adapter_t *adap, const struct adapter_info *ai) in mi1_init() 1417 int t3_cim_ctl_blk_read(adapter_t *adap, unsigned int addr, unsigned int n, in t3_cim_ctl_blk_read() 2151 static int mac_intr_handler(adapter_t *adap, unsigned int idx) in mac_intr_handler() 2298 static unsigned int calc_gpio_intr(adapter_t *adap) in calc_gpio_intr() 2528 static int clear_sge_ctxt(adapter_t *adap, unsigned int id, unsigned int type) in clear_sge_ctxt() 3024 void t3_tp_set_offload_mode(adapter_t *adap, int enable) in t3_tp_set_offload_mode() 3040 static void tp_wr_bits_indirect(adapter_t *adap, unsigned int addr, in tp_wr_bits_indirect() 3054 void t3_enable_filters(adapter_t *adap) in t3_enable_filters() [all …]
|
H A D | cxgb_common.h | 643 #define adapter_info(adap) ((adap)->params.info) argument 645 static inline int uses_xaui(const adapter_t *adap) in uses_xaui() 650 static inline int is_10G(const adapter_t *adap) in is_10G() 655 static inline int is_offload(const adapter_t *adap) in is_offload() 660 static inline unsigned int core_ticks_per_usec(const adapter_t *adap) in core_ticks_per_usec() 665 static inline unsigned int dack_ticks_to_usec(const adapter_t *adap, in dack_ticks_to_usec() 671 static inline unsigned int is_pcie(const adapter_t *adap) in is_pcie()
|
H A D | cxgb_vsc8211.c | 392 int t3_vsc8211_fifo_depth(adapter_t *adap, unsigned int mtu, int port) in t3_vsc8211_fifo_depth()
|
/freebsd/sys/dev/cxgb/ |
H A D | cxgb_sge.c | 428 t3_sge_init(adapter_t *adap, struct sge_params *p) in t3_sge_init() 548 t3_sge_prep(adapter_t *adap, struct sge_params *p) in t3_sge_prep() 817 __refill_fl(adapter_t *adap, struct sge_fl *fl) in __refill_fl() 823 __refill_fl_lt(adapter_t *adap, struct sge_fl *fl, int max) in __refill_fl_lt() 841 recycle_rx_buf(adapter_t *adap, struct sge_fl *q, unsigned int idx) in recycle_rx_buf() 1230 check_ring_tx_db(adapter_t *adap, struct sge_txq *q, int mustring) in check_ring_tx_db() 1829 check_desc_avail(adapter_t *adap, struct sge_txq *q, in check_desc_avail() 1886 ctrl_xmit(adapter_t *adap, struct sge_qset *qs, struct mbuf *m) in ctrl_xmit() 1937 adapter_t *adap = qs->port->adapter; in restart_ctrlq() local 1972 t3_mgmt_tx(struct adapter *adap, struct mbuf *m) in t3_mgmt_tx() [all …]
|
H A D | cxgb_osdep.h | 126 #define CH_ERR(adap, fmt, ...) log(LOG_ERR, fmt, ##__VA_ARGS__) argument 127 #define CH_WARN(adap, fmt, ...) log(LOG_WARNING, fmt, ##__VA_ARGS__) argument 128 #define CH_ALERT(adap, fmt, ...) log(LOG_ALERT, fmt, ##__VA_ARGS__) argument
|
H A D | cxgb_main.c | 1205 void t3_os_phymod_changed(struct adapter *adap, int port_id) in t3_os_phymod_changed() 1270 await_mgmt_replies(struct adapter *adap, unsigned long init_cnt, in await_mgmt_replies() 1284 init_tp_parity(struct adapter *adap) in init_tp_parity() 1358 setup_rss(adapter_t *adap) in setup_rss() 1394 send_pktsched_cmd(struct adapter *adap, int sched, int qidx, int lo, in send_pktsched_cmd() 1432 update_tpeeprom(struct adapter *adap) in update_tpeeprom() 1490 update_tpsram(struct adapter *adap) in update_tpsram() 3542 adapter_t *adap; in cxgb_debugnet_init() local 3591 adapter_t *adap; in cxgb_debugnet_poll() local
|
H A D | cxgb_adapter.h | 283 struct adapter *adap; member 420 #define ADAPTER_LOCK(adap) mtx_lock(&(adap)->lock); argument 421 #define ADAPTER_UNLOCK(adap) mtx_unlock(&(adap)->lock); argument 422 #define ADAPTER_LOCK_INIT(adap, name) mtx_init(&(adap)->lock, name, 0, MTX_DEF) argument 423 #define ADAPTER_LOCK_DEINIT(adap) mtx_destroy(&(adap)->lock) argument 424 #define ADAPTER_LOCK_ASSERT_NOTOWNED(adap) mtx_assert(&(adap)->lock, MA_NOTOWNED) argument 425 #define ADAPTER_LOCK_ASSERT_OWNED(adap) mtx_assert(&(adap)->lock, MA_OWNED) argument 472 adap2pinfo(struct adapter *adap, int idx) in adap2pinfo()
|
/freebsd/sys/dev/cxgbe/cudbg/ |
H A D | cudbg_flash_utils.c | 157 struct adapter *adap = cudbg_init->adap; in cudbg_write_flash() local 246 int write_flash(struct adapter *adap, u32 start_sec, void *data, u32 size) in write_flash() 331 struct adapter *adap = cudbg_init->adap; in cudbg_read_flash() local 465 int read_flash(struct adapter *adap, u32 start_sec , void *data, u32 size, in read_flash()
|
H A D | cudbg.h | 352 void *adap; member 371 struct adapter *adap; /* Pointer to adapter structure member
|
/freebsd/sys/dev/cxgbe/ |
H A D | t4_iov.c | 339 struct adapter *adap; in t4iov_add_vf() local
|
H A D | t4_sge.c | 6430 t4_handle_wrerr_rpl(struct adapter *adap, const __be64 *rpl) in t4_handle_wrerr_rpl()
|
/freebsd/contrib/ntp/libntp/lib/isc/win32/ |
H A D | interfaceiter.c | 453 IP_ADAPTER_ADDRESSES *adap; in internal_current_GAA() local
|
/freebsd/sys/dev/cxgbe/iw_cxgbe/ |
H A D | cm.c | 330 struct adapter *adap = NULL; in find_real_listen_ep() local
|
H A D | iw_cxgbe.h | 151 struct adapter *adap; member
|