Searched refs:bit_width (Results 1 - 25 of 72) sorted by relevance

123

/linux-master/drivers/acpi/acpica/
H A Dexregion.c23 * bit_width - Field width in bits (8, 16, or 32)
37 u32 bit_width,
56 switch (bit_width) {
80 bit_width));
200 bit_width, function, ACPI_FORMAT_UINT64(address)));
214 switch (bit_width) {
237 /* bit_width was already validated */
245 switch (bit_width) {
268 /* bit_width was already validated */
289 * bit_width
35 acpi_ex_system_memory_space_handler(u32 function, acpi_physical_address address, u32 bit_width, u64 *value, void *handler_context, void *region_context) argument
302 acpi_ex_system_io_space_handler(u32 function, acpi_physical_address address, u32 bit_width, u64 *value, void *handler_context, void *region_context) argument
362 acpi_ex_pci_config_space_handler(u32 function, acpi_physical_address address, u32 bit_width, u64 *value, void *handler_context, void *region_context) argument
440 acpi_ex_cmos_space_handler(u32 function, acpi_physical_address address, u32 bit_width, u64 *value, void *handler_context, void *region_context) argument
473 acpi_ex_pci_bar_space_handler(u32 function, acpi_physical_address address, u32 bit_width, u64 *value, void *handler_context, void *region_context) argument
506 acpi_ex_data_table_space_handler(u32 function, acpi_physical_address address, u32 bit_width, u64 *value, void *handler_context, void *region_context) argument
[all...]
H A Dhwregs.c41 * max_bit_width - Max bit_width supported (32 or 64)
57 * 1. Detected if bit_offset is 0 and bit_width is 8/16/32/64;
58 * 2. access_size field is ignored and bit_width field is used for
61 * 1. Detected if bit_offset is not 0 or bit_width is not 8/16/32/64;
64 * 3. bit_offset/bit_width fields are used to describe the "region".
69 if (!reg->bit_offset && reg->bit_width &&
70 ACPI_IS_POWER_OF_TWO(reg->bit_width) &&
71 ACPI_IS_ALIGNED(reg->bit_width, 8)) {
72 access_bit_width = reg->bit_width;
78 reg->bit_width);
125 u8 bit_width; local
199 u32 bit_width; local
294 u32 bit_width; local
[all...]
H A Dhwvalid.c18 acpi_hw_validate_io_request(acpi_io_address address, u32 bit_width);
78 * bit_width Number of bits (8,16,32)
90 acpi_hw_validate_io_request(acpi_io_address address, u32 bit_width) argument
101 if ((bit_width != 8) && (bit_width != 16) && (bit_width != 32)) {
103 "Bad BitWidth parameter: %8.8X", bit_width));
108 byte_width = ACPI_DIV_8(bit_width);
302 * bit_width Number of bits (8,16,32) in each register
311 acpi_status acpi_hw_validate_io_block(u64 address, u32 bit_width, u3 argument
[all...]
H A Dtbfadt.c163 u8 bit_width; local
167 * Check for bit_width overflow in GAS.
169 bit_width = (u8)(byte_width * 8);
172 * No error for GPE blocks, because we do not use the bit_width
184 bit_width = 255;
196 generic_address->bit_width = bit_width;
562 (address64->bit_width !=
569 bit_width));
579 * access_size/bit_width/bit_offse
[all...]
H A 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,
/linux-master/drivers/pinctrl/berlin/
H A Dberlin.h21 u8 bit_width; member in struct:berlin_desc_group
41 .bit_width = _width, \
/linux-master/drivers/pinctrl/sprd/
H A Dpinctrl-sprd.h32 .bit_width = ((a) >> WIDTH_OFFSET & 0xf), \
49 unsigned long bit_width; member in struct:sprd_pins_info
/linux-master/sound/soc/qcom/qdsp6/
H A Dq6adm.h21 uint16_t bit_width, int app_type, int acdb_id);
H A Dq6afe.h164 u16 bit_width; member in struct:q6afe_hdmi_cfg
169 u16 bit_width; member in struct:q6afe_slim_cfg
177 u16 bit_width; member in struct:q6afe_i2s_cfg
187 u16 bit_width; member in struct:q6afe_tdm_cfg
200 u16 bit_width; member in struct:q6afe_cdc_dma_cfg
H A Dq6adm.c44 int bit_width; member in struct:q6copp
75 u16 bit_width; member in struct:q6adm_cmd_device_open_v5
299 int channel_mode, int bit_width,
311 (bit_width == c->bit_width) && (app_type == c->app_type)) {
323 int channel_mode, int bit_width, int rate)
351 open->bit_width = bit_width;
377 * @bit_width: audio sample bit width
385 uint16_t bit_width, in
296 q6adm_find_matching_copp(struct q6adm *adm, int port_id, int topology, int mode, int rate, int channel_mode, int bit_width, int app_type) argument
321 q6adm_device_open(struct q6adm *adm, struct q6copp *copp, int port_id, int path, int topology, int channel_mode, int bit_width, int rate) argument
383 q6adm_open(struct device *dev, int port_id, int path, int rate, int channel_mode, int topology, int perf_mode, uint16_t bit_width, int app_type, int acdb_id) argument
[all...]
H A Daudioreach.c640 hw_cfg->mf.bit_width = cfg->bit_width;
709 hw_cfg->mf.bit_width = cfg->bit_width;
795 return audioreach_send_u32_param(graph, module, PARAM_ID_SAL_OUTPUT_CFG, cfg->bit_width);
843 media_format->bit_width = cfg->bit_width;
880 mp3_cfg->bit_width = mcfg->bit_width;
882 mp3_cfg->bits_per_sample = mcfg->bit_width;
[all...]
/linux-master/drivers/acpi/
H A Dspcr.c106 u32 bit_width = table->serial_port.access_width; local
108 if (bit_width > ACPI_ACCESS_BIT_MAX) {
110 bit_width = ACPI_ACCESS_BIT_DEFAULT;
112 switch (ACPI_ACCESS_BIT_WIDTH((bit_width))) {
H A Dacpi_lpit.c34 residency_info_mem.gaddr.bit_width);
45 residency_info_ffh.gaddr. bit_width - 1,
115 info->gaddr.bit_width / 8);
H A Dprocessor_throttling.c459 if ((throttling->control_register.bit_width +
466 if ((throttling->status_register.bit_width +
752 u32 bit_width, bit_offset; local
761 bit_width = throttling->status_register.bit_width;
766 (u32) (bit_width + bit_offset));
767 ptc_mask = (1 << bit_width) - 1;
784 u32 bit_width, bit_offset; local
793 bit_width = throttling->control_register.bit_width;
[all...]
/linux-master/arch/x86/kernel/acpi/
H A Dcppc.c41 u64 mask = GENMASK_ULL(reg->bit_offset + reg->bit_width - 1,
57 u64 mask = GENMASK_ULL(reg->bit_offset + reg->bit_width - 1,
/linux-master/drivers/mailbox/
H A Dpcc.c130 static void read_register(void __iomem *vaddr, u64 *val, unsigned int bit_width) argument
132 switch (bit_width) {
148 static void write_register(void __iomem *vaddr, u64 val, unsigned int bit_width) argument
150 switch (bit_width) {
176 read_register(reg->vaddr, val, reg->gas->bit_width);
191 write_register(reg->vaddr, val, reg->gas->bit_width);
477 if (!(gas->bit_width >= 8 && gas->bit_width <= 64 &&
478 is_power_of_2(gas->bit_width))) {
480 gas->bit_width);
[all...]
/linux-master/include/linux/
H A Dtboot.h39 u8 bit_width; member in struct:tboot_acpi_generic_address
/linux-master/sound/soc/codecs/
H A Djz4725b.c452 unsigned int rate, bit_width; local
456 bit_width = 0;
459 bit_width = 1;
462 bit_width = 2;
465 bit_width = 3;
483 bit_width << REG_CR2_DAC_ADWL_OFFSET);
493 bit_width << REG_CR2_ADC_ADWL_OFFSET);
H A Djz4770.c706 unsigned int rate, bit_width; local
710 bit_width = 0;
713 bit_width = 1;
716 bit_width = 2;
719 bit_width = 3;
736 bit_width << REG_AICR_DAC_ADWL_OFFSET);
743 bit_width << REG_AICR_ADC_ADWL_OFFSET);
H A Djz4760.c669 unsigned int rate, bit_width; local
673 bit_width = 0;
676 bit_width = 1;
679 bit_width = 2;
682 bit_width = 3;
699 FIELD_PREP(REG_AICR_DAC_ADWL_MASK, bit_width));
706 FIELD_PREP(REG_AICR_ADC_ADWL_MASK, bit_width));
/linux-master/drivers/acpi/apei/
H A Dapei-base.c571 u32 bit_width, bit_offset, access_size_code, space_id; local
573 bit_width = reg->bit_width;
581 *paddr, bit_width, bit_offset, access_size_code,
589 *paddr, bit_width, bit_offset, access_size_code,
596 if (bit_width == 32 && bit_offset == 0 && (*paddr & 0x03) == 0 &&
599 else if (bit_width == 64 && bit_offset == 0 && (*paddr & 0x07) == 0 &&
603 if ((bit_width + bit_offset) > *access_bit_width) {
606 *paddr, bit_width, bit_offset, access_size_code,
615 *paddr, bit_width, bit_offse
[all...]
/linux-master/sound/soc/mediatek/mt7986/
H A Dmt7986-dai-etdm.c174 unsigned int bit_width = params_width(params); local
175 unsigned int wlen = get_etdm_wlen(bit_width);
180 __func__, stream, rate, bit_width);
184 val |= FIELD_PREP(ETDM_BIT_LEN_MASK, bit_width - 1);
/linux-master/sound/soc/mediatek/mt8188/
H A Dmt8188-dai-pcm.c131 unsigned int bit_width = dai->sample_bits; local
185 val |= FIELD_PREP(PCM_INTF_CON1_SYNC_LENGTH_MASK, bit_width);
189 if (bit_width > 16) {
/linux-master/sound/soc/mediatek/mt8195/
H A Dmt8195-dai-pcm.c130 unsigned int bit_width = dai->sample_bits; local
180 val |= PCM_INTF_CON1_SYNC_LENGTH(bit_width);
184 if (bit_width > 16) {
/linux-master/include/acpi/
H A Dprocessor.h62 u8 bit_width; member in struct:acpi_power_register
115 u8 bit_width; member in struct:acpi_pct_register
156 u8 bit_width; member in struct:acpi_ptc_register

Completed in 256 milliseconds

123