Home
last modified time | relevance | path

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

12

/drivers/acpi/acpica/
Dexregion.c71 u32 bit_width, in acpi_ex_system_memory_space_handler() argument
89 switch (bit_width) { in acpi_ex_system_memory_space_handler()
113 bit_width)); in acpi_ex_system_memory_space_handler()
206 bit_width, function, ACPI_FORMAT_UINT64(address))); in acpi_ex_system_memory_space_handler()
220 switch (bit_width) { in acpi_ex_system_memory_space_handler()
251 switch (bit_width) { in acpi_ex_system_memory_space_handler()
310 u32 bit_width, in acpi_ex_system_io_space_handler() argument
321 bit_width, function, ACPI_FORMAT_UINT64(address))); in acpi_ex_system_io_space_handler()
329 &value32, bit_width); in acpi_ex_system_io_space_handler()
336 (u32)*value, bit_width); in acpi_ex_system_io_space_handler()
[all …]
Dhwregs.c105 if (!reg->bit_offset && reg->bit_width && in acpi_hw_get_access_bit_width()
106 ACPI_IS_POWER_OF_TWO(reg->bit_width) && in acpi_hw_get_access_bit_width()
107 ACPI_IS_ALIGNED(reg->bit_width, 8)) { in acpi_hw_get_access_bit_width()
108 access_bit_width = reg->bit_width; in acpi_hw_get_access_bit_width()
114 reg->bit_width); in acpi_hw_get_access_bit_width()
161 u8 bit_width; in acpi_hw_validate_register() local
202 bit_width = in acpi_hw_validate_register()
203 ACPI_ROUND_UP(reg->bit_offset + reg->bit_width, access_width); in acpi_hw_validate_register()
204 if (max_bit_width < bit_width) { in acpi_hw_validate_register()
207 max_bit_width, bit_width)); in acpi_hw_validate_register()
[all …]
Dhwvalid.c52 acpi_hw_validate_io_request(acpi_io_address address, u32 bit_width);
124 acpi_hw_validate_io_request(acpi_io_address address, u32 bit_width) in acpi_hw_validate_io_request() argument
135 if ((bit_width != 8) && (bit_width != 16) && (bit_width != 32)) { in acpi_hw_validate_io_request()
137 "Bad BitWidth parameter: %8.8X", bit_width)); in acpi_hw_validate_io_request()
142 byte_width = ACPI_DIV_8(bit_width); in acpi_hw_validate_io_request()
Dtbfadt.c197 u8 bit_width; in acpi_tb_init_generic_address() local
203 bit_width = (u8)(byte_width * 8); in acpi_tb_init_generic_address()
218 bit_width = 255; in acpi_tb_init_generic_address()
230 generic_address->bit_width = bit_width; in acpi_tb_init_generic_address()
596 (address64->bit_width != in acpi_tb_convert_fadt()
603 bit_width)); in acpi_tb_convert_fadt()
702 target64->bit_width)) { in acpi_tb_setup_fadt_registers()
706 target64->bit_width, in acpi_tb_setup_fadt_registers()
712 target64->bit_width = in acpi_tb_setup_fadt_registers()
724 ACPI_DIV_16(acpi_gbl_FADT.xpm1a_event_block.bit_width); in acpi_tb_setup_fadt_registers()
Dhwxface.c154 reg->bit_width); in ACPI_EXPORT_SYMBOL()
163 width = reg->bit_width; in ACPI_EXPORT_SYMBOL()
174 if (reg->bit_width == 64) { in ACPI_EXPORT_SYMBOL()
193 ACPI_FORMAT_UINT64(*return_value), reg->bit_width, in ACPI_EXPORT_SYMBOL()
235 address, value, reg->bit_width); in ACPI_EXPORT_SYMBOL()
241 width = reg->bit_width; in ACPI_EXPORT_SYMBOL()
253 if (reg->bit_width == 64) { in ACPI_EXPORT_SYMBOL()
265 ACPI_FORMAT_UINT64(value), reg->bit_width, in ACPI_EXPORT_SYMBOL()
Dacinterp.h501 u32 bit_width,
509 u32 bit_width,
516 u32 bit_width,
523 u32 bit_width,
530 u32 bit_width,
537 u32 bit_width,
545 u32 bit_width,
552 u32 bit_width,
Devregion.c139 u32 region_offset, u32 bit_width, u64 *value) in acpi_ev_address_space_dispatch() argument
272 bit_width = field_obj->field.bit_length; in acpi_ev_address_space_dispatch()
294 status = handler(function, address, bit_width, value, context, in acpi_ev_address_space_dispatch()
Devgpeblk.c267 this_register->status_address.bit_width = in acpi_ev_create_gpe_info_blocks()
269 this_register->enable_address.bit_width = in acpi_ev_create_gpe_info_blocks()
Dacevents.h194 u32 region_offset, u32 bit_width, u64 *value);
/drivers/mailbox/
Dpcc.c109 static int read_register(void __iomem *vaddr, u64 *val, unsigned int bit_width) in read_register() argument
113 switch (bit_width) { in read_register()
128 bit_width); in read_register()
135 static int write_register(void __iomem *vaddr, u64 val, unsigned int bit_width) in write_register() argument
139 switch (bit_width) { in write_register()
154 bit_width); in write_register()
212 doorbell_ack->bit_width); in pcc_mbox_irq()
219 doorbell_ack->bit_width); in pcc_mbox_irq()
356 doorbell->bit_width); in pcc_send_data()
361 doorbell->bit_width); in pcc_send_data()
[all …]
/drivers/acpi/apei/
Dapei-base.c582 u32 bit_width, bit_offset, access_size_code, space_id; in apei_check_gar() local
584 bit_width = reg->bit_width; in apei_check_gar()
592 *paddr, bit_width, bit_offset, access_size_code, in apei_check_gar()
600 *paddr, bit_width, bit_offset, access_size_code, in apei_check_gar()
607 if (bit_width == 32 && bit_offset == 0 && (*paddr & 0x03) == 0 && in apei_check_gar()
610 else if (bit_width == 64 && bit_offset == 0 && (*paddr & 0x07) == 0 && in apei_check_gar()
614 if ((bit_width + bit_offset) > *access_bit_width) { in apei_check_gar()
617 *paddr, bit_width, bit_offset, access_size_code, in apei_check_gar()
626 *paddr, bit_width, bit_offset, access_size_code, in apei_check_gar()
/drivers/acpi/
Dprocessor_throttling.c484 if ((throttling->control_register.bit_width + in acpi_processor_get_throttling_control()
491 if ((throttling->status_register.bit_width + in acpi_processor_get_throttling_control()
780 u32 bit_width, bit_offset; in acpi_read_throttling_status() local
789 bit_width = throttling->status_register.bit_width; in acpi_read_throttling_status()
794 (u32) (bit_width + bit_offset)); in acpi_read_throttling_status()
795 ptc_mask = (1 << bit_width) - 1; in acpi_read_throttling_status()
812 u32 bit_width, bit_offset; in acpi_write_throttling_state() local
821 bit_width = throttling->control_register.bit_width; in acpi_write_throttling_state()
823 ptc_mask = (1 << bit_width) - 1; in acpi_write_throttling_state()
829 (u32) (bit_width + bit_offset)); in acpi_write_throttling_state()
Dcppc_acpi.c106 (reg)->bit_width == 0 && \
748 addr = ioremap(gas_t->address, gas_t->bit_width/8); in acpi_cppc_processor_probe()
909 val, reg->bit_width); in cpc_read()
911 switch (reg->bit_width) { in cpc_read()
926 reg->bit_width); in cpc_read()
947 val, reg->bit_width); in cpc_write()
949 switch (reg->bit_width) { in cpc_write()
964 reg->bit_width); in cpc_write()
Dosl.c446 if (!addr || !gas->bit_width) in acpi_os_map_generic_address()
449 virt = acpi_os_map_iomem(addr, gas->bit_width / 8); in acpi_os_map_generic_address()
468 if (!addr || !gas->bit_width) in acpi_os_unmap_generic_address()
472 map = acpi_map_lookup(addr, gas->bit_width / 8); in acpi_os_unmap_generic_address()
/drivers/pinctrl/berlin/
Dberlin.h24 u8 bit_width; member
44 .bit_width = _width, \
Dberlin.c170 mask = GENMASK(group_desc->lsb + group_desc->bit_width - 1, in berlin_pinmux_set()
218 max_functions += 1 << (desc_group->bit_width + 1); in berlin_pinctrl_build_state()
/drivers/pinctrl/sprd/
Dpinctrl-sprd.h40 .bit_width = ((a) >> WIDTH_OFFSET & 0xf), \
57 unsigned long bit_width; member
Dpinctrl-sprd.c117 unsigned long bit_width; member
457 pin->bit_offset) & PINCTRL_BIT_MASK(pin->bit_width); in sprd_pinconf_get()
711 reg &= ~(PINCTRL_BIT_MASK(pin->bit_width) in sprd_pinconf_set()
713 reg |= (val & PINCTRL_BIT_MASK(pin->bit_width)) in sprd_pinconf_set()
782 pin->bit_offset) & PINCTRL_BIT_MASK(pin->bit_width); in sprd_pinconf_get_config()
998 pin->bit_width = sprd_soc_pin_info[i].bit_width; in sprd_pinctrl_add_pins()
1016 pin->bit_offset, pin->bit_width, pin->reg); in sprd_pinctrl_add_pins()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gfx.h58 static inline u32 amdgpu_gfx_create_bitmask(u32 bit_width) in amdgpu_gfx_create_bitmask() argument
60 return (u32)((1ULL << bit_width) - 1); in amdgpu_gfx_create_bitmask()
/drivers/xen/
Dxen-acpi-processor.c84 dst_cx->reg.bit_width = 8; in push_cxx_to_hypervisor()
92 dst_cx->reg.bit_width = 1; /* VENDOR_INTEL */ in push_cxx_to_hypervisor()
204 dst_pct->bit_width = pct->bit_width; in xen_copy_pct_data()
/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.c288 acpi_os_read_port(reg->address, &val, reg->bit_width); in cpu_freq_read_io()
294 acpi_os_write_port(reg->address, val, reg->bit_width); in cpu_freq_write_io()
/drivers/irqchip/
Dqcom-irq-combiner.c198 (reg->bit_width > REG_SIZE)) { in get_registers_cb()
212 ctx->combiner->nirqs += reg->bit_width; in get_registers_cb()
/drivers/input/misc/
Datlas_btns.c51 u32 bit_width, u64 *value, in acpi_atlas_button_handler() argument
/drivers/acpi/pmic/
Dintel_pmic_xpower.c270 acpi_physical_address address, u32 bit_width, u64 *value, in intel_xpower_pmic_gpio_handler() argument

12