Home
last modified time | relevance | path

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

1234

/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.h30 void nvkm_event_get(struct nvkm_event *, u32 types, int index);
31 void nvkm_event_put(struct nvkm_event *, u32 types, int index);
32 void nvkm_event_send(struct nvkm_event *, u32 types, int index,
Dnotify.h18 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/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()
364 acpi_db_execute(char *name, char **args, acpi_object_type * types, u32 flags) in acpi_db_execute() argument
408 acpi_gbl_db_method_info.types = types; in acpi_db_execute()
539 local_info.types = local_info.arg_types; in acpi_db_method_thread()
707 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/gpu/drm/amd/amdgpu/
Damdgpu_irq.c305 atomic_t *types; in amdgpu_irq_add_id() local
307 types = kcalloc(source->num_types, sizeof(atomic_t), in amdgpu_irq_add_id()
309 if (!types) in amdgpu_irq_add_id()
312 source->enabled_types = types; in amdgpu_irq_add_id()
/drivers/mtd/
Dmtdpart.c778 int parse_mtd_partitions(struct mtd_info *master, const char *const *types, in parse_mtd_partitions() argument
785 if (!types) in parse_mtd_partitions()
786 types = default_mtd_part_types; in parse_mtd_partitions()
788 for ( ; *types; types++) { in parse_mtd_partitions()
789 pr_debug("%s: parsing partitions %s\n", master->name, *types); in parse_mtd_partitions()
790 parser = get_partition_parser(*types); in parse_mtd_partitions()
791 if (!parser && !request_module("%s", *types)) in parse_mtd_partitions()
792 parser = get_partition_parser(*types); in parse_mtd_partitions()
Dmtdcore.h13 int parse_mtd_partitions(struct mtd_info *master, const char * const *types,
/drivers/scsi/
Dses.c482 int types = ses_dev->page1_num_types; in ses_enclosure_data_process() local
519 for (i = 0; i < types; i++, type_ptr += 4) { in ses_enclosure_data_process()
621 int i, types, len, components = 0; in ses_intf_add() local
660 types = 0; in ses_intf_add()
670 types += type_ptr[2]; in ses_intf_add()
675 ses_dev->page1_num_types = types; in ses_intf_add()
677 for (i = 0; i < types && type_ptr < buf + len; i++, type_ptr += 4) { in ses_intf_add()
/drivers/net/wireless/ti/wl18xx/
Dmain.c1809 .types = BIT(NL80211_IFTYPE_STATION),
1813 .types = BIT(NL80211_IFTYPE_AP) |
1819 .types = BIT(NL80211_IFTYPE_P2P_DEVICE),
1826 .types = BIT(NL80211_IFTYPE_AP),
1830 .types = BIT(NL80211_IFTYPE_P2P_DEVICE),
1837 .types = BIT(NL80211_IFTYPE_STATION),
1841 .types = BIT(NL80211_IFTYPE_AP),
1845 .types = BIT(NL80211_IFTYPE_P2P_CLIENT),
1849 .types = BIT(NL80211_IFTYPE_P2P_DEVICE),
1856 .types = BIT(NL80211_IFTYPE_STATION),
[all …]
/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/net/wireless/ath/ath9k/
Dinit.c725 { .max = 2048, .types = BIT(NL80211_IFTYPE_STATION) },
726 { .max = 8, .types =
731 { .max = 1, .types = BIT(NL80211_IFTYPE_P2P_CLIENT) |
736 { .max = 2048, .types = BIT(NL80211_IFTYPE_WDS) },
742 { .max = 2, .types = BIT(NL80211_IFTYPE_STATION) |
746 { .max = 1, .types = BIT(NL80211_IFTYPE_ADHOC) },
747 { .max = 1, .types = BIT(NL80211_IFTYPE_P2P_DEVICE) },
763 { .max = 1, .types = BIT(NL80211_IFTYPE_AP) |
/drivers/gpu/drm/
Ddrm_info.c83 const char *types[] = { "FB", "REG", "SHM", "AGP", "SG", "PCI" }; in drm_vm_info() local
97 type = types[map->type]; in drm_vm_info()
/drivers/media/platform/
Dmx2_emmaprp.c155 u32 types; member
162 .types = MEM2MEM_CAPTURE,
167 .types = MEM2MEM_OUTPUT,
418 if (formats[i].types & type) { in enum_fmt()
529 if (!fmt || !(fmt->types & MEM2MEM_CAPTURE)) { in vidioc_try_fmt_vid_cap()
546 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()
479 if (formats[i].types & type) { in enum_fmt()
578 if (!fmt || !(fmt->types & MEM2MEM_CAPTURE)) in vidioc_try_fmt_vid_cap()
597 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,
445 if (formats[i].types & type) { in enum_fmt()
545 if (!(fmt->types & MEM2MEM_CAPTURE)) { in vidioc_try_fmt_vid_cap()
567 if (!(fmt->types & MEM2MEM_OUTPUT)) { in vidioc_try_fmt_vid_out()
/drivers/hwmon/
Ddell-smm-hwmon.c254 static int types[2] = { INT_MIN, INT_MIN }; in i8k_get_fan_type() local
256 if (types[fan] == INT_MIN) in i8k_get_fan_type()
257 types[fan] = _i8k_get_fan_type(fan); in i8k_get_fan_type()
259 return types[fan]; in i8k_get_fan_type()
/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dbase.c99 notify->types = 1; in nvkm_fifo_event_ctor()
136 notify->types = 1; in nvkm_fifo_uevent_ctor()
/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/media/platform/ti-vpe/
Dvpe.c231 u8 types; /* CAPTURE and/or OUTPUT */ member
241 .types = VPE_FMT_TYPE_CAPTURE | VPE_FMT_TYPE_OUTPUT,
250 .types = VPE_FMT_TYPE_CAPTURE | VPE_FMT_TYPE_OUTPUT,
259 .types = VPE_FMT_TYPE_CAPTURE | VPE_FMT_TYPE_OUTPUT,
267 .types = VPE_FMT_TYPE_CAPTURE | VPE_FMT_TYPE_OUTPUT,
275 .types = VPE_FMT_TYPE_CAPTURE,
283 .types = VPE_FMT_TYPE_CAPTURE,
291 .types = VPE_FMT_TYPE_CAPTURE,
299 .types = VPE_FMT_TYPE_CAPTURE,
1368 if (vpe_formats[i].types & type) { in __enum_fmt()
[all …]
/drivers/misc/ti-st/
DKconfig15 packet types.

1234