Home
last modified time | relevance | path

Searched refs:ctrl_id (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.4/drivers/nvme/host/
Dtrace.h52 __field(int, ctrl_id)
63 __entry->ctrl_id = nvme_req(req)->ctrl->instance;
76 __entry->ctrl_id, __print_disk_name(__entry->disk),
90 __field(int, ctrl_id)
99 __entry->ctrl_id = nvme_req(req)->ctrl->instance;
109 __entry->ctrl_id, __print_disk_name(__entry->disk),
121 __field(int, ctrl_id)
125 __entry->ctrl_id = ctrl->instance;
129 __entry->ctrl_id, __entry->result,
148 __field(int, ctrl_id)
[all …]
/Linux-v5.4/drivers/mmc/host/
Ddw_mmc-k3.c56 int ctrl_id; member
130 priv->ctrl_id = of_alias_get_id(host->dev->of_node, "mshc"); in dw_mci_hi6220_parse_dt()
131 if (priv->ctrl_id < 0) in dw_mci_hi6220_parse_dt()
132 priv->ctrl_id = 0; in dw_mci_hi6220_parse_dt()
134 if (priv->ctrl_id >= TIMING_MODE) in dw_mci_hi6220_parse_dt()
224 int ctrl_id; in dw_mci_hs_set_timing() local
228 ctrl_id = priv->ctrl_id; in dw_mci_hs_set_timing()
230 drv_phase = hs_timing_cfg[ctrl_id][timing].drv_phase; in dw_mci_hs_set_timing()
231 smpl_dly = hs_timing_cfg[ctrl_id][timing].smpl_dly; in dw_mci_hs_set_timing()
233 smpl_phase = (hs_timing_cfg[ctrl_id][timing].smpl_phase_max + in dw_mci_hs_set_timing()
[all …]
Ddw_mmc.c2748 int ctrl_id; in dw_mci_init_slot_caps() local
2763 ctrl_id = of_alias_get_id(host->dev->of_node, "mshc"); in dw_mci_init_slot_caps()
2764 if (ctrl_id < 0) in dw_mci_init_slot_caps()
2765 ctrl_id = 0; in dw_mci_init_slot_caps()
2767 ctrl_id = to_platform_device(host->dev)->id; in dw_mci_init_slot_caps()
2771 if (ctrl_id >= drv_data->num_caps) { in dw_mci_init_slot_caps()
2773 ctrl_id); in dw_mci_init_slot_caps()
2776 mmc->caps |= drv_data->caps[ctrl_id]; in dw_mci_init_slot_caps()
/Linux-v5.4/drivers/misc/habanalabs/
Dhabanalabs_drv.c249 int rc, main_id, ctrl_id = 0; in create_hdev() local
297 ctrl_id = idr_alloc(&hl_devs_idr, hdev, main_id + 1, in create_hdev()
302 if ((main_id < 0) || (ctrl_id < 0)) { in create_hdev()
303 if ((main_id == -ENOSPC) || (ctrl_id == -ENOSPC)) in create_hdev()
317 hdev->id_control = ctrl_id; in create_hdev()
/Linux-v5.4/drivers/usb/gadget/function/
Df_ncm.c49 u8 ctrl_id, data_id; member
588 event->wIndex = cpu_to_le16(ncm->ctrl_id); in ncm_do_notify()
701 if (w_length != 0 || w_index != ncm->ctrl_id) in ncm_setup()
725 if (w_length == 0 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup()
736 if (w_length < 4 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup()
747 if (w_length != 4 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup()
762 if (w_length < 2 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup()
774 if (w_length != 0 || w_index != ncm->ctrl_id) in ncm_setup()
796 if (w_length < 2 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup()
808 if (w_length != 0 || w_index != ncm->ctrl_id) in ncm_setup()
[all …]
Df_acm.c42 u8 ctrl_id, data_id; member
360 || w_index != acm->ctrl_id) in acm_setup()
371 if (w_index != acm->ctrl_id) in acm_setup()
382 if (w_index != acm->ctrl_id) in acm_setup()
427 if (intf == acm->ctrl_id) { in acm_set_alt()
512 notify->wIndex = cpu_to_le16(acm->ctrl_id); in acm_cdc_notify()
631 acm->ctrl_id = status; in acm_bind()
Df_ecm.c48 u8 ctrl_id, data_id; member
421 event->wIndex = cpu_to_le16(ecm->ctrl_id); in ecm_do_notify()
484 if (w_length != 0 || w_index != ecm->ctrl_id) in ecm_setup()
536 if (intf == ecm->ctrl_id) { in ecm_set_alt()
612 if (intf == ecm->ctrl_id) in ecm_get_alt()
723 ecm->ctrl_id = status; in ecm_bind()
Df_obex.c31 u8 ctrl_id; member
194 if (intf == obex->ctrl_id) { in obex_set_alt()
326 obex->ctrl_id = status; in obex_bind()
Df_rndis.c71 u8 ctrl_id, data_id; member
483 if (w_value || w_index != rndis->ctrl_id) in rndis_setup()
494 if (w_value || w_index != rndis->ctrl_id) in rndis_setup()
544 if (intf == rndis->ctrl_id) { in rndis_set_alt()
723 rndis->ctrl_id = status; in rndis_bind()
Df_eem.c30 u8 ctrl_id; member
192 if (intf == eem->ctrl_id) { in eem_set_alt()
278 eem->ctrl_id = status; in eem_bind()
/Linux-v5.4/drivers/thermal/
Dmtk_thermal.c643 int ctrl_id) in mtk_thermal_init_bank() argument
649 int offset = mt->conf->controller_offset[ctrl_id]; in mtk_thermal_init_bank()
867 int ret, i, ctrl_id; in mtk_thermal_probe() local
947 for (ctrl_id = 0; ctrl_id < mt->conf->num_controller ; ctrl_id++) in mtk_thermal_probe()
950 auxadc_phys_base, ctrl_id); in mtk_thermal_probe()
/Linux-v5.4/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_common.h372 unsigned int ctrl_id; member
Dsxgbe_main.c2010 priv->hw->ctrl_id = (ctrl_ids & 0x000000ff); in sxgbe_hw_init()
2012 priv->hw->ctrl_uid, priv->hw->ctrl_id); in sxgbe_hw_init()
/Linux-v5.4/drivers/scsi/smartpqi/
Dsmartpqi_init.c3170 "resetting controller %u\n", ctrl_info->ctrl_id); in pqi_process_soft_reset()
3178 ctrl_info->ctrl_id, rc == 0 ? "SUCCESS" : "FAILED"); in pqi_process_soft_reset()
3184 ctrl_info->ctrl_id, "ABORTED"); in pqi_process_soft_reset()
3206 ctrl_info->ctrl_id); in pqi_ofa_process_event()
3227 ctrl_info->ctrl_id, event->ofa_cancel_reason); in pqi_ofa_process_event()
5793 ctrl_info->ctrl_id); in pqi_eh_device_reset_handler()
6542 ctrl_info->ctrl_id); in pqi_register_scsi()
6567 ctrl_info->ctrl_id); in pqi_register_scsi()
6575 ctrl_info->ctrl_id); in pqi_register_scsi()
7533 ctrl_info->ctrl_id = atomic_inc_return(&pqi_controller_count) - 1; in pqi_alloc_ctrl_info()
Dsmartpqi.h1077 unsigned int ctrl_id; member
/Linux-v5.4/drivers/soc/tegra/
Dpmc.c1558 u32 pmu_addr, ctrl_id, reg_addr, reg_data, pinmux; in tegra_pmc_init_tsense_reset() local
1572 if (of_property_read_u32(np, "nvidia,i2c-controller-id", &ctrl_id)) { in tegra_pmc_init_tsense_reset()
1604 value |= ctrl_id << PMC_SCRATCH55_CNTRL_ID_SHIFT; in tegra_pmc_init_tsense_reset()