arch/arm64/include/asm/sysreg.h
1127
#include <linux/types.h>
arch/csky/lib/string.c
109
union types dest = { .as_u8 = s };
arch/csky/lib/string.c
33
union types d = { .as_u8 = dest };
arch/powerpc/include/asm/security_features.h
24
void do_stf_barrier_fixups(enum stf_barrier_type types);
arch/powerpc/include/asm/setup.h
58
void do_rfi_flush_fixups(enum l1d_flush_type types);
arch/powerpc/include/asm/setup.h
64
void do_uaccess_flush_fixups(enum l1d_flush_type types);
arch/powerpc/include/asm/setup.h
65
void do_entry_flush_fixups(enum l1d_flush_type types);
arch/powerpc/kernel/security.c
688
void setup_rfi_flush(enum l1d_flush_type types, bool enable)
arch/powerpc/kernel/security.c
690
if (types & L1D_FLUSH_FALLBACK) {
arch/powerpc/kernel/security.c
695
if (types & L1D_FLUSH_ORI)
arch/powerpc/kernel/security.c
698
if (types & L1D_FLUSH_MTTRIG)
arch/powerpc/kernel/security.c
701
enabled_flush_types = types;
arch/powerpc/lib/feature-fixups.c
189
static void do_stf_entry_barrier_fixups(enum stf_barrier_type types)
arch/powerpc/lib/feature-fixups.c
203
if (types & STF_BARRIER_FALLBACK) {
arch/powerpc/lib/feature-fixups.c
207
} else if (types & STF_BARRIER_EIEIO) {
arch/powerpc/lib/feature-fixups.c
209
} else if (types & STF_BARRIER_SYNC_ORI) {
arch/powerpc/lib/feature-fixups.c
215
i = do_patch_entry_fixups(start, end, instrs, types & STF_BARRIER_FALLBACK,
arch/powerpc/lib/feature-fixups.c
219
(types == STF_BARRIER_NONE) ? "no" :
arch/powerpc/lib/feature-fixups.c
220
(types == STF_BARRIER_FALLBACK) ? "fallback" :
arch/powerpc/lib/feature-fixups.c
221
(types == STF_BARRIER_EIEIO) ? "eieio" :
arch/powerpc/lib/feature-fixups.c
222
(types == (STF_BARRIER_SYNC_ORI)) ? "hwsync"
arch/powerpc/lib/feature-fixups.c
226
static void do_stf_exit_barrier_fixups(enum stf_barrier_type types)
arch/powerpc/lib/feature-fixups.c
243
if (types & STF_BARRIER_FALLBACK || types & STF_BARRIER_SYNC_ORI) {
arch/powerpc/lib/feature-fixups.c
258
} else if (types & STF_BARRIER_EIEIO) {
arch/powerpc/lib/feature-fixups.c
265
(types == STF_BARRIER_NONE) ? "no" :
arch/powerpc/lib/feature-fixups.c
266
(types == STF_BARRIER_FALLBACK) ? "fallback" :
arch/powerpc/lib/feature-fixups.c
267
(types == STF_BARRIER_EIEIO) ? "eieio" :
arch/powerpc/lib/feature-fixups.c
268
(types == (STF_BARRIER_SYNC_ORI)) ? "hwsync"
arch/powerpc/lib/feature-fixups.c
278
enum stf_barrier_type *types = data;
arch/powerpc/lib/feature-fixups.c
280
do_stf_entry_barrier_fixups(*types);
arch/powerpc/lib/feature-fixups.c
281
do_stf_exit_barrier_fixups(*types);
arch/powerpc/lib/feature-fixups.c
286
void do_stf_barrier_fixups(enum stf_barrier_type types)
arch/powerpc/lib/feature-fixups.c
305
stop_machine(__do_stf_barrier_fixups, &types, NULL);
arch/powerpc/lib/feature-fixups.c
307
if ((types & STF_BARRIER_FALLBACK) || (types & STF_BARRIER_SYNC_ORI))
arch/powerpc/lib/feature-fixups.c
318
void do_uaccess_flush_fixups(enum l1d_flush_type types)
arch/powerpc/lib/feature-fixups.c
333
if (types == L1D_FLUSH_FALLBACK) {
arch/powerpc/lib/feature-fixups.c
338
if (types & L1D_FLUSH_ORI) {
arch/powerpc/lib/feature-fixups.c
343
if (types & L1D_FLUSH_MTTRIG)
arch/powerpc/lib/feature-fixups.c
349
(types == L1D_FLUSH_NONE) ? "no" :
arch/powerpc/lib/feature-fixups.c
350
(types == L1D_FLUSH_FALLBACK) ? "fallback displacement" :
arch/powerpc/lib/feature-fixups.c
351
(types & L1D_FLUSH_ORI) ? (types & L1D_FLUSH_MTTRIG)
arch/powerpc/lib/feature-fixups.c
354
(types & L1D_FLUSH_MTTRIG) ? "mttrig type"
arch/powerpc/lib/feature-fixups.c
360
enum l1d_flush_type types = *(enum l1d_flush_type *)data;
arch/powerpc/lib/feature-fixups.c
370
if (types == L1D_FLUSH_FALLBACK) {
arch/powerpc/lib/feature-fixups.c
376
if (types & L1D_FLUSH_ORI) {
arch/powerpc/lib/feature-fixups.c
381
if (types & L1D_FLUSH_MTTRIG)
arch/powerpc/lib/feature-fixups.c
411
i = do_patch_entry_fixups(start, end, instrs, types == L1D_FLUSH_FALLBACK,
arch/powerpc/lib/feature-fixups.c
416
i += do_patch_entry_fixups(start, end, instrs, types == L1D_FLUSH_FALLBACK,
arch/powerpc/lib/feature-fixups.c
420
(types == L1D_FLUSH_NONE) ? "no" :
arch/powerpc/lib/feature-fixups.c
421
(types == L1D_FLUSH_FALLBACK) ? "fallback displacement" :
arch/powerpc/lib/feature-fixups.c
422
(types & L1D_FLUSH_ORI) ? (types & L1D_FLUSH_MTTRIG)
arch/powerpc/lib/feature-fixups.c
425
(types & L1D_FLUSH_MTTRIG) ? "mttrig type"
arch/powerpc/lib/feature-fixups.c
431
void do_entry_flush_fixups(enum l1d_flush_type types)
arch/powerpc/lib/feature-fixups.c
439
stop_machine(__do_entry_flush_fixups, &types, NULL);
arch/powerpc/lib/feature-fixups.c
444
enum l1d_flush_type types = *(enum l1d_flush_type *)data;
arch/powerpc/lib/feature-fixups.c
456
if (types & L1D_FLUSH_FALLBACK)
arch/powerpc/lib/feature-fixups.c
461
if (types & L1D_FLUSH_ORI) {
arch/powerpc/lib/feature-fixups.c
466
if (types & L1D_FLUSH_MTTRIG)
arch/powerpc/lib/feature-fixups.c
472
(types == L1D_FLUSH_NONE) ? "no" :
arch/powerpc/lib/feature-fixups.c
473
(types == L1D_FLUSH_FALLBACK) ? "fallback displacement" :
arch/powerpc/lib/feature-fixups.c
474
(types & L1D_FLUSH_ORI) ? (types & L1D_FLUSH_MTTRIG)
arch/powerpc/lib/feature-fixups.c
477
(types & L1D_FLUSH_MTTRIG) ? "mttrig type"
arch/powerpc/lib/feature-fixups.c
483
void do_rfi_flush_fixups(enum l1d_flush_type types)
arch/powerpc/lib/feature-fixups.c
496
stop_machine(__do_rfi_flush_fixups, &types, NULL);
arch/powerpc/lib/feature-fixups.c
498
if (types & L1D_FLUSH_FALLBACK)
arch/powerpc/platforms/pseries/setup.c
599
enum l1d_flush_type types;
arch/powerpc/platforms/pseries/setup.c
620
types = L1D_FLUSH_FALLBACK;
arch/powerpc/platforms/pseries/setup.c
623
types |= L1D_FLUSH_MTTRIG;
arch/powerpc/platforms/pseries/setup.c
626
types |= L1D_FLUSH_ORI;
arch/powerpc/platforms/pseries/setup.c
631
setup_rfi_flush(types, enable);
arch/sparc/kernel/traps_64.c
1878
static const char *types[SUN4V_ERR_TYPE_NUM] = {
arch/sparc/kernel/traps_64.c
1889
return types[type];
arch/x86/events/intel/uncore.c
1048
uncore_types_init(struct intel_uncore_type **types)
arch/x86/events/intel/uncore.c
1052
for (; *types; types++) {
arch/x86/events/intel/uncore.c
1053
ret = uncore_type_init(*types);
arch/x86/events/intel/uncore.c
1077
struct intel_uncore_type **types = uncore_pci_uncores;
arch/x86/events/intel/uncore.c
1082
for (; *types; types++) {
arch/x86/events/intel/uncore.c
1083
type = *types;
arch/x86/events/intel/uncore.c
1358
struct intel_uncore_type **types = uncore_pci_uncores;
arch/x86/events/intel/uncore.c
1365
for (; *types; types++) {
arch/x86/events/intel/uncore.c
1366
type = *types;
arch/x86/events/intel/uncore.c
1498
static void uncore_box_unref(struct intel_uncore_type **types, int id)
arch/x86/events/intel/uncore.c
1505
for (; *types; types++) {
arch/x86/events/intel/uncore.c
1506
type = *types;
arch/x86/events/intel/uncore.c
1544
static int allocate_boxes(struct intel_uncore_type **types,
arch/x86/events/intel/uncore.c
1554
for (; *types; types++) {
arch/x86/events/intel/uncore.c
1555
type = *types;
arch/x86/events/intel/uncore.c
1583
static int uncore_box_ref(struct intel_uncore_type **types,
arch/x86/events/intel/uncore.c
1591
ret = allocate_boxes(types, id, cpu);
arch/x86/events/intel/uncore.c
1595
for (; *types; types++) {
arch/x86/events/intel/uncore.c
1596
type = *types;
arch/x86/events/intel/uncore.c
1649
struct intel_uncore_type **types = uncore_msr_uncores;
arch/x86/events/intel/uncore.c
1652
for (; *types; types++) {
arch/x86/events/intel/uncore.c
1653
ret = type_pmu_register(*types);
arch/x86/events/intel/uncore.c
1680
struct intel_uncore_type **types = uncore_mmio_uncores;
arch/x86/events/intel/uncore.c
1683
ret = uncore_types_init(types);
arch/x86/events/intel/uncore.c
1687
for (; *types; types++) {
arch/x86/events/intel/uncore.c
1688
ret = type_pmu_register(*types);
arch/x86/events/intel/uncore.c
981
static void uncore_types_exit(struct intel_uncore_type **types)
arch/x86/events/intel/uncore.c
983
for (; *types; types++)
arch/x86/events/intel/uncore.c
984
uncore_type_exit(*types);
arch/x86/events/intel/uncore_snbep.c
6304
struct intel_uncore_type **types, **start_types;
arch/x86/events/intel/uncore_snbep.c
6307
start_types = types = intel_uncore_generic_init_uncores(type_id, num_extra);
arch/x86/events/intel/uncore_snbep.c
6310
for (; *types; types++) {
arch/x86/events/intel/uncore_snbep.c
6311
if ((*types)->type_id >= max_num_types)
arch/x86/events/intel/uncore_snbep.c
6313
uncore_type_customized_copy(*types, uncores[(*types)->type_id]);
arch/x86/events/intel/uncore_snbep.c
6316
for (i = 0; i < num_extra; i++, types++)
arch/x86/events/intel/uncore_snbep.c
6317
*types = extra[i];
arch/x86/events/intel/uncore_snbep.c
6323
uncore_find_type_by_id(struct intel_uncore_type **types, int type_id)
arch/x86/events/intel/uncore_snbep.c
6325
for (; *types; types++) {
arch/x86/events/intel/uncore_snbep.c
6326
if (type_id == (*types)->type_id)
arch/x86/events/intel/uncore_snbep.c
6327
return *types;
arch/x86/events/intel/uncore_snbep.c
6333
static int uncore_type_max_boxes(struct intel_uncore_type **types,
arch/x86/events/intel/uncore_snbep.c
6341
type = uncore_find_type_by_id(types, type_id);
arch/x86/kernel/cpu/cacheinfo.c
149
static const unsigned char types[] = { 1, 2, 3, 3 };
arch/x86/kernel/cpu/cacheinfo.c
208
eax->split.type = types[index];
arch/x86/kernel/cpu/mtrr/generic.c
623
print_fixed(unsigned base, unsigned step, const mtrr_type *types)
arch/x86/kernel/cpu/mtrr/generic.c
627
for (i = 0; i < 8; ++i, ++types, base += step) {
arch/x86/kernel/cpu/mtrr/generic.c
629
update_fixed_last(base, base + step, *types);
arch/x86/kernel/cpu/mtrr/generic.c
632
if (last_fixed_end == base && last_fixed_type == *types) {
arch/x86/kernel/cpu/mtrr/generic.c
638
update_fixed_last(base, base + step, *types);
arch/x86/kvm/mmu/tdp_mmu.c
100
if (WARN_ON_ONCE(!(types & KVM_VALID_ROOTS)))
arch/x86/kvm/mmu/tdp_mmu.c
103
if (root->role.invalid && !(types & KVM_INVALID_ROOTS))
arch/x86/kvm/mmu/tdp_mmu.c
107
return types & KVM_DIRECT_ROOTS;
arch/x86/kvm/mmu/tdp_mmu.c
108
return types & KVM_MIRROR_ROOTS;
arch/x86/kvm/mmu/tdp_mmu.c
123
enum kvm_tdp_mmu_root_types types)
arch/x86/kvm/mmu/tdp_mmu.c
1356
enum kvm_tdp_mmu_root_types types;
arch/x86/kvm/mmu/tdp_mmu.c
1359
types = kvm_gfn_range_filter_to_root_types(kvm, range->attr_filter) | KVM_INVALID_ROOTS;
arch/x86/kvm/mmu/tdp_mmu.c
1361
__for_each_tdp_mmu_root_yield_safe(kvm, root, range->slot->as_id, types)
arch/x86/kvm/mmu/tdp_mmu.c
1402
enum kvm_tdp_mmu_root_types types;
arch/x86/kvm/mmu/tdp_mmu.c
1407
types = kvm_gfn_range_filter_to_root_types(kvm, range->attr_filter);
arch/x86/kvm/mmu/tdp_mmu.c
1415
WARN_ON(types & ~KVM_VALID_ROOTS);
arch/x86/kvm/mmu/tdp_mmu.c
1418
for_each_tdp_mmu_root_rcu(kvm, root, range->slot->as_id, types) {
arch/x86/kvm/mmu/tdp_mmu.c
144
if (tdp_mmu_root_match(next_root, types) &&
arch/x86/kvm/mmu/tdp_mmu.c
98
enum kvm_tdp_mmu_root_types types)
arch/x86/kvm/vmx/nested.c
5959
u32 vmx_instruction_info, types;
arch/x86/kvm/vmx/nested.c
5983
types = (vmx->nested.msrs.ept_caps >> VMX_EPT_EXTENT_SHIFT) & 6;
arch/x86/kvm/vmx/nested.c
5985
if (type >= 32 || !(types & (1 << type)))
arch/x86/kvm/vmx/nested.c
6040
unsigned long type, types;
arch/x86/kvm/vmx/nested.c
6064
types = (vmx->nested.msrs.vpid_caps &
arch/x86/kvm/vmx/nested.c
6067
if (type >= 32 || !(types & (1 << type)))
arch/x86/kvm/vmx/nested.c
614
u32 msr, int types)
arch/x86/kvm/vmx/nested.c
616
if (types & MSR_TYPE_R)
arch/x86/kvm/vmx/nested.c
619
if (types & MSR_TYPE_W)
drivers/acpi/acpica/acdebug.h
196
acpi_db_execute(char *name, char **args, acpi_object_type *types, u32 flags);
drivers/acpi/acpica/acdebug.h
200
char **arguments, acpi_object_type *types);
drivers/acpi/acpica/aclocal.h
1210
acpi_object_type *types;
drivers/acpi/acpica/aclocal.h
1240
u32 types[ACPI_TOTAL_TYPES];
drivers/acpi/acpica/acutils.h
500
u32 acpi_ut_get_resource_bit_width(char *buffer, u16 types);
drivers/acpi/acpica/dbexec.c
122
status = acpi_db_convert_to_object(info->types[i],
drivers/acpi/acpica/dbexec.c
345
acpi_db_execute(char *name, char **args, acpi_object_type *types, u32 flags)
drivers/acpi/acpica/dbexec.c
413
acpi_gbl_db_method_info.types = types;
drivers/acpi/acpica/dbexec.c
544
local_info.types = local_info.arg_types;
drivers/acpi/acpica/dbexec.c
658
char **arguments, acpi_object_type *types)
drivers/acpi/acpica/dbexec.c
667
acpi_gbl_db_method_info.types = acpi_gbl_db_method_info.arg_types;
drivers/acpi/acpica/dbexec.c
675
acpi_gbl_db_method_info.arg_types[i] = *types;
drivers/acpi/acpica/dbexec.c
676
types++;
drivers/acpi/acpica/dbexec.c
818
acpi_gbl_db_method_info.types = acpi_gbl_db_method_info.arg_types;
drivers/acpi/acpica/dbnames.c
500
info->types[node->type]++;
drivers/acpi/acpica/dbnames.c
672
acpi_os_printf("%8u %s\n", object_info->types[i],
drivers/acpi/acpica/dbnames.c
675
total_objects += object_info->types[i];
drivers/acpi/acpica/utpredef.c
342
u32 acpi_ut_get_resource_bit_width(char *buffer, u16 types)
drivers/acpi/acpica/utpredef.c
353
if (types & 1) {
drivers/acpi/acpica/utpredef.c
359
types >>= 1;
drivers/acpi/resource.c
1074
unsigned long types)
drivers/acpi/resource.c
1115
return (type & types) ? 0 : 1;
drivers/ata/pata_it821x.c
615
static const char *types[5] = {
drivers/ata/pata_it821x.c
641
n, mbuf, types[buf[52]], id, cbl);
drivers/ata/pata_it821x.c
644
n, mbuf, types[buf[52]], buf[53], id, cbl);
drivers/block/ublk_drv.c
332
__u32 types;
drivers/block/ublk_drv.c
4325
if (!(ub->params.types & UBLK_PARAM_TYPE_BASIC))
drivers/block/ublk_drv.c
4328
if (ub->params.types & UBLK_PARAM_TYPE_DISCARD) {
drivers/block/ublk_drv.c
4338
if (ub->params.types & UBLK_PARAM_TYPE_ZONED) {
drivers/block/ublk_drv.c
4359
if (ub->params.types & UBLK_PARAM_TYPE_DMA_ALIGN)
drivers/block/ublk_drv.c
4362
if (ub->params.types & UBLK_PARAM_TYPE_SEGMENT) {
drivers/block/ublk_drv.c
4368
if (ub->params.types & UBLK_PARAM_TYPE_INTEGRITY) {
drivers/block/ublk_drv.c
4850
ub->params.types |= UBLK_PARAM_TYPE_DEVT;
drivers/block/ublk_drv.c
4896
if (ph.len > header->len || !ph.len || !ph.types)
drivers/block/ublk_drv.c
4913
ub->params.types &= UBLK_PARAM_TYPE_ALL;
drivers/block/ublk_drv.c
4916
ub->params.types = 0;
drivers/block/ublk_drv.c
859
if (ub->params.types & UBLK_PARAM_TYPE_BASIC) {
drivers/block/ublk_drv.c
876
if (ub->params.types & UBLK_PARAM_TYPE_DISCARD) {
drivers/block/ublk_drv.c
888
if (ub->params.types & UBLK_PARAM_TYPE_DEVT)
drivers/block/ublk_drv.c
891
if (ub->params.types & UBLK_PARAM_TYPE_ZONED)
drivers/block/ublk_drv.c
896
if (ub->params.types & UBLK_PARAM_TYPE_DMA_ALIGN) {
drivers/block/ublk_drv.c
906
if (ub->params.types & UBLK_PARAM_TYPE_SEGMENT) {
drivers/block/ublk_drv.c
918
if (ub->params.types & UBLK_PARAM_TYPE_INTEGRITY) {
drivers/block/ublk_drv.c
948
if (ub->params.types & UBLK_PARAM_TYPE_ZONED)
drivers/dpll/zl3073x/prop.c
361
const char *types[ZL3073X_MAX_CHANNELS];
drivers/dpll/zl3073x/prop.c
366
types, ARRAY_SIZE(types));
drivers/dpll/zl3073x/prop.c
372
if (!strcmp(types[index], "pps"))
drivers/dpll/zl3073x/prop.c
374
else if (!strcmp(types[index], "eec"))
drivers/dpll/zl3073x/prop.c
378
types[index]);
drivers/firmware/cirrus/cs_dsp.c
2104
static const int types[] = {
drivers/firmware/cirrus/cs_dsp.c
2110
return cs_dsp_create_regions(dsp, id, ver, ARRAY_SIZE(types), types, bases);
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
449
atomic_t *types;
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
451
types = kzalloc_objs(atomic_t, source->num_types);
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
452
if (!types)
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
455
source->enabled_types = types;
drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c
139
.types = vega20_types,
drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c
174
.types = NULL,
drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c
204
.types = arcturus_types,
drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c
525
config->types[i].num_of_type,
drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c
526
config->types[i].type);
drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c
527
total_num_events += config->types[i].num_of_type;
drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c
93
struct amdgpu_pmu_type *types;
drivers/gpu/drm/exynos/exynos_drm_g2d.c
1060
buf_info->types[reg_type] = BUF_TYPE_USERPTR;
drivers/gpu/drm/exynos/exynos_drm_g2d.c
1063
buf_info->types[reg_type] = BUF_TYPE_GEM;
drivers/gpu/drm/exynos/exynos_drm_g2d.c
196
unsigned int types[MAX_REG_TYPE_NR];
drivers/gpu/drm/exynos/exynos_drm_g2d.c
712
if (buf_info->types[reg_type] == BUF_TYPE_GEM) {
drivers/gpu/drm/exynos/exynos_drm_g2d.c
785
if (buf_info->types[reg_type] == BUF_TYPE_GEM)
drivers/gpu/drm/exynos/exynos_drm_g2d.c
792
buf_info->types[reg_type] = 0;
drivers/gpu/drm/i915/gvt/gvt.h
344
struct intel_vgpu_type *types;
drivers/gpu/drm/i915/gvt/vgpu.c
116
gvt->types = kzalloc_objs(struct intel_vgpu_type, num_types);
drivers/gpu/drm/i915/gvt/vgpu.c
117
if (!gvt->types)
drivers/gpu/drm/i915/gvt/vgpu.c
132
sprintf(gvt->types[i].name, "GVTg_V%u_%s",
drivers/gpu/drm/i915/gvt/vgpu.c
134
gvt->types[i].conf = conf;
drivers/gpu/drm/i915/gvt/vgpu.c
137
i, gvt->types[i].name,
drivers/gpu/drm/i915/gvt/vgpu.c
143
gvt->mdev_types[i] = &gvt->types[i].type;
drivers/gpu/drm/i915/gvt/vgpu.c
144
gvt->mdev_types[i]->sysfs_name = gvt->types[i].name;
drivers/gpu/drm/i915/gvt/vgpu.c
153
kfree(gvt->types);
drivers/gpu/drm/i915/gvt/vgpu.c
160
kfree(gvt->types);
drivers/gpu/drm/i915/selftests/i915_vma.c
1002
for (t = types; *t; t++) {
drivers/gpu/drm/i915/selftests/i915_vma.c
575
enum i915_gtt_view_type types[] = {
drivers/gpu/drm/i915/selftests/i915_vma.c
592
for (t = types; *t; t++) {
drivers/gpu/drm/i915/selftests/i915_vma.c
984
enum i915_gtt_view_type types[] = {
drivers/gpu/drm/i915/selftests/intel_memory_region.c
1306
static const u32 types[] = {
drivers/gpu/drm/i915/selftests/intel_memory_region.c
1323
for (j = 0; j < ARRAY_SIZE(types); ++j) {
drivers/gpu/drm/i915/selftests/intel_memory_region.c
1324
for (k = 0; k < ARRAY_SIZE(types); ++k) {
drivers/gpu/drm/i915/selftests/intel_memory_region.c
1328
types[j],
drivers/gpu/drm/i915/selftests/intel_memory_region.c
1329
types[k]);
drivers/gpu/drm/nouveau/include/nvif/conn.h
36
int nvif_conn_event_ctor(struct nvif_conn *, const char *name, nvif_event_func, u8 types,
drivers/gpu/drm/nouveau/include/nvif/if0011.h
29
__u8 types;
drivers/gpu/drm/nouveau/nouveau_connector.c
1220
nouveau_connector_hpd(nv_connector, rep->types);
drivers/gpu/drm/nouveau/nvif/conn.c
30
nvif_conn_event_ctor(struct nvif_conn *conn, const char *name, nvif_event_func func, u8 types,
drivers/gpu/drm/nouveau/nvif/conn.c
40
args_conn->types = types;
drivers/gpu/drm/nouveau/nvif/conn.c
44
NVIF_DEBUG(&conn->object, "[NEW EVENT:HPD types:%02x]", types);
drivers/gpu/drm/nouveau/nvkm/core/event.c
26
nvkm_event_put(struct nvkm_event *event, u32 types, int index)
drivers/gpu/drm/nouveau/nvkm/core/event.c
30
nvkm_trace(event->subdev, "event: decr %08x on %d\n", types, index);
drivers/gpu/drm/nouveau/nvkm/core/event.c
32
while (types) {
drivers/gpu/drm/nouveau/nvkm/core/event.c
33
int type = __ffs(types); types &= ~(1 << type);
drivers/gpu/drm/nouveau/nvkm/core/event.c
43
nvkm_event_get(struct nvkm_event *event, u32 types, int index)
drivers/gpu/drm/nouveau/nvkm/core/event.c
47
nvkm_trace(event->subdev, "event: incr %08x on %d\n", types, index);
drivers/gpu/drm/nouveau/nvkm/core/event.c
49
while (types) {
drivers/gpu/drm/nouveau/nvkm/core/event.c
50
int type = __ffs(types); types &= ~(1 << type);
drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c
489
gf119_disp_chan_uevent_init(struct nvkm_event *event, int types, int index)
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
529
nv50_disp_chan_uevent_init(struct nvkm_event *event, int types, int index)
drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c
122
if (args->v0.types & NVIF_CONN_EVENT_V0_PLUG ) bits |= NVKM_DPYID_PLUG;
drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c
123
if (args->v0.types & NVIF_CONN_EVENT_V0_UNPLUG) bits |= NVKM_DPYID_UNPLUG;
drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c
124
if (args->v0.types & NVIF_CONN_EVENT_V0_IRQ ) bits |= NVKM_DPYID_IRQ;
drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c
131
if (args->v0.types & NVIF_CONN_EVENT_V0_PLUG ) bits |= NVKM_I2C_PLUG;
drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c
132
if (args->v0.types & NVIF_CONN_EVENT_V0_UNPLUG) bits |= NVKM_I2C_UNPLUG;
drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c
133
if (args->v0.types & NVIF_CONN_EVENT_V0_IRQ ) bits |= NVKM_I2C_IRQ;
drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c
139
if (args->v0.types & NVIF_CONN_EVENT_V0_PLUG ) bits |= NVKM_GPIO_HI;
drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c
140
if (args->v0.types & NVIF_CONN_EVENT_V0_UNPLUG) bits |= NVKM_GPIO_LO;
drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c
141
if (args->v0.types & NVIF_CONN_EVENT_V0_IRQ) {
drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c
39
args.v0.types = 0;
drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c
41
args.v0.types |= NVIF_CONN_EVENT_V0_PLUG;
drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c
43
args.v0.types |= NVIF_CONN_EVENT_V0_UNPLUG;
drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c
45
args.v0.types |= NVIF_CONN_EVENT_V0_IRQ;
drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c
56
args.v0.types = 0;
drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c
58
args.v0.types |= NVIF_CONN_EVENT_V0_PLUG;
drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c
60
args.v0.types |= NVIF_CONN_EVENT_V0_UNPLUG;
drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c
62
args.v0.types |= NVIF_CONN_EVENT_V0_IRQ;
drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c
73
args.v0.types = 0;
drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c
75
args.v0.types |= NVIF_CONN_EVENT_V0_PLUG;
drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c
77
args.v0.types |= NVIF_CONN_EVENT_V0_UNPLUG;
drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c
169
if (types & (1 << type)) {
drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c
96
mxms_foreach(struct nvkm_mxm *mxm, u8 types,
drivers/greybus/interface.c
572
static const char * const types[] = {
drivers/greybus/interface.c
580
return types[intf->type];
drivers/hid/hid-core.c
2239
static const char *types[] = { "Device", "Pointer", "Mouse", "Device",
drivers/hid/hid-core.c
2304
(col->usage & 0xffff) < ARRAY_SIZE(types)) {
drivers/hid/hid-core.c
2305
type = types[col->usage & 0xffff];
drivers/hwmon/aquacomputer_d5next.c
737
static int aqc_set_ctrl_vals(struct aqc_data *priv, int *offsets, long *vals, int *types, int len)
drivers/hwmon/aquacomputer_d5next.c
746
switch (types[i]) {
drivers/leds/leds-sunfire.c
127
struct led_type *types)
drivers/leds/leds-sunfire.c
146
lp->name = types[i].name;
drivers/leds/leds-sunfire.c
148
lp->brightness_set = types[i].handler;
drivers/leds/leds-sunfire.c
149
lp->default_trigger = types[i].default_trigger;
drivers/media/platform/m2m-deinterlace.c
110
if ((fmt->types & f->type) &&
drivers/media/platform/m2m-deinterlace.c
42
u32 types;
drivers/media/platform/m2m-deinterlace.c
453
if (formats[i].types & type) {
drivers/media/platform/m2m-deinterlace.c
48
.types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT,
drivers/media/platform/m2m-deinterlace.c
52
.types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT,
drivers/media/platform/m2m-deinterlace.c
546
if (!fmt || !(fmt->types & MEM2MEM_CAPTURE))
drivers/media/platform/m2m-deinterlace.c
565
if (!fmt || !(fmt->types & MEM2MEM_OUTPUT))
drivers/media/platform/nxp/dw100/dw100.c
117
u32 types;
drivers/media/platform/nxp/dw100/dw100.c
123
.types = DW100_FMT_OUTPUT | DW100_FMT_CAPTURE,
drivers/media/platform/nxp/dw100/dw100.c
128
.types = DW100_FMT_OUTPUT | DW100_FMT_CAPTURE,
drivers/media/platform/nxp/dw100/dw100.c
133
.types = DW100_FMT_CAPTURE,
drivers/media/platform/nxp/dw100/dw100.c
138
.types = DW100_FMT_CAPTURE,
drivers/media/platform/nxp/dw100/dw100.c
143
.types = DW100_FMT_OUTPUT | DW100_FMT_CAPTURE,
drivers/media/platform/nxp/dw100/dw100.c
148
.types = DW100_FMT_OUTPUT | DW100_FMT_CAPTURE,
drivers/media/platform/nxp/dw100/dw100.c
153
.types = DW100_FMT_OUTPUT | DW100_FMT_CAPTURE,
drivers/media/platform/nxp/dw100/dw100.c
158
.types = DW100_FMT_OUTPUT | DW100_FMT_CAPTURE,
drivers/media/platform/nxp/dw100/dw100.c
163
.types = DW100_FMT_CAPTURE,
drivers/media/platform/nxp/dw100/dw100.c
168
.types = DW100_FMT_CAPTURE,
drivers/media/platform/nxp/dw100/dw100.c
190
if (fmt->fourcc == pixel_format && fmt->types & fmt_type)
drivers/media/platform/nxp/dw100/dw100.c
704
if (formats[i].types & to_dw100_fmt_type(f->type)) {
drivers/media/platform/nxp/imx-pxp.c
103
.types = MEM2MEM_CAPTURE,
drivers/media/platform/nxp/imx-pxp.c
107
.types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT,
drivers/media/platform/nxp/imx-pxp.c
111
.types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT,
drivers/media/platform/nxp/imx-pxp.c
1146
if (formats[i].types & type) {
drivers/media/platform/nxp/imx-pxp.c
116
.types = MEM2MEM_OUTPUT,
drivers/media/platform/nxp/imx-pxp.c
120
.types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT,
drivers/media/platform/nxp/imx-pxp.c
124
.types = MEM2MEM_OUTPUT,
drivers/media/platform/nxp/imx-pxp.c
128
.types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT,
drivers/media/platform/nxp/imx-pxp.c
1280
if (!(fmt->types & MEM2MEM_CAPTURE)) {
drivers/media/platform/nxp/imx-pxp.c
1308
if (!(fmt->types & MEM2MEM_OUTPUT)) {
drivers/media/platform/nxp/imx-pxp.c
132
.types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT,
drivers/media/platform/nxp/imx-pxp.c
136
.types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT,
drivers/media/platform/nxp/imx-pxp.c
140
.types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT,
drivers/media/platform/nxp/imx-pxp.c
144
.types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT,
drivers/media/platform/nxp/imx-pxp.c
148
.types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT,
drivers/media/platform/nxp/imx-pxp.c
152
.types = MEM2MEM_OUTPUT,
drivers/media/platform/nxp/imx-pxp.c
156
.types = MEM2MEM_OUTPUT,
drivers/media/platform/nxp/imx-pxp.c
70
u32 types;
drivers/media/platform/nxp/imx-pxp.c
78
.types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT,
drivers/media/platform/nxp/imx-pxp.c
83
.types = MEM2MEM_CAPTURE,
drivers/media/platform/nxp/imx-pxp.c
87
.types = MEM2MEM_CAPTURE,
drivers/media/platform/nxp/imx-pxp.c
91
.types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT,
drivers/media/platform/nxp/imx-pxp.c
95
.types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT,
drivers/media/platform/nxp/imx-pxp.c
99
.types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT,
drivers/media/platform/nxp/mx2_emmaprp.c
150
u32 types;
drivers/media/platform/nxp/mx2_emmaprp.c
156
.types = MEM2MEM_CAPTURE,
drivers/media/platform/nxp/mx2_emmaprp.c
160
.types = MEM2MEM_OUTPUT,
drivers/media/platform/nxp/mx2_emmaprp.c
399
if (formats[i].types & type) {
drivers/media/platform/nxp/mx2_emmaprp.c
504
if (!fmt || !(fmt->types & MEM2MEM_CAPTURE)) {
drivers/media/platform/nxp/mx2_emmaprp.c
521
if (!fmt || !(fmt->types & MEM2MEM_OUTPUT)) {
drivers/media/platform/renesas/rcar_fdp1.c
1378
if (fdp1_formats[i].types & type) {
drivers/media/platform/renesas/rcar_fdp1.c
1459
if (!fmt || !(fmt->types & FDP1_OUTPUT))
drivers/media/platform/renesas/rcar_fdp1.c
293
u8 types;
drivers/media/platform/renesas/rcar_jpu.c
238
u16 types;
drivers/media/platform/renesas/rcar_jpu.c
687
if (fmt->fourcc == pixelformat && fmt->types & fmt_flag)
drivers/media/platform/renesas/rcar_jpu.c
699
if (jpu_formats[i].types & type) {
drivers/media/platform/ti/vpe/vpe.c
1541
if (vpe_formats[i].types & type) {
drivers/media/platform/ti/vpe/vpe.c
1605
if (!fmt || !(fmt->types & type)) {
drivers/media/platform/ti/vpe/vpe.c
228
u8 types; /* CAPTURE and/or OUTPUT */
drivers/media/platform/ti/vpe/vpe.c
237
.types = VPE_FMT_TYPE_CAPTURE | VPE_FMT_TYPE_OUTPUT,
drivers/media/platform/ti/vpe/vpe.c
245
.types = VPE_FMT_TYPE_CAPTURE | VPE_FMT_TYPE_OUTPUT,
drivers/media/platform/ti/vpe/vpe.c
253
.types = VPE_FMT_TYPE_CAPTURE | VPE_FMT_TYPE_OUTPUT,
drivers/media/platform/ti/vpe/vpe.c
261
.types = VPE_FMT_TYPE_CAPTURE | VPE_FMT_TYPE_OUTPUT,
drivers/media/platform/ti/vpe/vpe.c
268
.types = VPE_FMT_TYPE_CAPTURE | VPE_FMT_TYPE_OUTPUT,
drivers/media/platform/ti/vpe/vpe.c
275
.types = VPE_FMT_TYPE_CAPTURE,
drivers/media/platform/ti/vpe/vpe.c
282
.types = VPE_FMT_TYPE_CAPTURE,
drivers/media/platform/ti/vpe/vpe.c
289
.types = VPE_FMT_TYPE_CAPTURE,
drivers/media/platform/ti/vpe/vpe.c
296
.types = VPE_FMT_TYPE_CAPTURE,
drivers/media/platform/ti/vpe/vpe.c
303
.types = VPE_FMT_TYPE_CAPTURE,
drivers/media/platform/ti/vpe/vpe.c
310
.types = VPE_FMT_TYPE_CAPTURE,
drivers/media/test-drivers/vim2m.c
100
.types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT,
drivers/media/test-drivers/vim2m.c
104
.types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT,
drivers/media/test-drivers/vim2m.c
108
.types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT,
drivers/media/test-drivers/vim2m.c
112
.types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT,
drivers/media/test-drivers/vim2m.c
116
.types = MEM2MEM_CAPTURE,
drivers/media/test-drivers/vim2m.c
120
.types = MEM2MEM_CAPTURE,
drivers/media/test-drivers/vim2m.c
124
.types = MEM2MEM_CAPTURE,
drivers/media/test-drivers/vim2m.c
128
.types = MEM2MEM_CAPTURE,
drivers/media/test-drivers/vim2m.c
132
.types = MEM2MEM_CAPTURE,
drivers/media/test-drivers/vim2m.c
669
if (formats[i].types & type) {
drivers/media/test-drivers/vim2m.c
856
if (!(fmt->types & MEM2MEM_CAPTURE)) {
drivers/media/test-drivers/vim2m.c
885
if (!(fmt->types & MEM2MEM_CAPTURE)) {
drivers/media/test-drivers/vim2m.c
914
if (!(fmt->types & MEM2MEM_OUTPUT)) {
drivers/media/test-drivers/vim2m.c
93
u32 types;
drivers/media/test-drivers/vim2m.c
941
if (!(fmt->types & MEM2MEM_OUTPUT)) {
drivers/mtd/mtdcore.c
1104
int mtd_device_parse_register(struct mtd_info *mtd, const char * const *types,
drivers/mtd/mtdcore.c
1124
ret = parse_mtd_partitions(mtd, types, parser_data);
drivers/mtd/mtdcore.h
19
int parse_mtd_partitions(struct mtd_info *master, const char * const *types,
drivers/mtd/mtdpart.c
429
ret = parse_mtd_partitions(child, parts[i].types, NULL);
drivers/mtd/mtdpart.c
671
int parse_mtd_partitions(struct mtd_info *master, const char *const *types,
drivers/mtd/mtdpart.c
678
if (!types)
drivers/mtd/mtdpart.c
679
types = mtd_is_partition(master) ? default_subpartition_types :
drivers/mtd/mtdpart.c
682
for ( ; *types; types++) {
drivers/mtd/mtdpart.c
688
if (!strcmp(*types, "ofpart")) {
drivers/mtd/mtdpart.c
692
*types);
drivers/mtd/mtdpart.c
693
parser = mtd_part_parser_get(*types);
drivers/mtd/mtdpart.c
694
if (!parser && !request_module("%s", *types))
drivers/mtd/mtdpart.c
695
parser = mtd_part_parser_get(*types);
drivers/mtd/parsers/bcm47xxpart.c
293
trx->types = trx_types;
drivers/mtd/parsers/bcm63xxpart.c
115
parts[curpart].types = bcm63xx_cfe_part_types;
drivers/net/dsa/mv88e6xxx/chip.c
1157
uint8_t **data, int types)
drivers/net/dsa/mv88e6xxx/chip.c
1164
if (stat->type & types)
drivers/net/dsa/mv88e6xxx/chip.c
1227
int types)
drivers/net/dsa/mv88e6xxx/chip.c
1234
if (stat->type & types)
drivers/net/ethernet/mellanox/mlx4/main.c
1159
enum mlx4_port_type types[MLX4_MAX_PORTS];
drivers/net/ethernet/mellanox/mlx4/main.c
1179
types[i] = priv->port[i+1].tmp_type ? priv->port[i+1].tmp_type :
drivers/net/ethernet/mellanox/mlx4/main.c
1181
if (types[i] == MLX4_PORT_TYPE_AUTO)
drivers/net/ethernet/mellanox/mlx4/main.c
1182
types[i] = mdev->caps.port_type[i+1];
drivers/net/ethernet/mellanox/mlx4/main.c
1199
mlx4_do_sense_ports(mdev, new_types, types);
drivers/net/ethernet/mellanox/mlx4/main.c
4217
enum mlx4_port_type *types,
drivers/net/ethernet/mellanox/mlx4/main.c
4228
err = mlx4_change_port_types(dev, types);
drivers/net/ethernet/mellanox/mlx5/core/main.c
1749
static const int types[] = {
drivers/net/ethernet/mellanox/mlx5/core/main.c
1782
for (i = 0; i < ARRAY_SIZE(types); i++) {
drivers/net/ethernet/mellanox/mlx5/core/main.c
1783
type = types[i];
drivers/net/ethernet/mellanox/mlx5/core/main.c
1794
for (i = 0; i < ARRAY_SIZE(types); i++) {
drivers/net/ethernet/mellanox/mlx5/core/main.c
1798
type = types[i];
drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c
712
u8 types;
drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c
719
types = ingress ? mlxsw_sp_port->ptp.ing_types :
drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c
721
if (!types)
drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c
736
if (!((1 << key.message_type) & types))
drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c
753
u8 types;
drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c
761
types = ingress ? mlxsw_sp_port->ptp.ing_types :
drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c
767
if (!((1 << message_type) & types))
drivers/net/ethernet/netronome/nfp/bpf/fw.h
46
__le32 types;
drivers/net/ethernet/netronome/nfp/bpf/main.c
275
bpf->maps.types = readl(&cap->types);
drivers/net/ethernet/netronome/nfp/bpf/main.h
158
u32 types;
drivers/net/ethernet/netronome/nfp/bpf/offload.c
336
if (!bpf->maps.types)
drivers/net/ethernet/netronome/nfp/bpf/offload.c
345
if (!(bpf->maps.types & 1 << offmap->map.map_type)) {
drivers/net/ethernet/pensando/ionic/ionic_if.h
1888
__le16 types;
drivers/net/ethernet/pensando/ionic/ionic_lif.c
1892
int ionic_lif_rss_config(struct ionic_lif *lif, const u16 types,
drivers/net/ethernet/pensando/ionic/ionic_lif.c
1906
lif->rss_types = types;
drivers/net/ethernet/pensando/ionic/ionic_lif.c
1907
ctx.cmd.lif_setattr.rss.types = cpu_to_le16(types);
drivers/net/ethernet/pensando/ionic/ionic_lif.h
409
int ionic_lif_rss_config(struct ionic_lif *lif, u16 types,
drivers/net/pse-pd/pd692x0.c
1829
priv->pcdev.types = ETHTOOL_PSE_C33;
drivers/net/pse-pd/pse_core.c
1970
return psec->pcdev->types & ETHTOOL_PSE_PODL;
drivers/net/pse-pd/pse_core.c
1976
return psec->pcdev->types & ETHTOOL_PSE_C33;
drivers/net/pse-pd/pse_regulator.c
126
priv->pcdev.types = ETHTOOL_PSE_PODL;
drivers/net/pse-pd/si3474.c
540
priv->pcdev.types = ETHTOOL_PSE_C33;
drivers/net/pse-pd/tps23881.c
1514
priv->pcdev.types = ETHTOOL_PSE_C33;
drivers/net/wireless/ath/ath10k/mac.c
9633
.types = BIT(NL80211_IFTYPE_STATION)
drivers/net/wireless/ath/ath10k/mac.c
9638
.types = BIT(NL80211_IFTYPE_P2P_GO)
drivers/net/wireless/ath/ath10k/mac.c
9642
.types = BIT(NL80211_IFTYPE_P2P_DEVICE)
drivers/net/wireless/ath/ath10k/mac.c
9646
.types = BIT(NL80211_IFTYPE_AP)
drivers/net/wireless/ath/ath10k/mac.c
9656
.types = BIT(NL80211_IFTYPE_AP)
drivers/net/wireless/ath/ath10k/mac.c
9663
.types = BIT(NL80211_IFTYPE_STATION)
drivers/net/wireless/ath/ath10k/mac.c
9697
.types = BIT(NL80211_IFTYPE_STATION),
drivers/net/wireless/ath/ath10k/mac.c
9701
.types = BIT(NL80211_IFTYPE_AP) |
drivers/net/wireless/ath/ath10k/mac.c
9710
.types = BIT(NL80211_IFTYPE_P2P_DEVICE),
drivers/net/wireless/ath/ath10k/mac.c
9717
.types = BIT(NL80211_IFTYPE_STATION),
drivers/net/wireless/ath/ath10k/mac.c
9721
.types = BIT(NL80211_IFTYPE_P2P_CLIENT),
drivers/net/wireless/ath/ath10k/mac.c
9725
.types = BIT(NL80211_IFTYPE_AP) |
drivers/net/wireless/ath/ath10k/mac.c
9733
.types = BIT(NL80211_IFTYPE_P2P_DEVICE),
drivers/net/wireless/ath/ath10k/mac.c
9740
.types = BIT(NL80211_IFTYPE_STATION),
drivers/net/wireless/ath/ath10k/mac.c
9744
.types = BIT(NL80211_IFTYPE_ADHOC),
drivers/net/wireless/ath/ath10k/mac.c
9790
.types = BIT(NL80211_IFTYPE_STATION),
drivers/net/wireless/ath/ath10k/mac.c
9794
.types = BIT(NL80211_IFTYPE_AP)
drivers/net/wireless/ath/ath11k/mac.c
10329
limits[0].types |= BIT(NL80211_IFTYPE_STATION);
drivers/net/wireless/ath/ath11k/mac.c
10331
limits[1].types |= BIT(NL80211_IFTYPE_AP);
drivers/net/wireless/ath/ath11k/mac.c
10334
limits[1].types |= BIT(NL80211_IFTYPE_MESH_POINT);
drivers/net/wireless/ath/ath11k/mac.c
10361
limits[1].types |= BIT(NL80211_IFTYPE_P2P_CLIENT) |
drivers/net/wireless/ath/ath11k/mac.c
10364
limits[2].types |= BIT(NL80211_IFTYPE_P2P_DEVICE);
drivers/net/wireless/ath/ath12k/mac.c
14130
limits[0].types |= BIT(NL80211_IFTYPE_STATION);
drivers/net/wireless/ath/ath12k/mac.c
14136
limits[1].types |= BIT(NL80211_IFTYPE_AP);
drivers/net/wireless/ath/ath12k/mac.c
14139
limits[1].types |= BIT(NL80211_IFTYPE_MESH_POINT);
drivers/net/wireless/ath/ath12k/mac.c
14142
limits[1].types |= BIT(NL80211_IFTYPE_P2P_CLIENT) |
drivers/net/wireless/ath/ath12k/mac.c
14145
limits[2].types |= BIT(NL80211_IFTYPE_P2P_DEVICE);
drivers/net/wireless/ath/ath12k/mac.c
14196
limits[j].types |= iter_comb->limits[j].types;
drivers/net/wireless/ath/ath5k/base.c
2558
{ .max = 2048, .types = BIT(NL80211_IFTYPE_STATION) },
drivers/net/wireless/ath/ath5k/base.c
2559
{ .max = 4, .types =
drivers/net/wireless/ath/ath9k/htc_drv_init.c
696
{ .max = 2, .types = BIT(NL80211_IFTYPE_STATION) |
drivers/net/wireless/ath/ath9k/htc_drv_init.c
698
{ .max = 2, .types = BIT(NL80211_IFTYPE_AP) |
drivers/net/wireless/ath/ath9k/init.c
831
{ .max = 2048, .types = BIT(NL80211_IFTYPE_STATION) },
drivers/net/wireless/ath/ath9k/init.c
832
{ .max = 8, .types =
drivers/net/wireless/ath/ath9k/init.c
837
{ .max = 1, .types = BIT(NL80211_IFTYPE_P2P_CLIENT) |
drivers/net/wireless/ath/ath9k/init.c
844
{ .max = 2, .types = BIT(NL80211_IFTYPE_STATION) |
drivers/net/wireless/ath/ath9k/init.c
848
{ .max = 1, .types = BIT(NL80211_IFTYPE_ADHOC) },
drivers/net/wireless/ath/ath9k/init.c
849
{ .max = 1, .types = BIT(NL80211_IFTYPE_P2P_DEVICE) },
drivers/net/wireless/ath/carl9170/fw.c
212
ar->if_comb_limits[0].types = if_comb_types;
drivers/net/wireless/ath/wil6210/cfg80211.c
2770
iface_limit[j].types = le16_to_cpu(limit[j].types);
drivers/net/wireless/ath/wil6210/cfg80211.c
2773
iface_limit[j].max, iface_limit[j].types);
drivers/net/wireless/ath/wil6210/fw.h
74
__le16 types; /* interface types (bit mask of enum nl80211_iftype) */
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
7512
c0_limits[i++].types = BIT(NL80211_IFTYPE_STATION);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
7515
c0_limits[i++].types = BIT(NL80211_IFTYPE_MONITOR);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
7519
c0_limits[i++].types = BIT(NL80211_IFTYPE_P2P_DEVICE);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
7521
c0_limits[i++].types = BIT(NL80211_IFTYPE_P2P_CLIENT) |
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
7526
c0_limits[i++].types = BIT(NL80211_IFTYPE_AP);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
7532
c0_limits[i++].types = BIT(NL80211_IFTYPE_AP);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
7536
c0_limits[i++].types = BIT(NL80211_IFTYPE_AP);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
7549
p2p_limits[i++].types = BIT(NL80211_IFTYPE_STATION);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
7551
p2p_limits[i++].types = BIT(NL80211_IFTYPE_AP);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
7553
p2p_limits[i++].types = BIT(NL80211_IFTYPE_P2P_CLIENT);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
7555
p2p_limits[i++].types = BIT(NL80211_IFTYPE_P2P_DEVICE);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
7570
mbss_limits[i++].types = BIT(NL80211_IFTYPE_AP);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
7573
mbss_limits[i++].types = BIT(NL80211_IFTYPE_MONITOR);
drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c
44
.types = BIT(NL80211_IFTYPE_STATION),
drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c
48
.types = BIT(NL80211_IFTYPE_AP),
drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c
55
.types = BIT(NL80211_IFTYPE_STATION),
drivers/net/wireless/intel/iwlwifi/mld/mac80211.c
42
.types = BIT(NL80211_IFTYPE_STATION), \
drivers/net/wireless/intel/iwlwifi/mld/mac80211.c
46
.types = ap | \
drivers/net/wireless/intel/iwlwifi/mld/mac80211.c
52
.types = BIT(NL80211_IFTYPE_P2P_DEVICE), \
drivers/net/wireless/intel/iwlwifi/mld/mac80211.c
66
.types = BIT(NL80211_IFTYPE_STATION),
drivers/net/wireless/intel/iwlwifi/mld/mac80211.c
70
.types = BIT(NL80211_IFTYPE_NAN),
drivers/net/wireless/intel/iwlwifi/mld/mac80211.c
75
.types = BIT(NL80211_IFTYPE_AP),
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
37
.types = BIT(NL80211_IFTYPE_STATION), \
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
41
.types = ap | \
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
47
.types = BIT(NL80211_IFTYPE_P2P_DEVICE), \
drivers/net/wireless/marvell/mwifiex/cfg80211.c
19
.types = BIT(NL80211_IFTYPE_STATION) |
drivers/net/wireless/marvell/mwl8k.c
6144
{ .max = 8, .types = BIT(NL80211_IFTYPE_AP) },
drivers/net/wireless/marvell/mwl8k.c
6145
{ .max = 1, .types = BIT(NL80211_IFTYPE_STATION) },
drivers/net/wireless/mediatek/mt76/mt7603/init.c
318
.types = BIT(NL80211_IFTYPE_ADHOC)
drivers/net/wireless/mediatek/mt76/mt7603/init.c
321
.types = BIT(NL80211_IFTYPE_STATION) |
drivers/net/wireless/mediatek/mt76/mt7615/init.c
233
.types = BIT(NL80211_IFTYPE_ADHOC)
drivers/net/wireless/mediatek/mt76/mt7615/init.c
236
.types = BIT(NL80211_IFTYPE_AP) |
drivers/net/wireless/mediatek/mt76/mt76x02_util.c
36
.types = BIT(NL80211_IFTYPE_ADHOC)
drivers/net/wireless/mediatek/mt76/mt76x02_util.c
39
.types = BIT(NL80211_IFTYPE_STATION) |
drivers/net/wireless/mediatek/mt76/mt76x02_util.c
52
.types = BIT(NL80211_IFTYPE_ADHOC)
drivers/net/wireless/mediatek/mt76/mt76x02_util.c
55
.types = BIT(NL80211_IFTYPE_STATION) |
drivers/net/wireless/mediatek/mt76/mt7915/init.c
18
.types = BIT(NL80211_IFTYPE_ADHOC)
drivers/net/wireless/mediatek/mt76/mt7915/init.c
21
.types = BIT(NL80211_IFTYPE_AP)
drivers/net/wireless/mediatek/mt76/mt7915/init.c
27
.types = BIT(NL80211_IFTYPE_STATION)
drivers/net/wireless/mediatek/mt76/mt792x_core.c
13
.types = BIT(NL80211_IFTYPE_STATION)
drivers/net/wireless/mediatek/mt76/mt792x_core.c
17
.types = BIT(NL80211_IFTYPE_AP)
drivers/net/wireless/mediatek/mt76/mt792x_core.c
34
.types = BIT(NL80211_IFTYPE_STATION) |
drivers/net/wireless/mediatek/mt76/mt792x_core.c
39
.types = BIT(NL80211_IFTYPE_P2P_GO)
drivers/net/wireless/mediatek/mt76/mt792x_core.c
43
.types = BIT(NL80211_IFTYPE_P2P_DEVICE)
drivers/net/wireless/mediatek/mt76/mt792x_core.c
50
.types = BIT(NL80211_IFTYPE_STATION) |
drivers/net/wireless/mediatek/mt76/mt792x_core.c
55
.types = BIT(NL80211_IFTYPE_AP)
drivers/net/wireless/mediatek/mt76/mt792x_core.c
59
.types = BIT(NL80211_IFTYPE_P2P_DEVICE)
drivers/net/wireless/mediatek/mt76/mt7996/init.c
19
.types = BIT(NL80211_IFTYPE_STATION)
drivers/net/wireless/mediatek/mt76/mt7996/init.c
42
.types = BIT(NL80211_IFTYPE_AP)
drivers/net/wireless/mediatek/mt76/mt7996/init.c
48
.types = BIT(NL80211_IFTYPE_STATION)
drivers/net/wireless/quantenna/qtnfmac/cfg80211.c
1113
interface_modes |= if_comb[i].limits[j].types;
drivers/net/wireless/quantenna/qtnfmac/commands.c
1100
limits[i].types =
drivers/net/wireless/quantenna/qtnfmac/commands.c
1104
limits[i].max, limits[i].types);
drivers/net/wireless/ralink/rt2x00/rt2x00dev.c
1339
if_limit->types = BIT(NL80211_IFTYPE_AP);
drivers/net/wireless/ralink/rt2x00/rt2x00dev.c
1341
if_limit->types |= BIT(NL80211_IFTYPE_MESH_POINT);
drivers/net/wireless/realtek/rtl8xxxu/core.c
7678
{ .max = 2, .types = BIT(NL80211_IFTYPE_STATION), },
drivers/net/wireless/realtek/rtl8xxxu/core.c
7679
{ .max = 1, .types = BIT(NL80211_IFTYPE_AP), },
drivers/net/wireless/realtek/rtw88/main.c
110
.types = BIT(NL80211_IFTYPE_STATION),
drivers/net/wireless/realtek/rtw88/main.c
114
.types = BIT(NL80211_IFTYPE_AP),
drivers/net/wireless/realtek/rtw89/core.c
170
.types = BIT(NL80211_IFTYPE_STATION),
drivers/net/wireless/realtek/rtw89/core.c
174
.types = BIT(NL80211_IFTYPE_P2P_CLIENT) |
drivers/net/wireless/realtek/rtw89/core.c
183
.types = BIT(NL80211_IFTYPE_STATION),
drivers/net/wireless/realtek/rtw89/core.c
187
.types = BIT(NL80211_IFTYPE_P2P_CLIENT) |
drivers/net/wireless/rsi/rsi_91x_mac80211.c
146
.types = BIT(NL80211_IFTYPE_STATION),
drivers/net/wireless/rsi/rsi_91x_mac80211.c
150
.types = BIT(NL80211_IFTYPE_AP) |
drivers/net/wireless/rsi/rsi_91x_mac80211.c
156
.types = BIT(NL80211_IFTYPE_P2P_DEVICE),
drivers/net/wireless/silabs/wfx/main.c
111
{ .max = 1, .types = BIT(NL80211_IFTYPE_STATION) },
drivers/net/wireless/silabs/wfx/main.c
112
{ .max = 1, .types = BIT(NL80211_IFTYPE_AP) },
drivers/net/wireless/ti/wl12xx/main.c
1743
.types = BIT(NL80211_IFTYPE_STATION),
drivers/net/wireless/ti/wl12xx/main.c
1747
.types = BIT(NL80211_IFTYPE_AP) |
drivers/net/wireless/ti/wl18xx/main.c
1880
.types = BIT(NL80211_IFTYPE_STATION),
drivers/net/wireless/ti/wl18xx/main.c
1884
.types = BIT(NL80211_IFTYPE_AP)
drivers/net/wireless/ti/wl18xx/main.c
1893
.types = BIT(NL80211_IFTYPE_P2P_DEVICE),
drivers/net/wireless/ti/wl18xx/main.c
1900
.types = BIT(NL80211_IFTYPE_AP),
drivers/net/wireless/ti/wl18xx/main.c
1905
.types = BIT(NL80211_IFTYPE_MESH_POINT),
drivers/net/wireless/ti/wl18xx/main.c
1910
.types = BIT(NL80211_IFTYPE_P2P_DEVICE),
drivers/net/wireless/virtual/mac80211_hwsim.c
5479
data->if_limits[n_limits].types = BIT(NL80211_IFTYPE_ADHOC);
drivers/net/wireless/virtual/mac80211_hwsim.c
5490
data->if_limits[n_limits].types =
drivers/net/wireless/virtual/mac80211_hwsim.c
5497
data->if_limits[n_limits].types =
drivers/net/wireless/virtual/mac80211_hwsim.c
5504
data->if_limits[n_limits].types = BIT(NL80211_IFTYPE_NAN);
drivers/parisc/led.c
278
struct led_type *types)
drivers/parisc/led.c
291
lp->name = types[i].name;
drivers/parisc/led.c
293
lp->brightness_set = types[i].handler;
drivers/parisc/led.c
294
lp->default_trigger = types[i].default_trigger;
drivers/pci/hotplug/rpaphp_core.c
163
const __be32 *indexes, *names, *types, *domains;
drivers/pci/hotplug/rpaphp_core.c
167
types = of_get_property(dn, "ibm,drc-types", NULL);
drivers/pci/hotplug/rpaphp_core.c
170
if (!indexes || !names || !types || !domains) {
drivers/pci/hotplug/rpaphp_core.c
181
*drc_types = types;
drivers/pci/hotplug/rpaphp_core.c
200
const __be32 *types, *domains;
drivers/pci/hotplug/rpaphp_core.c
203
rc = get_children_props(dn->parent, &indexes, &names, &types, &domains);
drivers/pci/hotplug/rpaphp_core.c
209
type_tmp = (char *) &types[1];
drivers/pci/hotplug/rpaphp_core.c
317
const __be32 **names, const __be32 **types,
drivers/pci/hotplug/rpaphp_core.c
330
*types = drc_types;
drivers/pci/hotplug/rpaphp_core.c
380
const __be32 *indexes, *names, *types, *power_domains;
drivers/pci/hotplug/rpaphp_core.c
384
if (!is_php_dn(dn, &indexes, &names, &types, &power_domains))
drivers/pci/hotplug/rpaphp_core.c
391
type = (char *) &types[1];
drivers/remoteproc/remoteproc_debugfs.c
277
static const char * const types[] = {"carveout", "devmem", "trace", "vdev"};
drivers/remoteproc/remoteproc_debugfs.c
299
seq_printf(seq, "Entry %d is of type %s\n", i, types[hdr->type]);
drivers/remoteproc/remoteproc_debugfs.c
309
seq_printf(seq, "Entry %d is of type %s\n", i, types[hdr->type]);
drivers/remoteproc/remoteproc_debugfs.c
319
seq_printf(seq, "Entry %d is of type %s\n", i, types[hdr->type]);
drivers/remoteproc/remoteproc_debugfs.c
327
seq_printf(seq, "Entry %d is of type %s\n", i, types[hdr->type]);
drivers/scsi/qla2xxx/qla_init.c
4189
static const char * const types[] = { "Short", "Long" };
drivers/scsi/qla2xxx/qla_init.c
4231
types[ha->flags.lr_detected],
drivers/scsi/qla2xxx/qla_isr.c
1943
static char *types[] = {
drivers/scsi/qla2xxx/qla_isr.c
1950
results[result], types[type], sw);
drivers/scsi/ses.c
558
int types = ses_dev->page1_num_types;
drivers/scsi/ses.c
595
for (i = 0; i < types; i++, type_ptr += 4) {
drivers/scsi/ses.c
696
int i, types, len, components = 0;
drivers/scsi/ses.c
736
types = 0;
drivers/scsi/ses.c
746
types += type_ptr[2];
drivers/scsi/ses.c
751
ses_dev->page1_num_types = types;
drivers/scsi/ses.c
753
for (i = 0; i < types && type_ptr < buf + len; i++, type_ptr += 4) {
drivers/usb/core/devio.c
494
static const char *types[] = {"isoc", "int", "ctrl", "bulk"};
drivers/usb/core/devio.c
503
t = types[usb_pipetype(pipe)];
drivers/usb/gadget/function/f_fs.c
3220
u8 *ev = ffs->ev.types, *out = ev;
drivers/usb/gadget/function/f_fs.c
3227
ffs->ev.count = out - ffs->ev.types;
drivers/usb/gadget/function/f_fs.c
3231
ffs->ev.types[ffs->ev.count++] = type;
drivers/usb/gadget/function/f_fs.c
511
struct usb_functionfs_event events[ARRAY_SIZE(ffs->ev.types)];
drivers/usb/gadget/function/f_fs.c
518
events[i].type = ffs->ev.types[i];
drivers/usb/gadget/function/f_fs.c
527
memmove(ffs->ev.types, ffs->ev.types + n,
drivers/usb/gadget/function/f_fs.c
528
ffs->ev.count * sizeof *ffs->ev.types);
drivers/usb/gadget/function/u_fs.h
200
u8 types[4];
drivers/usb/gadget/udc/at91_udc.c
108
static char *types[] = {
drivers/usb/gadget/udc/at91_udc.c
137
types[(csr & 0x700) >> 8],
drivers/vfio/mdev/mdev_core.c
60
struct mdev_driver *mdev_driver, struct mdev_type **types,
drivers/vfio/mdev/mdev_core.c
71
parent->types = types;
drivers/vfio/mdev/mdev_sysfs.c
213
mdev_type_remove(parent->types[i]);
drivers/vfio/mdev/mdev_sysfs.c
227
ret = mdev_type_add(parent, parent->types[i]);
drivers/vfio/mdev/mdev_sysfs.c
235
mdev_type_remove(parent->types[i]);
fs/btrfs/ioctl.c
2839
static const u64 types[] = {
fs/btrfs/ioctl.c
2861
if (tmp->flags == types[i]) {
fs/btrfs/ioctl.c
2914
if (tmp->flags == types[i]) {
fs/smb/client/file.c
1811
static const int types[] = {
fs/smb/client/file.c
1846
if (li->type != types[i])
fs/smb/client/file.c
1868
(__u8)types[i], 0, num, buf);
fs/smb/client/file.c
2185
static const int types[] = {
fs/smb/client/file.c
2227
if (types[i] != li->type)
fs/smb/client/file.c
2276
types[i], num, 0, buf);
include/linux/acpi.h
523
unsigned long types);
include/linux/btf.h
139
struct btf_struct_meta types[];
include/linux/mdev.h
46
struct mdev_type **types;
include/linux/mdev.h
77
struct mdev_driver *mdev_driver, struct mdev_type **types,
include/linux/mtd/partitions.h
48
const char *const *types; /* names of parsers to use if any */
include/linux/pse-pd/pse.h
311
enum ethtool_pse_types types;
include/linux/sctp.h
307
__be16 types[];
include/linux/syscalls.h
192
.types = nb ? types_##sname : NULL, \
include/net/cfg80211.h
5369
u16 types;
include/trace/syscall.h
35
const char **types;
include/uapi/linux/netfilter_ipv6/ip6t_mh.h
9
__u8 types[2]; /* MH type range */
include/uapi/linux/ublk_cmd.h
735
__u32 types; /* types of parameter included */
kernel/bpf/btf.c
1744
memcpy(new_types, btf->types,
kernel/bpf/btf.c
1745
sizeof(*btf->types) * btf->nr_types);
kernel/bpf/btf.c
1748
kvfree(btf->types);
kernel/bpf/btf.c
1749
btf->types = new_types;
kernel/bpf/btf.c
1753
btf->types[btf->nr_types++] = t;
kernel/bpf/btf.c
1833
btf_record_free(tab->types[i].record);
kernel/bpf/btf.c
1866
kvfree(btf->types);
kernel/bpf/btf.c
256
struct btf_type **types;
kernel/bpf/btf.c
5779
new_tab = krealloc(tab, struct_size(new_tab, types, tab_cnt + 1),
kernel/bpf/btf.c
5789
type = &tab->types[tab->cnt];
kernel/bpf/btf.c
5819
return bsearch(&btf_id, tab->types, tab->cnt, sizeof(tab->types[0]), btf_id_cmp_func);
kernel/bpf/btf.c
5960
err = btf_check_and_fixup_fields(btf, struct_meta_tab->types[i].record);
kernel/bpf/btf.c
6364
kvfree(btf->types);
kernel/bpf/btf.c
6502
kvfree(btf->types);
kernel/bpf/btf.c
967
return btf->types[type_id];
kernel/bpf/preload/iterators/iterators.bpf.c
36
struct btf_type **types;
kernel/bpf/preload/iterators/iterators.bpf.c
61
struct btf_type **types, *t;
kernel/bpf/preload/iterators/iterators.bpf.c
68
types = btf->types;
kernel/bpf/preload/iterators/iterators.bpf.c
69
bpf_probe_read_kernel(&t, sizeof(t), types + btf_id);
kernel/bpf/verifier.c
9334
const enum bpf_reg_type types[10];
kernel/bpf/verifier.c
9339
.types = {
kernel/bpf/verifier.c
9349
.types = {
kernel/bpf/verifier.c
9362
.types = {
kernel/bpf/verifier.c
9376
.types = {
kernel/bpf/verifier.c
9382
static const struct bpf_reg_types fullsock_types = { .types = { PTR_TO_SOCKET } };
kernel/bpf/verifier.c
9383
static const struct bpf_reg_types scalar_types = { .types = { SCALAR_VALUE } };
kernel/bpf/verifier.c
9384
static const struct bpf_reg_types context_types = { .types = { PTR_TO_CTX } };
kernel/bpf/verifier.c
9385
static const struct bpf_reg_types ringbuf_mem_types = { .types = { PTR_TO_MEM | MEM_RINGBUF } };
kernel/bpf/verifier.c
9386
static const struct bpf_reg_types const_map_ptr_types = { .types = { CONST_PTR_TO_MAP } };
kernel/bpf/verifier.c
9388
.types = {
kernel/bpf/verifier.c
9395
.types = {
kernel/bpf/verifier.c
9401
static const struct bpf_reg_types func_ptr_types = { .types = { PTR_TO_FUNC } };
kernel/bpf/verifier.c
9402
static const struct bpf_reg_types stack_ptr_types = { .types = { PTR_TO_STACK } };
kernel/bpf/verifier.c
9403
static const struct bpf_reg_types const_str_ptr_types = { .types = { PTR_TO_MAP_VALUE } };
kernel/bpf/verifier.c
9404
static const struct bpf_reg_types timer_types = { .types = { PTR_TO_MAP_VALUE } };
kernel/bpf/verifier.c
9406
.types = {
kernel/bpf/verifier.c
9412
.types = {
kernel/bpf/verifier.c
9485
for (i = 0; i < ARRAY_SIZE(compatible->types); i++) {
kernel/bpf/verifier.c
9486
expected = compatible->types[i];
kernel/bpf/verifier.c
9496
verbose(env, "%s, ", reg_type_str(env, compatible->types[j]));
kernel/bpf/verifier.c
9497
verbose(env, "%s\n", reg_type_str(env, compatible->types[j]));
kernel/trace/trace_syscalls.c
288
trace_seq_printf(s, "%s ", entry->types[i]);
kernel/trace/trace_syscalls.c
538
ret = trace_define_field(call, meta->types[i],
mm/show_mem.c
137
static const char types[MIGRATE_TYPES] = {
mm/show_mem.c
155
*p++ = types[i];
mm/show_mem.c
357
unsigned char types[NR_PAGE_ORDERS];
mm/show_mem.c
374
types[order] = 0;
mm/show_mem.c
377
types[order] |= 1 << type;
mm/show_mem.c
385
show_migration_types(types[order]);
net/devlink/linecard.c
105
linecard_type = &linecard->types[i];
net/devlink/linecard.c
18
struct devlink_linecard_type *types;
net/devlink/linecard.c
247
linecard_type = &linecard->types[i];
net/devlink/linecard.c
407
linecard->types = kmalloc_objs(*linecard_type, count);
net/devlink/linecard.c
408
if (!linecard->types)
net/devlink/linecard.c
413
linecard_type = &linecard->types[i];
net/devlink/linecard.c
423
kfree(linecard->types);
net/ethtool/tunnels.c
21
static ssize_t ethnl_udp_table_reply_size(unsigned int types, bool compact)
net/ethtool/tunnels.c
25
size = ethnl_bitset32_size(&types, NULL, __ETHTOOL_UDP_TUNNEL_TYPE_CNT,
net/ipv6/netfilter/ip6t_mh.c
57
return type_match(mhinfo->types[0], mhinfo->types[1], mh->ip6mh_type,
net/mac80211/main.c
1112
if ((c->limits[j].types & BIT(NL80211_IFTYPE_ADHOC)) &&
net/sctp/ipv6.c
1014
__be16 *types)
net/sctp/ipv6.c
1016
types[0] = SCTP_PARAM_IPV6_ADDRESS;
net/sctp/ipv6.c
1018
types[1] = SCTP_PARAM_IPV4_ADDRESS;
net/sctp/protocol.c
1032
__be16 *types)
net/sctp/protocol.c
1034
types[0] = SCTP_PARAM_IPV4_ADDRESS;
net/sctp/sm_make_chunk.c
215
__be16 types[2];
net/sctp/sm_make_chunk.c
235
num_types = sp->pf->supported_addrs(sp, types);
net/sctp/sm_make_chunk.c
2583
switch (param.sat->types[i]) {
net/sctp/sm_make_chunk.c
330
sctp_addto_chunk(retval, num_types * sizeof(__u16), &types);
net/wireless/core.c
643
u16 types = c->limits[j].types;
net/wireless/core.c
646
if (WARN_ON(types & all_iftypes))
net/wireless/core.c
648
all_iftypes |= types;
net/wireless/core.c
654
if (WARN_ON(wiphy->software_iftypes & types))
net/wireless/core.c
662
WARN_ON(types & BIT(NL80211_IFTYPE_P2P_DEVICE) &&
net/wireless/core.c
667
if (WARN_ON(types & BIT(NL80211_IFTYPE_NAN) &&
net/wireless/core.c
681
if (WARN_ON(types & BIT(NL80211_IFTYPE_ADHOC) &&
net/wireless/core.c
691
if (WARN_ON((wiphy->interface_modes & types) != types))
net/wireless/core.c
869
u16 types = 0;
net/wireless/core.c
932
if (WARN_ON(types & iftd->types_mask))
net/wireless/core.c
939
types |= iftd->types_mask;
net/wireless/nl80211.c
1778
c->limits[i].types))
net/wireless/util.c
2509
all_iftypes |= limits[j].types;
net/wireless/util.c
2510
if (!(limits[j].types & BIT(iftype)))
scripts/asn1_compiler.c
748
struct type *types;
scripts/asn1_compiler.c
763
types = type_list = calloc(nr + 1, sizeof(type_list[0]));
scripts/asn1_compiler.c
775
types[t].flags |= TYPE_BEGIN;
scripts/asn1_compiler.c
779
types[t].name = &token_list[n];
scripts/asn1_compiler.c
780
type_index[t] = &types[t];
scripts/asn1_compiler.c
784
types[t].name = &token_list[n + 1];
scripts/asn1_compiler.c
785
types[t].flags |= TYPE_STOP_MARKER;
scripts/elf-parse.c
177
void *elf_map(char const *fname, size_t *size, uint32_t types)
scripts/elf-parse.c
186
ret = elf_parse(fname, addr, types);
scripts/elf-parse.c
55
static int elf_parse(const char *fname, void *addr, uint32_t types)
scripts/elf-parse.c
88
if (!((1 << type) & types)) {
scripts/elf-parse.h
300
void *elf_map(char const *fname, size_t *size, uint32_t types);
security/selinux/ss/policydb.c
1206
ebitmap_init(&t->types);
security/selinux/ss/policydb.c
1215
if (ebitmap_read(&t->types, fp))
security/selinux/ss/policydb.c
1451
rc = ebitmap_read(&role->types, fp);
security/selinux/ss/policydb.c
1739
ebitmap_for_each_positive_bit(&role->types, node, bit)
security/selinux/ss/policydb.c
1741
if (ebitmap_get_bit(&upper->types, bit))
security/selinux/ss/policydb.c
215
ebitmap_destroy(&expr->type_names->types);
security/selinux/ss/policydb.c
273
ebitmap_destroy(&role->types);
security/selinux/ss/policydb.c
3026
if (ebitmap_write(&t->types, fp))
security/selinux/ss/policydb.c
3203
rc = ebitmap_write(&role->types, fp);
security/selinux/ss/policydb.c
978
if (!role || !ebitmap_get_bit(&role->types, c->type - 1))
security/selinux/ss/policydb.h
159
struct ebitmap types;
security/selinux/ss/policydb.h
79
struct ebitmap types; /* set of authorized types for role */
security/selinux/ss/services.c
2815
ebitmap_for_each_positive_bit(&role->types, tnode, j) {
sound/firewire/bebob/bebob.h
60
const enum snd_bebob_clock_type *types;
sound/firewire/bebob/bebob_focusrite.c
188
if (bebob->spec->clock->types == saffirepro_10_clk_src_types)
sound/firewire/bebob/bebob_focusrite.c
272
.types = saffirepro_26_clk_src_types,
sound/firewire/bebob/bebob_focusrite.c
283
.types = saffirepro_10_clk_src_types,
sound/firewire/bebob/bebob_focusrite.c
298
.types = saffire_both_clk_src_types,
sound/firewire/bebob/bebob_maudio.c
709
.types = special_clk_types,
sound/firewire/bebob/bebob_stream.c
145
*src = clk_spec->types[id];
sound/firewire/bebob/bebob_terratec.c
46
.types = phase88_rack_clk_src_types,
sound/firewire/bebob/bebob_yamaha_terratec.c
53
.types = clk_src_types,
sound/hda/codecs/generic.c
4824
unsigned int types;
sound/hda/codecs/generic.c
4830
types = 0;
sound/hda/codecs/generic.c
4837
if (types & (1 << attr))
sound/hda/codecs/generic.c
4858
types |= (1 << attr);
sound/pci/emu10k1/emuproc.c
432
static const char * const types[] = {
sound/pci/emu10k1/emuproc.c
435
static_assert(ARRAY_SIZE(types) == EMU10K1_NUM_TYPES);
sound/pci/emu10k1/emuproc.c
444
types[voice->use]);
sound/soc/renesas/rcar/core.c
559
enum rsnd_mod_type *types = rsnd_mod_sequence[is_play]; \
sound/soc/renesas/rcar/core.c
560
for_each_rsnd_mod_arrays(i, mod, io, types, RSND_MOD_MAX) { \
sound/soc/renesas/rcar/core.c
562
int func_call = rsnd_status_update(io, mod, types[i], \
sound/soc/renesas/rcar/ssi.c
1089
static const enum rsnd_mod_type types[] = {
sound/soc/renesas/rcar/ssi.c
1099
for (i = 0; i < ARRAY_SIZE(types); i++) {
sound/soc/renesas/rcar/ssi.c
1100
type = types[i];
sound/soc/renesas/rcar/ssi.c
170
static const enum rsnd_mod_type types[] = {
sound/soc/renesas/rcar/ssi.c
178
for (i = 0; i < ARRAY_SIZE(types); i++) {
sound/soc/renesas/rcar/ssi.c
179
struct rsnd_mod *mod = rsnd_io_to_mod(io, types[i]);
tools/arch/arm64/include/asm/sysreg.h
1089
#include <linux/types.h>
tools/lib/bpf/btf.c
1791
void *hdr, *types;
tools/lib/bpf/btf.c
1803
types = malloc(btf->hdr->type_len);
tools/lib/bpf/btf.c
1804
if (!hdr || !types)
tools/lib/bpf/btf.c
1808
memcpy(types, btf->types_data, btf->hdr->type_len);
tools/lib/bpf/btf.c
1819
btf->types_data = types;
tools/lib/bpf/btf.c
1839
free(types);
tools/lib/bpf/features.c
106
return probe_fd(libbpf__load_raw_btf((char *)types, sizeof(types),
tools/lib/bpf/features.c
114
__u32 types[] = {
tools/lib/bpf/features.c
124
return probe_fd(libbpf__load_raw_btf((char *)types, sizeof(types),
tools/lib/bpf/features.c
132
__u32 types[] = {
tools/lib/bpf/features.c
143
return probe_fd(libbpf__load_raw_btf((char *)types, sizeof(types),
tools/lib/bpf/features.c
151
__u32 types[] = {
tools/lib/bpf/features.c
162
return probe_fd(libbpf__load_raw_btf((char *)types, sizeof(types),
tools/lib/bpf/features.c
169
__u32 types[] = {
tools/lib/bpf/features.c
174
return probe_fd(libbpf__load_raw_btf((char *)types, sizeof(types),
tools/lib/bpf/features.c
181
__u32 types[] = {
tools/lib/bpf/features.c
191
return probe_fd(libbpf__load_raw_btf((char *)types, sizeof(types),
tools/lib/bpf/features.c
198
__u32 types[] = {
tools/lib/bpf/features.c
207
return probe_fd(libbpf__load_raw_btf((char *)types, sizeof(types),
tools/lib/bpf/features.c
306
__u32 types[] = {
tools/lib/bpf/features.c
315
fd = libbpf__load_raw_btf((char *)types, sizeof(types), strs, sizeof(strs), token_fd);
tools/lib/bpf/features.c
446
__u32 types[] = {
tools/lib/bpf/features.c
450
return probe_fd(libbpf__load_raw_btf((char *)types, sizeof(types),
tools/lib/bpf/features.c
457
const __u32 types[] = {
tools/lib/bpf/features.c
493
btf_fd = libbpf__load_raw_btf((char *)types, sizeof(types), strs, sizeof(strs), token_fd);
tools/lib/bpf/features.c
83
__u32 types[] = {
tools/lib/bpf/features.c
88
return probe_fd(libbpf__load_raw_btf((char *)types, sizeof(types),
tools/lib/bpf/features.c
96
__u32 types[] = {
tools/lib/bpf/libbpf_probes.c
266
__u32 types[] = {
tools/lib/bpf/libbpf_probes.c
278
return libbpf__load_raw_btf((char *)types, sizeof(types),
tools/perf/builtin-lock.c
1046
if (flags == filters.types[i]) {
tools/perf/builtin-lock.c
1534
zfree(&filters.types);
tools/perf/builtin-lock.c
2277
tmp = realloc(filters.types, (filters.nr_types + 1) * sizeof(*filters.types));
tools/perf/builtin-lock.c
2282
filters.types = tmp;
tools/perf/tests/event_groups.c
106
sibling_fd2 = event_open(types[k], configs_hw[k], group_fd);
tools/perf/tests/event_groups.c
108
sibling_fd2 = event_open(types[k], configs[k], group_fd);
tools/perf/tests/event_groups.c
128
if (ret || types[2] == -1)
tools/perf/tests/event_groups.c
14
static int types[] = {0, 1, -1};
tools/perf/tests/event_groups.c
145
types[i], configs[i], types[j], configs[j],
tools/perf/tests/event_groups.c
146
types[k], configs_hw[k], r ? "Fail" : "Pass");
tools/perf/tests/event_groups.c
149
types[i], configs[i], types[j], configs[j],
tools/perf/tests/event_groups.c
150
types[k], configs[k], r ? "Fail" : "Pass");
tools/perf/tests/event_groups.c
61
types[2] = pmu->type;
tools/perf/tests/event_groups.c
71
fd = event_open(types[2], configs[2], -1);
tools/perf/tests/event_groups.c
87
group_fd = event_open(types[i], configs[i], -1);
tools/perf/tests/event_groups.c
91
sibling_fd1 = event_open(types[j], configs[j], group_fd);
tools/perf/util/bpf_lock_contention.c
361
bpf_map_update_elem(fd, &con->filters->types[i], &val, BPF_ANY);
tools/perf/util/lock-contention.h
14
unsigned int *types;
tools/perf/util/trace-event-scripting.c
314
u32 types, events;
tools/perf/util/trace-event-scripting.c
334
types = flags & ~PERF_IP_FLAG_BRANCH_EVENT_MASK;
tools/perf/util/trace-event-scripting.c
336
if (sample_flags[i].flags != types)
tools/testing/selftests/bpf/prog_tests/core_reloc_raw.c
24
__u32 types[15];
tools/testing/selftests/bpf/prog_tests/core_reloc_raw.c
32
.type_len = sizeof(raw_btf.types),
tools/testing/selftests/bpf/prog_tests/core_reloc_raw.c
34
offsetof(struct test_btf, types),
tools/testing/selftests/bpf/prog_tests/core_reloc_raw.c
37
.types = {
tools/testing/selftests/bpf/prog_tests/fd_array.c
26
__u32 types[8];
tools/testing/selftests/bpf/prog_tests/fd_array.c
33
.type_len = sizeof(raw_btf.types),
tools/testing/selftests/bpf/prog_tests/fd_array.c
34
.str_off = offsetof(struct btf_blob, str) - offsetof(struct btf_blob, types),
tools/testing/selftests/bpf/prog_tests/fd_array.c
37
.types = {
tools/testing/selftests/bpf/progs/syscall.c
72
__u32 types[8];
tools/testing/selftests/bpf/progs/syscall.c
79
.type_len = sizeof(raw_btf.types),
tools/testing/selftests/bpf/progs/syscall.c
80
.str_off = offsetof(struct btf_blob, str) - offsetof(struct btf_blob, types),
tools/testing/selftests/bpf/progs/syscall.c
83
.types = {
tools/testing/selftests/bpf/test_maps.c
1721
int types[2] = { SOCK_STREAM, SOCK_DGRAM }, type;
tools/testing/selftests/bpf/test_maps.c
1759
for (t = 0; t < ARRAY_SIZE(types); t++) {
tools/testing/selftests/bpf/test_maps.c
1760
type = types[t];
tools/testing/selftests/bpf/test_verifier.c
739
static int load_btf_spec(__u32 *types, int types_len,
tools/testing/selftests/bpf/test_verifier.c
765
memcpy(ptr, types, hdr.type_len);
tools/testing/selftests/mm/mseal_test.c
93
static int sys_madvise(void *start, size_t len, int types)
tools/testing/selftests/mm/mseal_test.c
98
sret = syscall(__NR_madvise, start, len, types);
tools/testing/selftests/ublk/fault_inject.c
26
.types = UBLK_PARAM_TYPE_BASIC,
tools/testing/selftests/ublk/file_backed.c
184
.types = UBLK_PARAM_TYPE_BASIC | UBLK_PARAM_TYPE_DMA_ALIGN,
tools/testing/selftests/ublk/kublk.h
294
params->types |= UBLK_PARAM_TYPE_INTEGRITY;
tools/testing/selftests/ublk/null.c
20
.types = UBLK_PARAM_TYPE_BASIC | UBLK_PARAM_TYPE_DMA_ALIGN |
tools/testing/selftests/ublk/stripe.c
282
.types = UBLK_PARAM_TYPE_BASIC,