/drivers/soc/tegra/fuse/ |
D | tegra-apbmisc.c | 84 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/ |
D | adf_c62x_hw_data.c | 27 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()
|
D | adf_drv.c | 130 &hw_data->straps); in adf_probe()
|
/drivers/crypto/qat/qat_c3xxx/ |
D | adf_c3xxx_hw_data.c | 22 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()
|
D | adf_drv.c | 130 &hw_data->straps); in adf_probe()
|
/drivers/gpu/drm/amd/display/dc/dce100/ |
D | dce100_resource.c | 448 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/ |
D | resource.h | 64 struct dc_context *ctx, struct resource_straps *straps);
|
/drivers/gpu/drm/amd/display/dc/dce120/ |
D | dce120_resource.c | 674 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/ |
D | adf_accel_devices.h | 134 u32 straps; member
|
/drivers/gpu/drm/amd/display/dc/dce112/ |
D | dce112_resource.c | 476 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/ |
D | dce80_resource.c | 488 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/ |
D | dce60_resource.c | 483 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/ |
D | dce110_resource.c | 501 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/ |
D | dc_resource.c | 251 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/ |
D | dcn10_resource.c | 876 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/ |
D | dcn21_resource.c | 1380 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/ |
D | dcn30_resource.c | 1094 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/ |
D | dcn20_resource.c | 1353 struct resource_straps *straps) in read_dce_straps() argument 1356 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
|