/freebsd/sys/dev/ena/ |
H A D | ena.c | 209 struct ena_adapter *adapter = device_get_softc(dmadev); in ena_dma_alloc() local 279 ena_free_pci_resources(struct ena_adapter *adapter) in ena_free_pci_resources() 329 struct ena_adapter *adapter = if_getsoftc(ifp); in ena_change_mtu() local 378 ena_init_io_rings_common(struct ena_adapter *adapter, struct ena_ring *ring, in ena_init_io_rings_common() 389 ena_init_io_rings_basic(struct ena_adapter *adapter) in ena_init_io_rings_basic() 425 ena_init_io_rings_advanced(struct ena_adapter *adapter) in ena_init_io_rings_advanced() 459 ena_init_io_rings(struct ena_adapter *adapter) in ena_init_io_rings() 472 ena_free_io_ring_resources(struct ena_adapter *adapter, unsigned int qid) in ena_free_io_ring_resources() 490 ena_free_all_io_rings_resources(struct ena_adapter *adapter) in ena_free_all_io_rings_resources() 499 ena_setup_tx_dma_tag(struct ena_adapter *adapter) in ena_setup_tx_dma_tag() [all …]
|
H A D | ena_sysctl.c | 165 int ena_sysctl_allocate_customer_metrics_buffer(struct ena_adapter *adapter) in ena_sysctl_allocate_customer_metrics_buffer() 177 ena_sysctl_add_nodes(struct ena_adapter *adapter) in ena_sysctl_add_nodes() 199 ena_sysctl_add_wd(struct ena_adapter *adapter) in ena_sysctl_add_wd() 235 ena_sysctl_add_stats(struct ena_adapter *adapter) in ena_sysctl_add_stats() 441 ena_sysctl_add_srd_info(struct ena_adapter *adapter) in ena_sysctl_add_srd_info() 482 ena_sysctl_add_customer_metrics(struct ena_adapter *adapter) in ena_sysctl_add_customer_metrics() 516 ena_sysctl_add_eni_metrics(struct ena_adapter *adapter) in ena_sysctl_add_eni_metrics() 558 ena_sysctl_add_tuneables(struct ena_adapter *adapter) in ena_sysctl_add_tuneables() 603 ena_sysctl_add_rss(struct ena_adapter *adapter) in ena_sysctl_add_rss() 640 ena_sysctl_add_irq_affinity(struct ena_adapter *adapter) in ena_sysctl_add_irq_affinity() [all …]
|
H A D | ena_rss.c | 101 ena_rss_init_default(struct ena_adapter *adapter) in ena_rss_init_default() 161 ena_rss_configure(struct ena_adapter *adapter) in ena_rss_configure() 199 struct ena_adapter *adapter; in ena_rss_init_default_deferred() local 230 ena_rss_indir_get(struct ena_adapter *adapter, uint32_t *table) in ena_rss_indir_get() 252 ena_rss_indir_set(struct ena_adapter *adapter, uint32_t *table) in ena_rss_indir_set() 277 ena_rss_indir_init(struct ena_adapter *adapter) in ena_rss_indir_init()
|
H A D | ena_datapath.c | 71 struct ena_adapter *adapter = que->adapter; in ena_cleanup() local 138 struct ena_adapter *adapter = if_getsoftc(ifp); in ena_mq_start() local 189 struct ena_adapter *adapter = if_getsoftc(ifp); in ena_qflush() local 211 struct ena_adapter *adapter = tx_ring->adapter; in ena_get_tx_req_id() local 244 struct ena_adapter *adapter; in ena_tx_cleanup() local 349 struct ena_adapter *adapter = rx_ring->adapter; in ena_rx_hash_mbuf() local 424 struct ena_adapter *adapter; in ena_rx_mbuf() local 565 struct ena_adapter *adapter; in ena_rx_cleanup() local 822 struct ena_adapter *adapter; in ena_check_and_collapse_mbuf() local 856 struct ena_adapter *adapter = tx_ring->adapter; in ena_tx_map_mbuf() local [all …]
|
H A D | ena_netmap.c | 42 struct ena_adapter *adapter; member 82 ena_netmap_attach(struct ena_adapter *adapter) in ena_netmap_attach() 104 ena_netmap_alloc_rx_slot(struct ena_adapter *adapter, struct ena_ring *rx_ring, in ena_netmap_alloc_rx_slot() 169 ena_netmap_free_rx_slot(struct ena_adapter *adapter, struct ena_ring *rx_ring, in ena_netmap_free_rx_slot() 219 ena_ring_in_netmap(struct ena_adapter *adapter, int qid, enum txrx x) in ena_ring_in_netmap() 234 ena_tx_ring_in_netmap(struct ena_adapter *adapter, int qid) in ena_tx_ring_in_netmap() 240 ena_rx_ring_in_netmap(struct ena_adapter *adapter, int qid) in ena_rx_ring_in_netmap() 246 ena_netmap_reset_ring(struct ena_adapter *adapter, int qid, enum txrx x) in ena_netmap_reset_ring() 257 ena_netmap_reset_rx_ring(struct ena_adapter *adapter, int qid) in ena_netmap_reset_rx_ring() 263 ena_netmap_reset_tx_ring(struct ena_adapter *adapter, int qid) in ena_netmap_reset_tx_ring() [all …]
|
H A D | ena.h | 188 #define ENA_FLAG_ZERO(adapter) \ argument 190 #define ENA_FLAG_ISSET(bit, adapter) \ argument 192 #define ENA_FLAG_SET_ATOMIC(bit, adapter) \ argument 194 #define ENA_FLAG_CLEAR_ATOMIC(bit, adapter) \ argument 221 struct ena_adapter *adapter; member 322 struct ena_adapter *adapter; member 601 ena_increment_reset_counter(struct ena_adapter *adapter) in ena_increment_reset_counter() 618 ena_trigger_reset(struct ena_adapter *adapter, in ena_trigger_reset()
|
/freebsd/sys/dev/cxgb/ |
H A D | cxgb_adapter.h | 90 struct adapter *adapter; member 303 struct adapter { struct 305 device_t dev; 306 int flags; 309 int regs_rid; 310 struct resource *regs_res; 311 int udbs_rid; 312 struct resource *udbs_res; 313 bus_space_handle_t bh; 314 bus_space_tag_t bt; [all …]
|
/freebsd/sys/dev/al_eth/ |
H A D | al_eth.c | 270 struct al_eth_adapter *adapter; in al_attach() local 454 struct al_eth_adapter *adapter; in al_detach() local 524 al_eth_serdes_init(struct al_eth_adapter *adapter) in al_eth_serdes_init() 598 al_eth_mac_table_unicast_add(struct al_eth_adapter *adapter, in al_eth_mac_table_unicast_add() 619 al_eth_mac_table_all_multicast_add(struct al_eth_adapter *adapter, uint8_t idx, in al_eth_mac_table_all_multicast_add() 642 al_eth_mac_table_broadcast_add(struct al_eth_adapter *adapter, in al_eth_mac_table_broadcast_add() 663 al_eth_mac_table_promiscuous_set(struct al_eth_adapter *adapter, in al_eth_mac_table_promiscuous_set() 684 al_eth_set_thash_table_entry(struct al_eth_adapter *adapter, uint8_t idx, in al_eth_set_thash_table_entry() 699 al_eth_fsm_table_init(struct al_eth_adapter *adapter) in al_eth_fsm_table_init() 728 al_eth_mac_table_entry_clear(struct al_eth_adapter *adapter, in al_eth_mac_table_entry_clear() [all …]
|
H A D | al_init_eth_kr.c | 105 struct al_hal_eth_adapter *adapter; member 787 int al_eth_an_lt_execute(struct al_hal_eth_adapter *adapter, in al_eth_an_lt_execute()
|
/freebsd/sys/contrib/alpine-hal/eth/ |
H A D | al_hal_eth_main.c | 385 static void al_eth_epe_entry_set(struct al_hal_eth_adapter *adapter, uint32_t idx, in al_eth_epe_entry_set() 428 static void al_eth_epe_init(struct al_hal_eth_adapter *adapter) in al_eth_epe_init() 471 struct al_hal_eth_adapter *adapter, in al_eth_40g_mac_reg_read() 495 struct al_hal_eth_adapter *adapter, in al_eth_40g_mac_reg_write() 516 struct al_hal_eth_adapter *adapter, in al_eth_40g_pcs_reg_read() 540 struct al_hal_eth_adapter *adapter, in al_eth_40g_pcs_reg_write() 557 int al_eth_adapter_init(struct al_hal_eth_adapter *adapter, struct al_eth_adapter_params *params) in al_eth_adapter_init() 718 int al_eth_ec_mac_ints_config(struct al_hal_eth_adapter *adapter) in al_eth_ec_mac_ints_config() 765 int al_eth_ec_mac_isr(struct al_hal_eth_adapter *adapter) in al_eth_ec_mac_isr() 804 int al_eth_adapter_stop(struct al_hal_eth_adapter *adapter) in al_eth_adapter_stop() [all …]
|
H A D | al_hal_eth_kr.c | 209 struct al_hal_eth_adapter *adapter, in al_eth_an_lt_reg_read() 288 struct al_hal_eth_adapter *adapter, in al_eth_an_lt_reg_write() 366 static void al_eth_an_lt_unit_config(struct al_hal_eth_adapter *adapter) in al_eth_an_lt_unit_config() 498 struct al_hal_eth_adapter *adapter, in al_eth_lp_coeff_up_get() 528 struct al_hal_eth_adapter *adapter, in al_eth_lp_status_report_get() 555 struct al_hal_eth_adapter *adapter, in al_eth_ld_coeff_up_set() 586 struct al_hal_eth_adapter *adapter, in al_eth_ld_status_report_set() 614 al_bool al_eth_kr_receiver_frame_lock_get(struct al_hal_eth_adapter *adapter, in al_eth_kr_receiver_frame_lock_get() 625 al_bool al_eth_kr_startup_proto_prog_get(struct al_hal_eth_adapter *adapter, in al_eth_kr_startup_proto_prog_get() 636 al_bool al_eth_kr_training_status_fail_get(struct al_hal_eth_adapter *adapter, in al_eth_kr_training_status_fail_get() [all …]
|
/freebsd/sys/dev/sume/ |
H A D | if_sume.c | 166 read_reg(struct sume_adapter *adapter, int offset) in read_reg() 173 write_reg(struct sume_adapter *adapter, int offset, uint32_t val) in write_reg() 210 sume_rx_build_mbuf(struct sume_adapter *adapter, uint32_t len) in sume_rx_build_mbuf() 319 struct sume_adapter *adapter = arg; in sume_intr_handler() local 551 struct sume_adapter *adapter = arg; in sume_intr_filter() local 560 sume_probe_riffa_pci(struct sume_adapter *adapter) in sume_probe_riffa_pci() 685 sume_fill_bb_desc(struct sume_adapter *adapter, struct riffa_chnl_dir *p, in sume_fill_bb_desc() 697 sume_modreg_write_locked(struct sume_adapter *adapter) in sume_modreg_write_locked() 740 struct sume_adapter *adapter = nf_priv->adapter; in sume_module_reg_write() local 806 struct sume_adapter *adapter = nf_priv->adapter; in sume_module_reg_read() local [all …]
|
H A D | adapter.h | 43 #define SUME_LOCK(adapter) mtx_lock(&adapter->lock); argument 44 #define SUME_UNLOCK(adapter) mtx_unlock(&adapter->lock); argument 167 struct sume_adapter *adapter; member
|
/freebsd/sys/dev/cxgb/common/ |
H A D | cxgb_t3_hw.c | 52 int t3_wait_op_done_val(adapter_t *adapter, int reg, u32 mask, int polarity, in t3_wait_op_done_val() 81 void t3_write_regs(adapter_t *adapter, const struct addr_val_pair *p, int n, in t3_write_regs() 100 void t3_set_reg_field(adapter_t *adapter, unsigned int addr, u32 mask, u32 val) in t3_set_reg_field() 205 int t3_i2c_read8(adapter_t *adapter, int chained, u8 *valp) in t3_i2c_read8() 229 int t3_i2c_write8(adapter_t *adapter, int chained, u8 val) in t3_i2c_write8() 261 int t3_mi1_read(adapter_t *adapter, int phy_addr, int mmd_addr, in t3_mi1_read() 281 int t3_mi1_write(adapter_t *adapter, int phy_addr, int mmd_addr, in t3_mi1_write() 308 static int mi1_ext_read(adapter_t *adapter, int phy_addr, int mmd_addr, in mi1_ext_read() 331 static int mi1_ext_write(adapter_t *adapter, int phy_addr, int mmd_addr, in mi1_ext_write() 655 int t3_seeprom_read(adapter_t *adapter, u32 addr, u32 *data) in t3_seeprom_read() [all …]
|
H A D | cxgb_mc5.c | 93 static int mc5_cmd_write(adapter_t *adapter, u32 cmd) in mc5_cmd_write() 100 static inline void dbgi_wr_data3(adapter_t *adapter, u32 v1, u32 v2, u32 v3) in dbgi_wr_data3() 107 static inline void dbgi_rd_rsp3(adapter_t *adapter, u32 *v1, u32 *v2, u32 *v3) in dbgi_rd_rsp3() 119 static int mc5_write(adapter_t *adapter, u32 addr_lo, u32 cmd) in mc5_write() 471 void __devinit t3_mc5_prep(adapter_t *adapter, struct mc5 *mc5, int mode) in t3_mc5_prep()
|
/freebsd/sys/dev/cxgbe/common/ |
H A D | t4vf_hw.c | 45 int t4vf_wait_dev_ready(struct adapter *adapter) in t4vf_wait_dev_ready() 72 int t4vf_fw_reset(struct adapter *adapter) in t4vf_fw_reset() 91 int t4vf_get_sge_params(struct adapter *adapter) in t4vf_get_sge_params() 234 int t4vf_get_rss_glb_config(struct adapter *adapter) in t4vf_get_rss_glb_config() 309 int t4vf_get_vfres(struct adapter *adapter) in t4vf_get_vfres() 355 int t4vf_prep_adapter(struct adapter *adapter) in t4vf_prep_adapter() 397 int t4vf_get_vf_mac(struct adapter *adapter, unsigned int port, in t4vf_get_vf_mac() 440 int t4vf_get_vf_vlan(struct adapter *adapter) in t4vf_get_vf_vlan()
|
H A D | t4_hw.c | 63 static int t4_wait_op_done_val(struct adapter *adapter, int reg, u32 mask, in t4_wait_op_done_val() 81 static inline int t4_wait_op_done(struct adapter *adapter, int reg, u32 mask, in t4_wait_op_done() 98 void t4_set_reg_field(struct adapter *adapter, unsigned int addr, u32 mask, in t4_set_reg_field() 790 unsigned int t4_get_regs_len(struct adapter *adapter) in t4_get_regs_len() 2745 static int t4_seeprom_wait(struct adapter *adapter) in t4_seeprom_wait() 2798 int t4_seeprom_read(struct adapter *adapter, u32 addr, u32 *data) in t4_seeprom_read() 2853 int t4_seeprom_write(struct adapter *adapter, u32 addr, u32 data) in t4_seeprom_write() 2947 int t4_seeprom_wp(struct adapter *adapter, int enable) in t4_seeprom_wp() 3005 static int get_vpd_params(struct adapter *adapter, struct vpd_params *p, in get_vpd_params() 3115 static int sf1_read(struct adapter *adapter, unsigned int byte_cnt, int cont, in sf1_read() [all …]
|
/freebsd/sys/dev/cxgbe/ |
H A D | adapter.h | 197 struct adapter *adapter; member 304 struct adapter *adapter; member 426 struct adapter *adapter; member 727 struct adapter *adapter; member 886 struct adapter { struct 888 device_t dev; 889 struct cdev *cdev; 890 const struct devnames *names; 893 int regs_rid; 894 struct resource *regs_res; [all …]
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_i2c.c | 50 struct i2c_adapter *adapter; member 109 lkpi_iic_add_adapter(device_t dev, struct i2c_adapter *adapter) in lkpi_iic_add_adapter() 167 static int i2c_check_for_quirks(struct i2c_adapter *adapter, in i2c_check_for_quirks() 316 lkpi_i2c_add_adapter(struct i2c_adapter *adapter) in lkpi_i2c_add_adapter() 342 lkpi_i2c_del_adapter(struct i2c_adapter *adapter) in lkpi_i2c_del_adapter()
|
H A D | linux_i2cbb.c | 55 struct i2c_adapter *adapter; member 114 lkpi_iicbb_add_adapter(device_t dev, struct i2c_adapter *adapter) in lkpi_iicbb_add_adapter() 258 lkpi_i2cbb_transfer(struct i2c_adapter *adapter, struct i2c_msg *msgs, in lkpi_i2cbb_transfer() 303 lkpi_i2c_bit_add_bus(struct i2c_adapter *adapter) in lkpi_i2c_bit_add_bus()
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | i2c.h | 115 #define i2c_add_adapter(adapter) lkpi_i2c_add_adapter(adapter) argument 116 #define i2c_del_adapter(adapter) lkpi_i2c_del_adapter(adapter) argument 122 do_i2c_transfer(struct i2c_adapter *adapter, struct i2c_msg *msgs, int nmsgs) in do_i2c_transfer() 140 i2c_transfer(struct i2c_adapter *adapter, struct i2c_msg *msgs, int nmsgs) in i2c_transfer() 160 __i2c_transfer(struct i2c_adapter *adapter, struct i2c_msg *msgs, int nmsgs) in __i2c_transfer() 166 i2c_set_adapdata(struct i2c_adapter *adapter, void *data) in i2c_set_adapdata() 172 i2c_get_adapdata(struct i2c_adapter *adapter) in i2c_get_adapdata()
|
H A D | i2c-algo-bit.h | 47 #define i2c_bit_add_bus(adapter) lkpi_i2c_bit_add_bus(adapter) argument
|
/freebsd/contrib/libpcap/ |
H A D | pcap-npf.c | 90 ADAPTER *adapter; /* the packet32 ADAPTER for the device */ member 200 oid_get_request(ADAPTER *adapter, bpf_u_int32 oid, void *data, size_t *lenp, in oid_get_request() 1623 ADAPTER *adapter = NULL; in get_ts_types() local 2106 ADAPTER *adapter; in get_if_flags() local
|
/freebsd/contrib/wpa/src/drivers/ |
H A D | driver_ndis.h | 38 LPADAPTER adapter; member
|
/freebsd/sys/dev/ips/ |
H A D | ips_disk.c | 130 device_t adapter; in ipsd_attach() local
|