Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/subsys/bluetooth/audio/
Dmedia_proxy.c50 struct controller ctrlr; member
241 if (mprx.ctrlr.cbs && mprx.ctrlr.cbs->discover_player) { in mcc_discover_mcs_cb()
242 mprx.ctrlr.cbs->discover_player(&mprx.remote_player, err); in mcc_discover_mcs_cb()
257 if (mprx.ctrlr.cbs && mprx.ctrlr.cbs->player_name_recv) { in mcc_read_player_name_cb()
258 mprx.ctrlr.cbs->player_name_recv(&mprx.remote_player, err, name); in mcc_read_player_name_cb()
273 if (mprx.ctrlr.cbs && mprx.ctrlr.cbs->icon_id_recv) { in mcc_read_icon_obj_id_cb()
274 mprx.ctrlr.cbs->icon_id_recv(&mprx.remote_player, err, id); in mcc_read_icon_obj_id_cb()
287 if (mprx.ctrlr.cbs && mprx.ctrlr.cbs->icon_url_recv) { in mcc_read_icon_url_cb()
288 mprx.ctrlr.cbs->icon_url_recv(&mprx.remote_player, err, url); in mcc_read_icon_url_cb()
301 if (mprx.ctrlr.cbs && mprx.ctrlr.cbs->track_changed_recv) { in mcc_track_changed_ntf_cb()
[all …]
/Zephyr-Core-3.5.0/drivers/disk/nvme/
Dnvme_controller_cmd.c17 int nvme_ctrlr_cmd_identify_controller(struct nvme_controller *ctrlr, in nvme_ctrlr_cmd_identify_controller() argument
23 &ctrlr->cdata, sizeof(struct nvme_controller_data), in nvme_ctrlr_cmd_identify_controller()
33 return nvme_cmd_qpair_submit_request(ctrlr->adminq, request); in nvme_ctrlr_cmd_identify_controller()
36 int nvme_ctrlr_cmd_identify_namespace(struct nvme_controller *ctrlr, in nvme_ctrlr_cmd_identify_namespace() argument
55 return nvme_cmd_qpair_submit_request(ctrlr->adminq, request); in nvme_ctrlr_cmd_identify_namespace()
58 int nvme_ctrlr_cmd_create_io_cq(struct nvme_controller *ctrlr, in nvme_ctrlr_cmd_create_io_cq() argument
83 return nvme_cmd_qpair_submit_request(ctrlr->adminq, request); in nvme_ctrlr_cmd_create_io_cq()
86 int nvme_ctrlr_cmd_create_io_sq(struct nvme_controller *ctrlr, in nvme_ctrlr_cmd_create_io_sq() argument
111 return nvme_cmd_qpair_submit_request(ctrlr->adminq, request); in nvme_ctrlr_cmd_create_io_sq()
114 int nvme_ctrlr_cmd_delete_io_cq(struct nvme_controller *ctrlr, in nvme_ctrlr_cmd_delete_io_cq() argument
[all …]
Dnvme_namespace.c46 return (const char *)ns->ctrlr->cdata.sn; in nvme_namespace_get_serial_number()
51 return (const char *)ns->ctrlr->cdata.mn; in nvme_namespace_get_model_number()
78 struct nvme_controller *ctrlr) in nvme_namespace_construct() argument
85 ns->ctrlr = ctrlr; in nvme_namespace_construct()
88 nvme_ctrlr_cmd_identify_namespace(ctrlr, id, &ns->data, in nvme_namespace_construct()
117 if (nvme_controller_has_dataset_mgmt(ctrlr)) { in nvme_namespace_construct()
121 vwc_present = (ctrlr->cdata.vwc >> NVME_CTRLR_DATA_VWC_PRESENT_SHIFT) & in nvme_namespace_construct()
128 ctrlr->id, ns->id-1); in nvme_namespace_construct()
Dnvme_cmd.h321 struct nvme_controller *ctrlr; member
389 struct nvme_controller *ctrlr,
397 int nvme_cmd_identify_controller(struct nvme_controller *ctrlr,
402 int nvme_ctrlr_cmd_identify_controller(struct nvme_controller *ctrlr,
405 int nvme_ctrlr_cmd_identify_namespace(struct nvme_controller *ctrlr,
409 int nvme_ctrlr_cmd_create_io_cq(struct nvme_controller *ctrlr,
413 int nvme_ctrlr_cmd_create_io_sq(struct nvme_controller *ctrlr,
417 int nvme_ctrlr_cmd_delete_io_cq(struct nvme_controller *ctrlr,
421 int nvme_ctrlr_cmd_delete_io_sq(struct nvme_controller *ctrlr,
425 int nvme_ctrlr_cmd_set_feature(struct nvme_controller *ctrlr,
[all …]
Dnvme_cmd.c468 mm_reg_t regs = DEVICE_MMIO_GET(qpair->ctrlr->dev); in nvme_cmd_qpair_process_completion()
482 struct nvme_controller *ctrlr, in nvme_cmd_qpair_setup() argument
486 ctrlr->dev->config; in nvme_cmd_qpair_setup()
488 qpair->ctrlr = ctrlr; in nvme_cmd_qpair_setup()
502 (qpair->id << (ctrlr->dstrd + 1)); in nvme_cmd_qpair_setup()
504 (qpair->id << (ctrlr->dstrd + 1)) + (1 << ctrlr->dstrd); in nvme_cmd_qpair_setup()
507 &ctrlr->vectors[qpair->vector], in nvme_cmd_qpair_setup()
605 if (request->payload_size > qpair->ctrlr->max_xfer_size) { in nvme_cmd_qpair_fill_dptr()
637 mm_reg_t regs = DEVICE_MMIO_GET(qpair->ctrlr->dev); in nvme_cmd_qpair_submit_request()
Dnvme_disk.c59 nvme_cmd_qpair_submit_request(ns->ctrlr->ioq, request); in nvme_disk_read()
108 nvme_cmd_qpair_submit_request(ns->ctrlr->ioq, request); in nvme_disk_write()
138 nvme_cmd_qpair_submit_request(ns->ctrlr->ioq, request); in nvme_disk_flush()
210 disk->dev = ns->ctrlr->dev; in nvme_namespace_disk_setup()
Dnvme_namespace.h159 struct nvme_controller *ctrlr; member
192 struct nvme_controller *ctrlr);
Dnvme.h456 bool nvme_controller_has_dataset_mgmt(struct nvme_controller *ctrlr) in nvme_controller_has_dataset_mgmt() argument
459 return ((ctrlr->cdata.oncs >> NVME_CTRLR_DATA_ONCS_DSM_SHIFT) & in nvme_controller_has_dataset_mgmt()