Searched refs:cpl (Results 1 – 6 of 6) sorted by relevance
178 void nvme_completion_print(const struct nvme_completion *cpl) in nvme_completion_print() argument182 sct = NVME_STATUS_GET_SCT(cpl->status); in nvme_completion_print()183 sc = NVME_STATUS_GET_SC(cpl->status); in nvme_completion_print()184 crd = NVME_STATUS_GET_CRD(cpl->status); in nvme_completion_print()185 m = NVME_STATUS_GET_M(cpl->status); in nvme_completion_print()186 dnr = NVME_STATUS_GET_DNR(cpl->status); in nvme_completion_print()187 p = NVME_STATUS_GET_P(cpl->status); in nvme_completion_print()192 cpl->sqid, cpl->cid, cpl->cdw0); in nvme_completion_print()314 static bool nvme_completion_is_retry(const struct nvme_completion *cpl) in nvme_completion_is_retry() argument318 sct = NVME_STATUS_GET_SCT(cpl->status); in nvme_completion_is_retry()[all …]
75 struct nvme_completion cpl; member341 struct nvme_completion *cpl; member376 void nvme_completion_poll_cb(void *arg, const struct nvme_completion *cpl);379 void nvme_completion_print(const struct nvme_completion *cpl);524 static inline void nvme_completion_swapbytes(struct nvme_completion *cpl) in nvme_completion_swapbytes() argument527 cpl->cdw0 = sys_le32_to_cpu(cpl->cdw0); in nvme_completion_swapbytes()529 cpl->sqhd = sys_le16_to_cpu(cpl->sqhd); in nvme_completion_swapbytes()530 cpl->sqid = sys_le16_to_cpu(cpl->sqid); in nvme_completion_swapbytes()532 cpl->status = sys_le16_to_cpu(s->status); in nvme_completion_swapbytes()534 ARG_UNUSED(cpl); in nvme_completion_swapbytes()[all …]
65 nvme_completion_print(&status.cpl); in nvme_disk_read()114 nvme_completion_print(&status.cpl); in nvme_disk_write()143 nvme_completion_print(&status.cpl); in nvme_disk_flush()
186 nvme_completion_print(&status.cpl); in nvme_controller_setup_io_queues()195 sq_allocated = (status.cpl.cdw0 & 0xFFFF) + 1; in nvme_controller_setup_io_queues()196 cq_allocated = (status.cpl.cdw0 >> 16) + 1; in nvme_controller_setup_io_queues()229 nvme_completion_print(&status.cpl); in nvme_controller_setup_io_queues()245 nvme_completion_print(&status.cpl); in nvme_controller_setup_io_queues()380 nvme_completion_print(&status.cpl); in nvme_controller_identify()
407 .cpl = cpl_##name, \
76 double cpl; in tsl2540_channel_get() local82 cpl = (data->integration_time + 1) * TSL2540_INTEGRATION_TIME_MS; in tsl2540_channel_get()83 cpl *= data->again; in tsl2540_channel_get()87 sensor_value_from_double(val, data->count_vis / cpl * in tsl2540_channel_get()91 sensor_value_from_double(val, data->count_ir / cpl * in tsl2540_channel_get()171 double cpl; in tsl2540_attr_set() local175 cpl = ((data->integration_time + 1) * TSL2540_INTEGRATION_TIME_MS); in tsl2540_attr_set()176 cpl *= data->again; in tsl2540_attr_set()177 cpl /= (TSL2540_DEVICE_FACTOR * glass_attenuation); in tsl2540_attr_set()178 thld = sensor_value_to_double(val) * cpl; in tsl2540_attr_set()[all …]