Home
last modified time | relevance | path

Searched refs:id (Results 226 – 250 of 17040) sorted by relevance

12345678910>>...682

/openbmc/linux/fs/smb/server/mgmt/
H A Dksmbd_ida.c15 int id; in ksmbd_acquire_smb2_tid() local
17 id = __acquire_id(ida, 1, 0xFFFFFFFF); in ksmbd_acquire_smb2_tid()
19 return id; in ksmbd_acquire_smb2_tid()
24 int id; in ksmbd_acquire_smb2_uid() local
26 id = __acquire_id(ida, 1, 0); in ksmbd_acquire_smb2_uid()
27 if (id == 0xFFFE) in ksmbd_acquire_smb2_uid()
28 id = __acquire_id(ida, 1, 0); in ksmbd_acquire_smb2_uid()
30 return id; in ksmbd_acquire_smb2_uid()
43 void ksmbd_release_id(struct ida *ida, int id) in ksmbd_release_id() argument
45 ida_simple_remove(ida, id); in ksmbd_release_id()
/openbmc/linux/drivers/nvme/target/
H A Dpassthru.c89 id = kzalloc(sizeof(*id), GFP_KERNEL); in nvmet_passthru_override_id_ctrl()
90 if (!id) in nvmet_passthru_override_id_ctrl()
93 status = nvmet_copy_from_sgl(req, 0, id, sizeof(*id)); in nvmet_passthru_override_id_ctrl()
133 id->sqes = min_t(__u8, ((0x6 << 4) | 0x6), id->sqes); in nvmet_passthru_override_id_ctrl()
134 id->cqes = min_t(__u8, ((0x4 << 4) | 0x4), id->cqes); in nvmet_passthru_override_id_ctrl()
171 kfree(id); in nvmet_passthru_override_id_ctrl()
181 id = kzalloc(sizeof(*id), GFP_KERNEL); in nvmet_passthru_override_id_ns()
182 if (!id) in nvmet_passthru_override_id_ns()
191 memset(&id->lbaf[i], 0, sizeof(id->lbaf[i])); in nvmet_passthru_override_id_ns()
193 id->flbas = id->flbas & ~(1 << 4); in nvmet_passthru_override_id_ns()
[all …]
/openbmc/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-std.c14 v4l2_std_id id; member
123 v4l2_std_id id = 0; in pvr2_std_str_to_id() local
143 cmsk = sp->id; in pvr2_std_str_to_id()
159 t = sp->id & cmsk; in pvr2_std_str_to_id()
161 id |= t; in pvr2_std_str_to_id()
167 if (idPtr) *idPtr = id; in pvr2_std_str_to_id()
173 v4l2_std_id id) in pvr2_std_id_to_str() argument
186 if (!(gp->id & ip->id & id)) continue; in pvr2_std_id_to_str()
271 if (generic_standards[idx].id & id) { in match_std()
288 std->id = id; in pvr2_std_fill()
[all …]
/openbmc/linux/sound/soc/qcom/qdsp6/
H A Dq6apm-lpass-dais.c35 switch (dai->id) { in q6dma_set_channel_map()
86 __func__, dai->id); in q6dma_set_channel_map()
107 switch (dai->id) { in q6hdmi_hw_params()
143 if (dai_data->is_port_started[dai->id]) { in q6apm_lpass_dai_shutdown()
150 if (dai_data->graph[dai->id]) { in q6apm_lpass_dai_shutdown()
152 dai_data->graph[dai->id] = NULL; in q6apm_lpass_dai_shutdown()
161 int graph_id = dai->id; in q6apm_lpass_dai_prepare()
164 if (dai_data->is_port_started[dai->id]) { in q6apm_lpass_dai_prepare()
170 dai_data->graph[dai->id] = NULL; in q6apm_lpass_dai_prepare()
211 dai_data->graph[dai->id] = NULL; in q6apm_lpass_dai_prepare()
[all …]
/openbmc/linux/drivers/thermal/
H A Dk3_bandgap.c162 int ret = 0, cnt, val, id; in k3_bandgap_probe() local
201 for (id = 0; id < cnt; id++) { in k3_bandgap_probe()
202 data[id].sensor_id = id; in k3_bandgap_probe()
203 data[id].bgp = bgp; in k3_bandgap_probe()
205 id * K3_VTM_REGS_PER_TS; in k3_bandgap_probe()
206 data[id].stat_offset = data[id].ctrl_offset + 0x8; in k3_bandgap_probe()
208 val = readl(data[id].bgp->base + data[id].ctrl_offset); in k3_bandgap_probe()
213 writel(val, data[id].bgp->base + data[id].ctrl_offset); in k3_bandgap_probe()
215 data[id].tzd = in k3_bandgap_probe()
217 &data[id], in k3_bandgap_probe()
[all …]
/openbmc/linux/tools/lib/bpf/
H A Dbtf_dump.c713 id); in btf_dump_emit_type()
1313 if (id == 0) in btf_dump_emit_type_decl()
1371 __u32 id; in btf_dump_emit_mods() local
1397 __u32 id; in btf_dump_drop_mods() local
1433 __u32 id; in btf_dump_emit_type_chain() local
1590 kind, id); in btf_dump_emit_type_chain()
1827 __u32 id, in btf_dump_base_type_check_zero() argument
2086 __u32 id, in btf_dump_struct_data() argument
2230 __u32 id, in btf_dump_datasec_data() argument
2291 id); in btf_dump_type_data_check_overflow()
[all …]
/openbmc/linux/drivers/connector/
H A Dcn_queue.c22 const struct cb_id *id, in cn_queue_alloc_callback_entry() argument
39 snprintf(cbq->id.name, sizeof(cbq->id.name), "%s", name); in cn_queue_alloc_callback_entry()
40 memcpy(&cbq->id.id, id, sizeof(struct cb_id)); in cn_queue_alloc_callback_entry()
60 const struct cb_id *id, in cn_queue_add_callback() argument
67 cbq = cn_queue_alloc_callback_entry(dev, name, id, callback); in cn_queue_add_callback()
73 if (cn_cb_equal(&__cbq->id.id, id)) { in cn_queue_add_callback()
88 cbq->group = cbq->id.id.idx; in cn_queue_add_callback()
93 void cn_queue_del_callback(struct cn_queue_dev *dev, const struct cb_id *id) in cn_queue_del_callback() argument
100 if (cn_cb_equal(&cbq->id.id, id)) { in cn_queue_del_callback()
/openbmc/u-boot/include/dm/
H A Duclass.h90 enum uclass_id id; member
133 const char *uclass_get_name(enum uclass_id id);
167 int uclass_get_device_by_name(enum uclass_id id, const char *name,
199 int uclass_get_device_by_of_offset(enum uclass_id id, int node,
215 int uclass_get_device_by_ofnode(enum uclass_id id, ofnode node,
231 int uclass_get_device_by_phandle_id(enum uclass_id id, uint phandle_id,
282 int uclass_first_device(enum uclass_id id, struct udevice **devp);
293 int uclass_first_device_err(enum uclass_id id, struct udevice **devp);
336 int uclass_first_device_check(enum uclass_id id, struct udevice **devp);
408 #define uclass_foreach_dev_probe(id, dev) \ argument
[all …]
/openbmc/u-boot/drivers/w1-eeprom/
H A Dw1-eeprom-uclass.c24 u64 id = 0; in w1_eeprom_read_buf() local
30 ret = w1_eeprom_get_id(dev, &id); in w1_eeprom_read_buf()
33 if (!id) in w1_eeprom_read_buf()
39 int w1_eeprom_register_new_device(u64 id) in w1_eeprom_register_new_device() argument
41 u8 family = id & 0xff; in w1_eeprom_register_new_device()
56 if (w1->id) /* device already in use */ in w1_eeprom_register_new_device()
58 w1->id = id; in w1_eeprom_register_new_device()
60 dev->name, dev->driver->name, id); in w1_eeprom_register_new_device()
70 int w1_eeprom_get_id(struct udevice *dev, u64 *id) in w1_eeprom_get_id() argument
76 *id = w1->id; in w1_eeprom_get_id()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dcgrp_kfunc_common.h32 s32 id; in cgrps_kfunc_map_value_lookup() local
35 status = bpf_probe_read_kernel(&id, sizeof(id), &cgrp->self.id); in cgrps_kfunc_map_value_lookup()
39 return bpf_map_lookup_elem(&__cgrps_kfunc_map, &id); in cgrps_kfunc_map_value_lookup()
47 s32 id; in cgrps_kfunc_map_insert() local
49 status = bpf_probe_read_kernel(&id, sizeof(id), &cgrp->self.id); in cgrps_kfunc_map_insert()
54 status = bpf_map_update_elem(&__cgrps_kfunc_map, &id, &local, BPF_NOEXIST); in cgrps_kfunc_map_insert()
58 v = bpf_map_lookup_elem(&__cgrps_kfunc_map, &id); in cgrps_kfunc_map_insert()
60 bpf_map_delete_elem(&__cgrps_kfunc_map, &id); in cgrps_kfunc_map_insert()
66 bpf_map_delete_elem(&__cgrps_kfunc_map, &id); in cgrps_kfunc_map_insert()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/gpio/
H A Dhpd_regs.h39 #define HPD_GPIO_REG_LIST_ENTRY(type, cd, id) \ argument
41 .type ## _mask = DC_GPIO_HPD_ ## type ## __DC_GPIO_HPD ## id ## _ ## type ## _MASK,\
44 #define HPD_GPIO_REG_LIST(id) \ argument
46 HPD_GPIO_REG_LIST_ENTRY(MASK, cd, id),\
47 HPD_GPIO_REG_LIST_ENTRY(A, cd, id),\
48 HPD_GPIO_REG_LIST_ENTRY(EN, cd, id),\
49 HPD_GPIO_REG_LIST_ENTRY(Y, cd, id)\
52 #define HPD_REG_LIST(id) \ argument
53 HPD_GPIO_REG_LIST(ONE_MORE_ ## id), \
54 .int_status = REGI(DC_HPD_INT_STATUS, HPD, id),\
[all …]
H A Dgeneric_regs.h31 #define GENERIC_GPIO_REG_LIST_ENTRY(type, cd, id) \ argument
33 .type ## _mask = DC_GPIO_GENERIC_ ## type ## __DC_GPIO_GENERIC ## id ## _ ## type ## _MASK,\
34 .type ## _shift = DC_GPIO_GENERIC_ ## type ## __DC_GPIO_GENERIC ## id ## _ ## type ## __SHIFT
36 #define GENERIC_GPIO_REG_LIST(id) \ argument
38 GENERIC_GPIO_REG_LIST_ENTRY(MASK, cd, id),\
39 GENERIC_GPIO_REG_LIST_ENTRY(A, cd, id),\
40 GENERIC_GPIO_REG_LIST_ENTRY(EN, cd, id),\
41 GENERIC_GPIO_REG_LIST_ENTRY(Y, cd, id)\
44 #define GENERIC_REG_LIST(id) \ argument
45 GENERIC_GPIO_REG_LIST(id), \
[all …]
/openbmc/qemu/util/
H A Did.c17 bool id_wellformed(const char *id) in id_wellformed() argument
21 if (!qemu_isalpha(id[0])) { in id_wellformed()
24 for (i = 1; id[i]; i++) { in id_wellformed()
25 if (!qemu_isalnum(id[i]) && !strchr("-._", id[i])) { in id_wellformed()
55 char *id_generate(IdSubSystems id) in id_generate() argument
60 assert(id < ARRAY_SIZE(id_subsys_str)); in id_generate()
61 assert(id_subsys_str[id]); in id_generate()
66 id_subsys_str[id], in id_generate()
67 id_counters[id]++, in id_generate()
/openbmc/linux/drivers/hid/
H A Dhid-magicmouse.c180 int id; in magicmouse_emit_buttons() local
191 int x = msc->touches[id].x; in magicmouse_emit_buttons()
228 id = tdata[8] & 0xf; in magicmouse_emit_touch()
251 msc->tracking_ids[raw_id] = id; in magicmouse_emit_touch()
252 msc->touches[id].x = x; in magicmouse_emit_touch()
253 msc->touches[id].y = y; in magicmouse_emit_touch()
254 msc->touches[id].size = size; in magicmouse_emit_touch()
275 msc->touches[id].scroll_x = x; in magicmouse_emit_touch()
348 input_mt_slot(input, id); in magicmouse_emit_touch()
366 else if (input->id.product != in magicmouse_emit_touch()
[all …]
/openbmc/u-boot/drivers/core/
H A Duclass.c34 if (uc->uc_drv->id == key) in uclass_find()
60 id); in uclass_add()
143 uc = uclass_find(id); in uclass_get()
155 if (uclass_get(id, &uc)) in uclass_get_name()
202 ret = uclass_get(id, &uc); in uclass_find_device()
224 ret = uclass_get(id, &uc); in uclass_find_first_device()
258 ret = uclass_get(id, &uc); in uclass_find_device_by_name()
280 ret = uclass_get(id, &uc); in uclass_find_next_free_req_seq()
307 ret = uclass_get(id, &uc); in uclass_find_device_by_seq()
335 ret = uclass_get(id, &uc); in uclass_find_device_by_of_offset()
[all …]
/openbmc/linux/net/caif/
H A Dcfmuxl.c79 if (lyr->id == id) in get_from_id()
126 int idx = id % UP_CACHE_SIZE; in get_up()
128 if (up == NULL || up->id != id) { in get_up()
142 if (dn == NULL || dn->id != dev_info->id) { in get_dn()
155 int idx = id % UP_CACHE_SIZE; in cfmuxl_remove_uplayer()
157 if (id == 0) { in cfmuxl_remove_uplayer()
178 u8 id; in cfmuxl_receive() local
186 up = get_up(muxl, id); in cfmuxl_receive()
190 " up == NULL", id, id); in cfmuxl_receive()
225 info->dev_info->id, info->dev_info->id); in cfmuxl_transmit()
[all …]
/openbmc/linux/drivers/net/ipa/data/
H A Dipa_data-v4.11.c230 .id = IPA_MEM_UC_SHARED,
236 .id = IPA_MEM_UC_INFO,
248 .id = IPA_MEM_V4_FILTER,
260 .id = IPA_MEM_V6_FILTER,
272 .id = IPA_MEM_V4_ROUTE,
284 .id = IPA_MEM_V6_ROUTE,
296 .id = IPA_MEM_AP_HEADER,
314 .id = IPA_MEM_NAT_TABLE,
320 .id = IPA_MEM_PDN_CONFIG,
344 .id = IPA_MEM_STATS_DROP,
[all …]
H A Dipa_data-v4.7.c223 .id = IPA_MEM_UC_SHARED,
229 .id = IPA_MEM_UC_INFO,
241 .id = IPA_MEM_V4_FILTER,
253 .id = IPA_MEM_V6_FILTER,
265 .id = IPA_MEM_V4_ROUTE,
277 .id = IPA_MEM_V6_ROUTE,
289 .id = IPA_MEM_AP_HEADER,
307 .id = IPA_MEM_NAT_TABLE,
313 .id = IPA_MEM_PDN_CONFIG,
337 .id = IPA_MEM_STATS_DROP,
[all …]
/openbmc/linux/drivers/tc/
H A Dtc-driver.c62 const struct tc_device_id *id = tdrv->id_table; in tc_match_device() local
64 if (id) { in tc_match_device()
65 while (id->name[0] || id->vendor[0]) { in tc_match_device()
66 if (strcmp(tdev->name, id->name) == 0 && in tc_match_device()
67 strcmp(tdev->vendor, id->vendor) == 0) in tc_match_device()
68 return id; in tc_match_device()
69 id++; in tc_match_device()
89 const struct tc_device_id *id; in tc_bus_match() local
91 id = tc_match_device(tdrv, tdev); in tc_bus_match()
92 if (id) in tc_bus_match()
/openbmc/qemu/
H A Djob-qmp.c39 job = job_get_locked(id); in find_job_locked()
48 void qmp_job_cancel(const char *id, Error **errp) in qmp_job_cancel() argument
53 job = find_job_locked(id, errp); in qmp_job_cancel()
63 void qmp_job_pause(const char *id, Error **errp) in qmp_job_pause() argument
68 job = find_job_locked(id, errp); in qmp_job_pause()
78 void qmp_job_resume(const char *id, Error **errp) in qmp_job_resume() argument
83 job = find_job_locked(id, errp); in qmp_job_resume()
98 job = find_job_locked(id, errp); in qmp_job_complete()
113 job = find_job_locked(id, errp); in qmp_job_finalize()
131 job = find_job_locked(id, errp); in qmp_job_dismiss()
[all …]
/openbmc/linux/drivers/greybus/
H A Dcore.c31 const struct greybus_bundle_id *id) in greybus_match_one_id() argument
42 (id->class != bundle->class)) in greybus_match_one_id()
51 if (!id) in greybus_match_id()
54 for (; id->vendor || id->product || id->class || id->driver_info; in greybus_match_id()
55 id++) { in greybus_match_id()
56 if (greybus_match_one_id(bundle, id)) in greybus_match_id()
57 return id; in greybus_match_id()
67 const struct greybus_bundle_id *id; in greybus_match_device() local
75 if (id) in greybus_match_device()
169 const struct greybus_bundle_id *id; in greybus_probe() local
[all …]
/openbmc/linux/sound/soc/intel/common/
H A Dsoc-acpi-intel-kbl-match.c47 .id = "INT343A",
52 .id = "INT343B",
60 .id = "MX98357A",
68 .id = "MX98927",
76 .id = "MX98927",
84 .id = "10EC5663",
89 .id = "DLGS7219",
97 .id = "DLGS7219",
105 .id = "10EC5660",
110 .id = "10EC3277",
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D206.out5 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
12 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
31 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
36 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
55 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
60 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
79 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
84 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
102 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
160 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
[all …]
/openbmc/u-boot/drivers/usb/gadget/
H A Dg_dnl.c222 int id, ret; in g_dnl_bind() local
227 id = usb_string_id(cdev); in g_dnl_bind()
229 if (id < 0) in g_dnl_bind()
230 return id; in g_dnl_bind()
231 g_dnl_string_defs[0].id = id; in g_dnl_bind()
235 if (id < 0) in g_dnl_bind()
236 return id; in g_dnl_bind()
238 g_dnl_string_defs[1].id = id; in g_dnl_bind()
245 if (id < 0) in g_dnl_bind()
246 return id; in g_dnl_bind()
[all …]
/openbmc/linux/drivers/interconnect/qcom/
H A Dqcm2290.c178 .id = QCM2290_MASTER_TCU_0,
362 .id = QCM2290_MASTER_MDP0,
440 .id = QCM2290_MASTER_TIC,
552 .id = QCM2290_MASTER_IPA,
677 .id = QCM2290_SLAVE_EBI1,
789 .id = QCM2290_SLAVE_HWKM,
839 .id = QCM2290_SLAVE_PDM,
879 .id = QCM2290_SLAVE_PRNG,
919 .id = QCM2290_SLAVE_QPIC,
975 .id = QCM2290_SLAVE_TCSR,
[all …]

12345678910>>...682