Home
last modified time | relevance | path

Searched refs:ctrlr (Results 1 – 8 of 8) sorted by relevance

/Zephyr-Core-3.7.0/subsys/bluetooth/audio/
Dmedia_proxy.c55 struct controller ctrlr; member
246 if (mprx.ctrlr.cbs && mprx.ctrlr.cbs->discover_player) { in mcc_discover_mcs_cb()
247 mprx.ctrlr.cbs->discover_player(&mprx.remote_player, err); in mcc_discover_mcs_cb()
262 if (mprx.ctrlr.cbs && mprx.ctrlr.cbs->player_name_recv) { in mcc_read_player_name_cb()
263 mprx.ctrlr.cbs->player_name_recv(&mprx.remote_player, err, name); in mcc_read_player_name_cb()
278 if (mprx.ctrlr.cbs && mprx.ctrlr.cbs->icon_id_recv) { in mcc_read_icon_obj_id_cb()
279 mprx.ctrlr.cbs->icon_id_recv(&mprx.remote_player, err, id); in mcc_read_icon_obj_id_cb()
293 if (mprx.ctrlr.cbs && mprx.ctrlr.cbs->icon_url_recv) { in mcc_read_icon_url_cb()
294 mprx.ctrlr.cbs->icon_url_recv(&mprx.remote_player, err, url); in mcc_read_icon_url_cb()
308 if (mprx.ctrlr.cbs && mprx.ctrlr.cbs->track_changed_recv) { in mcc_track_changed_ntf_cb()
[all …]
/Zephyr-Core-3.7.0/drivers/disk/nvme/
Dnvme_controller_cmd.c19 int nvme_ctrlr_cmd_identify_controller(struct nvme_controller *ctrlr, in nvme_ctrlr_cmd_identify_controller() argument
25 &ctrlr->cdata, sizeof(struct nvme_controller_data), in nvme_ctrlr_cmd_identify_controller()
35 return nvme_cmd_qpair_submit_request(ctrlr->adminq, request); in nvme_ctrlr_cmd_identify_controller()
38 int nvme_ctrlr_cmd_identify_namespace(struct nvme_controller *ctrlr, in nvme_ctrlr_cmd_identify_namespace() argument
57 return nvme_cmd_qpair_submit_request(ctrlr->adminq, request); in nvme_ctrlr_cmd_identify_namespace()
60 int nvme_ctrlr_cmd_create_io_cq(struct nvme_controller *ctrlr, in nvme_ctrlr_cmd_create_io_cq() argument
85 return nvme_cmd_qpair_submit_request(ctrlr->adminq, request); in nvme_ctrlr_cmd_create_io_cq()
88 int nvme_ctrlr_cmd_create_io_sq(struct nvme_controller *ctrlr, in nvme_ctrlr_cmd_create_io_sq() argument
113 return nvme_cmd_qpair_submit_request(ctrlr->adminq, request); in nvme_ctrlr_cmd_create_io_sq()
116 int nvme_ctrlr_cmd_delete_io_cq(struct nvme_controller *ctrlr, in nvme_ctrlr_cmd_delete_io_cq() argument
[all …]
Dnvme_namespace.c48 return (const char *)ns->ctrlr->cdata.sn; in nvme_namespace_get_serial_number()
53 return (const char *)ns->ctrlr->cdata.mn; in nvme_namespace_get_model_number()
80 struct nvme_controller *ctrlr) in nvme_namespace_construct() argument
87 ns->ctrlr = ctrlr; in nvme_namespace_construct()
90 nvme_ctrlr_cmd_identify_namespace(ctrlr, id, &ns->data, in nvme_namespace_construct()
119 if (nvme_controller_has_dataset_mgmt(ctrlr)) { in nvme_namespace_construct()
123 vwc_present = (ctrlr->cdata.vwc >> NVME_CTRLR_DATA_VWC_PRESENT_SHIFT) & in nvme_namespace_construct()
130 ctrlr->id, ns->id-1); in nvme_namespace_construct()
Dnvme_cmd.h324 struct nvme_controller *ctrlr; member
392 struct nvme_controller *ctrlr,
400 int nvme_cmd_identify_controller(struct nvme_controller *ctrlr,
405 int nvme_ctrlr_cmd_identify_controller(struct nvme_controller *ctrlr,
408 int nvme_ctrlr_cmd_identify_namespace(struct nvme_controller *ctrlr,
412 int nvme_ctrlr_cmd_create_io_cq(struct nvme_controller *ctrlr,
416 int nvme_ctrlr_cmd_create_io_sq(struct nvme_controller *ctrlr,
420 int nvme_ctrlr_cmd_delete_io_cq(struct nvme_controller *ctrlr,
424 int nvme_ctrlr_cmd_delete_io_sq(struct nvme_controller *ctrlr,
428 int nvme_ctrlr_cmd_set_feature(struct nvme_controller *ctrlr,
[all …]
Dnvme_cmd.c471 mm_reg_t regs = DEVICE_MMIO_GET(qpair->ctrlr->dev); in nvme_cmd_qpair_process_completion()
485 struct nvme_controller *ctrlr, in nvme_cmd_qpair_setup() argument
489 ctrlr->dev->config; in nvme_cmd_qpair_setup()
491 qpair->ctrlr = ctrlr; in nvme_cmd_qpair_setup()
505 (qpair->id << (ctrlr->dstrd + 1)); in nvme_cmd_qpair_setup()
507 (qpair->id << (ctrlr->dstrd + 1)) + (1 << ctrlr->dstrd); in nvme_cmd_qpair_setup()
510 &ctrlr->vectors[qpair->vector], in nvme_cmd_qpair_setup()
608 if (request->payload_size > qpair->ctrlr->max_xfer_size) { in nvme_cmd_qpair_fill_dptr()
640 mm_reg_t regs = DEVICE_MMIO_GET(qpair->ctrlr->dev); in nvme_cmd_qpair_submit_request()
Dnvme_disk.c54 nvme_cmd_qpair_submit_request(ns->ctrlr->ioq, request); in nvme_disk_read()
103 nvme_cmd_qpair_submit_request(ns->ctrlr->ioq, request); in nvme_disk_write()
133 nvme_cmd_qpair_submit_request(ns->ctrlr->ioq, request); in nvme_disk_flush()
214 disk->dev = ns->ctrlr->dev; in nvme_namespace_disk_setup()
Dnvme_namespace.h161 struct nvme_controller *ctrlr; member
194 struct nvme_controller *ctrlr);
Dnvme.h458 bool nvme_controller_has_dataset_mgmt(struct nvme_controller *ctrlr) in nvme_controller_has_dataset_mgmt() argument
461 return ((ctrlr->cdata.oncs >> NVME_CTRLR_DATA_ONCS_DSM_SHIFT) & in nvme_controller_has_dataset_mgmt()