Home
last modified time | relevance | path

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

/drivers/nvme/target/
Dtrace.h35 const char *nvmet_trace_ctrl_id(struct trace_seq *p, u16 ctrl_id);
36 #define __print_ctrl_id(ctrl_id) \ argument
37 nvmet_trace_ctrl_id(p, ctrl_id)
71 __field(u16, ctrl_id)
84 __entry->ctrl_id = nvmet_req_to_ctrl_id(req);
98 __print_ctrl_id(__entry->ctrl_id),
112 __field(u16, ctrl_id)
120 __entry->ctrl_id = nvmet_req_to_ctrl_id(req);
128 __print_ctrl_id(__entry->ctrl_id),
140 __field(int, ctrl_id)
[all …]
Dtrace.c214 const char *nvmet_trace_ctrl_id(struct trace_seq *p, u16 ctrl_id) in nvmet_trace_ctrl_id() argument
227 if (ctrl_id) in nvmet_trace_ctrl_id()
228 trace_seq_printf(p, "%d", ctrl_id); in nvmet_trace_ctrl_id()
/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,
145 __field(int, ctrl_id)
[all …]
/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.c2869 int ctrl_id; in dw_mci_init_slot_caps() local
2881 ctrl_id = of_alias_get_id(host->dev->of_node, "mshc"); in dw_mci_init_slot_caps()
2882 if (ctrl_id < 0) in dw_mci_init_slot_caps()
2883 ctrl_id = 0; in dw_mci_init_slot_caps()
2885 ctrl_id = to_platform_device(host->dev)->id; in dw_mci_init_slot_caps()
2889 if (ctrl_id >= drv_data->num_caps) { in dw_mci_init_slot_caps()
2891 ctrl_id); in dw_mci_init_slot_caps()
2894 mmc->caps |= drv_data->caps[ctrl_id]; in dw_mci_init_slot_caps()
/drivers/tty/serial/
Dserial_base_bus.c66 unsigned int ctrl_id, in serial_base_device_init() argument
81 return dev_set_name(dev, "%s:%d", dev_name(port->dev), ctrl_id); in serial_base_device_init()
85 ctrl_id, port_id); in serial_base_device_init()
121 port->ctrl_id, 0); in serial_base_ctrl_add()
172 port->ctrl_id, port->port_id); in serial_base_port_add()
Dserial_core.c3350 int ctrl_id) in serial_core_ctrl_find() argument
3363 state->uart_port->ctrl_id == ctrl_id) in serial_core_ctrl_find()
3406 ctrl_dev = serial_core_ctrl_find(drv, port->dev, port->ctrl_id); in serial_core_register_port()
3456 int ctrl_id = port->ctrl_id; in serial_core_unregister_port() local
3468 if (!serial_core_ctrl_find(drv, phys_dev, ctrl_id)) in serial_core_unregister_port()
/drivers/usb/gadget/function/
Df_acm.c42 u8 ctrl_id, data_id; member
352 || w_index != acm->ctrl_id) in acm_setup()
363 if (w_index != acm->ctrl_id) in acm_setup()
374 if (w_index != acm->ctrl_id) in acm_setup()
388 if (w_index != acm->ctrl_id) in acm_setup()
427 if (intf == acm->ctrl_id) { in acm_set_alt()
514 notify->wIndex = cpu_to_le16(acm->ctrl_id); in acm_cdc_notify()
633 acm->ctrl_id = status; in acm_bind()
Df_ncm.c49 u8 ctrl_id, data_id; member
572 event->wIndex = cpu_to_le16(ncm->ctrl_id); in ncm_do_notify()
688 if (w_length != 0 || w_index != ncm->ctrl_id) in ncm_setup()
712 if (w_length == 0 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup()
723 if (w_length < 4 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup()
734 if (w_length != 4 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup()
749 if (w_length < 2 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup()
761 if (w_length != 0 || w_index != ncm->ctrl_id) in ncm_setup()
783 if (w_length < 2 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup()
795 if (w_length != 0 || w_index != ncm->ctrl_id) in ncm_setup()
[all …]
Df_ecm.c48 u8 ctrl_id, data_id; member
411 event->wIndex = cpu_to_le16(ecm->ctrl_id); in ecm_do_notify()
476 if (w_length != 0 || w_index != ecm->ctrl_id) in ecm_setup()
528 if (intf == ecm->ctrl_id) { in ecm_set_alt()
604 if (intf == ecm->ctrl_id) in ecm_get_alt()
715 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
472 if (w_value || w_index != rndis->ctrl_id) in rndis_setup()
483 if (w_value || w_index != rndis->ctrl_id) in rndis_setup()
533 if (intf == rndis->ctrl_id) { in rndis_set_alt()
713 rndis->ctrl_id = status; in rndis_bind()
Df_eem.c30 u8 ctrl_id; member
197 if (intf == eem->ctrl_id) { in eem_set_alt()
283 eem->ctrl_id = status; in eem_bind()
/drivers/accel/habanalabs/common/
Dhabanalabs_drv.c401 int main_id, ctrl_id = 0, rc = 0; in create_hdev() local
448 ctrl_id = idr_alloc(&hl_devs_idr, hdev, main_id + 1, in create_hdev()
453 if ((main_id < 0) || (ctrl_id < 0)) { in create_hdev()
454 if ((main_id == -ENOSPC) || (ctrl_id == -ENOSPC)) in create_hdev()
468 hdev->id_control = ctrl_id; in create_hdev()
/drivers/thermal/mediatek/
Dauxadc_thermal.c875 int ctrl_id) in mtk_thermal_init_bank() argument
881 int offset = mt->conf->controller_offset[ctrl_id]; in mtk_thermal_init_bank()
1196 int ret, i, ctrl_id; in mtk_thermal_probe() local
1283 for (ctrl_id = 0; ctrl_id < mt->conf->num_controller ; ctrl_id++) in mtk_thermal_probe()
1286 auxadc_phys_base, ctrl_id); in mtk_thermal_probe()
/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_common.h372 unsigned int ctrl_id; member
Dsxgbe_main.c2018 priv->hw->ctrl_id = (ctrl_ids & 0x000000ff); in sxgbe_hw_init()
2020 priv->hw->ctrl_uid, priv->hw->ctrl_id); in sxgbe_hw_init()
/drivers/net/wireless/mediatek/mt76/mt7915/
Dmcu.h17 u8 ctrl_id; member
Dmcu.c260 if (t->ctrl.ctrl_id != THERMAL_PROTECT_ENABLE) in mt7915_mcu_rx_thermal_notify()
3091 u8 ctrl_id; in mt7915_mcu_get_temperature() member
3096 .ctrl_id = THERMAL_SENSOR_TEMP_QUERY, in mt7915_mcu_get_temperature()
3109 .ctrl_id = THERMAL_PROTECT_DUTY_CONFIG, in mt7915_mcu_set_thermal_throttling()
3146 req.ctrl.ctrl_id = THERMAL_PROTECT_DISABLE; in mt7915_mcu_set_thermal_protect()
3154 req.ctrl.ctrl_id = THERMAL_PROTECT_ENABLE; in mt7915_mcu_set_thermal_protect()
/drivers/net/wireless/mediatek/mt76/mt7921/
Dmcu.c1214 u8 ctrl_id; in mt7921_mcu_get_temperature() member
1219 .ctrl_id = THERMAL_SENSOR_TEMP_QUERY, in mt7921_mcu_get_temperature()
/drivers/tty/serial/8250/
D8250_core.c1043 uart->port.ctrl_id = up->port.ctrl_id; in serial8250_register_8250_port()
D8250_port.c3281 port->ctrl_id = 0; in serial8250_init_port()
/drivers/soc/tegra/
Dpmc.c1965 u32 pmu_addr, ctrl_id, reg_addr, reg_data, pinmux; in tegra_pmc_init_tsense_reset() local
1979 if (of_property_read_u32(np, "nvidia,i2c-controller-id", &ctrl_id)) { in tegra_pmc_init_tsense_reset()
2011 value |= ctrl_id << PMC_SCRATCH55_CNTRL_ID_SHIFT; in tegra_pmc_init_tsense_reset()
/drivers/scsi/smartpqi/
Dsmartpqi.h1292 unsigned int ctrl_id; member
Dsmartpqi_init.c8723 ctrl_info->ctrl_id = atomic_inc_return(&pqi_controller_count) - 1; in pqi_alloc_ctrl_info()