Home
last modified time | relevance | path

Searched refs:nvme_controller (Results 1 – 12 of 12) sorted by relevance

/src/sys/dev/nvme/
H A Dnvme_private.h52 #define DEVICE2SOFTC(dev) ((struct nvme_controller *) device_get_softc(dev))
125 struct nvme_controller *ctrlr;
152 struct nvme_controller *ctrlr;
204 struct nvme_controller *ctrlr;
216 struct nvme_controller { struct
347 void nvme_ctrlr_cmd_identify_controller(struct nvme_controller *ctrlr,
350 void nvme_ctrlr_cmd_identify_namespace(struct nvme_controller *ctrlr,
353 void nvme_ctrlr_cmd_set_interrupt_coalescing(struct nvme_controller *ctrlr,
358 void nvme_ctrlr_cmd_get_error_page(struct nvme_controller *ctrlr,
363 void nvme_ctrlr_cmd_get_health_information_page(struct nvme_controller *ctrlr,
[all …]
H A Dnvme_ctrlr_cmd.c33 nvme_ctrlr_cmd_identify_controller(struct nvme_controller *ctrlr, void *payload, in nvme_ctrlr_cmd_identify_controller()
55 nvme_ctrlr_cmd_identify_namespace(struct nvme_controller *ctrlr, uint32_t nsid, in nvme_ctrlr_cmd_identify_namespace()
76 nvme_ctrlr_cmd_create_io_cq(struct nvme_controller *ctrlr, in nvme_ctrlr_cmd_create_io_cq()
100 nvme_ctrlr_cmd_create_io_sq(struct nvme_controller *ctrlr, in nvme_ctrlr_cmd_create_io_sq()
124 nvme_ctrlr_cmd_delete_io_cq(struct nvme_controller *ctrlr, in nvme_ctrlr_cmd_delete_io_cq()
145 nvme_ctrlr_cmd_delete_io_sq(struct nvme_controller *ctrlr, in nvme_ctrlr_cmd_delete_io_sq()
166 nvme_ctrlr_cmd_set_feature(struct nvme_controller *ctrlr, uint8_t feature, in nvme_ctrlr_cmd_set_feature()
193 nvme_ctrlr_cmd_get_feature(struct nvme_controller *ctrlr, uint8_t feature, in nvme_ctrlr_cmd_get_feature()
215 nvme_ctrlr_cmd_set_num_queues(struct nvme_controller *ctrlr, in nvme_ctrlr_cmd_set_num_queues()
226 nvme_ctrlr_cmd_set_async_event_config(struct nvme_controller *ctrlr, in nvme_ctrlr_cmd_set_async_event_config()
[all …]
H A Dnvme_ctrlr.c55 static void nvme_ctrlr_construct_and_submit_aer(struct nvme_controller *ctrlr,
59 nvme_ctrlr_barrier(struct nvme_controller *ctrlr, int flags) in nvme_ctrlr_barrier()
65 nvme_ctrlr_devctl_va(struct nvme_controller *ctrlr, const char *type, in nvme_ctrlr_devctl_va()
82 nvme_ctrlr_devctl(struct nvme_controller *ctrlr, const char *type, const char *msg, ...) in nvme_ctrlr_devctl()
92 nvme_ctrlr_devctl_log(struct nvme_controller *ctrlr, const char *type, const char *msg, ...) in nvme_ctrlr_devctl_log()
114 nvme_ctrlr_construct_admin_qpair(struct nvme_controller *ctrlr) in nvme_ctrlr_construct_admin_qpair()
150 nvme_ctrlr_construct_io_qpairs(struct nvme_controller *ctrlr) in nvme_ctrlr_construct_io_qpairs()
240 nvme_ctrlr_fail(struct nvme_controller *ctrlr, bool admin_also) in nvme_ctrlr_fail()
269 nvme_ctrlr_wait_for_ready(struct nvme_controller *ctrlr, int desired_val) in nvme_ctrlr_wait_for_ready()
295 nvme_ctrlr_disable(struct nvme_controller *ctrlr) in nvme_ctrlr_disable()
[all …]
H A Dnvme_pci.c47 static int nvme_ctrlr_setup_interrupts(struct nvme_controller *ctrlr);
63 sizeof(struct nvme_controller),
117 struct nvme_controller *ctrlr = DEVICE2SOFTC(device); in nvme_pci_probe()
152 nvme_ctrlr_allocate_bar(struct nvme_controller *ctrlr) in nvme_ctrlr_allocate_bar()
232 struct nvme_controller*ctrlr = DEVICE2SOFTC(dev); in nvme_pci_attach()
276 struct nvme_controller*ctrlr = DEVICE2SOFTC(dev); in nvme_pci_detach()
287 nvme_ctrlr_setup_shared(struct nvme_controller *ctrlr, int rid) in nvme_ctrlr_setup_shared()
312 nvme_ctrlr_setup_interrupts(struct nvme_controller *ctrlr) in nvme_ctrlr_setup_interrupts()
395 struct nvme_controller *ctrlr; in nvme_pci_suspend()
404 struct nvme_controller *ctrlr; in nvme_pci_resume()
H A Dnvme.c46 struct nvme_controller *ctrlr; in nvme_shutdown()
57 struct nvme_controller *ctrlr = DEVICE2SOFTC(dev); in nvme_attach()
78 struct nvme_controller *ctrlr = DEVICE2SOFTC(dev); in nvme_detach()
92 nvme_notify_async(struct nvme_controller *ctrlr, in nvme_notify_async()
110 nvme_notify_fail(struct nvme_controller *ctrlr) in nvme_notify_fail()
H A Dnvme_sysctl.c98 struct nvme_controller *ctrlr = arg1; in nvme_sysctl_int_coal_time()
117 struct nvme_controller *ctrlr = arg1; in nvme_sysctl_int_coal_threshold()
172 struct nvme_controller *ctrlr = arg1; in nvme_sysctl_num_cmds()
189 struct nvme_controller *ctrlr = arg1; in nvme_sysctl_num_intr_handler_calls()
206 struct nvme_controller *ctrlr = arg1; in nvme_sysctl_num_retries()
223 struct nvme_controller *ctrlr = arg1; in nvme_sysctl_num_failures()
240 struct nvme_controller *ctrlr = arg1; in nvme_sysctl_num_ignored()
257 struct nvme_controller *ctrlr = arg1; in nvme_sysctl_num_recovery_nolock()
274 struct nvme_controller *ctrlr = arg1; in nvme_sysctl_reset_stats()
345 nvme_sysctl_initialize_ctrlr(struct nvme_controller *ctrlr) in nvme_sysctl_initialize_ctrlr()
H A Dnvme_sim.c62 struct nvme_controller *s_ctrlr;
96 struct nvme_controller *ctrlr; in nvme_sim_nvmeio()
130 nvme_link_kBps(struct nvme_controller *ctrlr) in nvme_link_kBps()
150 struct nvme_controller *ctrlr; in nvme_sim_action()
336 struct nvme_controller *ctrlr = device_get_ivars(dev); in nvme_sim_attach()
384 struct nvme_controller *ctrlr = sc->s_ctrlr; in nvme_sim_fail_all_ns()
H A Dnvme_ahci.c52 sizeof(struct nvme_controller),
66 struct nvme_controller*ctrlr = DEVICE2SOFTC(dev); in nvme_ahci_attach()
H A Dnvme.h1915 struct nvme_controller;
1928 int nvme_ctrlr_passthrough_cmd(struct nvme_controller *ctrlr,
1933 int nvme_ctrlr_linux_passthru_cmd(struct nvme_controller *ctrlr,
1939 void nvme_ctrlr_cmd_set_feature(struct nvme_controller *ctrlr,
1945 void nvme_ctrlr_cmd_get_feature(struct nvme_controller *ctrlr,
1949 void nvme_ctrlr_cmd_get_log_page(struct nvme_controller *ctrlr,
1974 device_t nvme_ctrlr_get_device(struct nvme_controller *ctrlr);
1976 nvme_ctrlr_get_data(struct nvme_controller *ctrlr);
H A Dnvme_ns.c68 struct nvme_controller *ctrlr; in nvme_ns_ioctl()
520 struct nvme_controller *ctrlr) in nvme_ns_construct()
H A Dnvme_qpair.c520 struct nvme_controller *ctrlr) in nvme_qpair_construct()
840 struct nvme_controller *ctrlr = qpair->ctrlr; in nvme_qpair_timeout()
1037 struct nvme_controller *ctrlr; in nvme_qpair_submit_tracker()
/src/sys/dev/nvd/
H A Dnvd.c94 struct nvme_controller *ctrlr;
419 struct nvme_controller *ctrlr = device_get_ivars(dev); in nvdc_attach()