Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/soc/tegra/fuse/
H A Dtegra-apbmisc.c90 u32 straps = tegra_read_straps(); in tegra_read_ram_code() local
93 straps &= PMC_STRAPPING_OPT_A_RAM_CODE_MASK_LONG; in tegra_read_ram_code()
95 straps &= PMC_STRAPPING_OPT_A_RAM_CODE_MASK_SHORT; in tegra_read_ram_code()
97 return straps >> PMC_STRAPPING_OPT_A_RAM_CODE_SHIFT; in tegra_read_ram_code()
166 struct resource apbmisc, straps; in tegra_init_apbmisc() local
187 straps.start = 0x7000e864; in tegra_init_apbmisc()
188 straps.end = 0x7000e867; in tegra_init_apbmisc()
190 straps.start = 0x70000008; in tegra_init_apbmisc()
191 straps.end = 0x7000000b; in tegra_init_apbmisc()
194 straps.flags = IORESOURCE_MEM; in tegra_init_apbmisc()
[all …]
/openbmc/linux/drivers/crypto/intel/qat/qat_c3xxx/
H A Dadf_c3xxx_hw_data.c28 u32 straps = self->straps; in get_accel_mask() local
32 accel = ~(fuses | straps) >> ADF_C3XXX_ACCELERATORS_REG_OFFSET; in get_accel_mask()
40 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.c131 &hw_data->straps); in adf_probe()
/openbmc/linux/drivers/crypto/intel/qat/qat_c62x/
H A Dadf_c62x_hw_data.c28 u32 straps = self->straps; in get_accel_mask() local
32 accel = ~(fuses | straps) >> ADF_C62X_ACCELERATORS_REG_OFFSET; in get_accel_mask()
40 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.c131 &hw_data->straps); in adf_probe()
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_gen2_hw_data.c215 u32 straps = hw_data->straps; in adf_gen2_get_accel_cap() local
241 if ((straps | fuses) & ADF_POWERGATE_PKE) in adf_gen2_get_accel_cap()
244 if ((straps | fuses) & ADF_POWERGATE_DC) in adf_gen2_get_accel_cap()
H A Dadf_accel_devices.h221 u32 straps; member
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce100/
H A Ddce100_resource.c445 struct resource_straps *straps) in read_dce_straps() argument
448 HDMI_DISABLE, &straps->hdmi_disable, in read_dce_straps()
449 AUDIO_STREAM_NUMBER, &straps->audio_stream_number); in read_dce_straps()
451 REG_GET(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO, &straps->dc_pinstraps_audio); in read_dce_straps()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce120/
H A Ddce120_resource.c666 struct resource_straps *straps) in read_dce_straps() argument
670 straps->audio_stream_number = get_reg_field_value(reg_val, in read_dce_straps()
673 straps->hdmi_disable = get_reg_field_value(reg_val, in read_dce_straps()
678 straps->dc_pinstraps_audio = get_reg_field_value(reg_val, in read_dce_straps()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce80/
H A Ddce80_resource.c485 struct resource_straps *straps) in read_dce_straps() argument
488 HDMI_DISABLE, &straps->hdmi_disable, in read_dce_straps()
489 AUDIO_STREAM_NUMBER, &straps->audio_stream_number); in read_dce_straps()
491 REG_GET(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO, &straps->dc_pinstraps_audio); in read_dce_straps()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce112/
H A Ddce112_resource.c473 struct resource_straps *straps) in read_dce_straps() argument
476 HDMI_DISABLE, &straps->hdmi_disable, in read_dce_straps()
477 AUDIO_STREAM_NUMBER, &straps->audio_stream_number); in read_dce_straps()
479 REG_GET(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO, &straps->dc_pinstraps_audio); in read_dce_straps()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce60/
H A Ddce60_resource.c478 struct resource_straps *straps) in read_dce_straps() argument
481 HDMI_DISABLE, &straps->hdmi_disable, in read_dce_straps()
482 AUDIO_STREAM_NUMBER, &straps->audio_stream_number); in read_dce_straps()
484 REG_GET(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO, &straps->dc_pinstraps_audio); in read_dce_straps()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Dresource.h70 struct dc_context *ctx, struct resource_straps *straps);
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_resource.c493 struct resource_straps *straps) in read_dce_straps() argument
496 HDMI_DISABLE, &straps->hdmi_disable, in read_dce_straps()
497 AUDIO_STREAM_NUMBER, &straps->audio_stream_number); in read_dce_straps()
499 REG_GET(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO, &straps->dc_pinstraps_audio); in read_dce_straps()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_resource.c330 const struct resource_straps *straps, in update_num_audio() argument
338 if (straps->hdmi_disable == 0) { in update_num_audio()
339 if (straps->dc_pinstraps_audio & 0x2) { in update_num_audio()
345 switch (straps->audio_stream_number) { in update_num_audio()
366 struct resource_straps straps = {0}; in resource_construct() local
369 create_funcs->read_dce_straps(dc->ctx, &straps); in resource_construct()
380 update_num_audio(&straps, &num_audio, &pool->audio_support); in resource_construct()
/openbmc/linux/arch/arm64/boot/dts/freescale/
H A Dimx8mm-data-modul-edm-sbc.dts573 /* MEMCFG[0..2] straps */
578 /* BOOT_CFG[0..15] straps */
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn201/
H A Ddcn201_resource.c836 struct resource_straps *straps) in read_dce_straps() argument
840 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn302/
H A Ddcn302_resource.c928 static void read_dce_straps(struct dc_context *ctx, struct resource_straps *straps) in read_dce_straps() argument
931 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn303/
H A Ddcn303_resource.c855 static void read_dce_straps(struct dc_context *ctx, struct resource_straps *straps) in read_dce_straps() argument
858 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_resource.c810 struct resource_straps *straps) in read_dce_straps() argument
813 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn301/
H A Ddcn301_resource.c931 struct resource_straps *straps) in read_dce_straps() argument
934 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn21/
H A Ddcn21_resource.c1100 struct resource_straps *straps) in read_dce_straps() argument
1103 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn316/
H A Ddcn316_resource.c1144 struct resource_straps *straps) in read_dce_straps() argument
1147 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn315/
H A Ddcn315_resource.c1148 struct resource_straps *straps) in read_dce_straps() argument
1151 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn321/
H A Ddcn321_resource.c1076 struct resource_straps *straps) in read_dce_straps() argument
1079 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()

12