Home
last modified time | relevance | path

Searched refs:bit_width (Results 1 – 25 of 31) sorted by relevance

12

/drivers/acpi/acpica/
Dexregion.c37 u32 bit_width, in acpi_ex_system_memory_space_handler() argument
55 switch (bit_width) { in acpi_ex_system_memory_space_handler()
79 bit_width)); in acpi_ex_system_memory_space_handler()
172 bit_width, function, ACPI_FORMAT_UINT64(address))); in acpi_ex_system_memory_space_handler()
186 switch (bit_width) { in acpi_ex_system_memory_space_handler()
217 switch (bit_width) { in acpi_ex_system_memory_space_handler()
276 u32 bit_width, in acpi_ex_system_io_space_handler() argument
287 bit_width, function, ACPI_FORMAT_UINT64(address))); in acpi_ex_system_io_space_handler()
295 &value32, bit_width); in acpi_ex_system_io_space_handler()
302 (u32)*value, bit_width); in acpi_ex_system_io_space_handler()
[all …]
Dhwregs.c69 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 …]
Dtbfadt.c163 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()
Dhwvalid.c18 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()
Dacinterp.h488 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,
Devregion.c105 u32 region_offset, u32 bit_width, u64 *value) in acpi_ev_address_space_dispatch() argument
238 bit_width = field_obj->field.bit_length; in acpi_ev_address_space_dispatch()
260 status = handler(function, address, bit_width, value, context, in acpi_ev_address_space_dispatch()
Devgpeblk.c233 this_register->status_address.bit_width = in acpi_ev_create_gpe_info_blocks()
235 this_register->enable_address.bit_width = in acpi_ev_create_gpe_info_blocks()
Dacevents.h179 u32 region_offset, u32 bit_width, u64 *value);
/drivers/mailbox/
Dpcc.c99 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/
Dapei-base.c574 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/
Dprocessor_throttling.c471 if ((throttling->control_register.bit_width + in acpi_processor_get_throttling_control()
478 if ((throttling->status_register.bit_width + in acpi_processor_get_throttling_control()
768 u32 bit_width, bit_offset; in acpi_read_throttling_status() local
777 bit_width = throttling->status_register.bit_width; in acpi_read_throttling_status()
782 (u32) (bit_width + bit_offset)); in acpi_read_throttling_status()
783 ptc_mask = (1 << bit_width) - 1; in acpi_read_throttling_status()
800 u32 bit_width, bit_offset; in acpi_write_throttling_state() local
809 bit_width = throttling->control_register.bit_width; in acpi_write_throttling_state()
811 ptc_mask = (1 << bit_width) - 1; in acpi_write_throttling_state()
817 (u32) (bit_width + bit_offset)); in acpi_write_throttling_state()
Dacpi_lpit.c33 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()
Dcppc_acpi.c106 (reg)->bit_width == 0 && \
800 addr = ioremap(gas_t->address, gas_t->bit_width/8); in acpi_cppc_processor_probe()
987 val, reg->bit_width); in cpc_read()
989 switch (reg->bit_width) { in cpc_read()
1004 reg->bit_width, pcc_ss_id); in cpc_read()
1026 val, reg->bit_width); in cpc_write()
1028 switch (reg->bit_width) { in cpc_write()
1043 reg->bit_width, pcc_ss_id); in cpc_write()
Dosl.c449 if (!addr || !gas->bit_width) in acpi_os_map_generic_address()
452 virt = acpi_os_map_iomem(addr, gas->bit_width / 8); in acpi_os_map_generic_address()
471 if (!addr || !gas->bit_width) in acpi_os_unmap_generic_address()
475 map = acpi_map_lookup(addr, gas->bit_width / 8); in acpi_os_unmap_generic_address()
/drivers/pinctrl/berlin/
Dberlin.h21 u8 bit_width; member
41 .bit_width = _width, \
Dberlin.c165 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/
Dpinctrl-sprd.h32 .bit_width = ((a) >> WIDTH_OFFSET & 0xf), \
49 unsigned long bit_width; member
Dpinctrl-sprd.c109 unsigned long bit_width; member
449 pin->bit_offset) & PINCTRL_BIT_MASK(pin->bit_width); in sprd_pinconf_get()
688 reg &= ~(PINCTRL_BIT_MASK(pin->bit_width) in sprd_pinconf_set()
690 reg |= (val & PINCTRL_BIT_MASK(pin->bit_width)) in sprd_pinconf_set()
759 pin->bit_offset) & PINCTRL_BIT_MASK(pin->bit_width); in sprd_pinconf_get_config()
982 pin->bit_width = sprd_soc_pin_info[i].bit_width; in sprd_pinctrl_add_pins()
1000 pin->bit_offset, pin->bit_width, pin->reg); in sprd_pinctrl_add_pins()
/drivers/cpufreq/
Dpcc-cpufreq.c55 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()
Dacpi-cpufreq.c276 acpi_os_read_port(reg->address, &val, reg->bit_width); in cpu_freq_read_io()
282 acpi_os_write_port(reg->address, val, reg->bit_width); in cpu_freq_write_io()
/drivers/xen/
Dxen-acpi-processor.c77 dst_cx->reg.bit_width = 8; in push_cxx_to_hypervisor()
85 dst_cx->reg.bit_width = 1; /* VENDOR_INTEL */ in push_cxx_to_hypervisor()
197 dst_pct->bit_width = pct->bit_width; in xen_copy_pct_data()
/drivers/irqchip/
Dqcom-irq-combiner.c190 (reg->bit_width > REG_SIZE)) { in get_registers_cb()
204 ctx->combiner->nirqs += reg->bit_width; in get_registers_cb()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gfx.h344 static inline u32 amdgpu_gfx_create_bitmask(u32 bit_width) in amdgpu_gfx_create_bitmask() argument
346 return (u32)((1ULL << bit_width) - 1); in amdgpu_gfx_create_bitmask()
/drivers/input/misc/
Datlas_btns.c37 u32 bit_width, u64 *value, in acpi_atlas_button_handler() argument
/drivers/acpi/pmic/
Dintel_pmic_xpower.c272 acpi_physical_address address, u32 bit_width, u64 *value, in intel_xpower_pmic_gpio_handler() argument

12