Searched refs:ql_adapter (Results 1 – 5 of 5) sorted by relevance
/drivers/staging/qlge/ |
D | qlge_mpi.c | 4 int ql_unpause_mpi_risc(struct ql_adapter *qdev) in ql_unpause_mpi_risc() 17 int ql_pause_mpi_risc(struct ql_adapter *qdev) in ql_pause_mpi_risc() 33 int ql_hard_reset_mpi_risc(struct ql_adapter *qdev) in ql_hard_reset_mpi_risc() 51 int ql_read_mpi_reg(struct ql_adapter *qdev, u32 reg, u32 *data) in ql_read_mpi_reg() 70 int ql_write_mpi_reg(struct ql_adapter *qdev, u32 reg, u32 data) in ql_write_mpi_reg() 89 int ql_soft_reset_mpi_risc(struct ql_adapter *qdev) in ql_soft_reset_mpi_risc() 99 int ql_own_firmware(struct ql_adapter *qdev) in ql_own_firmware() 122 static int ql_get_mb_sts(struct ql_adapter *qdev, struct mbox_params *mbcp) in ql_get_mb_sts() 145 static int ql_wait_mbx_cmd_cmplt(struct ql_adapter *qdev) in ql_wait_mbx_cmd_cmplt() 162 static int ql_exec_mb_cmd(struct ql_adapter *qdev, struct mbox_params *mbcp) in ql_exec_mb_cmd() [all …]
|
D | qlge.h | 1391 struct ql_adapter *qdev; 1490 struct ql_adapter *qdev; 1994 struct ql_adapter *qdev; 2059 int (*get_flash)(struct ql_adapter *qdev); 2060 int (*port_initialize)(struct ql_adapter *qdev); 2067 struct ql_adapter { struct 2169 static inline u32 ql_read32(const struct ql_adapter *qdev, int reg) in ql_read32() argument 2177 static inline void ql_write32(const struct ql_adapter *qdev, int reg, u32 val) in ql_write32() 2236 int ql_sem_spinlock(struct ql_adapter *qdev, u32 sem_mask); 2237 void ql_sem_unlock(struct ql_adapter *qdev, u32 sem_mask); [all …]
|
D | qlge_main.c | 92 static int ql_wol(struct ql_adapter *); 94 static int ql_adapter_down(struct ql_adapter *); 95 static int ql_adapter_up(struct ql_adapter *); 101 static int ql_sem_trylock(struct ql_adapter *qdev, u32 sem_mask) in ql_sem_trylock() 139 int ql_sem_spinlock(struct ql_adapter *qdev, u32 sem_mask) in ql_sem_spinlock() 151 void ql_sem_unlock(struct ql_adapter *qdev, u32 sem_mask) in ql_sem_unlock() 162 int ql_wait_reg_rdy(struct ql_adapter *qdev, u32 reg, u32 bit, u32 err_bit) in ql_wait_reg_rdy() 189 static int ql_wait_cfg(struct ql_adapter *qdev, u32 bit) in ql_wait_cfg() 208 int ql_write_cfg(struct ql_adapter *qdev, void *ptr, int size, u32 bit, in ql_write_cfg() 258 int ql_get_mac_addr_reg(struct ql_adapter *qdev, u32 type, u16 index, in ql_get_mac_addr_reg() [all …]
|
D | qlge_ethtool.c | 43 #define QL_SIZEOF(m) sizeof_field(struct ql_adapter, m) 44 #define QL_OFF(m) offsetof(struct ql_adapter, m) 185 static int ql_update_ring_coalescing(struct ql_adapter *qdev) in ql_update_ring_coalescing() 241 static void ql_update_stats(struct ql_adapter *qdev) in ql_update_stats() 368 struct ql_adapter *qdev = netdev_priv(ndev); in ql_get_ethtool_stats() 385 struct ql_adapter *qdev = netdev_priv(ndev); in ql_get_link_ksettings() 417 struct ql_adapter *qdev = netdev_priv(ndev); in ql_get_drvinfo() 433 struct ql_adapter *qdev = netdev_priv(ndev); in ql_get_wol() 446 struct ql_adapter *qdev = netdev_priv(ndev); in ql_set_wol() 468 struct ql_adapter *qdev = netdev_priv(ndev); in ql_set_phys_id() [all …]
|
D | qlge_dbg.c | 9 static u32 ql_read_other_func_reg(struct ql_adapter *qdev, in ql_read_other_func_reg() 28 static int ql_write_other_func_reg(struct ql_adapter *qdev, in ql_write_other_func_reg() 41 static int ql_wait_other_func_reg_rdy(struct ql_adapter *qdev, u32 reg, in ql_wait_other_func_reg_rdy() 60 static int ql_read_other_func_serdes_reg(struct ql_adapter *qdev, u32 reg, in ql_read_other_func_serdes_reg() 87 static int ql_read_serdes_reg(struct ql_adapter *qdev, u32 reg, u32 *data) in ql_read_serdes_reg() 110 static void ql_get_both_serdes(struct ql_adapter *qdev, u32 addr, in ql_get_both_serdes() 132 static int ql_get_serdes_regs(struct ql_adapter *qdev, in ql_get_serdes_regs() 315 static int ql_read_other_func_xgmac_reg(struct ql_adapter *qdev, u32 reg, in ql_read_other_func_xgmac_reg() 344 static int ql_get_xgmac_regs(struct ql_adapter *qdev, u32 *buf, in ql_get_xgmac_regs() 385 static int ql_get_ets_regs(struct ql_adapter *qdev, u32 *buf) in ql_get_ets_regs() [all …]
|