Home
last modified time | relevance | path

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

123456

/drivers/gpu/drm/nouveau/nvkm/engine/disp/
A Duconn.c39 args.v0.types = 0; in nvkm_uconn_uevent_gsp()
41 args.v0.types |= NVIF_CONN_EVENT_V0_PLUG; in nvkm_uconn_uevent_gsp()
43 args.v0.types |= NVIF_CONN_EVENT_V0_UNPLUG; in nvkm_uconn_uevent_gsp()
45 args.v0.types |= NVIF_CONN_EVENT_V0_IRQ; in nvkm_uconn_uevent_gsp()
56 args.v0.types = 0; in nvkm_uconn_uevent_aux()
58 args.v0.types |= NVIF_CONN_EVENT_V0_PLUG; in nvkm_uconn_uevent_aux()
60 args.v0.types |= NVIF_CONN_EVENT_V0_UNPLUG; in nvkm_uconn_uevent_aux()
62 args.v0.types |= NVIF_CONN_EVENT_V0_IRQ; in nvkm_uconn_uevent_aux()
73 args.v0.types = 0; in nvkm_uconn_uevent_gpio()
75 args.v0.types |= NVIF_CONN_EVENT_V0_PLUG; in nvkm_uconn_uevent_gpio()
[all …]
/drivers/gpu/drm/nouveau/nvkm/core/
A Devent.c26 nvkm_event_put(struct nvkm_event *event, u32 types, int index) in nvkm_event_put() argument
30 nvkm_trace(event->subdev, "event: decr %08x on %d\n", types, index); in nvkm_event_put()
32 while (types) { in nvkm_event_put()
33 int type = __ffs(types); types &= ~(1 << type); in nvkm_event_put()
43 nvkm_event_get(struct nvkm_event *event, u32 types, int index) in nvkm_event_get() argument
47 nvkm_trace(event->subdev, "event: incr %08x on %d\n", types, index); in nvkm_event_get()
49 while (types) { in nvkm_event_get()
50 int type = __ffs(types); types &= ~(1 << type); in nvkm_event_get()
/drivers/pci/hotplug/
A Drpaphp_core.c163 const __be32 *indexes, *names, *types, *domains; in get_children_props() local
167 types = of_get_property(dn, "ibm,drc-types", NULL); in get_children_props()
170 if (!indexes || !names || !types || !domains) { in get_children_props()
181 *drc_types = types; in get_children_props()
200 const __be32 *types, *domains; in rpaphp_check_drc_props_v1() local
209 type_tmp = (char *) &types[1]; in rpaphp_check_drc_props_v1()
317 const __be32 **names, const __be32 **types, in is_php_dn() argument
330 *types = drc_types; in is_php_dn()
380 const __be32 *indexes, *names, *types, *power_domains; in rpaphp_drc_add_slot() local
384 if (!is_php_dn(dn, &indexes, &names, &types, &power_domains)) in rpaphp_drc_add_slot()
[all …]
/drivers/gpu/drm/i915/gvt/
A Dvgpu.c112 gvt->types = kcalloc(num_types, sizeof(struct intel_vgpu_type), in intel_gvt_init_vgpu_types()
114 if (!gvt->types) in intel_gvt_init_vgpu_types()
130 sprintf(gvt->types[i].name, "GVTg_V%u_%s", in intel_gvt_init_vgpu_types()
132 gvt->types[i].conf = conf; in intel_gvt_init_vgpu_types()
135 i, gvt->types[i].name, in intel_gvt_init_vgpu_types()
141 gvt->mdev_types[i] = &gvt->types[i].type; in intel_gvt_init_vgpu_types()
142 gvt->mdev_types[i]->sysfs_name = gvt->types[i].name; in intel_gvt_init_vgpu_types()
151 kfree(gvt->types); in intel_gvt_init_vgpu_types()
158 kfree(gvt->types); in intel_gvt_clean_vgpu_types()
/drivers/dpll/zl3073x/
A Dprop.c338 const char *types[ZL3073X_MAX_CHANNELS]; in zl3073x_prop_dpll_type_get() local
343 types, ARRAY_SIZE(types)); in zl3073x_prop_dpll_type_get()
349 if (!strcmp(types[index], "pps")) in zl3073x_prop_dpll_type_get()
351 else if (!strcmp(types[index], "eec")) in zl3073x_prop_dpll_type_get()
355 types[index]); in zl3073x_prop_dpll_type_get()
/drivers/gpu/drm/nouveau/nvif/
A Dconn.c30 nvif_conn_event_ctor(struct nvif_conn *conn, const char *name, nvif_event_func func, u8 types, in nvif_conn_event_ctor() argument
40 args_conn->types = types; in nvif_conn_event_ctor()
44 NVIF_DEBUG(&conn->object, "[NEW EVENT:HPD types:%02x]", types); in nvif_conn_event_ctor()
/drivers/acpi/acpica/
A Ddbexec.c122 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()
A Dutpredef.c342 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()
/drivers/mtd/
A Dmtdpart.c429 ret = parse_mtd_partitions(child, parts[i].types, NULL); in add_mtd_partitions()
668 int parse_mtd_partitions(struct mtd_info *master, const char *const *types, in parse_mtd_partitions() argument
675 if (!types) in parse_mtd_partitions()
676 types = mtd_is_partition(master) ? default_subpartition_types : in parse_mtd_partitions()
679 for ( ; *types; types++) { in parse_mtd_partitions()
685 if (!strcmp(*types, "ofpart")) { in parse_mtd_partitions()
689 *types); in parse_mtd_partitions()
690 parser = mtd_part_parser_get(*types); in parse_mtd_partitions()
691 if (!parser && !request_module("%s", *types)) in parse_mtd_partitions()
692 parser = mtd_part_parser_get(*types); in parse_mtd_partitions()
/drivers/gpu/drm/nova/
A Duapi.rs10 pub struct $name(::kernel::types::Opaque<$inner>);
12 impl ::core::convert::From<&::kernel::types::Opaque<$inner>> for &$name {
13 fn from(value: &::kernel::types::Opaque<$inner>) -> Self {
/drivers/media/platform/nxp/
A Dimx-pxp.c70 u32 types; member
78 .types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT,
83 .types = MEM2MEM_CAPTURE,
87 .types = MEM2MEM_CAPTURE,
103 .types = MEM2MEM_CAPTURE,
116 .types = MEM2MEM_OUTPUT,
124 .types = MEM2MEM_OUTPUT,
152 .types = MEM2MEM_OUTPUT,
156 .types = MEM2MEM_OUTPUT,
1146 if (formats[i].types & type) { in pxp_enum_fmt()
[all …]
A 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()
/drivers/misc/cardreader/
A DKconfig9 Alcor Micro card readers support access to many types of memory cards,
21 Realtek card readers support access to many types of memory cards,
32 Realtek card reader supports access to many types of memory cards,
/drivers/leds/
A 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/gpu/drm/amd/amdgpu/
A Damdgpu_pmu.c93 struct amdgpu_pmu_type *types; member
139 .types = vega20_types,
174 .types = NULL,
204 .types = arcturus_types,
526 config->types[i].num_of_type, in init_pmu_entry_by_type_and_add()
527 config->types[i].type); in init_pmu_entry_by_type_and_add()
528 total_num_events += config->types[i].num_of_type; in init_pmu_entry_by_type_and_add()
A Damdgpu_irq.c415 atomic_t *types; in amdgpu_irq_add_id() local
417 types = kcalloc(source->num_types, sizeof(atomic_t), in amdgpu_irq_add_id()
419 if (!types) in amdgpu_irq_add_id()
422 source->enabled_types = types; in amdgpu_irq_add_id()
/drivers/remoteproc/
A Dremoteproc_debugfs.c277 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/
A Dvim2m.c93 u32 types; member
116 .types = MEM2MEM_CAPTURE,
120 .types = MEM2MEM_CAPTURE,
124 .types = MEM2MEM_CAPTURE,
128 .types = MEM2MEM_CAPTURE,
132 .types = MEM2MEM_CAPTURE,
674 if (formats[i].types & type) { in enum_fmt()
871 if (!(fmt->types & MEM2MEM_CAPTURE)) { in vidioc_try_fmt_vid_cap()
900 if (!(fmt->types & MEM2MEM_CAPTURE)) { in vidioc_try_fmt_vid_cap_mplane()
929 if (!(fmt->types & MEM2MEM_OUTPUT)) { in vidioc_try_fmt_vid_out()
[all …]
/drivers/parisc/
A Dled.c278 struct led_type *types) in hppa_led_generic_probe() argument
291 lp->name = types[i].name; in hppa_led_generic_probe()
293 lp->brightness_set = types[i].handler; in hppa_led_generic_probe()
294 lp->default_trigger = types[i].default_trigger; in hppa_led_generic_probe()
/drivers/vfio/mdev/
A Dmdev_core.c60 struct mdev_driver *mdev_driver, struct mdev_type **types, in mdev_register_parent() argument
71 parent->types = types; in mdev_register_parent()
A Dmdev_sysfs.c213 mdev_type_remove(parent->types[i]); in parent_remove_sysfs_files()
227 ret = mdev_type_add(parent, parent->types[i]); in parent_create_sysfs_files()
235 mdev_type_remove(parent->types[i]); in parent_create_sysfs_files()
/drivers/scsi/
A Dses.c560 int types = ses_dev->page1_num_types; in ses_enclosure_data_process() local
597 for (i = 0; i < types; i++, type_ptr += 4) { in ses_enclosure_data_process()
698 int i, types, len, components = 0; in ses_intf_add() local
738 types = 0; in ses_intf_add()
748 types += type_ptr[2]; in ses_intf_add()
753 ses_dev->page1_num_types = types; in ses_intf_add()
755 for (i = 0; i < types && type_ptr < buf + len; i++, type_ptr += 4) { in ses_intf_add()
/drivers/media/platform/nxp/dw100/
A Ddw100.c117 u32 types; member
123 .types = DW100_FMT_OUTPUT | DW100_FMT_CAPTURE,
128 .types = DW100_FMT_OUTPUT | DW100_FMT_CAPTURE,
133 .types = DW100_FMT_CAPTURE,
138 .types = DW100_FMT_CAPTURE,
143 .types = DW100_FMT_OUTPUT | DW100_FMT_CAPTURE,
148 .types = DW100_FMT_OUTPUT | DW100_FMT_CAPTURE,
153 .types = DW100_FMT_OUTPUT | DW100_FMT_CAPTURE,
158 .types = DW100_FMT_OUTPUT | DW100_FMT_CAPTURE,
163 .types = DW100_FMT_CAPTURE,
[all …]
/drivers/net/wireless/mediatek/mt76/
A Dmt792x_core.c13 .types = BIT(NL80211_IFTYPE_STATION)
17 .types = BIT(NL80211_IFTYPE_AP)
34 .types = BIT(NL80211_IFTYPE_STATION) |
39 .types = BIT(NL80211_IFTYPE_P2P_GO)
43 .types = BIT(NL80211_IFTYPE_P2P_DEVICE)
50 .types = BIT(NL80211_IFTYPE_STATION) |
55 .types = BIT(NL80211_IFTYPE_AP)
59 .types = BIT(NL80211_IFTYPE_P2P_DEVICE)
/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/
A Dmxms.c96 mxms_foreach(struct nvkm_mxm *mxm, u8 types, in mxms_foreach() argument
169 if (types & (1 << type)) { in mxms_foreach()

Completed in 53 milliseconds

123456