/drivers/net/ethernet/chelsio/cxgb/ |
D | common.h | 69 typedef struct adapter adapter_t; typedef 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() 320 static inline unsigned int core_ticks_per_usec(const adapter_t *adap) in core_ticks_per_usec() 325 int __t1_tpi_read(adapter_t *adapter, u32 addr, u32 *valp); 326 int __t1_tpi_write(adapter_t *adapter, u32 addr, u32 value); 327 int t1_tpi_write(adapter_t *adapter, u32 addr, u32 value); 328 int t1_tpi_read(adapter_t *adapter, u32 addr, u32 *value); 330 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 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 …]
|
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 | vsc7326.c | 36 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 …]
|
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 | tp.c | 10 adapter_t *adapter; 17 static void tp_init(adapter_t * ap, const struct tp_params *p, in tp_init() 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()
|
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 | 42 adapter_t *adapter; in my3126_interrupt_handler() 114 adapter_t *adapter; in my3126_get_link_status() 186 static int my3126_phy_reset(adapter_t * adapter) in my3126_phy_reset()
|
D | tp.h | 59 struct petp *t1_tp_create(adapter_t *adapter, struct tp_params *p); 67 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 | 593 static struct cmac *pm3393_mac_create(adapter_t *adapter, int index) in pm3393_mac_create() 690 static int pm3393_mac_reset(adapter_t * adapter) in pm3393_mac_reset()
|
D | mv88e1xxx.c | 389 static int mv88e1xxx_phy_reset(adapter_t* adapter) in mv88e1xxx_phy_reset()
|
/drivers/scsi/ |
D | megaraid.h | 864 }adapter_t; typedef 869 adapter_t *hostdata_addr; 951 static int mega_query_adapter(adapter_t *); 952 static int issue_scb(adapter_t *, scb_t *); 953 static int mega_setup_mailbox(adapter_t *); 956 static scb_t * mega_build_cmd(adapter_t *, Scsi_Cmnd *, int *); 957 static void __mega_runpendq(adapter_t *); 958 static int issue_scb_block(adapter_t *, u_char *); 963 static void mega_free_scb(adapter_t *, scb_t *); 967 static int megaraid_abort_and_reset(adapter_t *, Scsi_Cmnd *, int); [all …]
|
D | megaraid.c | 90 static adapter_t *hba_soft_state[MAX_CONTROLLERS]; 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() 379 adapter = (adapter_t *)scmd->device->host->hostdata; in megaraid_queue_lck() 426 mega_allocate_scb(adapter_t *adapter, Scsi_Cmnd *cmd) in DEF_SCSI_QCMD() 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() 952 mega_prepare_passthru(adapter_t *adapter, scb_t *scb, Scsi_Cmnd *cmd, in mega_prepare_passthru() [all …]
|
/drivers/scsi/megaraid/ |
D | megaraid_mbox.c | 84 static int megaraid_io_attach(adapter_t *); 85 static void megaraid_io_detach(adapter_t *); 87 static int megaraid_init_mbox(adapter_t *); 88 static void megaraid_fini_mbox(adapter_t *); 90 static int megaraid_alloc_cmd_packets(adapter_t *); 91 static void megaraid_free_cmd_packets(adapter_t *); 93 static int megaraid_mbox_setup_dma_pools(adapter_t *); 94 static void megaraid_mbox_teardown_dma_pools(adapter_t *); 96 static int megaraid_sysfs_alloc_resources(adapter_t *); 97 static void megaraid_sysfs_free_resources(adapter_t *); [all …]
|
D | mega_common.h | 194 } adapter_t; typedef 211 #define SCP2ADAPTER(scp) (adapter_t *)SCSIHOST2ADAP(SCP2HOST(scp))
|