Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/sh/intc/
H A Dhandle.c19 intc_enum enum_id) in intc_grp_id() argument
28 if (g->enum_ids[j] != enum_id) in intc_grp_id()
31 return g->enum_id; in intc_grp_id()
40 intc_enum enum_id, in _intc_mask_data() argument
52 if (mr->enum_ids[*fld_idx] != enum_id) in _intc_mask_data()
90 intc_enum enum_id, int do_grps) in intc_get_mask_handle() argument
108 intc_enum enum_id, in _intc_prio_data() argument
159 intc_enum enum_id, int do_grps) in intc_get_prio_handle() argument
186 if (mr->enum_ids[j] != enum_id) in intc_ack_data()
259 intc_enum enum_id) in intc_get_sense_handle() argument
[all …]
H A Dvirq.c40 intc_irq_xlate[irq].enum_id = id; in intc_irq_xlate_set()
50 int intc_irq_lookup(const char *chipname, intc_enum enum_id) in intc_irq_lookup() argument
68 tagged = radix_tree_tag_get(&d->tree, enum_id, in intc_irq_lookup()
73 ptr = radix_tree_lookup(&d->tree, enum_id); in intc_irq_lookup()
176 entry->enum_id = subgroup->enum_ids[i]; in intc_subgroup_init_one()
179 err = radix_tree_insert(&d->tree, entry->enum_id, entry); in intc_subgroup_init_one()
183 radix_tree_tag_set(&d->tree, entry->enum_id, in intc_subgroup_init_one()
236 intc_irq_xlate_set(irq, entry->enum_id, d); in intc_subgroup_map()
253 radix_tree_tag_clear(&d->tree, entry->enum_id, in intc_subgroup_map()
H A Dcore.c75 intc_enum enum_id, in intc_register_irq() argument
95 data[0] = intc_get_mask_handle(desc, d, enum_id, 0); in intc_register_irq()
96 data[1] = intc_get_prio_handle(desc, d, enum_id, 0); in intc_register_irq()
148 data[0] = intc_get_sense_handle(desc, d, enum_id); in intc_register_irq()
158 intc_set_ack_handle(irq, desc, d, enum_id); in intc_register_irq()
159 intc_set_dist_handle(irq, desc, d, enum_id); in intc_register_irq()
330 if (!vect->enum_id) in register_intc_controller()
336 intc_irq_xlate_set(irq, vect->enum_id, d); in register_intc_controller()
337 intc_register_irq(desc, d, vect->enum_id, irq); in register_intc_controller()
343 if (vect->enum_id != vect2->enum_id) in register_intc_controller()
[all …]
H A Dinternals.h44 intc_enum enum_id; member
50 intc_enum enum_id; member
172 intc_enum enum_id, int do_grps);
175 intc_enum enum_id, int do_grps);
178 intc_enum enum_id);
183 intc_enum enum_id, int enable);
H A Dbalancing.c42 intc_enum enum_id) in intc_dist_data() argument
48 for (i = 0; mr && enum_id && i < desc->hw.nr_mask_regs; i++) { in intc_dist_data()
59 if (mr->enum_ids[j] != enum_id) in intc_dist_data()
H A Dvirq-debugfs.c33 seq_printf(m, "0x%05x ", entry->enum_id); in intc_irq_xlate_show()
/openbmc/linux/include/linux/
H A Dsh_intc.h27 intc_enum enum_id; member
31 #define INTC_VECT(enum_id, vect) { enum_id, vect } argument
32 #define INTC_IRQ(enum_id, irq) INTC_VECT(enum_id, irq2evt(irq)) argument
35 intc_enum enum_id; member
39 #define INTC_GROUP(enum_id, ids...) { enum_id, { ids } } argument
141 int intc_irq_lookup(const char *chipname, intc_enum enum_id);
/openbmc/u-boot/drivers/gpio/
H A Dsh_pfc.c23 if (enum_id < r->begin) in enum_in_range()
26 if (enum_id > r->end) in enum_in_range()
293 pinmux_enum_t enum_id = gpioc->gpios[gpio].enum_id; in get_gpio_enum_id() local
297 if (!enum_in_range(enum_id, &gpioc->data)) { in get_gpio_enum_id()
310 if (data[k] == enum_id) { in get_gpio_enum_id()
326 pinmux_enum_t enum_id; in pinmux_config_gpio() local
358 enum_id = 0; in pinmux_config_gpio()
366 if (!enum_id) in pinmux_config_gpio()
382 in_range = enum_in_range(enum_id, range); in pinmux_config_gpio()
389 if (in_range && enum_id == range->force) in pinmux_config_gpio()
[all …]
/openbmc/qemu/include/hw/sh4/
H A Dsh_intc.h9 intc_enum enum_id; member
13 #define INTC_VECT(enum_id, vect) { enum_id, vect } argument
16 intc_enum enum_id; member
20 #define INTC_GROUP(enum_id, ...) { enum_id, { __VA_ARGS__ } } argument
/openbmc/linux/drivers/gpu/drm/amd/display/include/
H A Dgrph_object_id.h229 uint32_t enum_id:4; member
238 enum object_enum_id enum_id, in dal_graphics_object_id_init() argument
242 id, enum_id, type, 0 in dal_graphics_object_id_init()
252 return id.id + (id.enum_id << 0x8) + (id.type << 0xc); in dal_graphics_object_id_to_uint()
307 if ((id_1.id == id_2.id) && (id_1.enum_id == id_2.enum_id) && in dal_graphics_object_id_equal()
/openbmc/u-boot/drivers/pinctrl/renesas/
H A Dpfc.c80 if (enum_id < r->begin) in sh_pfc_enum_in_range()
83 if (enum_id > r->end) in sh_pfc_enum_in_range()
188 static int sh_pfc_get_config_reg(struct sh_pfc *pfc, u16 enum_id, in sh_pfc_get_config_reg() argument
218 if (config_reg->enum_ids[pos + n] == enum_id) { in sh_pfc_get_config_reg()
284 u16 enum_id; in sh_pfc_config_mux() local
289 pos = sh_pfc_mark_to_enum(pfc, mark, pos, &enum_id); in sh_pfc_config_mux()
293 if (!enum_id) in sh_pfc_config_mux()
300 in_range = sh_pfc_enum_in_range(enum_id, &pfc->info->function); in sh_pfc_config_mux()
311 in_range = sh_pfc_enum_in_range(enum_id, range); in sh_pfc_config_mux()
318 if (in_range && enum_id == range->force) in sh_pfc_config_mux()
[all …]
H A Dsh_pfc.h34 u16 enum_id; member
92 u16 enum_id; member
511 .enum_id = _name##_DATA, \
549 .enum_id = _pin##_DATA, \
557 .enum_id = PORT##_pin##_DATA, \
589 .enum_id = data_or_mark, \
/openbmc/linux/drivers/pinctrl/renesas/
H A Dcore.c130 if (enum_id < r->begin) in sh_pfc_enum_in_range()
133 if (enum_id > r->end) in sh_pfc_enum_in_range()
345 u16 enum_id; in sh_pfc_config_mux() local
354 if (!enum_id) in sh_pfc_config_mux()
379 if (in_range && enum_id == range->force) in sh_pfc_config_mux()
828 if (enum_id == sh_pfc_enums[i]) in sh_pfc_check_enum()
837 sh_pfc_enums[sh_pfc_num_enums++] = enum_id; in sh_pfc_check_enum()
1065 if (pin->enum_id && pin->enum_id == pin2->enum_id) in sh_pfc_check_info()
1068 pin->enum_id); in sh_pfc_check_info()
1255 if (sh_pfc_check_enum(drvname, func->enum_id)) in sh_pfc_check_info()
[all …]
H A Dgpio.c83 if (dreg->enum_ids[bit] == pin->enum_id) { in gpio_setup_data_reg()
117 if (pfc->info->pins[i].enum_id == 0) in gpio_setup_data_regs()
135 if (idx < 0 || pfc->info->pins[idx].enum_id == 0) in gpio_pin_request()
255 unsigned int mark = pfc->info->func_gpios[offset].enum_id; in gpio_function_request()
H A Dsh_pfc.h46 u16 enum_id; member
98 u16 enum_id; member
618 .enum_id = _name##_DATA, \
674 .enum_id = _pin##_DATA, \
681 .enum_id = PORT##_pin##_DATA, \
715 .enum_id = data_or_mark, \
/openbmc/linux/drivers/gpu/drm/amd/display/dc/bios/
H A Dbios_parser_common.c272 enum object_enum_id enum_id; in object_id_from_bios_object_id() local
280 enum_id = enum_id_from_bios_object_id(bios_object_id); in object_id_from_bios_object_id()
282 if (ENUM_ID_UNKNOWN == enum_id) in object_id_from_bios_object_id()
286 id_from_bios_object_id(type, bios_object_id), enum_id, type); in object_id_from_bios_object_id()
H A Dbios_parser.c1966 if (id1.id == id2.id && id1.enum_id == id2.enum_id in dal_graphics_object_id_is_equal()
2054 result_device_id.enum_id = 1; in device_type_from_device_id()
2059 result_device_id.enum_id = 2; in device_type_from_device_id()
2064 result_device_id.enum_id = 1; in device_type_from_device_id()
2069 result_device_id.enum_id = 2; in device_type_from_device_id()
2159 uint32_t enum_id = device_id.enum_id; in get_support_mask_for_device_id() local
2163 switch (enum_id) { in get_support_mask_for_device_id()
2173 switch (enum_id) { in get_support_mask_for_device_id()
2183 switch (enum_id) { in get_support_mask_for_device_id()
2201 switch (enum_id) { in get_support_mask_for_device_id()
[all …]
H A Dbios_parser2.c230 object_id.enum_id == obj_id.enum_id) { in bios_parser_get_src_obj()
246 object_id.enum_id == obj_id.enum_id) { in bios_parser_get_src_obj()
268 object_id.enum_id == obj_id.enum_id) { in bios_parser_get_src_obj()
289 object_id.enum_id == obj_id.enum_id) { in bios_parser_get_src_obj()
320 && id.enum_id == obj_id.enum_id) in get_bios_object()
333 && id.enum_id == obj_id.enum_id) in get_bios_object()
355 && id.enum_id == obj_id.enum_id) in get_bios_object_from_path_v3()
369 && id.enum_id == obj_id.enum_id) in get_bios_object_from_path_v3()
1544 uint32_t enum_id = device_id.enum_id; in get_support_mask_for_device_id() local
1548 switch (enum_id) { in get_support_mask_for_device_id()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_factory.c310 switch (encoder.enum_id) { in translate_encoder_to_transmitter()
320 switch (encoder.enum_id) { in translate_encoder_to_transmitter()
330 switch (encoder.enum_id) { in translate_encoder_to_transmitter()
340 switch (encoder.enum_id) { in translate_encoder_to_transmitter()
348 switch (encoder.enum_id) { in translate_encoder_to_transmitter()
356 switch (encoder.enum_id) { in translate_encoder_to_transmitter()
688 DC_LOG_DC("BIOS object table - device_tag.dev_id.enum_id: %d", link->device_tag.dev_id.enum_id); in construct_phy()
700 if (path->device_connector_id.enum_id == link->link_id.enum_id && in construct_phy()
788 link->link_id.enum_id = ENUM_ID_1 + init_params->connector_index; in construct_dpia()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_dp_dpia.c89 cmd.query_hpd.data.instance = link->link_id.enum_id - ENUM_ID_1; in dpia_query_hpd_status()
99 link->link_id.enum_id - ENUM_ID_1, in dpia_query_hpd_status()
H A Dlink_dp_training_dpia.c111 link->link_id.enum_id - ENUM_ID_1, in dpia_configure_link()
440 link->link_id.enum_id - ENUM_ID_1, in dpia_training_cr_non_transparent()
546 link->link_id.enum_id - ENUM_ID_1, in dpia_training_cr_transparent()
741 link->link_id.enum_id - ENUM_ID_1, in dpia_training_eq_non_transparent()
831 link->link_id.enum_id - ENUM_ID_1, in dpia_training_eq_transparent()
947 link->link_id.enum_id - ENUM_ID_1, in dpia_training_end()
972 link->link_id.enum_id - ENUM_ID_1, in dpia_training_abort()
/openbmc/qemu/hw/intc/
H A Dsh_intc.c321 sh_intc_register_source(desc, vect->enum_id, groups, nr_groups); in sh_intc_register_sources()
322 id = vect->enum_id; in sh_intc_register_sources()
326 trace_sh_intc_register("source", vect->enum_id, s->vect, in sh_intc_register_sources()
335 id = gr->enum_id; in sh_intc_register_sources()
346 trace_sh_intc_register("group", gr->enum_id, 0xffff, in sh_intc_register_sources()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_link_enc_cfg.c229 lhs->link_id.enum_id == rhs->link_id.enum_id && in are_ep_ids_equal()
424 assignment.ep_id.link_id.enum_id : in link_enc_cfg_link_encs_assign()
425 assignment.ep_id.link_id.enum_id - 1, in link_enc_cfg_link_encs_assign()
437 assignment.ep_id.link_id.enum_id : in link_enc_cfg_link_encs_assign()
438 assignment.ep_id.link_id.enum_id - 1, in link_enc_cfg_link_encs_assign()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_i2c.c43 id.enum_id = 0; in dce_i2c_oem_device_present()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_atombios.c419 int enum_id; in amdgpu_atombios_get_connector_info_from_object_table() local
422 for (enum_id = 0; enum_id < (*num_dst_objs); enum_id++) { in amdgpu_atombios_get_connector_info_from_object_table()
424 le16_to_cpu(dst_objs[enum_id])) in amdgpu_atombios_get_connector_info_from_object_table()
451 router.ddc_mux_state = ddc_path->ucMuxState[enum_id]; in amdgpu_atombios_get_connector_info_from_object_table()
459 router.cd_mux_state = cd_path->ucMuxState[enum_id]; in amdgpu_atombios_get_connector_info_from_object_table()

12