/linux/drivers/sh/intc/ |
A D | handle.c | 19 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 …]
|
A D | core.c | 75 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 …]
|
A D | virq.c | 40 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()
|
A D | internals.h | 44 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);
|
A D | balancing.c | 42 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()
|
A D | virq-debugfs.c | 33 seq_printf(m, "0x%05x ", entry->enum_id); in intc_irq_xlate_show()
|
/linux/include/linux/ |
A D | sh_intc.h | 27 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 138 int intc_irq_lookup(const char *chipname, intc_enum enum_id);
|
/linux/drivers/gpu/drm/amd/display/include/ |
A D | grph_object_id.h | 230 uint32_t enum_id:4; member 239 enum object_enum_id enum_id, in dal_graphics_object_id_init() argument 243 id, enum_id, type, 0 in dal_graphics_object_id_init() 253 return id.id + (id.enum_id << 0x8) + (id.type << 0xc); in dal_graphics_object_id_to_uint() 308 if ((id_1.id == id_2.id) && (id_1.enum_id == id_2.enum_id) && in dal_graphics_object_id_equal()
|
A D | grph_object_ctrl_defs.h | 67 uint32_t enum_id:16; /* 1 based enum */ member
|
/linux/drivers/pinctrl/renesas/ |
A D | core.c | 131 if (enum_id < r->begin) in sh_pfc_enum_in_range() 134 if (enum_id > r->end) in sh_pfc_enum_in_range() 344 u16 enum_id; in sh_pfc_config_mux() local 353 if (!enum_id) in sh_pfc_config_mux() 378 if (in_range && enum_id == range->force) in sh_pfc_config_mux() 817 if (enum_id == sh_pfc_enums[i]) in sh_pfc_check_enum() 826 sh_pfc_enums[sh_pfc_num_enums++] = enum_id; in sh_pfc_check_enum() 960 if (pin->enum_id && pin->enum_id == pin2->enum_id) in sh_pfc_check_info() 963 pin->enum_id); in sh_pfc_check_info() 1059 if (sh_pfc_check_enum(drvname, func->enum_id)) in sh_pfc_check_info() [all …]
|
A D | gpio.c | 84 if (dreg->enum_ids[bit] == pin->enum_id) { in gpio_setup_data_reg() 118 if (pfc->info->pins[i].enum_id == 0) in gpio_setup_data_regs() 136 if (idx < 0 || pfc->info->pins[idx].enum_id == 0) in gpio_pin_request() 256 unsigned int mark = pfc->info->func_gpios[offset].enum_id; in gpio_function_request()
|
A D | sh_pfc.h | 49 u16 enum_id; member 120 u16 enum_id; member 631 .enum_id = _name##_DATA, \ 687 .enum_id = _pin##_DATA, \ 695 .enum_id = PORT##_pin##_DATA, \ 729 .enum_id = data_or_mark, \
|
A D | pinctrl.c | 406 ret = sh_pfc_config_mux(pfc, pin->enum_id, PINMUX_TYPE_GPIO); in sh_pfc_gpio_request_enable() 463 ret = sh_pfc_config_mux(pfc, pin->enum_id, new_type); in sh_pfc_gpio_set_direction()
|
/linux/drivers/gpu/drm/amd/display/dc/bios/ |
A D | bios_parser_common.c | 269 enum object_enum_id enum_id; in object_id_from_bios_object_id() local 277 enum_id = enum_id_from_bios_object_id(bios_object_id); in object_id_from_bios_object_id() 279 if (ENUM_ID_UNKNOWN == enum_id) in object_id_from_bios_object_id() 283 id_from_bios_object_id(type, bios_object_id), enum_id, type); in object_id_from_bios_object_id()
|
A D | bios_parser.c | 1942 if (id1.id == id2.id && id1.enum_id == id2.enum_id in dal_graphics_object_id_is_equal() 2029 result_device_id.enum_id = 1; in device_type_from_device_id() 2034 result_device_id.enum_id = 2; in device_type_from_device_id() 2039 result_device_id.enum_id = 1; in device_type_from_device_id() 2044 result_device_id.enum_id = 2; in device_type_from_device_id() 2134 uint32_t enum_id = device_id.enum_id; in get_support_mask_for_device_id() local 2138 switch (enum_id) { in get_support_mask_for_device_id() 2148 switch (enum_id) { in get_support_mask_for_device_id() 2158 switch (enum_id) { in get_support_mask_for_device_id() 2176 switch (enum_id) { in get_support_mask_for_device_id() [all …]
|
A D | bios_parser2.c | 225 object_id.enum_id == in bios_parser_get_src_obj() 226 obj_id.enum_id) { in bios_parser_get_src_obj() 241 object_id.enum_id == obj_id.enum_id) { in bios_parser_get_src_obj() 271 && id.enum_id == obj_id.enum_id) in get_bios_object() 284 && id.enum_id == obj_id.enum_id) in get_bios_object() 581 result_device_id.enum_id = 1; in device_type_from_device_id() 586 result_device_id.enum_id = 2; in device_type_from_device_id() 591 result_device_id.enum_id = 1; in device_type_from_device_id() 1232 uint32_t enum_id = device_id.enum_id; in get_support_mask_for_device_id() local 1236 switch (enum_id) { in get_support_mask_for_device_id() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/core/ |
A D | dc_link_dpia.c | 89 link->link_id.enum_id - ENUM_ID_1, in dpia_configure_link() 397 link->link_id.enum_id - ENUM_ID_1, in dpia_training_cr_non_transparent() 499 link->link_id.enum_id - ENUM_ID_1, in dpia_training_cr_transparent() 684 link->link_id.enum_id - ENUM_ID_1, in dpia_training_eq_non_transparent() 767 link->link_id.enum_id - ENUM_ID_1, in dpia_training_eq_transparent() 871 link->link_id.enum_id - ENUM_ID_1, in dpia_training_end() 893 link->link_id.enum_id - ENUM_ID_1, in dpia_training_abort()
|
A D | dc_link.c | 1384 switch (encoder.enum_id) { in translate_encoder_to_transmitter() 1394 switch (encoder.enum_id) { in translate_encoder_to_transmitter() 1404 switch (encoder.enum_id) { in translate_encoder_to_transmitter() 1414 switch (encoder.enum_id) { in translate_encoder_to_transmitter() 1422 switch (encoder.enum_id) { in translate_encoder_to_transmitter() 1430 switch (encoder.enum_id) { in translate_encoder_to_transmitter() 1651 DC_LOG_DC("BIOS object table - device_tag.dev_id.enum_id: %d", link->device_tag.dev_id.enum_id); in dc_link_construct_legacy() 1663 if (path->device_connector_id.enum_id == link->link_id.enum_id && in dc_link_construct_legacy() 1753 link->link_id.enum_id = ENUM_ID_1 + init_params->connector_index; in dc_link_construct_dpia() 3985 config.phy_idx = link_enc_assign.ep_id.link_id.enum_id - ENUM_ID_1; in update_psp_stream_config()
|
A D | dc_link_enc_cfg.c | 210 lhs->link_id.enum_id == rhs->link_id.enum_id && in are_ep_ids_equal()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_atombios.c | 419 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()
|
/linux/include/rdma/ |
A D | uverbs_ioctl.h | 602 u8 enum_id; member 679 return attr->ptr_attr.enum_id; in uverbs_attr_get_enum_id()
|
/linux/drivers/gpu/drm/amd/display/dc/dcn20/ |
A D | dcn20_link_encoder.c | 178 enable ? "Enabling" : "Disabling", enc->id.enum_id); in enc2_fec_set_enable()
|
/linux/drivers/gpu/drm/radeon/ |
A D | radeon_atombios.c | 696 int enum_id; in radeon_get_atom_connector_info_from_object_table() local 699 for (enum_id = 0; enum_id < (*num_dst_objs); enum_id++) { in radeon_get_atom_connector_info_from_object_table() 701 le16_to_cpu(dst_objs[enum_id])) in radeon_get_atom_connector_info_from_object_table() 728 router.ddc_mux_state = ddc_path->ucMuxState[enum_id]; in radeon_get_atom_connector_info_from_object_table() 736 router.cd_mux_state = cd_path->ucMuxState[enum_id]; in radeon_get_atom_connector_info_from_object_table()
|
/linux/drivers/infiniband/core/ |
A D | uverbs_ioctl.c | 261 e->ptr_attr.enum_id = uattr->attr_data.enum_data.elem_id; in uverbs_process_attr()
|
/linux/drivers/gpu/drm/amd/display/dc/dcn303/ |
A D | dcn303_resource.c | 1691 ddc_init_data.id.enum_id = 0; in dcn303_resource_construct()
|