Home
last modified time | relevance | path

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

12

/linux/drivers/soc/tegra/fuse/
A Dtegra-apbmisc.c85 u32 straps = tegra_read_straps(); in tegra_read_ram_code() local
88 straps &= PMC_STRAPPING_OPT_A_RAM_CODE_MASK_LONG; in tegra_read_ram_code()
90 straps &= PMC_STRAPPING_OPT_A_RAM_CODE_MASK_SHORT; in tegra_read_ram_code()
138 struct resource apbmisc, straps; in tegra_init_apbmisc() local
159 straps.start = 0x7000e864; in tegra_init_apbmisc()
160 straps.end = 0x7000e867; in tegra_init_apbmisc()
162 straps.start = 0x70000008; in tegra_init_apbmisc()
163 straps.end = 0x7000000b; in tegra_init_apbmisc()
166 straps.flags = IORESOURCE_MEM; in tegra_init_apbmisc()
170 &straps); in tegra_init_apbmisc()
[all …]
/linux/drivers/crypto/qat/qat_c62x/
A Dadf_c62x_hw_data.c24 u32 straps = self->straps; in get_accel_mask() local
28 accel = ~(fuses | straps) >> ADF_C62X_ACCELERATORS_REG_OFFSET; in get_accel_mask()
36 u32 straps = self->straps; in get_ae_mask() local
46 straps |= ae_disable << (accel << 1); in get_ae_mask()
48 return ~(fuses | straps) & ADF_C62X_ACCELENGINES_MASK; in get_ae_mask()
A Dadf_drv.c131 &hw_data->straps); in adf_probe()
/linux/drivers/crypto/qat/qat_c3xxx/
A Dadf_c3xxx_hw_data.c24 u32 straps = self->straps; in get_accel_mask() local
28 accel = ~(fuses | straps) >> ADF_C3XXX_ACCELERATORS_REG_OFFSET; in get_accel_mask()
36 u32 straps = self->straps; in get_ae_mask() local
46 straps |= ae_disable << (accel << 1); in get_ae_mask()
48 return ~(fuses | straps) & ADF_C3XXX_ACCELENGINES_MASK; in get_ae_mask()
A Dadf_drv.c131 &hw_data->straps); in adf_probe()
/linux/drivers/crypto/qat/qat_common/
A Dadf_gen2_hw_data.c257 u32 straps = hw_data->straps; in adf_gen2_get_accel_cap() local
274 if ((straps | fuses) & ADF_POWERGATE_PKE) in adf_gen2_get_accel_cap()
A Dadf_accel_devices.h194 u32 straps; member
/linux/drivers/gpu/drm/amd/display/dc/dce100/
A Ddce100_resource.c443 struct resource_straps *straps) in read_dce_straps() argument
446 HDMI_DISABLE, &straps->hdmi_disable, in read_dce_straps()
447 AUDIO_STREAM_NUMBER, &straps->audio_stream_number); in read_dce_straps()
449 REG_GET(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO, &straps->dc_pinstraps_audio); in read_dce_straps()
/linux/drivers/gpu/drm/amd/display/dc/inc/
A Dresource.h68 struct dc_context *ctx, struct resource_straps *straps);
/linux/drivers/gpu/drm/amd/display/dc/dce120/
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()
/linux/Documentation/devicetree/bindings/net/
A Dsocionext-netsec.txt35 the firmware or set by hardware straps, and needs to be preserved.
A Dti,dp83869.yaml65 mode is set by the straps. see dt-bindings/net/ti-dp83869.h for values
/linux/drivers/gpu/drm/amd/display/dc/dce112/
A Ddce112_resource.c471 struct resource_straps *straps) in read_dce_straps() argument
474 HDMI_DISABLE, &straps->hdmi_disable, in read_dce_straps()
475 AUDIO_STREAM_NUMBER, &straps->audio_stream_number); in read_dce_straps()
477 REG_GET(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO, &straps->dc_pinstraps_audio); in read_dce_straps()
/linux/drivers/gpu/drm/amd/display/dc/dce60/
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()
/linux/drivers/gpu/drm/amd/display/dc/dce80/
A Ddce80_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()
/linux/drivers/gpu/drm/amd/display/dc/dce110/
A Ddce110_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/core/
A Ddc_resource.c282 const struct resource_straps *straps, in update_num_audio() argument
290 if (straps->hdmi_disable == 0) { in update_num_audio()
291 if (straps->dc_pinstraps_audio & 0x2) { in update_num_audio()
297 switch (straps->audio_stream_number) { in update_num_audio()
318 struct resource_straps straps = {0}; in resource_construct() local
321 create_funcs->read_dce_straps(dc->ctx, &straps); in resource_construct()
332 update_num_audio(&straps, &num_audio, &pool->audio_support); in resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/dcn201/
A Ddcn201_resource.c838 struct resource_straps *straps) in read_dce_straps() argument
842 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/linux/drivers/gpu/drm/amd/display/dc/dcn10/
A 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()
/linux/drivers/gpu/drm/amd/display/dc/dcn301/
A Ddcn301_resource.c952 struct resource_straps *straps) in read_dce_straps() argument
955 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/linux/drivers/gpu/drm/amd/display/dc/dcn302/
A Ddcn302_resource.c1063 static void read_dce_straps(struct dc_context *ctx, struct resource_straps *straps) in read_dce_straps() argument
1066 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/linux/drivers/gpu/drm/amd/display/dc/dcn303/
A Ddcn303_resource.c989 static void read_dce_straps(struct dc_context *ctx, struct resource_straps *straps) in read_dce_straps() argument
992 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/linux/drivers/gpu/drm/amd/display/dc/dcn21/
A Ddcn21_resource.c1540 struct resource_straps *straps) in read_dce_straps() argument
1543 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/linux/drivers/gpu/drm/amd/display/dc/dcn31/
A Ddcn31_resource.c1296 struct resource_straps *straps) in read_dce_straps() argument
1299 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/linux/drivers/gpu/drm/amd/display/dc/dcn30/
A Ddcn30_resource.c1098 struct resource_straps *straps) in read_dce_straps() argument
1101 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()

Completed in 76 milliseconds

12