| /linux-6.15/drivers/nvme/host/ |
| H A D | sysfs.c | 33 nvme_queue_scan(ctrl); in nvme_sysfs_rescan() 361 (int)sizeof(ctrl->subsys->field), ctrl->subsys->field); \ 469 return ctrl->ops->get_address(ctrl, buf, PAGE_SIZE); in nvme_sysfs_show_address() 573 if (ctrl->cntrltype > NVME_CTRL_ADMIN || !type[ctrl->cntrltype]) in cntrltype_show() 590 if (ctrl->dctype > NVME_DCTYPE_CDC || !type[ctrl->dctype]) in dctype_show() 627 nvme_auth_stop(ctrl); in nvme_ctrl_dhchap_secret_store() 685 nvme_auth_stop(ctrl); in nvme_ctrl_dhchap_ctrl_secret_store() 788 if (!ctrl->tls_pskid) in tls_key_show() 827 if (!ctrl->opts || strcmp(ctrl->opts->transport, "tcp")) in nvme_tls_attrs_are_visible() 831 !ctrl->opts->tls && !ctrl->opts->concat) in nvme_tls_attrs_are_visible() [all …]
|
| H A D | multipath.c | 839 ctrl->ana_log_buf, ctrl->ana_log_size, 0); in nvme_read_ana_log() 862 mod_timer(&ctrl->anatt_timer, ctrl->anatt * HZ * 2 + jiffies); in nvme_read_ana_log() 877 nvme_read_ana_log(ctrl); in nvme_ana_work() 884 if (!ctrl->ana_log_buf) in nvme_mpath_update() 894 struct nvme_ctrl *ctrl = from_timer(ctrl, t, anatt_timer); in nvme_anatt_timeout() local 897 nvme_reset_ctrl(ctrl); in nvme_anatt_timeout() 925 struct nvme_ctrl *ctrl; in nvme_subsys_iopolicy_update() local 1190 dev_err(ctrl->device, in nvme_mpath_init_identify() 1204 dev_err(ctrl->device, in nvme_mpath_init_identify() 1211 nvme_mpath_stop(ctrl); in nvme_mpath_init_identify() [all …]
|
| H A D | fabrics.c | 188 dev_err(ctrl->device, in nvmf_reg_read32() 234 dev_err(ctrl->device, in nvmf_reg_read64() 290 ret = ctrl->ops->reg_write32(ctrl, NVME_REG_NSSR, NVME_SUBSYS_RESET); in nvmf_subsystem_reset() 535 data = nvmf_connect_data_prep(ctrl, ctrl->cntlid); in nvmf_connect_io_queue() 599 ctrl->nr_reconnects < ctrl->opts->max_reconnects) in nvmf_should_reconnect() 1360 if (IS_ERR(ctrl)) { in nvmf_create_ctrl() 1366 return ctrl; in nvmf_create_ctrl() 1407 if (IS_ERR(ctrl)) { in nvmf_dev_write() 1446 if (!ctrl) { in nvmf_dev_show() 1452 ctrl->instance, ctrl->cntlid); in nvmf_dev_show() [all …]
|
| /linux-6.15/drivers/platform/surface/aggregator/ |
| H A D | controller.c | 895 kfree(ctrl); in __ssam_controller_release() 1210 kref_init(&ctrl->kref); in ssam_controller_init() 1938 ssam_err(ctrl, in ssam_ssh_event_enable() 1944 ssam_err(ctrl, in ssam_ssh_event_enable() 1979 ssam_err(ctrl, in ssam_ssh_event_disable() 1985 ssam_err(ctrl, in ssam_ssh_event_disable() 2233 ssam_warn(ctrl, in ssam_nf_refcount_enable() 2291 ssam_warn(ctrl, in ssam_nf_refcount_disable_free() 2772 ctrl->irq.num = irq; in ssam_irq_setup() 2784 free_irq(ctrl->irq.num, ctrl); in ssam_irq_free() [all …]
|
| /linux-6.15/drivers/tty/serdev/ |
| H A D | serdev-ttyport.c | 37 dev_WARN_ONCE(&ctrl->dev, ret > count, in ttyport_receive_buf() 58 serdev_controller_write_wakeup(ctrl); in ttyport_write_wakeup() 270 struct serdev_controller *ctrl; in serdev_tty_port_register() local 278 if (!ctrl) in serdev_tty_port_register() 286 ctrl->ops = &ctrl_ops; in serdev_tty_port_register() 289 port->client_data = ctrl; in serdev_tty_port_register() 291 ret = serdev_controller_add(ctrl); in serdev_tty_port_register() 296 return &ctrl->dev; in serdev_tty_port_register() 301 serdev_controller_put(ctrl); in serdev_tty_port_register() 314 serdev_controller_remove(ctrl); in serdev_tty_port_unregister() [all …]
|
| /linux-6.15/drivers/usb/cdns3/ |
| H A D | cdnsp-ep0.c | 42 struct usb_ctrlrequest *ctrl) in cdnsp_ep0_delegate_req() argument 54 struct usb_ctrlrequest *ctrl) in cdnsp_ep0_set_config() argument 60 cfg = le16_to_cpu(ctrl->wValue); in cdnsp_ep0_set_config() 85 struct usb_ctrlrequest *ctrl) in cdnsp_ep0_set_address() argument 93 addr = le16_to_cpu(ctrl->wValue); in cdnsp_ep0_set_address() 145 struct usb_ctrlrequest *ctrl) in cdnsp_ep0_handle_status() argument 371 if (le16_to_cpu(ctrl->wIndex) || le16_to_cpu(ctrl->wLength)) in cdnsp_ep0_set_isoch_delay() 380 struct usb_ctrlrequest *ctrl) in cdnsp_ep0_std_request() argument 384 switch (ctrl->bRequest) { in cdnsp_ep0_std_request() 420 trace_cdnsp_ctrl_req(ctrl); in cdnsp_setup_analyze() [all …]
|
| /linux-6.15/arch/mips/sgi-ip22/ |
| H A D | ip22-nvram.c | 64 __raw_writel(__raw_readl(ctrl) | EEPROM_DATO, ctrl); in eeprom_cmd() 66 __raw_writel(__raw_readl(ctrl) & ~EEPROM_DATO, ctrl); in eeprom_cmd() 67 __raw_writel(__raw_readl(ctrl) & ~EEPROM_ECLK, ctrl); in eeprom_cmd() 69 __raw_writel(__raw_readl(ctrl) | EEPROM_ECLK, ctrl); in eeprom_cmd() 74 __raw_writel(__raw_readl(ctrl) & ~EEPROM_DATO, ctrl); in eeprom_cmd() 82 __raw_writel(__raw_readl(ctrl) & ~EEPROM_EPROT, ctrl); in ip22_eeprom_read() 83 eeprom_cs_on(ctrl); in ip22_eeprom_read() 84 eeprom_cmd(ctrl, EEPROM_READ, reg); in ip22_eeprom_read() 88 __raw_writel(__raw_readl(ctrl) & ~EEPROM_ECLK, ctrl); in ip22_eeprom_read() 90 __raw_writel(__raw_readl(ctrl) | EEPROM_ECLK, ctrl); in ip22_eeprom_read() [all …]
|
| /linux-6.15/drivers/nvme/target/ |
| H A D | fabrics-cmd-auth.c | 36 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_negotiate() local 124 if (ctrl->dh_gid == NVME_AUTH_DHGROUP_NULL && ctrl->concat) { in nvmet_auth_negotiate() 132 nvme_auth_dhgroup_name(ctrl->dh_gid), ctrl->dh_gid); in nvmet_auth_negotiate() 138 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_reply() local 210 if (ctrl->concat) in nvmet_auth_reply() 235 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_auth_send() local 391 unsigned long auth_expire_secs = ctrl->kato ? ctrl->kato : 120; in nvmet_execute_auth_send() 409 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_challenge() local 414 if (ctrl->dh_tfm) in nvmet_auth_challenge() 449 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_success1() local [all …]
|
| H A D | admin-cmd.c | 17 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_delete_sq() local 35 status = ctrl->ops->delete_sq(ctrl, sqid); in nvmet_execute_delete_sq() 43 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_create_sq() local 90 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_delete_cq() local 108 status = ctrl->ops->delete_cq(ctrl, cqid); in nvmet_execute_delete_cq() 116 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_create_cq() local 186 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_get_log_page_error() local 277 ctrl = req->sq->ctrl; in nvmet_get_smart_log_all() 417 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_get_log_cmd_effects_ns() local 702 id->mdts = ctrl->ops->get_mdts(ctrl); in nvmet_execute_identify_ctrl() [all …]
|
| H A D | fabrics-cmd.c | 40 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_prop_get() local 50 val = ctrl->cap; in nvmet_execute_prop_get() 59 val = ctrl->subsys->ver; in nvmet_execute_prop_get() 62 val = ctrl->cc; in nvmet_execute_prop_get() 65 val = ctrl->csts; in nvmet_execute_prop_get() 204 old = cmpxchg(&req->sq->ctrl, NULL, ctrl); in nvmet_install_queue() 233 req->sq->ctrl = NULL; in nvmet_install_queue() 310 if (!ctrl) in nvmet_execute_admin_connect() 315 nvmet_ctrl_put(ctrl); in nvmet_execute_admin_connect() 360 if (!ctrl) { in nvmet_execute_io_connect() [all …]
|
| /linux-6.15/drivers/pci/hotplug/ |
| H A D | cpqphp.h | 261 struct controller *ctrl; member 474 misc = readw(ctrl->hpc_reg + MISC); in set_SOGO() 476 writew(misc, ctrl->hpc_reg + MISC); in set_SOGO() 573 return readb(ctrl->hpc_reg + SLOT_ENABLE); in read_slot_enable() 589 if (ctrl->pcix_support) { in get_controller_speed() 603 misc = readw(ctrl->hpc_reg + MISC); in get_controller_speed() 620 if (ctrl->pcix_support) { in get_adapter_speed() 658 return read_amber_LED(ctrl, hp_slot); in cpq_get_attention_status() 668 return is_slot_enabled(ctrl, hp_slot); in get_slot_enabled() 710 add_wait_queue(&ctrl->queue, &wait); in wait_for_ctrl_irq() [all …]
|
| H A D | shpchp.h | 36 #define ctrl_dbg(ctrl, format, arg...) \ argument 37 pci_dbg(ctrl->pci_dev, format, ## arg) 38 #define ctrl_err(ctrl, format, arg...) \ argument 39 pci_err(ctrl->pci_dev, format, ## arg) 40 #define ctrl_info(ctrl, format, arg...) \ argument 41 pci_info(ctrl->pci_dev, format, ## arg) 42 #define ctrl_warn(ctrl, format, arg...) \ argument 43 pci_warn(ctrl->pci_dev, format, ## arg) 58 struct controller *ctrl; member 150 void cleanup_slots(struct controller *ctrl); [all …]
|
| /linux-6.15/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
| H A D | r535.c | 63 sizeof(*ctrl)); in r535_mmu_promote_vmm() 64 if (IS_ERR(ctrl)) in r535_mmu_promote_vmm() 65 return PTR_ERR(ctrl); in r535_mmu_promote_vmm() 67 ctrl->pageSize = 0x20000000; in r535_mmu_promote_vmm() 72 ctrl->levels[0].size = 0x20; in r535_mmu_promote_vmm() 73 ctrl->levels[0].aperture = 1; in r535_mmu_promote_vmm() 74 ctrl->levels[0].pageShift = 0x2f; in r535_mmu_promote_vmm() 76 ctrl->levels[1].size = 0x1000; in r535_mmu_promote_vmm() 77 ctrl->levels[1].aperture = 1; in r535_mmu_promote_vmm() 81 ctrl->levels[2].size = 0x1000; in r535_mmu_promote_vmm() [all …]
|
| /linux-6.15/sound/soc/codecs/ |
| H A D | sigmadsp.c | 124 ctrl->num_bytes); in sigmadsp_ctrl_write() 127 ctrl->num_bytes); in sigmadsp_ctrl_write() 146 memcpy(ctrl->cache, data, ctrl->num_bytes); in sigmadsp_ctrl_put() 166 ret = sigmadsp_read(sigmadsp, ctrl->addr, ctrl->cache, in sigmadsp_ctrl_get() 226 ctrl = kzalloc(sizeof(*ctrl) + num_bytes, GFP_KERNEL); in sigma_fw_load_control() 227 if (!ctrl) in sigma_fw_load_control() 235 ctrl->name = name; in sigma_fw_load_control() 242 if (ctrl->name && strncmp(ctrl->name, READBACK_CTRL_NAME, in sigma_fw_load_control() 255 kfree(ctrl); in sigma_fw_load_control() 473 kfree(ctrl); in sigmadsp_firmware_release() [all …]
|
| /linux-6.15/drivers/scsi/snic/ |
| H A D | vnic_cq.c | 14 cq->ctrl = NULL; in svnic_cq_free() 23 cq->ctrl = svnic_dev_get_res(vdev, RES_TYPE_CQ, index); in svnic_cq_alloc() 24 if (!cq->ctrl) { in svnic_cq_alloc() 42 writeq(paddr, &cq->ctrl->ring_base); in svnic_cq_init() 45 iowrite32(color_enable, &cq->ctrl->color_enable); in svnic_cq_init() 46 iowrite32(cq_head, &cq->ctrl->cq_head); in svnic_cq_init() 47 iowrite32(cq_tail, &cq->ctrl->cq_tail); in svnic_cq_init() 48 iowrite32(cq_tail_color, &cq->ctrl->cq_tail_color); in svnic_cq_init() 61 iowrite32(0, &cq->ctrl->cq_head); in svnic_cq_clean() 62 iowrite32(0, &cq->ctrl->cq_tail); in svnic_cq_clean() [all …]
|
| /linux-6.15/drivers/scsi/fnic/ |
| H A D | vnic_wq_copy.c | 15 iowrite32(1, &wq->ctrl->enable); in vnic_wq_copy_enable() 22 iowrite32(0, &wq->ctrl->enable); in vnic_wq_copy_disable() 26 if (!(ioread32(&wq->ctrl->running))) in vnic_wq_copy_disable() 43 BUG_ON(ioread32(&wq->ctrl->enable)); in vnic_wq_copy_clean() 50 iowrite32(0, &wq->ctrl->fetch_index); in vnic_wq_copy_clean() 51 iowrite32(0, &wq->ctrl->posted_index); in vnic_wq_copy_clean() 52 iowrite32(0, &wq->ctrl->error_status); in vnic_wq_copy_clean() 63 wq->ctrl = NULL; in vnic_wq_copy_free() 74 if (!wq->ctrl) { in vnic_wq_copy_alloc() 91 writeq(paddr, &wq->ctrl->ring_base); in vnic_wq_copy_init() [all …]
|
| H A D | vnic_cq.c | 16 cq->ctrl = NULL; in vnic_cq_free() 27 cq->ctrl = vnic_dev_get_res(vdev, RES_TYPE_CQ, index); in vnic_cq_alloc() 28 if (!cq->ctrl) { in vnic_cq_alloc() 49 writeq(paddr, &cq->ctrl->ring_base); in vnic_cq_init() 52 iowrite32(color_enable, &cq->ctrl->color_enable); in vnic_cq_init() 53 iowrite32(cq_head, &cq->ctrl->cq_head); in vnic_cq_init() 54 iowrite32(cq_tail, &cq->ctrl->cq_tail); in vnic_cq_init() 55 iowrite32(cq_tail_color, &cq->ctrl->cq_tail_color); in vnic_cq_init() 68 iowrite32(0, &cq->ctrl->cq_head); in vnic_cq_clean() 69 iowrite32(0, &cq->ctrl->cq_tail); in vnic_cq_clean() [all …]
|
| H A D | vnic_wq.c | 21 if (!wq->ctrl) in vnic_wq_get_ctrl() 86 wq->ctrl = NULL; in vnic_wq_free() 99 if (!wq->ctrl) { in vnic_wq_alloc() 150 writeq(paddr, &wq->ctrl->ring_base); in vnic_wq_init_start() 172 writeq(paddr, &wq->ctrl->ring_base); in vnic_wq_init() 174 iowrite32(0, &wq->ctrl->fetch_index); in vnic_wq_init() 189 iowrite32(1, &wq->ctrl->enable); in vnic_wq_enable() 196 iowrite32(0, &wq->ctrl->enable); in vnic_wq_disable() 200 if (!(ioread32(&wq->ctrl->running))) in vnic_wq_disable() 215 BUG_ON(ioread32(&wq->ctrl->enable)); in vnic_wq_clean() [all …]
|
| /linux-6.15/Documentation/devicetree/bindings/display/msm/ |
| H A D | dsi-controller-main.yaml | 17 - qcom,apq8064-dsi-ctrl 18 - qcom,msm8226-dsi-ctrl 19 - qcom,msm8916-dsi-ctrl 20 - qcom,msm8953-dsi-ctrl 21 - qcom,msm8974-dsi-ctrl 22 - qcom,msm8976-dsi-ctrl 26 - qcom,sc7180-dsi-ctrl 27 - qcom,sc7280-dsi-ctrl 28 - qcom,sdm660-dsi-ctrl 29 - qcom,sdm670-dsi-ctrl [all …]
|
| /linux-6.15/drivers/net/ethernet/cisco/enic/ |
| H A D | vnic_cq.c | 20 cq->ctrl = NULL; in vnic_cq_free() 29 cq->ctrl = vnic_dev_get_res(vdev, RES_TYPE_CQ, index); in vnic_cq_alloc() 30 if (!cq->ctrl) { in vnic_cq_alloc() 47 writeq(paddr, &cq->ctrl->ring_base); in vnic_cq_init() 50 iowrite32(color_enable, &cq->ctrl->color_enable); in vnic_cq_init() 51 iowrite32(cq_head, &cq->ctrl->cq_head); in vnic_cq_init() 52 iowrite32(cq_tail, &cq->ctrl->cq_tail); in vnic_cq_init() 53 iowrite32(cq_tail_color, &cq->ctrl->cq_tail_color); in vnic_cq_init() 68 iowrite32(0, &cq->ctrl->cq_head); in vnic_cq_clean() 69 iowrite32(0, &cq->ctrl->cq_tail); in vnic_cq_clean() [all …]
|
| /linux-6.15/drivers/staging/vc04_services/bcm2835-camera/ |
| H A D | controls.c | 194 if (ctrl->val > mmal_ctrl->max || ctrl->val < mmal_ctrl->min) in ctrl_set_iso() 361 switch (ctrl->val) { in ctrl_set_metering_mode() 402 switch (ctrl->val) { in ctrl_set_flicker_avoidance() 552 mmal_ctrl, ctrl->id, ctrl->val, imagefx.effect, in ctrl_set_image_effect() 578 __func__, mmal_ctrl, ctrl->id, ctrl->val, ret, in ctrl_set_colfx() 600 __func__, mmal_ctrl, ctrl->id, ctrl->val, ret, in ctrl_set_bitrate() 1328 ctrl->id, ctrl->min, ctrl->max, in bcm2835_mmal_init_controls() 1329 ctrl->step, ctrl->def); in bcm2835_mmal_init_controls() 1354 ctrl->id, ctrl->max, mask, in bcm2835_mmal_init_controls() 1361 ctrl->id, ctrl->max, in bcm2835_mmal_init_controls() [all …]
|
| /linux-6.15/drivers/clocksource/ |
| H A D | dw_apb_timer.c | 98 ctrl &= ~APBTMR_CONTROL_INT; in apbt_enable_int() 105 u32 ctrl; in apbt_shutdown() local 111 ctrl &= ~APBTMR_CONTROL_ENABLE; in apbt_shutdown() 119 u32 ctrl; in apbt_set_oneshot() local 130 ctrl &= ~APBTMR_CONTROL_ENABLE; in apbt_set_oneshot() 142 ctrl &= ~APBTMR_CONTROL_INT; in apbt_set_oneshot() 143 ctrl |= APBTMR_CONTROL_ENABLE; in apbt_set_oneshot() 152 u32 ctrl; in apbt_set_periodic() local 169 ctrl |= APBTMR_CONTROL_ENABLE; in apbt_set_periodic() 188 u32 ctrl; in apbt_next_event() local [all …]
|
| /linux-6.15/drivers/media/i2c/ |
| H A D | tw2804.c | 169 switch (ctrl->id) { in tw2804_g_volatile_ctrl() 196 switch (ctrl->id) { in tw2804_s_ctrl() 202 if (ctrl->val == 0) in tw2804_s_ctrl() 230 ctrl->val, state->channel); in tw2804_s_ctrl() 234 ctrl->val, state->channel); in tw2804_s_ctrl() 238 ctrl->val, state->channel); in tw2804_s_ctrl() 351 struct v4l2_ctrl *ctrl; in tw2804_probe() local 380 if (ctrl) in tw2804_probe() 384 if (ctrl) in tw2804_probe() 388 if (ctrl) in tw2804_probe() [all …]
|
| /linux-6.15/arch/mips/kernel/ |
| H A D | cevt-gt641xx.c | 38 u32 ctrl; in gt641xx_timer0_set_next_event() local 42 ctrl = GT_READ(GT_TC_CONTROL_OFS); in gt641xx_timer0_set_next_event() 44 ctrl |= GT_TC_CONTROL_ENTC0_MSK; in gt641xx_timer0_set_next_event() 47 GT_WRITE(GT_TC_CONTROL_OFS, ctrl); in gt641xx_timer0_set_next_event() 56 u32 ctrl; in gt641xx_timer0_shutdown() local 60 ctrl = GT_READ(GT_TC_CONTROL_OFS); in gt641xx_timer0_shutdown() 62 GT_WRITE(GT_TC_CONTROL_OFS, ctrl); in gt641xx_timer0_shutdown() 70 u32 ctrl; in gt641xx_timer0_set_oneshot() local 74 ctrl = GT_READ(GT_TC_CONTROL_OFS); in gt641xx_timer0_set_oneshot() 76 ctrl |= GT_TC_CONTROL_ENTC0_MSK; in gt641xx_timer0_set_oneshot() [all …]
|
| /linux-6.15/net/bluetooth/cmtp/ |
| H A D | capi.c | 186 struct capi_ctr *ctrl = &session->ctrl; in cmtp_recv_interopmsg() local 240 if (!info && ctrl) { in cmtp_recv_interopmsg() 241 memcpy(&ctrl->profile, in cmtp_recv_interopmsg() 245 capi_ctr_ready(ctrl); in cmtp_recv_interopmsg() 252 strscpy_pad(ctrl->manu, in cmtp_recv_interopmsg() 261 if (!info && ctrl) { in cmtp_recv_interopmsg() 272 strscpy_pad(ctrl->serial, in cmtp_recv_interopmsg() 303 struct capi_ctr *ctrl = &session->ctrl; in cmtp_recv_capimsg() local 355 BT_DBG("ctrl %p", ctrl); in cmtp_reset_ctr() 357 capi_ctr_down(ctrl); in cmtp_reset_ctr() [all …]
|