Home
last modified time | relevance | path

Searched refs:straps (Results 1 – 25 of 38) sorted by relevance

12

/linux/drivers/soc/tegra/fuse/
H A Dtegra-apbmisc.c93 u32 straps = tegra_read_straps(); in tegra_read_ram_code() local
96 straps &= PMC_STRAPPING_OPT_A_RAM_CODE_MASK_LONG; in tegra_read_ram_code()
98 straps &= PMC_STRAPPING_OPT_A_RAM_CODE_MASK_SHORT; in tegra_read_ram_code()
100 return straps >> PMC_STRAPPING_OPT_A_RAM_CODE_SHIFT; in tegra_read_ram_code()
168 struct resource *straps) in tegra_init_apbmisc_resources() argument
178 strapping_base = ioremap(straps->start, resource_size(straps)); in tegra_init_apbmisc_resources()
195 struct resource apbmisc, straps; in tegra_init_apbmisc() local
216 straps.start = 0x7000e864; in tegra_init_apbmisc()
217 straps.end = 0x7000e867; in tegra_init_apbmisc()
219 straps.start = 0x70000008; in tegra_init_apbmisc()
[all …]
/linux/drivers/crypto/intel/qat/qat_c62x/
H A Dadf_c62x_hw_data.c29 u32 straps = self->straps; in get_accel_mask() local
32 accel = ~(fuses | straps) >> ADF_C62X_ACCELERATORS_REG_OFFSET; in get_accel_mask()
41 u32 straps = self->straps; in get_ae_mask() local
50 straps |= ae_disable << (accel << 1); in get_ae_mask()
52 return ~(fuses | straps) & ADF_C62X_ACCELENGINES_MASK; in get_ae_mask()
H A Dadf_drv.c113 &hw_data->straps); in adf_probe()
/linux/drivers/crypto/intel/qat/qat_c3xxx/
H A Dadf_c3xxx_hw_data.c29 u32 straps = self->straps; in get_accel_mask() local
32 accel = ~(fuses | straps) >> ADF_C3XXX_ACCELERATORS_REG_OFFSET; in get_accel_mask()
41 u32 straps = self->straps; in get_ae_mask() local
50 straps |= ae_disable << (accel << 1); in get_ae_mask()
52 return ~(fuses | straps) & ADF_C3XXX_ACCELENGINES_MASK; in get_ae_mask()
H A Dadf_drv.c113 &hw_data->straps); in adf_probe()
/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_gen2_hw_data.c121 u32 straps = hw_data->straps; in adf_gen2_get_accel_cap() local
146 if ((straps | fuses) & ADF_POWERGATE_PKE) in adf_gen2_get_accel_cap()
149 if ((straps | fuses) & ADF_POWERGATE_DC) in adf_gen2_get_accel_cap()
H A Dadf_accel_devices.h335 u32 straps; member
/linux/drivers/gpu/drm/amd/display/dc/resource/dce100/
H A Ddce100_resource.c453 struct resource_straps *straps) in read_dce_straps() argument
456 HDMI_DISABLE, &straps->hdmi_disable, in read_dce_straps()
457 AUDIO_STREAM_NUMBER, &straps->audio_stream_number); in read_dce_straps()
459 REG_GET(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO, &straps->dc_pinstraps_audio); in read_dce_straps()
/linux/drivers/gpu/drm/amd/display/dc/resource/dce120/
H A Ddce120_resource.c676 struct resource_straps *straps) in read_dce_straps() argument
680 straps->audio_stream_number = get_reg_field_value(reg_val, in read_dce_straps()
683 straps->hdmi_disable = get_reg_field_value(reg_val, in read_dce_straps()
688 straps->dc_pinstraps_audio = get_reg_field_value(reg_val, in read_dce_straps()
/linux/drivers/gpu/drm/amd/display/dc/resource/dce60/
H A Ddce60_resource.c488 struct resource_straps *straps) in read_dce_straps() argument
491 HDMI_DISABLE, &straps->hdmi_disable, in read_dce_straps()
492 AUDIO_STREAM_NUMBER, &straps->audio_stream_number); in read_dce_straps()
494 REG_GET(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO, &straps->dc_pinstraps_audio); in read_dce_straps()
/linux/drivers/gpu/drm/amd/display/dc/resource/dce112/
H A Ddce112_resource.c477 struct resource_straps *straps) in read_dce_straps() argument
480 HDMI_DISABLE, &straps->hdmi_disable, in read_dce_straps()
481 AUDIO_STREAM_NUMBER, &straps->audio_stream_number); in read_dce_straps()
483 REG_GET(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO, &straps->dc_pinstraps_audio); in read_dce_straps()
/linux/drivers/gpu/drm/amd/display/dc/resource/dce80/
H A Ddce80_resource.c494 struct resource_straps *straps) in read_dce_straps() argument
497 HDMI_DISABLE, &straps->hdmi_disable, in read_dce_straps()
498 AUDIO_STREAM_NUMBER, &straps->audio_stream_number); in read_dce_straps()
500 REG_GET(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO, &straps->dc_pinstraps_audio); in read_dce_straps()
/linux/drivers/gpu/drm/amd/display/dc/resource/dce110/
H A Ddce110_resource.c497 struct resource_straps *straps) in read_dce_straps() argument
500 HDMI_DISABLE, &straps->hdmi_disable, in read_dce_straps()
501 AUDIO_STREAM_NUMBER, &straps->audio_stream_number); in read_dce_straps()
503 REG_GET(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO, &straps->dc_pinstraps_audio); in read_dce_straps()
/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Dresource.h80 struct dc_context *ctx, struct resource_straps *straps);
/linux/arch/arm64/boot/dts/freescale/
H A Dimx93-phycore-som.dtsi210 /* the three pins below are connected to PHYs straps,
H A Dimx91-phycore-som.dtsi211 /* the three pins below are connected to PHYs straps,
H A Dimx8mm-data-modul-edm-sbc.dts588 /* MEMCFG[0..2] straps */
593 /* BOOT_CFG[0..15] straps */
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn201/
H A Ddcn201_resource.c869 struct resource_straps *straps) in read_dce_straps() argument
873 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_resource.c408 const struct resource_straps *straps, in update_num_audio() argument
416 if (straps->hdmi_disable == 0) { in update_num_audio()
417 if (straps->dc_pinstraps_audio & 0x2) { in update_num_audio()
423 switch (straps->audio_stream_number) { in update_num_audio()
444 struct resource_straps straps = {0}; in resource_construct() local
447 create_funcs->read_dce_straps(dc->ctx, &straps); in resource_construct()
458 update_num_audio(&straps, &num_audio, &pool->audio_support); in resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn303/
H A Ddcn303_resource.c907 static void read_dce_straps(struct dc_context *ctx, struct resource_straps *straps) in read_dce_straps() argument
910 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn302/
H A Ddcn302_resource.c962 static void read_dce_straps(struct dc_context *ctx, struct resource_straps *straps) in read_dce_straps() argument
965 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn21/
H A Ddcn21_resource.c1107 struct resource_straps *straps) in read_dce_straps() argument
1110 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn10/
H A Ddcn10_resource.c832 struct resource_straps *straps) in read_dce_straps() argument
835 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn301/
H A Ddcn301_resource.c963 struct resource_straps *straps) in read_dce_straps() argument
966 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn314/
H A Ddcn314_resource.c1238 struct resource_straps *straps) in read_dce_straps() argument
1241 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()

12