Home
last modified time | relevance | path

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

123

/linux/drivers/acpi/acpica/
H A 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()
181 bit_width, function, ACPI_FORMAT_UINT64(address))); in acpi_ex_system_memory_space_handler()
195 switch (bit_width) { in acpi_ex_system_memory_space_handler()
226 switch (bit_width) { in acpi_ex_system_memory_space_handler()
285 u32 bit_width, in acpi_ex_system_io_space_handler() argument
296 bit_width, function, ACPI_FORMAT_UINT64(address))); in acpi_ex_system_io_space_handler()
304 &value32, bit_width); in acpi_ex_system_io_space_handler()
311 (u32)*value, bit_width); in acpi_ex_system_io_space_handler()
[all …]
H A 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 …]
H A 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()
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()
H A 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()
558 (address64->bit_width != in acpi_tb_convert_fadt()
565 bit_width)); in acpi_tb_convert_fadt()
664 target64->bit_width)) { in acpi_tb_setup_fadt_registers()
668 target64->bit_width, in acpi_tb_setup_fadt_registers()
674 target64->bit_width = in acpi_tb_setup_fadt_registers()
686 ACPI_DIV_16(acpi_gbl_FADT.xpm1a_event_block.bit_width); in acpi_tb_setup_fadt_registers()
H A Dacinterp.h491 u32 bit_width,
499 u32 bit_width,
506 u32 bit_width,
513 u32 bit_width,
520 u32 bit_width,
527 u32 bit_width,
535 u32 bit_width,
542 u32 bit_width,
/linux/drivers/clk/imx/
H A Dclk-imx95-blk-ctl.c48 u32 bit_width; member
168 .bit_width = 1,
178 .bit_width = 1,
189 .bit_width = 1,
200 .bit_width = 1,
211 .bit_width = 1,
235 .bit_width = 2,
245 .bit_width = 2,
264 .bit_width = 1,
274 .bit_width = 1,
[all …]
/linux/sound/soc/qcom/qdsp6/
H A Dq6afe.h164 u16 bit_width; member
169 u16 bit_width; member
177 u16 bit_width; member
187 u16 bit_width; member
200 u16 bit_width; member
233 u16 bit_width; member
H A Dq6adm.c44 int bit_width; member
75 u16 bit_width; member
304 int channel_mode, int bit_width, in q6adm_find_matching_copp() argument
316 (bit_width == c->bit_width) && (app_type == c->app_type)) { in q6adm_find_matching_copp()
328 int channel_mode, int bit_width, int rate) in q6adm_device_open() argument
354 open->bit_width = bit_width; in q6adm_device_open()
383 uint16_t bit_width, int app_type, int acdb_id) in q6adm_open() argument
396 rate, channel_mode, bit_width, app_type); in q6adm_open()
417 copp->bit_width = bit_width; in q6adm_open()
421 channel_mode, bit_width, rate); in q6adm_open()
H A Daudioreach.c662 hw_cfg->mf.bit_width = cfg->bit_width; in audioreach_display_port_set_media_format()
721 hw_cfg->mf.bit_width = cfg->bit_width; in audioreach_codec_dma_set_media_format()
798 return audioreach_send_u32_param(graph, module, PARAM_ID_SAL_OUTPUT_CFG, cfg->bit_width);
861 media_format->bit_width = cfg->bit_width; in audioreach_mfc_set_media_format()
886 mp3_cfg->bit_width = mcfg->bit_width; in audioreach_set_compr_media_format()
888 mp3_cfg->bits_per_sample = mcfg->bit_width; in audioreach_set_compr_media_format()
[all...]
H A Dq6afe.c423 u16 bit_width; member
439 u16 bit_width; member
489 u16 bit_width; member
502 u32 bit_width; member
517 u16 bit_width; member
546 u16 bit_width; member
1328 pcfg->slim_cfg.bit_width = cfg->bit_width; in q6afe_slim_port_prepare()
1354 pcfg->tdm_cfg.bit_width = cfg->bit_width; in q6afe_tdm_port_prepare()
1368 port->scfg->bitwidth = cfg->bit_width; in q6afe_tdm_port_prepare()
1462 pcfg->usb_cfg.bit_width = cfg->bit_width; in q6afe_usb_port_prepare()
[all …]
H A Dq6afe-dai.c50 slim->bit_width = 16; in q6slim_hw_params()
53 slim->bit_width = 24; in q6slim_hw_params()
56 slim->bit_width = 32; in q6slim_hw_params()
79 hdmi->bit_width = 16; in q6hdmi_hw_params()
82 hdmi->bit_width = 24; in q6hdmi_hw_params()
110 usb->bit_width = 16; in q6afe_usb_hw_params()
114 usb->bit_width = 24; in q6afe_usb_hw_params()
117 usb->bit_width = 32; in q6afe_usb_hw_params()
136 i2s->bit_width = params_width(params); in q6i2s_hw_params()
275 tdm->bit_width = params_width(params); in q6tdm_hw_params()
[all …]
H A Dq6adm.h21 uint16_t bit_width, int app_type, int acdb_id);
/linux/drivers/acpi/
H A Dspcr.c106 u32 bit_width = table->serial_port.access_width; in acpi_parse_spcr() local
108 if (bit_width > ACPI_ACCESS_BIT_MAX) { in acpi_parse_spcr()
110 bit_width = ACPI_ACCESS_BIT_DEFAULT; in acpi_parse_spcr()
112 switch (ACPI_ACCESS_BIT_WIDTH((bit_width))) { in acpi_parse_spcr()
H A Dprocessor_throttling.c462 if ((throttling->control_register.bit_width + in acpi_processor_get_throttling_control()
469 if ((throttling->status_register.bit_width + in acpi_processor_get_throttling_control()
753 u32 bit_width, bit_offset; in acpi_read_throttling_status() local
762 bit_width = throttling->status_register.bit_width; in acpi_read_throttling_status()
767 (u32) (bit_width + bit_offset)); in acpi_read_throttling_status()
768 ptc_mask = (1 << bit_width) - 1; in acpi_read_throttling_status()
785 u32 bit_width, bit_offset; in acpi_write_throttling_state() local
794 bit_width = throttling->control_register.bit_width; in acpi_write_throttling_state()
796 ptc_mask = (1 << bit_width) - 1; in acpi_write_throttling_state()
802 (u32) (bit_width + bit_offset)); in acpi_write_throttling_state()
/linux/sound/soc/codecs/
H A Djz4725b.c452 unsigned int rate, bit_width; in jz4725b_codec_hw_params() local
456 bit_width = 0; in jz4725b_codec_hw_params()
459 bit_width = 1; in jz4725b_codec_hw_params()
462 bit_width = 2; in jz4725b_codec_hw_params()
465 bit_width = 3; in jz4725b_codec_hw_params()
483 bit_width << REG_CR2_DAC_ADWL_OFFSET); in jz4725b_codec_hw_params()
493 bit_width << REG_CR2_ADC_ADWL_OFFSET); in jz4725b_codec_hw_params()
/linux/drivers/acpi/apei/
H A Dapei-base.c571 u32 bit_width, bit_offset, access_size_code, space_id; in apei_check_gar() local
573 bit_width = reg->bit_width; in apei_check_gar()
581 *paddr, bit_width, bit_offset, access_size_code, in apei_check_gar()
589 *paddr, bit_width, bit_offset, access_size_code, in apei_check_gar()
596 if (bit_width == 32 && bit_offset == 0 && (*paddr & 0x03) == 0 && in apei_check_gar()
599 else if (bit_width == 64 && bit_offset == 0 && (*paddr & 0x07) == 0 && in apei_check_gar()
603 if ((bit_width + bit_offset) > *access_bit_width) { in apei_check_gar()
606 *paddr, bit_width, bit_offset, access_size_code, in apei_check_gar()
615 *paddr, bit_width, bit_offset, access_size_code, in apei_check_gar()
/linux/drivers/pinctrl/berlin/
H A Dberlin.h21 u8 bit_width; member
35 .bit_width = _width, \
H A Dberlin.c165 mask = GENMASK(group_desc->lsb + group_desc->bit_width - 1, in berlin_pinmux_set()
214 max_functions += 1 << (desc_group->bit_width + 1); in berlin_pinctrl_build_state()
/linux/drivers/pinctrl/sprd/
H A Dpinctrl-sprd.h32 .bit_width = ((a) >> WIDTH_OFFSET & 0xf), \
49 unsigned long bit_width; member
/linux/sound/soc/mediatek/mt8365/
H A Dmt8365-dai-i2s.c282 int bit_width) in mt8365_dai_set_config() argument
307 if (bit_width > 16) in mt8365_dai_set_config()
330 unsigned int rate, int bit_width) in mt8365_afe_set_i2s_out() argument
336 return mt8365_dai_set_config(afe, i2s_data, false, rate, bit_width); in mt8365_afe_set_i2s_out()
599 int bit_width = snd_pcm_format_width(substream->runtime->format); in mt8365_dai_i2s_prepare() local
609 ret = mt8365_dai_set_config(afe, i2s_data, false, rate, bit_width); in mt8365_dai_i2s_prepare()
618 (unsigned int)bit_width, in mt8365_dai_i2s_prepare()
623 ret = mt8365_dai_set_config(afe, i2s_data, true, rate, bit_width); in mt8365_dai_i2s_prepare()
H A Dmt8365-dai-adda.c189 int bit_width = snd_pcm_format_width(substream->runtime->format); in mt8365_dai_int_adda_prepare() local
206 ret = mt8365_afe_set_i2s_out(afe, rate, bit_width); in mt8365_dai_int_adda_prepare()
/linux/arch/x86/kernel/acpi/
H A Dcppc.c54 u64 mask = GENMASK_ULL(reg->bit_offset + reg->bit_width - 1, in cpc_read_ffh()
70 u64 mask = GENMASK_ULL(reg->bit_offset + reg->bit_width - 1, in cpc_write_ffh()
/linux/drivers/xen/
H A 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()
/linux/drivers/clk/aspeed/
H A Dclk-ast2700.c85 u8 bit_width; member
93 u8 bit_width; member
315 .bit_width = _width, \
330 .bit_width = _width, \
975 mux->bit_width, 0, in ast2700_soc_clk_probe()
992 divider->bit_width, 0, in ast2700_soc_clk_probe()
/linux/include/linux/
H A Dtboot.h39 u8 bit_width; member

123