Home
last modified time | relevance | path

Searched refs:straps (Results 1 - 25 of 47) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/soc/tegra/fuse/
H A 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 in tegra_init_apbmisc()
[all...]
/kernel/linux/linux-6.6/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 in tegra_init_apbmisc()
[all...]
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_c3xxx/
H A 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()
H A Dadf_drv.c130 &hw_data->straps); in adf_probe()
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_c62x/
H A 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()
H A Dadf_drv.c130 &hw_data->straps); in adf_probe()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/
H A Dresource.h64 struct dc_context *ctx, struct resource_straps *straps);
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce100/
H A Ddce100_resource.c448 struct resource_straps *straps) in read_dce_straps()
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()
446 read_dce_straps( struct dc_context *ctx, struct resource_straps *straps) read_dce_straps() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce100/
H A Ddce100_resource.c445 struct resource_straps *straps) in read_dce_straps()
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()
443 read_dce_straps( struct dc_context *ctx, struct resource_straps *straps) read_dce_straps() argument
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/
H A Dadf_accel_devices.h134 u32 straps; member
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/inc/
H A Dresource.h70 struct dc_context *ctx, struct resource_straps *straps);
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_resource.c501 struct resource_straps *straps) in read_dce_straps()
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()
499 read_dce_straps( struct dc_context *ctx, struct resource_straps *straps) read_dce_straps() argument
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce112/
H A Ddce112_resource.c476 struct resource_straps *straps) in read_dce_straps()
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()
474 read_dce_straps( struct dc_context *ctx, struct resource_straps *straps) read_dce_straps() argument
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce120/
H A Ddce120_resource.c674 struct resource_straps *straps) in read_dce_straps()
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()
672 read_dce_straps( struct dc_context *ctx, struct resource_straps *straps) read_dce_straps() argument
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce80/
H A Ddce80_resource.c488 struct resource_straps *straps) in read_dce_straps()
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()
486 read_dce_straps( struct dc_context *ctx, struct resource_straps *straps) read_dce_straps() argument
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce60/
H A Ddce60_resource.c483 struct resource_straps *straps) in read_dce_straps()
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()
481 read_dce_straps( struct dc_context *ctx, struct resource_straps *straps) read_dce_straps() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce120/
H A Ddce120_resource.c666 struct resource_straps *straps) in read_dce_straps()
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()
664 read_dce_straps( struct dc_context *ctx, struct resource_straps *straps) read_dce_straps() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce60/
H A Ddce60_resource.c478 struct resource_straps *straps) in read_dce_straps()
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()
476 read_dce_straps( struct dc_context *ctx, struct resource_straps *straps) read_dce_straps() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_resource.c493 struct resource_straps *straps) in read_dce_straps()
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()
491 read_dce_straps( struct dc_context *ctx, struct resource_straps *straps) read_dce_straps() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce112/
H A Ddce112_resource.c473 struct resource_straps *straps) in read_dce_straps()
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()
471 read_dce_straps( struct dc_context *ctx, struct resource_straps *straps) read_dce_straps() argument

Completed in 23 milliseconds

12