/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb/ |
D | common.h | 68 typedef struct adapter adapter_t; typedef 294 static inline int t1_is_asic(const adapter_t *adapter) in t1_is_asic() 301 static inline int adapter_matches_type(const adapter_t *adapter, in adapter_matches_type() 312 static inline int vlan_tso_capable(const adapter_t *adapter) in vlan_tso_capable() 323 static inline unsigned int core_ticks_per_usec(const adapter_t *adap) in core_ticks_per_usec() 328 int __t1_tpi_read(adapter_t *adapter, u32 addr, u32 *valp); 329 int __t1_tpi_write(adapter_t *adapter, u32 addr, u32 value); 330 int t1_tpi_write(adapter_t *adapter, u32 addr, u32 value); 331 int t1_tpi_read(adapter_t *adapter, u32 addr, u32 *value); 333 void t1_interrupts_enable(adapter_t *adapter); [all …]
|
D | subr.c | 61 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 bool t1_pci_intr_handler(adapter_t *adapter) in t1_pci_intr_handler() 197 static int fpga_phy_intr_handler(adapter_t *adapter) in fpga_phy_intr_handler() 217 static irqreturn_t fpga_slow_intr(adapter_t *adapter) in fpga_slow_intr() [all …]
|
D | espi.c | 44 adapter_t *adapter; 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() 290 struct peespi *t1_espi_create(adapter_t *adapter) in t1_espi_create() 300 void t1_espi_set_misc_ctrl(adapter_t *adapter, u32 val) 314 u32 t1_espi_get_mon(adapter_t *adapter, u32 addr, u8 wait) in t1_espi_get_mon() [all …]
|
D | espi.h | 54 struct peespi *t1_espi_create(adapter_t *adapter); 64 u32 t1_espi_get_mon(adapter_t *adapter, u32 addr, u8 wait); 65 int t1_espi_get_mon_t204(adapter_t *, u32 *, u8);
|
D | vsc7326.c | 35 static void vsc_read(adapter_t *adapter, u32 addr, u32 *val) in vsc_read() 63 static void vsc_write(adapter_t *adapter, u32 addr, u32 data) in vsc_write() 75 static void vsc7326_full_reset(adapter_t* adapter) in vsc7326_full_reset() 220 static void run_table(adapter_t *adapter, struct init_table *ib, int len) in run_table() 233 static int bist_rd(adapter_t *adapter, int moduleid, int address) in bist_rd() 260 static int bist_wr(adapter_t *adapter, int moduleid, int address, int value) in bist_wr() 290 static int run_bist(adapter_t *adapter, int moduleid) in run_bist() 299 static int check_bist(adapter_t *adapter, int moduleid) in check_bist() 313 static int enable_mem(adapter_t *adapter, int moduleid) in enable_mem() 320 static int run_bist_all(adapter_t *adapter) in run_bist_all() [all …]
|
D | tp.c | 11 adapter_t *adapter; 18 static void tp_init(adapter_t * ap, const struct tp_params *p, in tp_init() 59 struct petp *t1_tp_create(adapter_t *adapter, struct tp_params *p) in t1_tp_create() 167 adapter_t *adapter = tp->adapter; in t1_tp_reset()
|
D | gmac.h | 127 adapter_t *adapter; 134 struct cmac *(*create)(adapter_t *adapter, int index); 135 int (*reset)(adapter_t *);
|
D | cphy.h | 44 void (*init)(adapter_t *adapter, const struct board_info *bi); 93 adapter_t *adapter; /* associated adapter */ 166 int (*reset)(adapter_t *adapter);
|
D | my3126.c | 43 adapter_t *adapter; in my3126_interrupt_handler() 115 adapter_t *adapter; in my3126_get_link_status() 187 static int my3126_phy_reset(adapter_t * adapter) in my3126_phy_reset()
|
D | tp.h | 60 struct petp *t1_tp_create(adapter_t *adapter, struct tp_params *p); 68 void t1_tp_get_mib_statistics(adapter_t *adap, struct tp_mib_statistics *tps);
|
D | mv88x201x.c | 236 static int mv88x201x_phy_reset(adapter_t *adapter) in mv88x201x_phy_reset()
|
D | pm3393.c | 587 static struct cmac *pm3393_mac_create(adapter_t *adapter, int index) in pm3393_mac_create() 684 static int pm3393_mac_reset(adapter_t * adapter) in pm3393_mac_reset()
|
D | mv88e1xxx.c | 390 static int mv88e1xxx_phy_reset(adapter_t* adapter) in mv88e1xxx_phy_reset()
|
/linux-5.19.10/drivers/scsi/ |
D | megaraid.h | 874 }adapter_t; typedef 879 adapter_t *hostdata_addr; 961 static int mega_query_adapter(adapter_t *); 962 static int issue_scb(adapter_t *, scb_t *); 963 static int mega_setup_mailbox(adapter_t *); 966 static scb_t * mega_build_cmd(adapter_t *, struct scsi_cmnd *, int *); 967 static void __mega_runpendq(adapter_t *); 968 static int issue_scb_block(adapter_t *, u_char *); 973 static void mega_free_scb(adapter_t *, scb_t *); 977 static int megaraid_abort_and_reset(adapter_t *, struct scsi_cmnd *, int); [all …]
|
D | megaraid.c | 89 static adapter_t *hba_soft_state[MAX_CONTROLLERS]; 136 mega_setup_mailbox(adapter_t *adapter) in mega_setup_mailbox() 195 mega_query_adapter(adapter_t *adapter) in mega_query_adapter() 362 mega_runpendq(adapter_t *adapter) in mega_runpendq() 377 adapter_t *adapter; in megaraid_queue_lck() 382 adapter = (adapter_t *)scmd->device->host->hostdata; in megaraid_queue_lck() 426 mega_allocate_scb(adapter_t *adapter, struct scsi_cmnd *cmd) in DEF_SCSI_QCMD() 458 mega_get_ldrv_num(adapter_t *adapter, struct scsi_cmnd *cmd, int channel) in mega_get_ldrv_num() 521 mega_build_cmd(adapter_t *adapter, struct scsi_cmnd *cmd, int *busy) in mega_build_cmd() 951 mega_prepare_passthru(adapter_t *adapter, scb_t *scb, struct scsi_cmnd *cmd, in mega_prepare_passthru() [all …]
|
/linux-5.19.10/drivers/scsi/megaraid/ |
D | megaraid_mbox.c | 79 static int megaraid_io_attach(adapter_t *); 80 static void megaraid_io_detach(adapter_t *); 82 static int megaraid_init_mbox(adapter_t *); 83 static void megaraid_fini_mbox(adapter_t *); 85 static int megaraid_alloc_cmd_packets(adapter_t *); 86 static void megaraid_free_cmd_packets(adapter_t *); 88 static int megaraid_mbox_setup_dma_pools(adapter_t *); 89 static void megaraid_mbox_teardown_dma_pools(adapter_t *); 91 static int megaraid_sysfs_alloc_resources(adapter_t *); 92 static void megaraid_sysfs_free_resources(adapter_t *); [all …]
|
D | mega_common.h | 190 } adapter_t; typedef 207 #define SCP2ADAPTER(scp) (adapter_t *)SCSIHOST2ADAP(SCP2HOST(scp))
|