Lines Matching defs:val
63 static int io_queue_depth_set(const char *val, const struct kernel_param *kp);
73 static int io_queue_count_set(const char *val, const struct kernel_param *kp)
78 ret = kstrtouint(val, 10, &n);
81 return param_set_uint(val, kp);
158 static int io_queue_depth_set(const char *val, const struct kernel_param *kp)
163 ret = kstrtou32(val, 10, &n);
167 return param_set_uint(val, kp);
2756 static int nvme_pci_reg_read32(struct nvme_ctrl *ctrl, u32 off, u32 *val)
2758 *val = readl(to_nvme_dev(ctrl)->bar + off);
2762 static int nvme_pci_reg_write32(struct nvme_ctrl *ctrl, u32 off, u32 val)
2764 writel(val, to_nvme_dev(ctrl)->bar + off);
2768 static int nvme_pci_reg_read64(struct nvme_ctrl *ctrl, u32 off, u64 *val)
2770 *val = lo_hi_readq(to_nvme_dev(ctrl)->bar + off);