/linux-6.12.1/drivers/reset/ |
D | reset-eyeq.c | 145 u32 valid_mask; member 393 !(priv->data->domains[domain].valid_mask & BIT(offset))) { in eqr_of_xlate_internal() 463 priv->rcdev.nr_resets += hweight32(priv->data->domains[i].valid_mask); in eqr_probe() 475 .valid_mask = 0xFFFFFF8, 480 .valid_mask = 0x0001FFF, 485 .valid_mask = 0x007BFFF, 498 .valid_mask = 0x3FFF, 503 .valid_mask = 0x00FF, 517 .valid_mask = 0x1F7F, 530 .valid_mask = 0x7FFF,
|
/linux-6.12.1/drivers/bus/ |
D | brcmstb_gisb.c | 147 u32 valid_mask; member 244 u32 mask = gdev->valid_mask & masters; in brcmstb_gisb_master_to_str() 470 &gdev->valid_mask)) in brcmstb_gisb_arb_probe() 471 gdev->valid_mask = 0xffffffff; in brcmstb_gisb_arb_probe() 478 if (hweight_long(gdev->valid_mask) == num_masters) { in brcmstb_gisb_arb_probe() 479 first = ffs(gdev->valid_mask) - 1; in brcmstb_gisb_arb_probe() 480 last = fls(gdev->valid_mask) - 1; in brcmstb_gisb_arb_probe() 483 if (!(gdev->valid_mask & BIT(i))) in brcmstb_gisb_arb_probe()
|
/linux-6.12.1/drivers/irqchip/ |
D | irq-versatile-fpga.c | 206 u32 valid_mask; in fpga_irq_of_init() local 218 if (of_property_read_u32(node, "valid-mask", &valid_mask)) in fpga_irq_of_init() 219 valid_mask = 0; in fpga_irq_of_init() 231 fpga_irq_init(base, parent_irq, valid_mask, node); in fpga_irq_of_init()
|
D | irq-bcm7120-l2.c | 108 int irq, u32 *valid_mask) in bcm7120_l2_intc_init_one() argument 137 valid_mask[idx] |= l1_data->irq_map_mask[idx]; in bcm7120_l2_intc_init_one() 228 u32 valid_mask[MAX_WORDS] = { }; in bcm7120_l2_intc_probe() local 262 ret = bcm7120_l2_intc_init_one(dn, data, irq, valid_mask); in bcm7120_l2_intc_probe() 293 gc->unused = 0xffffffff & ~valid_mask[idx]; in bcm7120_l2_intc_probe()
|
/linux-6.12.1/drivers/gpio/ |
D | gpio-bd71815.c | 115 unsigned long *valid_mask, in bd71815_init_valid_mask() argument 123 *valid_mask = BD71815_TWO_GPIOS; in bd71815_init_valid_mask() 125 *valid_mask = BD71815_ONE_GPIO; in bd71815_init_valid_mask()
|
D | gpio-tqmx86.c | 264 unsigned long *valid_mask, in tqmx86_init_irq_valid_mask() argument 268 clear_bit(0, valid_mask); in tqmx86_init_irq_valid_mask() 269 clear_bit(1, valid_mask); in tqmx86_init_irq_valid_mask() 270 clear_bit(2, valid_mask); in tqmx86_init_irq_valid_mask() 271 clear_bit(3, valid_mask); in tqmx86_init_irq_valid_mask()
|
D | gpio-rcar.c | 339 if (chip->valid_mask) in gpio_rcar_get_multiple() 340 bankmask &= chip->valid_mask[0]; in gpio_rcar_get_multiple() 383 if (chip->valid_mask) in gpio_rcar_set_multiple() 384 bankmask &= chip->valid_mask[0]; in gpio_rcar_set_multiple() 487 if (p->gpio_chip.valid_mask) in gpio_rcar_enable_inputs() 488 mask &= p->gpio_chip.valid_mask[0]; in gpio_rcar_enable_inputs()
|
D | gpio-ljca.c | 226 unsigned long *valid_mask, in ljca_gpio_init_valid_mask() argument 232 bitmap_copy(valid_mask, ljca_gpio->gpio_info->valid_pin_map, ngpios); in ljca_gpio_init_valid_mask() 238 unsigned long *valid_mask, in ljca_gpio_irq_init_valid_mask() argument 241 ljca_gpio_init_valid_mask(chip, valid_mask, ngpios); in ljca_gpio_irq_init_valid_mask()
|
D | gpio-aspeed-sgpio.c | 146 unsigned long *valid_mask, unsigned int ngpios) in aspeed_sgpio_init_valid_mask() argument 148 bitmap_set(valid_mask, 0, ngpios); in aspeed_sgpio_init_valid_mask() 153 unsigned long *valid_mask, unsigned int ngpios) in aspeed_sgpio_irq_init_valid_mask() argument 160 clear_bit(i, valid_mask); in aspeed_sgpio_irq_init_valid_mask()
|
D | gpio-npcm-sgpio.c | 307 unsigned long *valid_mask, in npcm_sgpio_irq_init_valid_mask() argument 313 bitmap_set(valid_mask, gpio->nout_sgpio, gpio->nin_sgpio); in npcm_sgpio_irq_init_valid_mask() 314 bitmap_clear(valid_mask, 0, gpio->nout_sgpio); in npcm_sgpio_irq_init_valid_mask()
|
D | gpiolib.c | 655 bitmap_clear(gc->valid_mask, start, count); in gpiochip_apply_reserved_ranges() 669 gc->valid_mask = gpiochip_allocate_mask(gc); in gpiochip_init_valid_mask() 670 if (!gc->valid_mask) in gpiochip_init_valid_mask() 679 gc->valid_mask, in gpiochip_init_valid_mask() 687 gpiochip_free_mask(&gc->valid_mask); in gpiochip_free_valid_mask() 710 if (likely(!gc->valid_mask)) in gpiochip_line_is_valid() 712 return test_bit(offset, gc->valid_mask); in gpiochip_line_is_valid() 1316 girq->valid_mask = gpiochip_allocate_mask(gc); in gpiochip_irqchip_init_valid_mask() 1317 if (!girq->valid_mask) in gpiochip_irqchip_init_valid_mask() 1320 girq->init_valid_mask(gc, girq->valid_mask, gc->ngpio); in gpiochip_irqchip_init_valid_mask() [all …]
|
/linux-6.12.1/arch/mips/cavium-octeon/executive/ |
D | cvmx-l2c.c | 87 uint32_t valid_mask; in cvmx_l2c_set_core_way_partition() local 89 valid_mask = (0x1 << cvmx_l2c_get_num_assoc()) - 1; in cvmx_l2c_set_core_way_partition() 91 mask &= valid_mask; in cvmx_l2c_set_core_way_partition() 94 if (mask == valid_mask && !OCTEON_IS_MODEL(OCTEON_CN63XX)) in cvmx_l2c_set_core_way_partition() 144 uint32_t valid_mask; in cvmx_l2c_set_hw_way_partition() local 146 valid_mask = (0x1 << cvmx_l2c_get_num_assoc()) - 1; in cvmx_l2c_set_hw_way_partition() 147 mask &= valid_mask; in cvmx_l2c_set_hw_way_partition() 150 if (mask == valid_mask && !OCTEON_IS_MODEL(OCTEON_CN63XX)) in cvmx_l2c_set_hw_way_partition()
|
/linux-6.12.1/include/linux/gpio/ |
D | driver.h | 275 unsigned long *valid_mask, 284 unsigned long *valid_mask; member 454 unsigned long *valid_mask, 508 unsigned long *valid_mask; member
|
/linux-6.12.1/drivers/platform/x86/intel/ |
D | int0002_vgpio.c | 152 unsigned long *valid_mask, in int0002_init_irq_valid_mask() argument 155 bitmap_clear(valid_mask, 0, GPE0A_PME_B0_VIRT_GPIO_PIN); in int0002_init_irq_valid_mask()
|
/linux-6.12.1/drivers/platform/cznic/ |
D | turris-omnia-mcu-gpio.c | 512 unsigned long *valid_mask, in omnia_gpio_init_valid_mask() argument 521 __assign_bit(i, valid_mask, in omnia_gpio_init_valid_mask() 524 __clear_bit(i, valid_mask); in omnia_gpio_init_valid_mask() 728 unsigned long *valid_mask, in omnia_irq_init_valid_mask() argument 737 __assign_bit(i, valid_mask, in omnia_irq_init_valid_mask() 740 __clear_bit(i, valid_mask); in omnia_irq_init_valid_mask()
|
/linux-6.12.1/drivers/gpu/drm/imagination/ |
D | pvr_stream_defs.c | 80 .valid_mask = PVR_STREAM_EXTHDR_GEOM0_VALID, 161 .valid_mask = PVR_STREAM_EXTHDR_FRAG0_VALID, 218 .valid_mask = PVR_STREAM_EXTHDR_COMPUTE0_VALID,
|
D | pvr_stream.h | 54 u32 valid_mask; member
|
/linux-6.12.1/arch/alpha/kernel/ |
D | err_marvel.c | 140 marvel_print_po7_uncrr_sym(u64 uncrr_sym, u64 valid_mask) in marvel_print_po7_uncrr_sym() argument 187 uncrr_sym &= valid_mask; in marvel_print_po7_uncrr_sym() 189 if (EXTRACT(valid_mask, IO7__PO7_UNCRR_SYM__SYN)) in marvel_print_po7_uncrr_sym() 194 if (EXTRACT(valid_mask, IO7__PO7_UNCRR_SYM__ERR_CYC)) in marvel_print_po7_uncrr_sym() 255 if (EXTRACT(valid_mask, IO7__PO7_UNCRR_SYM__STRV_VTR)) { in marvel_print_po7_uncrr_sym()
|
/linux-6.12.1/arch/arm64/kernel/ |
D | process.c | 717 unsigned long valid_mask = PR_TAGGED_ADDR_ENABLE; in set_tagged_addr_ctrl() local 724 valid_mask |= PR_MTE_TCF_SYNC | PR_MTE_TCF_ASYNC \ in set_tagged_addr_ctrl() 727 if (arg & ~valid_mask) in set_tagged_addr_ctrl()
|
/linux-6.12.1/arch/powerpc/perf/ |
D | isa207-common.c | 56 u64 valid_mask = EVENT_VALID_MASK; in is_event_valid() local 59 valid_mask = p10_EVENT_VALID_MASK; in is_event_valid() 61 valid_mask = p9_EVENT_VALID_MASK; in is_event_valid() 63 return !(event & ~valid_mask); in is_event_valid()
|
/linux-6.12.1/drivers/gpu/drm/radeon/ |
D | radeon_acpi.c | 58 u32 valid_mask; /* valid flags mask */ member 281 params.flags, params.valid_mask); in radeon_atif_get_notification_params() 282 params.flags = params.flags & params.valid_mask; in radeon_atif_get_notification_params()
|
/linux-6.12.1/drivers/gpu/drm/ |
D | drm_property.c | 955 uint64_t valid_mask = 0; in drm_property_change_valid_get() local 958 valid_mask |= (1ULL << property->values[i]); in drm_property_change_valid_get() 959 return !(value & ~valid_mask); in drm_property_change_valid_get()
|
/linux-6.12.1/arch/x86/events/amd/ |
D | ibs.c | 89 u64 valid_mask; member 504 config &= ~perf_ibs->valid_mask; in perf_ibs_stop() 676 .valid_mask = IBS_FETCH_VAL, 701 .valid_mask = IBS_OP_VAL, 1056 if (!(*buf++ & perf_ibs->valid_mask)) in perf_ibs_handle_irq()
|
/linux-6.12.1/drivers/gpu/drm/amd/include/ |
D | amd_acpi.h | 38 u32 valid_mask; /* valid flags mask */ member
|
/linux-6.12.1/drivers/platform/x86/amd/pmf/ |
D | acpi.c | 394 params.valid_mask, in apmf_get_system_params() 398 params.flags = params.flags & params.valid_mask; in apmf_get_system_params()
|