Home
last modified time | relevance | path

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

1234

/drivers/gpu/drm/i915/gvt/
Dvgpu.c121 gvt->types = kzalloc(num_types * sizeof(struct intel_vgpu_type), in intel_gvt_init_vgpu_types()
123 if (!gvt->types) in intel_gvt_init_vgpu_types()
131 gvt->types[i].low_gm_size = vgpu_types[i].low_mm; in intel_gvt_init_vgpu_types()
132 gvt->types[i].high_gm_size = vgpu_types[i].high_mm; in intel_gvt_init_vgpu_types()
133 gvt->types[i].fence = vgpu_types[i].fence; in intel_gvt_init_vgpu_types()
139 gvt->types[i].weight = vgpu_types[i].weight; in intel_gvt_init_vgpu_types()
140 gvt->types[i].resolution = vgpu_types[i].edid; in intel_gvt_init_vgpu_types()
141 gvt->types[i].avail_instance = min(low_avail / vgpu_types[i].low_mm, in intel_gvt_init_vgpu_types()
145 sprintf(gvt->types[i].name, "GVTg_V4_%s", in intel_gvt_init_vgpu_types()
148 sprintf(gvt->types[i].name, "GVTg_V5_%s", in intel_gvt_init_vgpu_types()
[all …]
/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/pci/hotplug/
Drpaphp_core.c174 const int *indexes, *names, *types, *domains; in get_children_props() local
178 types = of_get_property(dn, "ibm,drc-types", NULL); in get_children_props()
181 if (!indexes || !names || !types || !domains) { in get_children_props()
192 *drc_types = types; in get_children_props()
207 const int *types, *domains; in rpaphp_get_drc_props() local
218 rc = get_children_props(dn->parent, &indexes, &names, &types, &domains); in rpaphp_get_drc_props()
224 type_tmp = (char *) &types[1]; in rpaphp_get_drc_props()
274 const int **names, const int **types, const int **power_domains) in is_php_dn() argument
286 *types = drc_types; in is_php_dn()
311 const int *indexes, *names, *types, *power_domains; in rpaphp_add_slot() local
[all …]
/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/leds/
Dleds-sunfire.c126 struct led_type *types) in sunfire_led_generic_probe() argument
145 lp->name = types[i].name; in sunfire_led_generic_probe()
147 lp->brightness_set = types[i].handler; in sunfire_led_generic_probe()
148 lp->default_trigger = types[i].default_trigger; in sunfire_led_generic_probe()
/drivers/mtd/
Dmtdpart.c383 static int mtd_parse_part(struct mtd_part *slave, const char *const *types) in mtd_parse_part() argument
388 err = parse_mtd_partitions(&slave->mtd, types, &parsed, NULL); in mtd_parse_part()
818 if (parts[i].types) in add_mtd_partitions()
819 mtd_parse_part(slave, parts[i].types); in add_mtd_partitions()
942 int parse_mtd_partitions(struct mtd_info *master, const char *const *types, in parse_mtd_partitions() argument
949 if (!types) in parse_mtd_partitions()
950 types = default_mtd_part_types; in parse_mtd_partitions()
952 for ( ; *types; types++) { in parse_mtd_partitions()
953 pr_debug("%s: parsing partitions %s\n", master->name, *types); in parse_mtd_partitions()
954 parser = mtd_part_parser_get(*types); in parse_mtd_partitions()
[all …]
Dmtdcore.h17 int parse_mtd_partitions(struct mtd_info *master, const char * const *types,
/drivers/acpi/acpica/
Dutpredef.c377 u32 acpi_ut_get_resource_bit_width(char *buffer, u16 types) in acpi_ut_get_resource_bit_width() argument
388 if (types & 1) { in acpi_ut_get_resource_bit_width()
394 types >>= 1; in acpi_ut_get_resource_bit_width()
Ddbexec.c155 status = acpi_db_convert_to_object(info->types[i], in acpi_db_execute_method()
376 acpi_db_execute(char *name, char **args, acpi_object_type *types, u32 flags) in acpi_db_execute() argument
428 acpi_gbl_db_method_info.types = types; in acpi_db_execute()
557 local_info.types = local_info.arg_types; in acpi_db_method_thread()
725 acpi_gbl_db_method_info.types = acpi_gbl_db_method_info.arg_types; in acpi_db_create_execution_threads()
Ddbnames.c528 info->types[node->type]++; in acpi_db_walk_for_object_counts()
613 acpi_os_printf("%8u %s\n", object_info->types[i], in acpi_db_display_objects()
616 total_objects += object_info->types[i]; in acpi_db_display_objects()
/drivers/net/wireless/ti/wl18xx/
Dmain.c1829 .types = BIT(NL80211_IFTYPE_STATION),
1833 .types = BIT(NL80211_IFTYPE_AP)
1842 .types = BIT(NL80211_IFTYPE_P2P_DEVICE),
1849 .types = BIT(NL80211_IFTYPE_AP),
1854 .types = BIT(NL80211_IFTYPE_MESH_POINT),
1859 .types = BIT(NL80211_IFTYPE_P2P_DEVICE),
1866 .types = BIT(NL80211_IFTYPE_STATION),
1870 .types = BIT(NL80211_IFTYPE_AP),
1874 .types = BIT(NL80211_IFTYPE_P2P_CLIENT),
1878 .types = BIT(NL80211_IFTYPE_P2P_DEVICE),
[all …]
/drivers/scsi/
Dses.c521 int types = ses_dev->page1_num_types; in ses_enclosure_data_process() local
558 for (i = 0; i < types; i++, type_ptr += 4) { in ses_enclosure_data_process()
647 int i, types, len, components = 0; in ses_intf_add() local
687 types = 0; in ses_intf_add()
697 types += type_ptr[2]; in ses_intf_add()
702 ses_dev->page1_num_types = types; in ses_intf_add()
704 for (i = 0; i < types && type_ptr < buf + len; i++, type_ptr += 4) { in ses_intf_add()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_irq.c336 atomic_t *types; in amdgpu_irq_add_id() local
338 types = kcalloc(source->num_types, sizeof(atomic_t), in amdgpu_irq_add_id()
340 if (!types) in amdgpu_irq_add_id()
343 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.c127 notify->types = 1; in nvkm_fifo_kevent_ctor()
145 notify->types = 1; in nvkm_fifo_cevent_ctor()
188 notify->types = 1; in nvkm_fifo_uevent_ctor()
/drivers/media/platform/
Dmx2_emmaprp.c155 u32 types; member
162 .types = MEM2MEM_CAPTURE,
167 .types = MEM2MEM_OUTPUT,
417 if (formats[i].types & type) { in enum_fmt()
528 if (!fmt || !(fmt->types & MEM2MEM_CAPTURE)) { in vidioc_try_fmt_vid_cap()
545 if (!fmt || !(fmt->types & MEM2MEM_OUTPUT)) { in vidioc_try_fmt_vid_out()
Dm2m-deinterlace.c47 u32 types; member
54 .types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT,
59 .types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT,
117 if ((fmt->types & f->type) && in find_format()
478 if (formats[i].types & type) { in enum_fmt()
577 if (!fmt || !(fmt->types & MEM2MEM_CAPTURE)) in vidioc_try_fmt_vid_cap()
596 if (!fmt || !(fmt->types & MEM2MEM_OUTPUT)) in vidioc_try_fmt_vid_out()
Dvim2m.c86 u32 types; member
94 .types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT,
100 .types = MEM2MEM_OUTPUT,
448 if (formats[i].types & type) { in enum_fmt()
551 if (!(fmt->types & MEM2MEM_CAPTURE)) { in vidioc_try_fmt_vid_cap()
576 if (!(fmt->types & MEM2MEM_OUTPUT)) { in vidioc_try_fmt_vid_out()
/drivers/net/wireless/ath/ath9k/
Dinit.c772 { .max = 2048, .types = BIT(NL80211_IFTYPE_STATION) },
773 { .max = 8, .types =
778 { .max = 1, .types = BIT(NL80211_IFTYPE_P2P_CLIENT) |
784 { .max = 2048, .types = BIT(NL80211_IFTYPE_WDS) },
791 { .max = 2, .types = BIT(NL80211_IFTYPE_STATION) |
795 { .max = 1, .types = BIT(NL80211_IFTYPE_ADHOC) },
796 { .max = 1, .types = BIT(NL80211_IFTYPE_P2P_DEVICE) },
/drivers/media/platform/ti-vpe/
Dvpe.c232 u8 types; /* CAPTURE and/or OUTPUT */ member
242 .types = VPE_FMT_TYPE_CAPTURE | VPE_FMT_TYPE_OUTPUT,
251 .types = VPE_FMT_TYPE_CAPTURE | VPE_FMT_TYPE_OUTPUT,
260 .types = VPE_FMT_TYPE_CAPTURE | VPE_FMT_TYPE_OUTPUT,
268 .types = VPE_FMT_TYPE_CAPTURE | VPE_FMT_TYPE_OUTPUT,
276 .types = VPE_FMT_TYPE_CAPTURE,
284 .types = VPE_FMT_TYPE_CAPTURE,
292 .types = VPE_FMT_TYPE_CAPTURE,
300 .types = VPE_FMT_TYPE_CAPTURE,
308 .types = VPE_FMT_TYPE_CAPTURE,
[all …]
/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dchangf119.c36 gf119_disp_chan_uevent_init(struct nvkm_event *event, int types, int index) in gf119_disp_chan_uevent_init() argument
/drivers/staging/rtlwifi/
DTODO3 - convert any remaining unusual variable types
/drivers/misc/ti-st/
DKconfig15 packet types.

1234