Lines Matching defs:dev
18 * bnx2i_dev_to_hba - maps dev pointer to adapter struct
19 * @dev: device pointer
23 static inline struct bnx2i_hba *bnx2i_dev_to_hba(struct device *dev)
25 struct Scsi_Host *shost = class_to_shost(dev);
32 * @dev: device pointer
39 static ssize_t bnx2i_show_sq_info(struct device *dev,
42 struct bnx2i_hba *hba = bnx2i_dev_to_hba(dev);
50 * @dev: device pointer
59 static ssize_t bnx2i_set_sq_info(struct device *dev,
63 struct bnx2i_hba *hba = bnx2i_dev_to_hba(dev);
91 * @dev: device pointer
97 static ssize_t bnx2i_show_ccell_info(struct device *dev,
100 struct bnx2i_hba *hba = bnx2i_dev_to_hba(dev);
108 * @dev: device pointer
115 static ssize_t bnx2i_set_ccell_info(struct device *dev,
120 struct bnx2i_hba *hba = bnx2i_dev_to_hba(dev);