Home
last modified time | relevance | path

Searched refs:id (Results 176 – 200 of 14623) sorted by relevance

12345678910>>...585

/openbmc/linux/sound/core/
H A Dcontrol.c153 struct snd_ctl_elem_id *id) in snd_ctl_notify() argument
159 if (snd_BUG_ON(!card || !id)) in snd_ctl_notify()
172 if (ev->id.numid == id->numid) { in snd_ctl_notify()
179 ev->id = *id; in snd_ctl_notify()
207 struct snd_ctl_elem_id id = kctl->id; in snd_ctl_notify_one() local
210 id.index += ioff; in snd_ctl_notify_one()
211 id.numid += ioff; in snd_ctl_notify_one()
212 snd_ctl_notify(card, mask, &id); in snd_ctl_notify_one()
297 kctl->id.iface = ncontrol->iface; in snd_ctl_new1()
298 kctl->id.device = ncontrol->device; in snd_ctl_new1()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_mem_input.h34 #define MI_DCE_BASE_REG_LIST(id)\ argument
35 SRI(GRPH_ENABLE, DCP, id),\
36 SRI(GRPH_CONTROL, DCP, id),\
37 SRI(GRPH_X_START, DCP, id),\
38 SRI(GRPH_Y_START, DCP, id),\
39 SRI(GRPH_X_END, DCP, id),\
40 SRI(GRPH_Y_END, DCP, id),\
41 SRI(GRPH_PITCH, DCP, id),\
42 SRI(HW_ROTATION, DCP, id),\
43 SRI(GRPH_SWAP_CNTL, DCP, id),\
[all …]
H A Ddce_opp.h43 #define OPP_COMMON_REG_LIST_BASE(id) \ argument
44 SRI(FMT_DYNAMIC_EXP_CNTL, FMT, id), \
45 SRI(FMT_BIT_DEPTH_CONTROL, FMT, id), \
46 SRI(FMT_CONTROL, FMT, id), \
47 SRI(FMT_DITHER_RAND_R_SEED, FMT, id), \
48 SRI(FMT_DITHER_RAND_G_SEED, FMT, id), \
49 SRI(FMT_DITHER_RAND_B_SEED, FMT, id), \
50 SRI(FMT_CLAMP_CNTL, FMT, id), \
51 SRI(FMT_CLAMP_COMPONENT_R, FMT, id), \
52 SRI(FMT_CLAMP_COMPONENT_G, FMT, id), \
[all …]
/openbmc/linux/drivers/regulator/
H A Dpalmas-regulator.c322 .id = PALMAS_EXTERNAL_REQSTR_ID_##_id, \
358 .id = TPS65917_EXTERNAL_REQSTR_ID_##_id, \
440 int id = rdev_get_id(dev); in palmas_set_mode_smps() local
444 struct palmas_regs_info *rinfo = &ddata->palmas_regs_info[id]; in palmas_set_mode_smps()
471 pmic->current_reg_mode[id] = reg & PALMAS_SMPS12_CTRL_MODE_ACTIVE_MASK; in palmas_set_mode_smps()
476 pmic->desc[id].enable_val = pmic->current_reg_mode[id]; in palmas_set_mode_smps()
484 int id = rdev_get_id(dev); in palmas_get_mode_smps() local
487 reg = pmic->current_reg_mode[id] & PALMAS_SMPS12_CTRL_MODE_ACTIVE_MASK; in palmas_get_mode_smps()
504 int id = rdev_get_id(rdev); in palmas_smps_set_ramp_delay() local
507 struct palmas_regs_info *rinfo = &ddata->palmas_regs_info[id]; in palmas_smps_set_ramp_delay()
[all …]
H A Dmax77802-regulator.c71 static int max77802_get_opmode_shift(int id) in max77802_get_opmode_shift() argument
73 if (id == MAX77802_BUCK1 || (id >= MAX77802_BUCK5 && in max77802_get_opmode_shift()
74 id <= MAX77802_BUCK10)) in max77802_get_opmode_shift()
77 if (id >= MAX77802_BUCK2 && id <= MAX77802_BUCK4) in max77802_get_opmode_shift()
80 if (id >= MAX77802_LDO1 && id <= MAX77802_LDO35) in max77802_get_opmode_shift()
97 unsigned int id = rdev_get_id(rdev); in max77802_set_suspend_disable() local
98 int shift = max77802_get_opmode_shift(id); in max77802_set_suspend_disable()
100 if (WARN_ON_ONCE(id >= ARRAY_SIZE(max77802->opmode))) in max77802_set_suspend_disable()
102 max77802->opmode[id] = val; in max77802_set_suspend_disable()
115 unsigned int id = rdev_get_id(rdev); in max77802_set_mode() local
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/gpio/
H A Dgpio_service.c131 enum gpio_id id; in dal_gpio_service_create_irq() local
134 if (!service->translate.funcs->offset_to_id(offset, mask, &id, &en)) { in dal_gpio_service_create_irq()
139 return dal_gpio_create_irq(service, id, en); in dal_gpio_service_create_irq()
147 enum gpio_id id; in dal_gpio_service_create_generic_mux() local
151 if (!service->translate.funcs->offset_to_id(offset, mask, &id, &en)) { in dal_gpio_service_create_generic_mux()
157 service, id, en, GPIO_PIN_OUTPUT_STATE_DEFAULT); in dal_gpio_service_create_generic_mux()
178 enum gpio_id id, in dal_gpio_get_generic_pin_info() argument
184 service->translate.funcs->id_to_offset(id, en, &pin); in dal_gpio_get_generic_pin_info()
239 enum gpio_id id, in is_pin_busy() argument
242 if (id == GPIO_ID_UNKNOWN) in is_pin_busy()
[all …]
/openbmc/linux/drivers/hid/
H A Dhid-magicmouse.c180 int id; in magicmouse_emit_buttons() local
190 } else if ((id = magicmouse_firm_touch(msc)) >= 0) { in magicmouse_emit_buttons()
191 int x = msc->touches[id].x; in magicmouse_emit_buttons()
213 int id, x, y, size, orientation, touch_major, touch_minor, state, down; in magicmouse_emit_touch() local
216 if (input->id.product == USB_DEVICE_ID_APPLE_MAGICMOUSE || in magicmouse_emit_touch()
217 input->id.product == USB_DEVICE_ID_APPLE_MAGICMOUSE2) { in magicmouse_emit_touch()
218 id = (tdata[6] << 2 | tdata[5] >> 6) & 0xf; in magicmouse_emit_touch()
227 } else if (input->id.product == USB_DEVICE_ID_APPLE_MAGICTRACKPAD2 || in magicmouse_emit_touch()
228 input->id.product == in magicmouse_emit_touch()
230 id = tdata[8] & 0xf; in magicmouse_emit_touch()
[all …]
/openbmc/linux/drivers/leds/
H A Dleds-da903x.c33 int id; member
37 #define DA9030_LED_OFFSET(id) ((id) - DA9030_ID_LED_1) argument
38 #define DA9034_LED_OFFSET(id) ((id) - DA9034_ID_LED_1) argument
48 switch (led->id) { in da903x_led_set()
54 offset = DA9030_LED_OFFSET(led->id); in da903x_led_set()
68 offset = DA9034_LED_OFFSET(led->id); in da903x_led_set()
87 int id, ret; in da903x_led_probe() local
92 id = pdev->id; in da903x_led_probe()
94 if (!((id >= DA9030_ID_LED_1 && id <= DA9030_ID_VIBRA) || in da903x_led_probe()
95 (id >= DA9034_ID_LED_1 && id <= DA9034_ID_VIBRA))) { in da903x_led_probe()
[all …]
/openbmc/linux/drivers/staging/greybus/
H A Daudio_manager.c25 static struct gb_audio_manager_module *gb_audio_manager_get_locked(int id) in gb_audio_manager_get_locked() argument
29 if (id < 0) in gb_audio_manager_get_locked()
33 if (module->id == id) in gb_audio_manager_get_locked()
44 int id; in gb_audio_manager_add() local
47 id = ida_simple_get(&module_id, 0, 0, GFP_KERNEL); in gb_audio_manager_add()
48 if (id < 0) in gb_audio_manager_add()
49 return id; in gb_audio_manager_add()
52 id, desc); in gb_audio_manager_add()
54 ida_simple_remove(&module_id, id); in gb_audio_manager_add()
63 return module->id; in gb_audio_manager_add()
[all …]
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dmcs.c27 void mcs_get_tx_secy_stats(struct mcs *mcs, struct mcs_secy_stats *stats, int id) in mcs_get_tx_secy_stats() argument
31 reg = MCSX_CSE_TX_MEM_SLAVE_IFOUTCTLBCPKTSX(id); in mcs_get_tx_secy_stats()
34 reg = MCSX_CSE_TX_MEM_SLAVE_IFOUTCTLMCPKTSX(id); in mcs_get_tx_secy_stats()
37 reg = MCSX_CSE_TX_MEM_SLAVE_IFOUTCTLOCTETSX(id); in mcs_get_tx_secy_stats()
40 reg = MCSX_CSE_TX_MEM_SLAVE_IFOUTCTLUCPKTSX(id); in mcs_get_tx_secy_stats()
43 reg = MCSX_CSE_TX_MEM_SLAVE_IFOUTUNCTLBCPKTSX(id); in mcs_get_tx_secy_stats()
46 reg = MCSX_CSE_TX_MEM_SLAVE_IFOUTUNCTLMCPKTSX(id); in mcs_get_tx_secy_stats()
49 reg = MCSX_CSE_TX_MEM_SLAVE_IFOUTUNCTLOCTETSX(id); in mcs_get_tx_secy_stats()
52 reg = MCSX_CSE_TX_MEM_SLAVE_IFOUTUNCTLUCPKTSX(id); in mcs_get_tx_secy_stats()
55 reg = MCSX_CSE_TX_MEM_SLAVE_OUTOCTETSSECYENCRYPTEDX(id); in mcs_get_tx_secy_stats()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn31/
H A Ddcn31_hpo_dp_stream_encoder.h49 #define DCN3_1_HPO_DP_STREAM_ENC_REG_LIST(id) \ argument
54 SRI(DP_STREAM_ENC_CLOCK_CONTROL, DP_STREAM_ENC, id),\
55 SRI(DP_STREAM_ENC_INPUT_MUX_CONTROL, DP_STREAM_ENC, id),\
56 SRI(DP_STREAM_ENC_AUDIO_CONTROL, DP_STREAM_ENC, id),\
57 SRI(DP_STREAM_ENC_CLOCK_RAMP_ADJUSTER_FIFO_STATUS_CONTROL0, DP_STREAM_ENC, id),\
58 SRI(DP_SYM32_ENC_CONTROL, DP_SYM32_ENC, id),\
59 SRI(DP_SYM32_ENC_VID_PIXEL_FORMAT, DP_SYM32_ENC, id),\
60 SRI(DP_SYM32_ENC_VID_PIXEL_FORMAT_DOUBLE_BUFFER_CONTROL, DP_SYM32_ENC, id),\
61 SRI(DP_SYM32_ENC_VID_MSA0, DP_SYM32_ENC, id),\
62 SRI(DP_SYM32_ENC_VID_MSA1, DP_SYM32_ENC, id),\
[all …]
/openbmc/u-boot/include/
H A Dremoteproc.h94 int rproc_dev_init(int id);
111 int rproc_load(int id, ulong addr, ulong size);
119 int rproc_start(int id);
127 int rproc_stop(int id);
135 int rproc_reset(int id);
147 int rproc_ping(int id);
158 int rproc_is_running(int id);
161 static inline int rproc_dev_init(int id) { return -ENOSYS; } in rproc_dev_init() argument
163 static inline int rproc_load(int id, ulong addr, ulong size) { return -ENOSYS; } in rproc_load() argument
164 static inline int rproc_start(int id) { return -ENOSYS; } in rproc_start() argument
[all …]
/openbmc/u-boot/drivers/clk/
H A Dclk_meson.c73 static ulong meson_div_get_rate(struct clk *clk, unsigned long id);
74 static ulong meson_div_set_rate(struct clk *clk, unsigned long id, ulong rate,
76 static ulong meson_mux_set_parent(struct clk *clk, unsigned long id,
78 static ulong meson_mux_get_rate(struct clk *clk, unsigned long id);
79 static ulong meson_clk_set_rate_by_id(struct clk *clk, unsigned long id,
81 static ulong meson_mux_get_parent(struct clk *clk, unsigned long id);
82 static ulong meson_clk_get_rate_by_id(struct clk *clk, unsigned long id);
195 static int meson_set_gate_by_id(struct clk *clk, unsigned long id, bool on) in meson_set_gate_by_id() argument
200 debug("%s: %sabling %ld\n", __func__, on ? "en" : "dis", id); in meson_set_gate_by_id()
203 switch (id) { in meson_set_gate_by_id()
[all …]
/openbmc/u-boot/arch/m68k/cpu/mcf547x_8x/
H A Dcpu.c40 u16 id = 0; in print_cpuinfo() local
46 id = 5485; in print_cpuinfo()
49 id = 5484; in print_cpuinfo()
52 id = 5483; in print_cpuinfo()
55 id = 5482; in print_cpuinfo()
58 id = 5481; in print_cpuinfo()
61 id = 5480; in print_cpuinfo()
64 id = 5475; in print_cpuinfo()
67 id = 5474; in print_cpuinfo()
70 id = 5473; in print_cpuinfo()
[all …]
/openbmc/linux/net/ipv4/
H A Dudp_diag.c42 req->id.idiag_src[0], req->id.idiag_sport, in udp_dump_one()
43 req->id.idiag_dst[0], req->id.idiag_dport, in udp_dump_one()
44 req->id.idiag_if, 0, tbl, NULL); in udp_dump_one()
48 (struct in6_addr *)req->id.idiag_src, in udp_dump_one()
49 req->id.idiag_sport, in udp_dump_one()
50 (struct in6_addr *)req->id.idiag_dst, in udp_dump_one()
51 req->id.idiag_dport, in udp_dump_one()
52 req->id.idiag_if, 0, tbl, NULL); in udp_dump_one()
61 err = sock_diag_check_cookie(sk, req->id.idiag_cookie); in udp_dump_one()
126 if (r->id.idiag_sport != inet->inet_sport && in udp_dump()
[all …]
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/catalog/
H A Ddpu_4_0_sdm845.h42 .name = "ctl_0", .id = CTL_0,
47 .name = "ctl_1", .id = CTL_1,
52 .name = "ctl_2", .id = CTL_2,
56 .name = "ctl_3", .id = CTL_3,
60 .name = "ctl_4", .id = CTL_4,
68 .name = "sspp_0", .id = SSPP_VIG0,
76 .name = "sspp_1", .id = SSPP_VIG1,
84 .name = "sspp_2", .id = SSPP_VIG2,
92 .name = "sspp_3", .id = SSPP_VIG3,
100 .name = "sspp_8", .id = SSPP_DMA0,
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn201/
H A Ddcn201_hubp.h35 #define HUBP_REG_LIST_DCN201(id)\ argument
36 HUBP_REG_LIST_DCN(id),\
37 SRI(PREFETCH_SETTINGS, HUBPREQ, id),\
38 SRI(PREFETCH_SETTINGS_C, HUBPREQ, id),\
39 SRI(DCSURF_FLIP_CONTROL2, HUBPREQ, id), \
40 SRI(CURSOR_SETTINGS, HUBPREQ, id), \
41 SRI(CURSOR_SURFACE_ADDRESS_HIGH, CURSOR0_, id), \
42 SRI(CURSOR_SURFACE_ADDRESS, CURSOR0_, id), \
43 SRI(CURSOR_SIZE, CURSOR0_, id), \
44 SRI(CURSOR_CONTROL, CURSOR0_, id), \
[all …]
/openbmc/linux/drivers/interconnect/qcom/
H A Dsdm660.c145 .id = SDM660_MASTER_IPA,
164 .id = SDM660_MASTER_CNOC_A2NOC,
180 .id = SDM660_MASTER_SDCC_1,
194 .id = SDM660_MASTER_SDCC_2,
208 .id = SDM660_MASTER_BLSP_1,
222 .id = SDM660_MASTER_BLSP_2,
236 .id = SDM660_MASTER_UFS,
255 .id = SDM660_MASTER_USB_HS,
274 .id = SDM660_MASTER_USB3,
293 .id = SDM660_MASTER_CRYPTO_C0,
[all …]
/openbmc/linux/net/sched/
H A Dcls_route.c31 u32 id; member
49 u32 id; member
62 static inline int route4_fastmap_hash(u32 id, int iif) in route4_fastmap_hash() argument
64 return id & 0xF; in route4_fastmap_hash()
77 route4_set_fastmap(struct route4_head *head, u32 id, int iif, in route4_set_fastmap() argument
80 int h = route4_fastmap_hash(id, iif); in route4_set_fastmap()
84 head->fastmap[h].id = id; in route4_set_fastmap()
90 static inline int route4_hash_to(u32 id) in route4_hash_to() argument
92 return id & 0xFF; in route4_hash_to()
95 static inline int route4_hash_from(u32 id) in route4_hash_from() argument
[all …]
/openbmc/u-boot/arch/m68k/cpu/mcf532x/
H A Dcpu.c37 u16 id = 0; in print_cpuinfo() local
46 id = 53010; in print_cpuinfo()
49 id = 53012; in print_cpuinfo()
52 id = 53015; in print_cpuinfo()
55 id = 53011; in print_cpuinfo()
58 id = 53013; in print_cpuinfo()
63 id = 5329; in print_cpuinfo()
66 id = 5328; in print_cpuinfo()
69 id = 5327; in print_cpuinfo()
72 id = 5373; in print_cpuinfo()
[all …]
/openbmc/linux/drivers/input/gameport/
H A Dns558.c151 { .id = "@P@0001", .driver_data = 0 }, /* ALS 100 */
152 { .id = "@P@0020", .driver_data = 0 }, /* ALS 200 */
153 { .id = "@P@1001", .driver_data = 0 }, /* ALS 100+ */
154 { .id = "@P@2001", .driver_data = 0 }, /* ALS 120 */
155 { .id = "ASB16fd", .driver_data = 0 }, /* AdLib NSC16 */
156 { .id = "AZT3001", .driver_data = 0 }, /* AZT1008 */
157 { .id = "CDC0001", .driver_data = 0 }, /* Opl3-SAx */
158 { .id = "CSC0001", .driver_data = 0 }, /* CS4232 */
159 { .id = "CSC000f", .driver_data = 0 }, /* CS4236 */
160 { .id = "CSC0101", .driver_data = 0 }, /* CS4327 */
[all …]
/openbmc/linux/drivers/staging/media/atomisp/pci/base/refcount/src/
H A Drefcount.c32 s32 id; member
116 entry->id = 0; in ia_css_refcount_uninit()
126 ia_css_ptr ia_css_refcount_increment(s32 id, ia_css_ptr ptr) in ia_css_refcount_increment() argument
136 "%s(%x) 0x%x\n", __func__, id, ptr); in ia_css_refcount_increment()
143 entry->id = id; in ia_css_refcount_increment()
146 if (entry->id != id) { in ia_css_refcount_increment()
163 bool ia_css_refcount_decrement(s32 id, ia_css_ptr ptr) in ia_css_refcount_decrement() argument
168 "%s(%x) 0x%x\n", __func__, id, ptr); in ia_css_refcount_decrement()
176 if (entry->id != id) { in ia_css_refcount_decrement()
188 entry->id = 0; in ia_css_refcount_decrement()
[all …]
/openbmc/linux/sound/soc/qcom/qdsp6/
H A Dq6routing.c28 #define Q6ROUTING_RX_MIXERS(id) \ argument
29 SOC_SINGLE_EXT("MultiMedia1", id, \
32 SOC_SINGLE_EXT("MultiMedia2", id, \
35 SOC_SINGLE_EXT("MultiMedia3", id, \
38 SOC_SINGLE_EXT("MultiMedia4", id, \
41 SOC_SINGLE_EXT("MultiMedia5", id, \
44 SOC_SINGLE_EXT("MultiMedia6", id, \
47 SOC_SINGLE_EXT("MultiMedia7", id, \
50 SOC_SINGLE_EXT("MultiMedia8", id, \
131 #define Q6ROUTING_TX_MIXERS(id) \ argument
[all …]
/openbmc/linux/drivers/counter/
H A Drz-mtu3-cnt.c92 static inline size_t rz_mtu3_get_hw_ch(const size_t id) in rz_mtu3_get_hw_ch() argument
94 return (id == RZ_MTU3_32_BIT_CH) ? 0 : id; in rz_mtu3_get_hw_ch()
97 static inline struct rz_mtu3_channel *rz_mtu3_get_ch(struct counter_device *counter, int id) in rz_mtu3_get_ch() argument
100 const size_t ch_id = rz_mtu3_get_hw_ch(id); in rz_mtu3_get_ch()
105 static bool rz_mtu3_is_counter_invalid(struct counter_device *counter, int id) in rz_mtu3_is_counter_invalid() argument
114 if (id == RZ_MTU3_32_BIT_CH && test_bit(RZ_MTU3_TMDR3_LWA, &tmdr)) in rz_mtu3_is_counter_invalid()
117 if (id != RZ_MTU3_32_BIT_CH && !test_bit(RZ_MTU3_TMDR3_LWA, &tmdr)) in rz_mtu3_is_counter_invalid()
126 int id) in rz_mtu3_lock_if_counter_is_valid() argument
130 if (ch->is_busy && !priv->count_is_enabled[id]) { in rz_mtu3_lock_if_counter_is_valid()
135 if (rz_mtu3_is_counter_invalid(counter, id)) { in rz_mtu3_lock_if_counter_is_valid()
[all …]
/openbmc/linux/drivers/nvme/target/
H A Dadmin-cmd.c354 struct nvme_id_ctrl *id; in nvmet_execute_identify_ctrl() local
364 id = kzalloc(sizeof(*id), GFP_KERNEL); in nvmet_execute_identify_ctrl()
365 if (!id) { in nvmet_execute_identify_ctrl()
371 id->vid = 0; in nvmet_execute_identify_ctrl()
372 id->ssvid = 0; in nvmet_execute_identify_ctrl()
374 memcpy(id->sn, ctrl->subsys->serial, NVMET_SN_MAX_SIZE); in nvmet_execute_identify_ctrl()
375 memcpy_and_pad(id->mn, sizeof(id->mn), subsys->model_number, in nvmet_execute_identify_ctrl()
377 memcpy_and_pad(id->fr, sizeof(id->fr), in nvmet_execute_identify_ctrl()
380 put_unaligned_le24(subsys->ieee_oui, id->ieee); in nvmet_execute_identify_ctrl()
382 id->rab = 6; in nvmet_execute_identify_ctrl()
[all …]

12345678910>>...585