Lines Matching defs:adap

62 #define CH_WARN(adap, fmt, ...) dev_warn(adap->pdev_dev, fmt, ## __VA_ARGS__)  argument
794 struct adapter *adap; member
881 struct adapter *adap; member
891 struct adapter *adap; member
956 struct adapter *adap; /* Backpointer to adapter */ member
1476 static inline int is_offload(const struct adapter *adap) in is_offload()
1481 static inline int is_hashfilter(const struct adapter *adap) in is_hashfilter()
1486 static inline int is_pci_uld(const struct adapter *adap) in is_pci_uld()
1491 static inline int is_uld(const struct adapter *adap) in is_uld()
1496 static inline int is_ethofld(const struct adapter *adap) in is_ethofld()
1501 static inline u32 t4_read_reg(struct adapter *adap, u32 reg_addr) in t4_read_reg()
1506 static inline void t4_write_reg(struct adapter *adap, u32 reg_addr, u32 val) in t4_write_reg()
1524 static inline u64 t4_read_reg64(struct adapter *adap, u32 reg_addr) in t4_read_reg64()
1529 static inline void t4_write_reg64(struct adapter *adap, u32 reg_addr, u64 val) in t4_write_reg64()
1568 static inline struct port_info *adap2pinfo(struct adapter *adap, int idx) in adap2pinfo()
1596 static inline unsigned int qtimer_val(const struct adapter *adap, in qtimer_val()
1651 static inline int is_bypass(struct adapter *adap) in is_bypass()
1681 static inline unsigned int core_ticks_per_usec(const struct adapter *adap) in core_ticks_per_usec()
1686 static inline unsigned int us_to_core_ticks(const struct adapter *adap, in us_to_core_ticks()
1700 static inline unsigned int dack_ticks_to_usec(const struct adapter *adap, in dack_ticks_to_usec()
1714 static inline int t4_wr_mbox_timeout(struct adapter *adap, int mbox, in t4_wr_mbox_timeout()
1722 static inline int t4_wr_mbox(struct adapter *adap, int mbox, const void *cmd, in t4_wr_mbox()
1728 static inline int t4_wr_mbox_ns(struct adapter *adap, int mbox, const void *cmd, in t4_wr_mbox_ns()
1754 static inline void init_rspq(struct adapter *adap, struct sge_rspq *q, in init_rspq()
1830 static inline int t4_memory_write(struct adapter *adap, int mtype, u32 addr, in t4_memory_write()