/drivers/acpi/acpica/ |
D | exregion.c | 37 u32 bit_width, in acpi_ex_system_memory_space_handler() argument 56 switch (bit_width) { in acpi_ex_system_memory_space_handler() 80 bit_width)); in acpi_ex_system_memory_space_handler() 200 bit_width, function, ACPI_FORMAT_UINT64(address))); in acpi_ex_system_memory_space_handler() 214 switch (bit_width) { in acpi_ex_system_memory_space_handler() 245 switch (bit_width) { in acpi_ex_system_memory_space_handler() 304 u32 bit_width, in acpi_ex_system_io_space_handler() argument 315 bit_width, function, ACPI_FORMAT_UINT64(address))); in acpi_ex_system_io_space_handler() 323 &value32, bit_width); in acpi_ex_system_io_space_handler() 330 (u32)*value, bit_width); in acpi_ex_system_io_space_handler() [all …]
|
D | hwregs.c | 69 if (!reg->bit_offset && reg->bit_width && in acpi_hw_get_access_bit_width() 70 ACPI_IS_POWER_OF_TWO(reg->bit_width) && in acpi_hw_get_access_bit_width() 71 ACPI_IS_ALIGNED(reg->bit_width, 8)) { in acpi_hw_get_access_bit_width() 72 access_bit_width = reg->bit_width; in acpi_hw_get_access_bit_width() 78 reg->bit_width); in acpi_hw_get_access_bit_width() 125 u8 bit_width; in acpi_hw_validate_register() local 166 bit_width = in acpi_hw_validate_register() 167 ACPI_ROUND_UP(reg->bit_offset + reg->bit_width, access_width); in acpi_hw_validate_register() 168 if (max_bit_width < bit_width) { in acpi_hw_validate_register() 171 max_bit_width, bit_width)); in acpi_hw_validate_register() [all …]
|
D | hwvalid.c | 18 acpi_hw_validate_io_request(acpi_io_address address, u32 bit_width); 90 acpi_hw_validate_io_request(acpi_io_address address, u32 bit_width) in acpi_hw_validate_io_request() argument 101 if ((bit_width != 8) && (bit_width != 16) && (bit_width != 32)) { in acpi_hw_validate_io_request() 103 "Bad BitWidth parameter: %8.8X", bit_width)); in acpi_hw_validate_io_request() 108 byte_width = ACPI_DIV_8(bit_width); in acpi_hw_validate_io_request() 311 acpi_status acpi_hw_validate_io_block(u64 address, u32 bit_width, u32 count) in acpi_hw_validate_io_block() argument 317 bit_width); in acpi_hw_validate_io_block() 321 address += ACPI_DIV_8(bit_width); in acpi_hw_validate_io_block()
|
D | tbfadt.c | 163 u8 bit_width; in acpi_tb_init_generic_address() local 169 bit_width = (u8)(byte_width * 8); in acpi_tb_init_generic_address() 184 bit_width = 255; in acpi_tb_init_generic_address() 196 generic_address->bit_width = bit_width; in acpi_tb_init_generic_address() 562 (address64->bit_width != in acpi_tb_convert_fadt() 569 bit_width)); in acpi_tb_convert_fadt() 668 target64->bit_width)) { in acpi_tb_setup_fadt_registers() 672 target64->bit_width, in acpi_tb_setup_fadt_registers() 678 target64->bit_width = in acpi_tb_setup_fadt_registers() 690 ACPI_DIV_16(acpi_gbl_FADT.xpm1a_event_block.bit_width); in acpi_tb_setup_fadt_registers()
|
D | acinterp.h | 488 u32 bit_width, 496 u32 bit_width, 503 u32 bit_width, 510 u32 bit_width, 517 u32 bit_width, 524 u32 bit_width, 532 u32 bit_width, 539 u32 bit_width,
|
D | evregion.c | 106 u32 region_offset, u32 bit_width, u64 *value) in acpi_ev_address_space_dispatch() argument 267 bit_width = field_obj->field.bit_length; in acpi_ev_address_space_dispatch() 273 status = handler(function, address, bit_width, value, context, in acpi_ev_address_space_dispatch()
|
D | achware.h | 76 acpi_status acpi_hw_validate_io_block(u64 address, u32 bit_width, u32 count);
|
D | acevents.h | 179 u32 region_offset, u32 bit_width, u64 *value);
|
/drivers/mailbox/ |
D | pcc.c | 99 static int read_register(void __iomem *vaddr, u64 *val, unsigned int bit_width) in read_register() argument 103 switch (bit_width) { in read_register() 118 bit_width); in read_register() 125 static int write_register(void __iomem *vaddr, u64 val, unsigned int bit_width) in write_register() argument 129 switch (bit_width) { in write_register() 144 bit_width); in write_register() 202 doorbell_ack->bit_width); in pcc_mbox_irq() 209 doorbell_ack->bit_width); in pcc_mbox_irq() 346 doorbell->bit_width); in pcc_send_data() 351 doorbell->bit_width); in pcc_send_data() [all …]
|
/drivers/acpi/apei/ |
D | apei-base.c | 574 u32 bit_width, bit_offset, access_size_code, space_id; in apei_check_gar() local 576 bit_width = reg->bit_width; in apei_check_gar() 584 *paddr, bit_width, bit_offset, access_size_code, in apei_check_gar() 592 *paddr, bit_width, bit_offset, access_size_code, in apei_check_gar() 599 if (bit_width == 32 && bit_offset == 0 && (*paddr & 0x03) == 0 && in apei_check_gar() 602 else if (bit_width == 64 && bit_offset == 0 && (*paddr & 0x07) == 0 && in apei_check_gar() 606 if ((bit_width + bit_offset) > *access_bit_width) { in apei_check_gar() 609 *paddr, bit_width, bit_offset, access_size_code, in apei_check_gar() 618 *paddr, bit_width, bit_offset, access_size_code, in apei_check_gar()
|
/drivers/acpi/ |
D | processor_throttling.c | 461 if ((throttling->control_register.bit_width + in acpi_processor_get_throttling_control() 468 if ((throttling->status_register.bit_width + in acpi_processor_get_throttling_control() 754 u32 bit_width, bit_offset; in acpi_read_throttling_status() local 763 bit_width = throttling->status_register.bit_width; in acpi_read_throttling_status() 768 (u32) (bit_width + bit_offset)); in acpi_read_throttling_status() 769 ptc_mask = (1 << bit_width) - 1; in acpi_read_throttling_status() 786 u32 bit_width, bit_offset; in acpi_write_throttling_state() local 795 bit_width = throttling->control_register.bit_width; in acpi_write_throttling_state() 797 ptc_mask = (1 << bit_width) - 1; in acpi_write_throttling_state() 803 (u32) (bit_width + bit_offset)); in acpi_write_throttling_state()
|
D | acpi_lpit.c | 33 residency_info_mem.gaddr.bit_width); in lpit_read_residency_counter_us() 44 residency_info_ffh.gaddr. bit_width - 1, in lpit_read_residency_counter_us() 108 info->gaddr.bit_width / 8); in lpit_update_residency()
|
D | cppc_acpi.c | 116 (reg)->bit_width == 0 && \ 766 addr = ioremap(gas_t->address, gas_t->bit_width/8); in acpi_cppc_processor_probe() 956 val, reg->bit_width); in cpc_read() 958 switch (reg->bit_width) { in cpc_read() 973 reg->bit_width, pcc_ss_id); in cpc_read() 995 val, reg->bit_width); in cpc_write() 997 switch (reg->bit_width) { in cpc_write() 1012 reg->bit_width, pcc_ss_id); in cpc_write()
|
D | osl.c | 462 if (!addr || !gas->bit_width) in acpi_os_map_generic_address() 465 return acpi_os_map_iomem(addr, gas->bit_width / 8); in acpi_os_map_generic_address() 479 if (!addr || !gas->bit_width) in acpi_os_unmap_generic_address() 484 map = acpi_map_lookup(addr, gas->bit_width / 8); in acpi_os_unmap_generic_address()
|
/drivers/pinctrl/berlin/ |
D | berlin.h | 21 u8 bit_width; member 41 .bit_width = _width, \
|
D | berlin.c | 165 mask = GENMASK(group_desc->lsb + group_desc->bit_width - 1, in berlin_pinmux_set() 213 max_functions += 1 << (desc_group->bit_width + 1); in berlin_pinctrl_build_state()
|
/drivers/pinctrl/sprd/ |
D | pinctrl-sprd.h | 32 .bit_width = ((a) >> WIDTH_OFFSET & 0xf), \ 49 unsigned long bit_width; member
|
D | pinctrl-sprd.c | 111 unsigned long bit_width; member 451 pin->bit_offset) & PINCTRL_BIT_MASK(pin->bit_width); in sprd_pinconf_get() 725 reg &= ~(PINCTRL_BIT_MASK(pin->bit_width) in sprd_pinconf_set() 727 reg |= (val & PINCTRL_BIT_MASK(pin->bit_width)) in sprd_pinconf_set() 796 pin->bit_offset) & PINCTRL_BIT_MASK(pin->bit_width); in sprd_pinconf_get_config() 1019 pin->bit_width = sprd_soc_pin_info[i].bit_width; in sprd_pinctrl_add_pins() 1037 pin->bit_offset, pin->bit_width, pin->reg); in sprd_pinctrl_add_pins()
|
/drivers/cpufreq/ |
D | pcc-cpufreq.c | 55 u8 bit_width; member 488 doorbell.bit_width = reg_resource->bit_width; in pcc_cpufreq_probe() 495 doorbell.space_id, doorbell.bit_width, doorbell.bit_offset, in pcc_cpufreq_probe()
|
/drivers/xen/ |
D | xen-acpi-processor.c | 78 dst_cx->reg.bit_width = 8; in push_cxx_to_hypervisor() 86 dst_cx->reg.bit_width = 1; /* VENDOR_INTEL */ in push_cxx_to_hypervisor() 198 dst_pct->bit_width = pct->bit_width; in xen_copy_pct_data()
|
/drivers/irqchip/ |
D | qcom-irq-combiner.c | 186 (reg->bit_width > REG_SIZE)) { in get_registers_cb() 200 ctx->combiner->nirqs += reg->bit_width; in get_registers_cb()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_gfx.h | 357 static inline u32 amdgpu_gfx_create_bitmask(u32 bit_width) in amdgpu_gfx_create_bitmask() argument 359 return (u32)((1ULL << bit_width) - 1); in amdgpu_gfx_create_bitmask()
|
/drivers/input/misc/ |
D | atlas_btns.c | 37 u32 bit_width, u64 *value, in acpi_atlas_button_handler() argument
|
/drivers/staging/media/tegra-video/ |
D | vi.h | 272 unsigned int bit_width; member
|
/drivers/acpi/pmic/ |
D | intel_pmic_xpower.c | 309 acpi_physical_address address, u32 bit_width, u64 *value, in intel_xpower_pmic_gpio_handler() argument
|