Home
last modified time | relevance | path

Searched refs:types (Results 1 – 25 of 123) sorted by relevance

12345

/drivers/gpu/drm/nouveau/nvkm/core/
Devent.c26 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()
Dnotify.c31 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/
Dvgpu.c128 gvt->types = kcalloc(num_types, sizeof(struct intel_vgpu_type), in intel_gvt_init_vgpu_types()
130 if (!gvt->types) in intel_gvt_init_vgpu_types()
138 gvt->types[i].low_gm_size = vgpu_types[i].low_mm; in intel_gvt_init_vgpu_types()
139 gvt->types[i].high_gm_size = vgpu_types[i].high_mm; in intel_gvt_init_vgpu_types()
140 gvt->types[i].fence = vgpu_types[i].fence; in intel_gvt_init_vgpu_types()
146 gvt->types[i].weight = vgpu_types[i].weight; in intel_gvt_init_vgpu_types()
147 gvt->types[i].resolution = vgpu_types[i].edid; in intel_gvt_init_vgpu_types()
148 gvt->types[i].avail_instance = min(low_avail / vgpu_types[i].low_mm, in intel_gvt_init_vgpu_types()
152 sprintf(gvt->types[i].name, "GVTg_V4_%s", in intel_gvt_init_vgpu_types()
155 sprintf(gvt->types[i].name, "GVTg_V5_%s", in intel_gvt_init_vgpu_types()
[all …]
/drivers/pci/hotplug/
Drpaphp_core.c161 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()
316 const __be32 **names, const __be32 **types, in is_php_dn() argument
329 *types = drc_types; in is_php_dn()
354 const __be32 *indexes, *names, *types, *power_domains; in rpaphp_add_slot() local
[all …]
/drivers/acpi/acpica/
Ddbexec.c121 status = acpi_db_convert_to_object(info->types[i], in acpi_db_execute_method()
342 acpi_db_execute(char *name, char **args, acpi_object_type *types, u32 flags) in acpi_db_execute() argument
394 acpi_gbl_db_method_info.types = types; in acpi_db_execute()
523 local_info.types = local_info.arg_types; in acpi_db_method_thread()
637 char **arguments, acpi_object_type *types) in acpi_db_create_execution_thread() argument
646 acpi_gbl_db_method_info.types = acpi_gbl_db_method_info.arg_types; in acpi_db_create_execution_thread()
654 acpi_gbl_db_method_info.arg_types[i] = *types; in acpi_db_create_execution_thread()
655 types++; in acpi_db_create_execution_thread()
797 acpi_gbl_db_method_info.types = acpi_gbl_db_method_info.arg_types; in acpi_db_create_execution_threads()
Dutpredef.c343 u32 acpi_ut_get_resource_bit_width(char *buffer, u16 types) in acpi_ut_get_resource_bit_width() argument
354 if (types & 1) { in acpi_ut_get_resource_bit_width()
360 types >>= 1; in acpi_ut_get_resource_bit_width()
Dacdebug.h190 acpi_db_execute(char *name, char **args, acpi_object_type *types, u32 flags);
194 char **arguments, acpi_object_type *types);
/drivers/gpu/drm/nouveau/include/nvkm/core/
Devent.h31 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,
Dnotify.h19 u32 types; member
/drivers/media/platform/
Dimx-pxp.c62 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 …]
Dvim2m.c93 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 …]
Dmx2_emmaprp.c150 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()
Dm2m-deinterlace.c42 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/misc/cardreader/
DKconfig9 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/
Dleds-sunfire.c127 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/remoteproc/
Dremoteproc_debugfs.c190 static const char * const types[] = {"carveout", "devmem", "trace", "vdev"}; in rproc_rsc_table_show() local
212 seq_printf(seq, "Entry %d is of type %s\n", i, types[hdr->type]); in rproc_rsc_table_show()
222 seq_printf(seq, "Entry %d is of type %s\n", i, types[hdr->type]); in rproc_rsc_table_show()
232 seq_printf(seq, "Entry %d is of type %s\n", i, types[hdr->type]); in rproc_rsc_table_show()
240 seq_printf(seq, "Entry %d is of type %s\n", i, types[hdr->type]); in rproc_rsc_table_show()
/drivers/mtd/
Dmtdpart.c743 parse_mtd_partitions(&slave->mtd, parts[i].types, NULL); in add_mtd_partitions()
960 int parse_mtd_partitions(struct mtd_info *master, const char *const *types, in parse_mtd_partitions() argument
967 if (!types) in parse_mtd_partitions()
968 types = mtd_is_partition(master) ? default_subpartition_types : in parse_mtd_partitions()
971 for ( ; *types; types++) { in parse_mtd_partitions()
977 if (!strcmp(*types, "ofpart")) { in parse_mtd_partitions()
981 *types); in parse_mtd_partitions()
982 parser = mtd_part_parser_get(*types); in parse_mtd_partitions()
983 if (!parser && !request_module("%s", *types)) in parse_mtd_partitions()
984 parser = mtd_part_parser_get(*types); in parse_mtd_partitions()
Dmtdcore.h18 int parse_mtd_partitions(struct mtd_info *master, const char * const *types,
/drivers/scsi/
Dses.c505 int types = ses_dev->page1_num_types; in ses_enclosure_data_process() local
542 for (i = 0; i < types; i++, type_ptr += 4) { in ses_enclosure_data_process()
631 int i, types, len, components = 0; in ses_intf_add() local
671 types = 0; in ses_intf_add()
681 types += type_ptr[2]; in ses_intf_add()
686 ses_dev->page1_num_types = types; in ses_intf_add()
688 for (i = 0; i < types && type_ptr < buf + len; i++, type_ptr += 4) { in ses_intf_add()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_irq.c354 atomic_t *types; in amdgpu_irq_add_id() local
356 types = kcalloc(source->num_types, sizeof(atomic_t), in amdgpu_irq_add_id()
358 if (!types) in amdgpu_irq_add_id()
361 source->enabled_types = types; in amdgpu_irq_add_id()
/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/
Dmxms.c96 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/
Dbase.c135 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/
Dspectrum_ptp.c550 u8 types; in mlxsw_sp1_ptp_got_packet() local
557 types = ingress ? mlxsw_sp_port->ptp.ing_types : in mlxsw_sp1_ptp_got_packet()
559 if (!types) in mlxsw_sp1_ptp_got_packet()
574 if (!((1 << key.message_type) & types)) in mlxsw_sp1_ptp_got_packet()
591 u8 types; in mlxsw_sp1_ptp_got_timestamp() local
597 types = ingress ? mlxsw_sp_port->ptp.ing_types : in mlxsw_sp1_ptp_got_timestamp()
603 if (!((1 << message_type) & types)) in mlxsw_sp1_ptp_got_timestamp()
/drivers/net/wireless/ath/ath9k/
Dinit.c826 { .max = 2048, .types = BIT(NL80211_IFTYPE_STATION) },
827 { .max = 8, .types =
832 { .max = 1, .types = BIT(NL80211_IFTYPE_P2P_CLIENT) |
838 { .max = 2048, .types = BIT(NL80211_IFTYPE_WDS) },
845 { .max = 2, .types = BIT(NL80211_IFTYPE_STATION) |
849 { .max = 1, .types = BIT(NL80211_IFTYPE_ADHOC) },
850 { .max = 1, .types = BIT(NL80211_IFTYPE_P2P_DEVICE) },
/drivers/media/platform/ti-vpe/
Dvpe.c228 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,
260 .types = VPE_FMT_TYPE_CAPTURE | VPE_FMT_TYPE_OUTPUT,
267 .types = VPE_FMT_TYPE_CAPTURE,
274 .types = VPE_FMT_TYPE_CAPTURE,
281 .types = VPE_FMT_TYPE_CAPTURE,
288 .types = VPE_FMT_TYPE_CAPTURE,
295 .types = VPE_FMT_TYPE_CAPTURE,
[all …]

12345