Lines Matching defs:val
68 static int io_queue_depth_set(const char *val, const struct kernel_param *kp);
78 static int io_queue_count_set(const char *val, const struct kernel_param *kp)
83 ret = kstrtouint(val, 10, &n);
86 return param_set_uint(val, kp);
164 static int io_queue_depth_set(const char *val, const struct kernel_param *kp)
166 return param_set_uint_minmax(val, kp, NVME_PCI_MIN_QUEUE_SIZE,
2791 static int nvme_pci_reg_read32(struct nvme_ctrl *ctrl, u32 off, u32 *val)
2793 *val = readl(to_nvme_dev(ctrl)->bar + off);
2797 static int nvme_pci_reg_write32(struct nvme_ctrl *ctrl, u32 off, u32 val)
2799 writel(val, to_nvme_dev(ctrl)->bar + off);
2803 static int nvme_pci_reg_read64(struct nvme_ctrl *ctrl, u32 off, u64 *val)
2805 *val = lo_hi_readq(to_nvme_dev(ctrl)->bar + off);