Home
last modified time | relevance | path

Searched refs:id (Results 251 – 275 of 14862) sorted by relevance

1...<<11121314151617181920>>...595

/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()
232 device_desc.iManufacturer = id; in g_dnl_bind()
234 id = usb_string_id(cdev); 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()
[all …]
/openbmc/qemu/
H A Djob-qmp.c35 static Job *find_job_locked(const char *id, Error **errp) in find_job_locked() argument
39 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()
93 void qmp_job_complete(const char *id, Error **errp) in qmp_job_complete() argument
98 job = find_job_locked(id, errp); in qmp_job_complete()
[all …]
/openbmc/linux/drivers/platform/surface/aggregator/
H A Dbus.c186 static bool ssam_device_id_compatible(const struct ssam_device_id *id, in ssam_device_id_compatible() argument
189 if (id->domain != uid.domain || id->category != uid.category) in ssam_device_id_compatible()
192 if ((id->match_flags & SSAM_MATCH_TARGET) && id->target != uid.target) in ssam_device_id_compatible()
195 if ((id->match_flags & SSAM_MATCH_INSTANCE) && id->instance != uid.instance) in ssam_device_id_compatible()
198 if ((id->match_flags & SSAM_MATCH_FUNCTION) && id->function != uid.function) in ssam_device_id_compatible()
214 static bool ssam_device_id_is_null(const struct ssam_device_id *id) in ssam_device_id_is_null() argument
216 return id->match_flags == 0 && in ssam_device_id_is_null()
217 id->domain == 0 && in ssam_device_id_is_null()
218 id->category == 0 && in ssam_device_id_is_null()
219 id->target == 0 && in ssam_device_id_is_null()
[all …]
/openbmc/linux/drivers/leds/
H A Dleds-mc13783.c31 int id; member
42 static unsigned int mc13xxx_max_brightness(int id) in mc13xxx_max_brightness() argument
44 if (id >= MC13783_LED_MD && id <= MC13783_LED_KP) in mc13xxx_max_brightness()
46 else if (id >= MC13783_LED_R1 && id <= MC13783_LED_B3) in mc13xxx_max_brightness()
60 switch (led->id) { in mc13xxx_led_set()
65 shift = 9 + (led->id - MC13783_LED_MD) * 4; in mc13xxx_led_set()
76 off = led->id - MC13783_LED_R1; in mc13xxx_led_set()
84 off = led->id - MC13892_LED_MD; in mc13xxx_led_set()
91 off = led->id - MC13892_LED_R; in mc13xxx_led_set()
99 shift = 3 + (led->id - MC34708_LED_R) * 12; in mc13xxx_led_set()
[all …]
/openbmc/linux/include/uapi/rdma/
H A Drdma_user_cm.h99 __u32 id; member
104 __u32 id; member
115 __u32 id; member
119 __u32 id; member
128 __u32 id; member
133 __u32 id; member
143 __u32 id; member
155 __u32 id; member
220 __u32 id; member
226 __u32 id; member
[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/qemu/tests/qemu-iotests/
H A D266.out2 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen…
4 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
12 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vpc", "file":…
14 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
24 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen…
26 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
34 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vpc", "file":…
36 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
46 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen…
48 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
[all …]
H A D211.out3 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen…
5 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
10 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vdi", "file":…
12 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
23 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen…
25 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
28 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vdi", "file":…
30 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
41 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen…
43 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
[all …]
H A D30759 vm.qmp_log('block-export-add', id='export0', type='nbd', node_name='fmt')
66 vm.qmp_log('block-export-add', id='#invalid', type='nbd', node_name='fmt')
67 vm.qmp_log('block-export-add', id='export0', type='nbd', node_name='fmt')
68 vm.qmp_log('block-export-add', id='export1', type='nbd', node_name='ro',
70 vm.qmp_log('block-export-del', id='export1')
75 vm.qmp_log('device_add', id='sda', driver='scsi-hd', drive='fmt')
81 vm.qmp_log('device_add', id='sdb', driver='scsi-hd', drive='null')
84 vm.qmp_log('block-export-add', id='export1', type='nbd', node_name='null',
89 vm.qmp_log('block-export-add', id='export1', type='nbd', node_name='null',
95 vm.qmp_log('block-export-add', id='export1', type='nbd', node_name='fmt',
[all …]
/openbmc/linux/drivers/extcon/
H A Dextcon.c34 unsigned int id; member
40 .id = EXTCON_NONE,
47 .id = EXTCON_USB,
52 .id = EXTCON_USB_HOST,
59 .id = EXTCON_CHG_USB_SDP,
64 .id = EXTCON_CHG_USB_DCP,
69 .id = EXTCON_CHG_USB_CDP,
74 .id = EXTCON_CHG_USB_ACA,
79 .id = EXTCON_CHG_USB_FAST,
84 .id = EXTCON_CHG_USB_SLOW,
[all …]
/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,\
42 .type ## _shift = DC_GPIO_HPD_ ## type ## __DC_GPIO_HPD ## id ## _ ## type ## __SHIFT
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), \
[all …]
/openbmc/u-boot/drivers/usb/host/
H A Dusb-uclass.c407 const struct usb_device_id *id) in usb_match_device() argument
409 if ((id->match_flags & USB_DEVICE_ID_MATCH_VENDOR) && in usb_match_device()
410 id->idVendor != le16_to_cpu(desc->idVendor)) in usb_match_device()
413 if ((id->match_flags & USB_DEVICE_ID_MATCH_PRODUCT) && in usb_match_device()
414 id->idProduct != le16_to_cpu(desc->idProduct)) in usb_match_device()
419 if ((id->match_flags & USB_DEVICE_ID_MATCH_DEV_LO) && in usb_match_device()
420 (id->bcdDevice_lo > le16_to_cpu(desc->bcdDevice))) in usb_match_device()
423 if ((id->match_flags & USB_DEVICE_ID_MATCH_DEV_HI) && in usb_match_device()
424 (id->bcdDevice_hi < le16_to_cpu(desc->bcdDevice))) in usb_match_device()
427 if ((id->match_flags & USB_DEVICE_ID_MATCH_DEV_CLASS) && in usb_match_device()
[all …]
/openbmc/linux/drivers/net/ipa/data/
H A Dipa_data-v4.5.c275 .id = IPA_MEM_UC_SHARED,
281 .id = IPA_MEM_UC_INFO,
287 .id = IPA_MEM_V4_FILTER_HASHED,
293 .id = IPA_MEM_V4_FILTER,
299 .id = IPA_MEM_V6_FILTER_HASHED,
305 .id = IPA_MEM_V6_FILTER,
311 .id = IPA_MEM_V4_ROUTE_HASHED,
317 .id = IPA_MEM_V4_ROUTE,
323 .id = IPA_MEM_V6_ROUTE_HASHED,
329 .id = IPA_MEM_V6_ROUTE,
[all …]
H A Dipa_data-v4.9.c273 .id = IPA_MEM_UC_SHARED,
279 .id = IPA_MEM_UC_INFO,
285 .id = IPA_MEM_V4_FILTER_HASHED,
291 .id = IPA_MEM_V4_FILTER,
297 .id = IPA_MEM_V6_FILTER_HASHED,
303 .id = IPA_MEM_V6_FILTER,
309 .id = IPA_MEM_V4_ROUTE_HASHED,
315 .id = IPA_MEM_V4_ROUTE,
321 .id = IPA_MEM_V6_ROUTE_HASHED,
327 .id = IPA_MEM_V6_ROUTE,
[all …]
/openbmc/linux/sound/soc/qcom/
H A Dlpass-cdc-dma.c33 struct lpaif_dmactl **dmactl, int *id) in __lpass_get_dmactl_handle() argument
41 unsigned int dai_id = cpu_dai->driver->id; in __lpass_get_dmactl_handle()
46 *id = pcm_data->dma_ch; in __lpass_get_dmactl_handle()
50 *id = pcm_data->dma_ch - v->rxtx_wrdma_channel_start; in __lpass_get_dmactl_handle()
54 *id = pcm_data->dma_ch - v->va_wrdma_channel_start; in __lpass_get_dmactl_handle()
129 int ret, id, codec_intf; in __lpass_platform_codec_intf_init() local
130 unsigned int dai_id = cpu_dai->driver->id; in __lpass_platform_codec_intf_init()
138 __lpass_get_dmactl_handle(substream, dai, &dmactl, &id); in __lpass_platform_codec_intf_init()
142 ret = regmap_fields_write(dmactl->codec_intf, id, codec_intf); in __lpass_platform_codec_intf_init()
147 ret = regmap_fields_write(dmactl->codec_fs_sel, id, 0x0); in __lpass_platform_codec_intf_init()
[all …]
/openbmc/u-boot/examples/standalone/
H A Dsched.c73 static int thread_start (int id);
75 static int thread_delete (int id);
79 static int thread_stop (int id);
236 static int thread_delete (int id) in thread_delete() argument
238 if (id <= MASTER_THREAD || id > MAX_THREADS) in thread_delete()
241 if (current_tid == id) in thread_delete()
244 lthreads[id].state = STATE_EMPTY; in thread_delete()
265 static int thread_start (int id) in thread_start() argument
267 PDEBUG ("thread_start: id=%d", id); in thread_start()
268 if (id <= MASTER_THREAD || id > MAX_THREADS) { in thread_start()
[all …]
/openbmc/qemu/hw/timer/
H A Dexynos4210_pwm.c90 uint32_t id; /* timer id */ member
127 VMSTATE_UINT32(id, Exynos4210PWM),
156 static void exynos4210_pwm_update_freq(Exynos4210PWMState *s, uint32_t id) in exynos4210_pwm_update_freq() argument
159 freq = s->timer[id].freq; in exynos4210_pwm_update_freq()
160 if (id > 1) { in exynos4210_pwm_update_freq()
161 s->timer[id].freq = 24000000 / in exynos4210_pwm_update_freq()
163 (GET_DIVIDER(s->reg_tcfg[1], id))); in exynos4210_pwm_update_freq()
165 s->timer[id].freq = 24000000 / in exynos4210_pwm_update_freq()
167 (GET_DIVIDER(s->reg_tcfg[1], id))); in exynos4210_pwm_update_freq()
170 if (freq != s->timer[id].freq) { in exynos4210_pwm_update_freq()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_link_encoder.h31 #define DCN2_AUX_REG_LIST(id)\ argument
32 AUX_REG_LIST(id), \
33 SRI(AUX_DPHY_TX_CONTROL, DP_AUX, id)
201 #define UNIPHY_DCN2_REG_LIST(id) \ argument
202 SRI(CLOCK_ENABLE, SYMCLK, id), \
203 SRI(CHANNEL_XBAR_CNTL, UNIPHY, id)
205 #define DPCS_DCN2_CMN_REG_LIST(id) \ argument
206 SRI(DIG_LANE_ENABLE, DIG, id), \
207 SRI(TMDS_CTL_BITS, DIG, id), \
208 SRI(RDPCSTX_PHY_CNTL3, RDPCSTX, id), \
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_stream_encoder.h34 #define SE_COMMON_DCN_REG_LIST(id) \ argument
35 SRI(AFMT_CNTL, DIG, id), \
36 SRI(AFMT_GENERIC_0, DIG, id), \
37 SRI(AFMT_GENERIC_1, DIG, id), \
38 SRI(AFMT_GENERIC_2, DIG, id), \
39 SRI(AFMT_GENERIC_3, DIG, id), \
40 SRI(AFMT_GENERIC_4, DIG, id), \
41 SRI(AFMT_GENERIC_5, DIG, id), \
42 SRI(AFMT_GENERIC_6, DIG, id), \
43 SRI(AFMT_GENERIC_7, DIG, id), \
[all …]
/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/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/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/linux/drivers/bcma/
H A Dscan.c19 u16 id; member
113 static const char *bcma_device_name(const struct bcma_device_id *id) in bcma_device_name() argument
119 switch (id->manuf) { in bcma_device_name()
137 if (names[i].id == id->id) in bcma_device_name()
263 if (core->id.id == coreid) in bcma_find_core_reverse()
293 core->id.class = (cia & SCAN_CIA_CLASS) >> SCAN_CIA_CLASS_SHIFT; in bcma_get_next_core()
294 core->id.id = (cia & SCAN_CIA_ID) >> SCAN_CIA_ID_SHIFT; in bcma_get_next_core()
295 core->id.manuf = (cia & SCAN_CIA_MANUF) >> SCAN_CIA_MANUF_SHIFT; in bcma_get_next_core()
300 core->id.rev = (cib & SCAN_CIB_REV) >> SCAN_CIB_REV_SHIFT; in bcma_get_next_core()
302 if (((core->id.manuf == BCMA_MANUF_ARM) && in bcma_get_next_core()
[all …]
/openbmc/u-boot/drivers/watchdog/
H A Darmada-37xx-wdt.c28 #define CNTR_CTRL(id) ((id) * 0x10) argument
40 #define CNTR_COUNT_LOW(id) (CNTR_CTRL(id) + 0x4) argument
41 #define CNTR_COUNT_HIGH(id) (CNTR_CTRL(id) + 0x8) argument
43 static void set_counter_value(struct a37xx_wdt *priv, int id, u64 val) in set_counter_value() argument
45 writel(val & 0xffffffff, priv->reg + CNTR_COUNT_LOW(id)); in set_counter_value()
46 writel(val >> 32, priv->reg + CNTR_COUNT_HIGH(id)); in set_counter_value()
49 static void counter_enable(struct a37xx_wdt *priv, int id) in counter_enable() argument
51 setbits_le32(priv->reg + CNTR_CTRL(id), CNTR_CTRL_ENABLE); in counter_enable()
54 static void counter_disable(struct a37xx_wdt *priv, int id) in counter_disable() argument
56 clrbits_le32(priv->reg + CNTR_CTRL(id), CNTR_CTRL_ENABLE); in counter_disable()
[all …]

1...<<11121314151617181920>>...595