Home
last modified time | relevance | path

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

/drivers/soc/tegra/fuse/
Dtegra-apbmisc.c84 u32 straps = tegra_read_straps(); in tegra_read_ram_code() local
87 straps &= PMC_STRAPPING_OPT_A_RAM_CODE_MASK_LONG; in tegra_read_ram_code()
89 straps &= PMC_STRAPPING_OPT_A_RAM_CODE_MASK_SHORT; in tegra_read_ram_code()
91 return straps >> PMC_STRAPPING_OPT_A_RAM_CODE_SHIFT; in tegra_read_ram_code()
136 struct resource apbmisc, straps; in tegra_init_apbmisc() local
157 straps.start = 0x7000e864; in tegra_init_apbmisc()
158 straps.end = 0x7000e867; in tegra_init_apbmisc()
160 straps.start = 0x70000008; in tegra_init_apbmisc()
161 straps.end = 0x7000000b; in tegra_init_apbmisc()
164 straps.flags = IORESOURCE_MEM; in tegra_init_apbmisc()
[all …]
/drivers/crypto/qat/qat_c62x/
Dadf_c62x_hw_data.c27 u32 straps = self->straps; in get_accel_mask() local
31 accel = ~(fuses | straps) >> ADF_C62X_ACCELERATORS_REG_OFFSET; in get_accel_mask()
39 u32 straps = self->straps; in get_ae_mask() local
49 straps |= ae_disable << (accel << 1); in get_ae_mask()
51 return ~(fuses | straps) & ADF_C62X_ACCELENGINES_MASK; in get_ae_mask()
Dadf_drv.c130 &hw_data->straps); in adf_probe()
/drivers/crypto/qat/qat_c3xxx/
Dadf_c3xxx_hw_data.c22 u32 straps = self->straps; in get_accel_mask() local
26 accel = ~(fuses | straps) >> ADF_C3XXX_ACCELERATORS_REG_OFFSET; in get_accel_mask()
34 u32 straps = self->straps; in get_ae_mask() local
44 straps |= ae_disable << (accel << 1); in get_ae_mask()
46 return ~(fuses | straps) & ADF_C3XXX_ACCELENGINES_MASK; in get_ae_mask()
Dadf_drv.c130 &hw_data->straps); in adf_probe()
/drivers/gpu/drm/amd/display/dc/dce100/
Ddce100_resource.c448 struct resource_straps *straps) in read_dce_straps() argument
451 HDMI_DISABLE, &straps->hdmi_disable, in read_dce_straps()
452 AUDIO_STREAM_NUMBER, &straps->audio_stream_number); in read_dce_straps()
454 REG_GET(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO, &straps->dc_pinstraps_audio); in read_dce_straps()
/drivers/gpu/drm/amd/display/dc/inc/
Dresource.h64 struct dc_context *ctx, struct resource_straps *straps);
/drivers/gpu/drm/amd/display/dc/dce120/
Ddce120_resource.c674 struct resource_straps *straps) in read_dce_straps() argument
678 straps->audio_stream_number = get_reg_field_value(reg_val, in read_dce_straps()
681 straps->hdmi_disable = get_reg_field_value(reg_val, in read_dce_straps()
686 straps->dc_pinstraps_audio = get_reg_field_value(reg_val, in read_dce_straps()
/drivers/crypto/qat/qat_common/
Dadf_accel_devices.h134 u32 straps; member
/drivers/gpu/drm/amd/display/dc/dce112/
Ddce112_resource.c476 struct resource_straps *straps) in read_dce_straps() argument
479 HDMI_DISABLE, &straps->hdmi_disable, in read_dce_straps()
480 AUDIO_STREAM_NUMBER, &straps->audio_stream_number); in read_dce_straps()
482 REG_GET(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO, &straps->dc_pinstraps_audio); in read_dce_straps()
/drivers/gpu/drm/amd/display/dc/dce80/
Ddce80_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()
/drivers/gpu/drm/amd/display/dc/dce60/
Ddce60_resource.c483 struct resource_straps *straps) in read_dce_straps() argument
486 HDMI_DISABLE, &straps->hdmi_disable, in read_dce_straps()
487 AUDIO_STREAM_NUMBER, &straps->audio_stream_number); in read_dce_straps()
489 REG_GET(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO, &straps->dc_pinstraps_audio); in read_dce_straps()
/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_resource.c501 struct resource_straps *straps) in read_dce_straps() argument
504 HDMI_DISABLE, &straps->hdmi_disable, in read_dce_straps()
505 AUDIO_STREAM_NUMBER, &straps->audio_stream_number); in read_dce_straps()
507 REG_GET(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO, &straps->dc_pinstraps_audio); in read_dce_straps()
/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c251 const struct resource_straps *straps, in update_num_audio() argument
259 if (straps->hdmi_disable == 0) { in update_num_audio()
260 if (straps->dc_pinstraps_audio & 0x2) { in update_num_audio()
266 switch (straps->audio_stream_number) { in update_num_audio()
287 struct resource_straps straps = {0}; in resource_construct() local
290 create_funcs->read_dce_straps(dc->ctx, &straps); in resource_construct()
301 update_num_audio(&straps, &num_audio, &pool->audio_support); in resource_construct()
/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_resource.c876 struct resource_straps *straps) in read_dce_straps() argument
879 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_resource.c1380 struct resource_straps *straps) in read_dce_straps() argument
1383 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_resource.c1094 struct resource_straps *straps) in read_dce_straps() argument
1097 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_resource.c1353 struct resource_straps *straps) in read_dce_straps() argument
1356 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()