Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/soc/tegra/fuse/
Dtegra-apbmisc.c89 u32 straps = tegra_read_straps(); in tegra_read_ram_code() local
92 straps &= PMC_STRAPPING_OPT_A_RAM_CODE_MASK_LONG; in tegra_read_ram_code()
94 straps &= PMC_STRAPPING_OPT_A_RAM_CODE_MASK_SHORT; in tegra_read_ram_code()
96 return straps >> PMC_STRAPPING_OPT_A_RAM_CODE_SHIFT; in tegra_read_ram_code()
164 struct resource apbmisc, straps; in tegra_init_apbmisc() local
185 straps.start = 0x7000e864; in tegra_init_apbmisc()
186 straps.end = 0x7000e867; in tegra_init_apbmisc()
188 straps.start = 0x70000008; in tegra_init_apbmisc()
189 straps.end = 0x7000000b; in tegra_init_apbmisc()
192 straps.flags = IORESOURCE_MEM; in tegra_init_apbmisc()
[all …]
/linux-6.1.9/drivers/crypto/qat/qat_c3xxx/
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()
Dadf_drv.c131 &hw_data->straps); in adf_probe()
/linux-6.1.9/drivers/crypto/qat/qat_c62x/
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()
Dadf_drv.c131 &hw_data->straps); in adf_probe()
/linux-6.1.9/drivers/crypto/qat/qat_common/
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()
Dadf_accel_devices.h208 u32 straps; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce100/
Ddce100_resource.c441 struct resource_straps *straps) in read_dce_straps() argument
444 HDMI_DISABLE, &straps->hdmi_disable, in read_dce_straps()
445 AUDIO_STREAM_NUMBER, &straps->audio_stream_number); in read_dce_straps()
447 REG_GET(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO, &straps->dc_pinstraps_audio); in read_dce_straps()
/linux-6.1.9/Documentation/devicetree/bindings/net/
Dsocionext-netsec.txt35 the firmware or set by hardware straps, and needs to be preserved.
Dti,dp83869.yaml65 mode is set by the straps. see dt-bindings/net/ti-dp83869.h for values
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/
Dresource.h70 struct dc_context *ctx, struct resource_straps *straps);
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce120/
Ddce120_resource.c665 struct resource_straps *straps) in read_dce_straps() argument
669 straps->audio_stream_number = get_reg_field_value(reg_val, in read_dce_straps()
672 straps->hdmi_disable = get_reg_field_value(reg_val, in read_dce_straps()
677 straps->dc_pinstraps_audio = get_reg_field_value(reg_val, in read_dce_straps()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce112/
Ddce112_resource.c469 struct resource_straps *straps) in read_dce_straps() argument
472 HDMI_DISABLE, &straps->hdmi_disable, in read_dce_straps()
473 AUDIO_STREAM_NUMBER, &straps->audio_stream_number); in read_dce_straps()
475 REG_GET(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO, &straps->dc_pinstraps_audio); in read_dce_straps()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce60/
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-6.1.9/drivers/gpu/drm/amd/display/dc/dce80/
Ddce80_resource.c481 struct resource_straps *straps) in read_dce_straps() argument
484 HDMI_DISABLE, &straps->hdmi_disable, in read_dce_straps()
485 AUDIO_STREAM_NUMBER, &straps->audio_stream_number); in read_dce_straps()
487 REG_GET(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO, &straps->dc_pinstraps_audio); in read_dce_straps()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_resource.c492 struct resource_straps *straps) in read_dce_straps() argument
495 HDMI_DISABLE, &straps->hdmi_disable, in read_dce_straps()
496 AUDIO_STREAM_NUMBER, &straps->audio_stream_number); in read_dce_straps()
498 REG_GET(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO, &straps->dc_pinstraps_audio); in read_dce_straps()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c316 const struct resource_straps *straps, in update_num_audio() argument
324 if (straps->hdmi_disable == 0) { in update_num_audio()
325 if (straps->dc_pinstraps_audio & 0x2) { in update_num_audio()
331 switch (straps->audio_stream_number) { in update_num_audio()
352 struct resource_straps straps = {0}; in resource_construct() local
355 create_funcs->read_dce_straps(dc->ctx, &straps); in resource_construct()
366 update_num_audio(&straps, &num_audio, &pool->audio_support); in resource_construct()
/linux-6.1.9/arch/arm64/boot/dts/freescale/
Dimx8mm-data-modul-edm-sbc.dts566 /* MEMCFG[0..2] straps */
571 /* BOOT_CFG[0..15] straps */
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn201/
Ddcn201_resource.c837 struct resource_straps *straps) in read_dce_straps() argument
841 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn302/
Ddcn302_resource.c936 static void read_dce_straps(struct dc_context *ctx, struct resource_straps *straps) in read_dce_straps() argument
939 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn303/
Ddcn303_resource.c864 static void read_dce_straps(struct dc_context *ctx, struct resource_straps *straps) in read_dce_straps() argument
867 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_resource.c1114 struct resource_straps *straps) in read_dce_straps() argument
1117 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn301/
Ddcn301_resource.c949 struct resource_straps *straps) in read_dce_straps() argument
952 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_resource.c811 struct resource_straps *straps) in read_dce_straps() argument
814 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn314/
Ddcn314_resource.c1188 struct resource_straps *straps) in read_dce_straps() argument
1191 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()

12