/drivers/gpu/drm/nouveau/nvkm/core/ |
D | event.c | 26 nvkm_event_put(struct nvkm_event *event, u32 types, int index) in nvkm_event_put() argument 29 while (types) { in nvkm_event_put() 30 int type = __ffs(types); types &= ~(1 << type); in nvkm_event_put() 39 nvkm_event_get(struct nvkm_event *event, u32 types, int index) in nvkm_event_get() argument 42 while (types) { in nvkm_event_get() 43 int type = __ffs(types); types &= ~(1 << type); in nvkm_event_get() 52 nvkm_event_send(struct nvkm_event *event, u32 types, int index, in nvkm_event_send() argument 63 if (notify->index == index && (notify->types & types)) { in nvkm_event_send()
|
D | notify.c | 31 nvkm_event_put(notify->event, notify->types, notify->index); in nvkm_notify_put_locked() 53 nvkm_event_get(notify->event, notify->types, notify->index); in nvkm_notify_get_locked()
|
/drivers/gpu/drm/i915/gvt/ |
D | vgpu.c | 129 gvt->types = kcalloc(num_types, sizeof(struct intel_vgpu_type), in intel_gvt_init_vgpu_types() 131 if (!gvt->types) in intel_gvt_init_vgpu_types() 139 gvt->types[i].low_gm_size = vgpu_types[i].low_mm; in intel_gvt_init_vgpu_types() 140 gvt->types[i].high_gm_size = vgpu_types[i].high_mm; in intel_gvt_init_vgpu_types() 141 gvt->types[i].fence = vgpu_types[i].fence; in intel_gvt_init_vgpu_types() 147 gvt->types[i].weight = vgpu_types[i].weight; in intel_gvt_init_vgpu_types() 148 gvt->types[i].resolution = vgpu_types[i].edid; in intel_gvt_init_vgpu_types() 149 gvt->types[i].avail_instance = min(low_avail / vgpu_types[i].low_mm, in intel_gvt_init_vgpu_types() 153 sprintf(gvt->types[i].name, "GVTg_V4_%s", in intel_gvt_init_vgpu_types() 156 sprintf(gvt->types[i].name, "GVTg_V5_%s", in intel_gvt_init_vgpu_types() [all …]
|
/drivers/pci/hotplug/ |
D | rpaphp_core.c | 161 const __be32 *indexes, *names, *types, *domains; in get_children_props() local 165 types = of_get_property(dn, "ibm,drc-types", NULL); in get_children_props() 168 if (!indexes || !names || !types || !domains) { in get_children_props() 179 *drc_types = types; in get_children_props() 198 const __be32 *types, *domains; in rpaphp_check_drc_props_v1() local 201 rc = get_children_props(dn->parent, &indexes, &names, &types, &domains); in rpaphp_check_drc_props_v1() 207 type_tmp = (char *) &types[1]; in rpaphp_check_drc_props_v1() 315 const __be32 **names, const __be32 **types, in is_php_dn() argument 328 *types = drc_types; in is_php_dn() 378 const __be32 *indexes, *names, *types, *power_domains; in rpaphp_drc_add_slot() local [all …]
|
/drivers/phy/xilinx/ |
D | phy-zynqmp.c | 678 static const int types[] = { in xpsgtr_set_lane_type() local 683 phy_types = types; in xpsgtr_set_lane_type() 684 num_phy_types = ARRAY_SIZE(types); in xpsgtr_set_lane_type() 689 static const int types[] = { in xpsgtr_set_lane_type() local 694 phy_types = types; in xpsgtr_set_lane_type() 695 num_phy_types = ARRAY_SIZE(types); in xpsgtr_set_lane_type() 700 static const int types[] = { in xpsgtr_set_lane_type() local 705 phy_types = types; in xpsgtr_set_lane_type() 706 num_phy_types = ARRAY_SIZE(types); in xpsgtr_set_lane_type() 711 static const int types[] = { in xpsgtr_set_lane_type() local [all …]
|
/drivers/acpi/acpica/ |
D | dbexec.c | 122 status = acpi_db_convert_to_object(info->types[i], in acpi_db_execute_method() 345 acpi_db_execute(char *name, char **args, acpi_object_type *types, u32 flags) in acpi_db_execute() argument 413 acpi_gbl_db_method_info.types = types; in acpi_db_execute() 544 local_info.types = local_info.arg_types; in acpi_db_method_thread() 658 char **arguments, acpi_object_type *types) in acpi_db_create_execution_thread() argument 667 acpi_gbl_db_method_info.types = acpi_gbl_db_method_info.arg_types; in acpi_db_create_execution_thread() 675 acpi_gbl_db_method_info.arg_types[i] = *types; in acpi_db_create_execution_thread() 676 types++; in acpi_db_create_execution_thread() 818 acpi_gbl_db_method_info.types = acpi_gbl_db_method_info.arg_types; in acpi_db_create_execution_threads()
|
D | utpredef.c | 342 u32 acpi_ut_get_resource_bit_width(char *buffer, u16 types) in acpi_ut_get_resource_bit_width() argument 353 if (types & 1) { in acpi_ut_get_resource_bit_width() 359 types >>= 1; in acpi_ut_get_resource_bit_width()
|
D | acdebug.h | 196 acpi_db_execute(char *name, char **args, acpi_object_type *types, u32 flags); 200 char **arguments, acpi_object_type *types);
|
/drivers/gpu/drm/nouveau/include/nvkm/core/ |
D | event.h | 31 void nvkm_event_get(struct nvkm_event *, u32 types, int index); 32 void nvkm_event_put(struct nvkm_event *, u32 types, int index); 33 void nvkm_event_send(struct nvkm_event *, u32 types, int index,
|
/drivers/media/platform/ |
D | imx-pxp.c | 62 u32 types; member 70 .types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT, 75 .types = MEM2MEM_CAPTURE, 79 .types = MEM2MEM_CAPTURE, 83 .types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT, 87 .types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT, 91 .types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT, 95 .types = MEM2MEM_CAPTURE, 99 .types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT, 103 .types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT, [all …]
|
D | mx2_emmaprp.c | 150 u32 types; member 156 .types = MEM2MEM_CAPTURE, 160 .types = MEM2MEM_OUTPUT, 394 if (formats[i].types & type) { in enum_fmt() 504 if (!fmt || !(fmt->types & MEM2MEM_CAPTURE)) { in vidioc_try_fmt_vid_cap() 521 if (!fmt || !(fmt->types & MEM2MEM_OUTPUT)) { in vidioc_try_fmt_vid_out()
|
D | m2m-deinterlace.c | 42 u32 types; member 48 .types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT, 52 .types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT, 110 if ((fmt->types & f->type) && in find_format() 448 if (formats[i].types & type) { in enum_fmt() 546 if (!fmt || !(fmt->types & MEM2MEM_CAPTURE)) in vidioc_try_fmt_vid_cap() 565 if (!fmt || !(fmt->types & MEM2MEM_OUTPUT)) in vidioc_try_fmt_vid_out()
|
/drivers/mtd/ |
D | mtdpart.c | 427 parse_mtd_partitions(child, parts[i].types, NULL); in add_mtd_partitions() 644 int parse_mtd_partitions(struct mtd_info *master, const char *const *types, in parse_mtd_partitions() argument 651 if (!types) in parse_mtd_partitions() 652 types = mtd_is_partition(master) ? default_subpartition_types : in parse_mtd_partitions() 655 for ( ; *types; types++) { in parse_mtd_partitions() 661 if (!strcmp(*types, "ofpart")) { in parse_mtd_partitions() 665 *types); in parse_mtd_partitions() 666 parser = mtd_part_parser_get(*types); in parse_mtd_partitions() 667 if (!parser && !request_module("%s", *types)) in parse_mtd_partitions() 668 parser = mtd_part_parser_get(*types); in parse_mtd_partitions()
|
D | mtdcore.h | 18 int parse_mtd_partitions(struct mtd_info *master, const char * const *types,
|
/drivers/misc/cardreader/ |
D | Kconfig | 9 Alcor Micro card readers support access to many types of memory cards, 20 Realtek card readers support access to many types of memory cards, 31 Realtek card reader supports access to many types of memory cards,
|
/drivers/leds/ |
D | leds-sunfire.c | 127 struct led_type *types) in sunfire_led_generic_probe() argument 146 lp->name = types[i].name; in sunfire_led_generic_probe() 148 lp->brightness_set = types[i].handler; in sunfire_led_generic_probe() 149 lp->default_trigger = types[i].default_trigger; in sunfire_led_generic_probe()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_pmu.c | 93 struct amdgpu_pmu_type *types; member 139 .types = vega20_types, 174 .types = NULL, 204 .types = arcturus_types, 508 config->types[i].num_of_type, in init_pmu_entry_by_type_and_add() 509 config->types[i].type); in init_pmu_entry_by_type_and_add() 510 total_num_events += config->types[i].num_of_type; in init_pmu_entry_by_type_and_add()
|
D | amdgpu_irq.c | 463 atomic_t *types; in amdgpu_irq_add_id() local 465 types = kcalloc(source->num_types, sizeof(atomic_t), in amdgpu_irq_add_id() 467 if (!types) in amdgpu_irq_add_id() 470 source->enabled_types = types; in amdgpu_irq_add_id()
|
/drivers/remoteproc/ |
D | remoteproc_debugfs.c | 277 static const char * const types[] = {"carveout", "devmem", "trace", "vdev"}; in rproc_rsc_table_show() local 299 seq_printf(seq, "Entry %d is of type %s\n", i, types[hdr->type]); in rproc_rsc_table_show() 309 seq_printf(seq, "Entry %d is of type %s\n", i, types[hdr->type]); in rproc_rsc_table_show() 319 seq_printf(seq, "Entry %d is of type %s\n", i, types[hdr->type]); in rproc_rsc_table_show() 327 seq_printf(seq, "Entry %d is of type %s\n", i, types[hdr->type]); in rproc_rsc_table_show()
|
/drivers/media/test-drivers/ |
D | vim2m.c | 93 u32 types; member 100 .types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT, 104 .types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT, 108 .types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT, 112 .types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT, 116 .types = MEM2MEM_CAPTURE, 120 .types = MEM2MEM_CAPTURE, 124 .types = MEM2MEM_CAPTURE, 128 .types = MEM2MEM_CAPTURE, 132 .types = MEM2MEM_CAPTURE, [all …]
|
/drivers/scsi/ |
D | ses.c | 528 int types = ses_dev->page1_num_types; in ses_enclosure_data_process() local 565 for (i = 0; i < types; i++, type_ptr += 4) { in ses_enclosure_data_process() 667 int i, types, len, components = 0; in ses_intf_add() local 707 types = 0; in ses_intf_add() 717 types += type_ptr[2]; in ses_intf_add() 722 ses_dev->page1_num_types = types; in ses_intf_add() 724 for (i = 0; i < types && type_ptr < buf + len; i++, type_ptr += 4) { in ses_intf_add()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/ |
D | mxms.c | 96 mxms_foreach(struct nvkm_mxm *mxm, u8 types, in mxms_foreach() argument 169 if (types & (1 << type)) { in mxms_foreach()
|
/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | base.c | 135 notify->types = 1; in nvkm_fifo_kevent_ctor() 153 notify->types = 1; in nvkm_fifo_cevent_ctor() 196 notify->types = 1; in nvkm_fifo_uevent_ctor()
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_ptp.c | 532 u8 types; in mlxsw_sp1_ptp_got_packet() local 539 types = ingress ? mlxsw_sp_port->ptp.ing_types : in mlxsw_sp1_ptp_got_packet() 541 if (!types) in mlxsw_sp1_ptp_got_packet() 556 if (!((1 << key.message_type) & types)) in mlxsw_sp1_ptp_got_packet() 574 u8 types; in mlxsw_sp1_ptp_got_timestamp() local 582 types = ingress ? mlxsw_sp_port->ptp.ing_types : in mlxsw_sp1_ptp_got_timestamp() 588 if (!((1 << message_type) & types)) in mlxsw_sp1_ptp_got_timestamp()
|
/drivers/media/platform/ti-vpe/ |
D | vpe.c | 228 u8 types; /* CAPTURE and/or OUTPUT */ member 237 .types = VPE_FMT_TYPE_CAPTURE | VPE_FMT_TYPE_OUTPUT, 245 .types = VPE_FMT_TYPE_CAPTURE | VPE_FMT_TYPE_OUTPUT, 253 .types = VPE_FMT_TYPE_CAPTURE | VPE_FMT_TYPE_OUTPUT, 261 .types = VPE_FMT_TYPE_CAPTURE | VPE_FMT_TYPE_OUTPUT, 268 .types = VPE_FMT_TYPE_CAPTURE | VPE_FMT_TYPE_OUTPUT, 275 .types = VPE_FMT_TYPE_CAPTURE, 282 .types = VPE_FMT_TYPE_CAPTURE, 289 .types = VPE_FMT_TYPE_CAPTURE, 296 .types = VPE_FMT_TYPE_CAPTURE, [all …]
|