Home
last modified time | relevance | path

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

12

/linux-6.15/drivers/soc/tegra/fuse/
H A Dtegra-apbmisc.c93 u32 straps = tegra_read_straps(); in tegra_read_ram_code() local
96 straps &= PMC_STRAPPING_OPT_A_RAM_CODE_MASK_LONG; in tegra_read_ram_code()
167 struct resource *straps) in tegra_init_apbmisc_resources() argument
177 strapping_base = ioremap(straps->start, resource_size(straps)); in tegra_init_apbmisc_resources()
194 struct resource apbmisc, straps; in tegra_init_apbmisc() local
215 straps.start = 0x7000e864; in tegra_init_apbmisc()
216 straps.end = 0x7000e867; in tegra_init_apbmisc()
218 straps.start = 0x70000008; in tegra_init_apbmisc()
219 straps.end = 0x7000000b; in tegra_init_apbmisc()
222 straps.flags = IORESOURCE_MEM; in tegra_init_apbmisc()
[all …]
/linux-6.15/drivers/crypto/intel/qat/qat_c62x/
H A Dadf_c62x_hw_data.c31 u32 straps = self->straps; in get_accel_mask() local
34 accel = ~(fuses | straps) >> ADF_C62X_ACCELERATORS_REG_OFFSET; in get_accel_mask()
43 u32 straps = self->straps; in get_ae_mask() local
52 straps |= ae_disable << (accel << 1); in get_ae_mask()
54 return ~(fuses | straps) & ADF_C62X_ACCELENGINES_MASK; in get_ae_mask()
H A Dadf_drv.c131 &hw_data->straps); in adf_probe()
/linux-6.15/drivers/crypto/intel/qat/qat_c3xxx/
H A Dadf_c3xxx_hw_data.c31 u32 straps = self->straps; in get_accel_mask() local
34 accel = ~(fuses | straps) >> ADF_C3XXX_ACCELERATORS_REG_OFFSET; in get_accel_mask()
43 u32 straps = self->straps; in get_ae_mask() local
52 straps |= ae_disable << (accel << 1); in get_ae_mask()
54 return ~(fuses | straps) & ADF_C3XXX_ACCELENGINES_MASK; in get_ae_mask()
H A Dadf_drv.c131 &hw_data->straps); in adf_probe()
/linux-6.15/drivers/crypto/intel/qat/qat_common/
H A Dadf_gen2_hw_data.c119 u32 straps = hw_data->straps; in adf_gen2_get_accel_cap() local
144 if ((straps | fuses) & ADF_POWERGATE_PKE) in adf_gen2_get_accel_cap()
147 if ((straps | fuses) & ADF_POWERGATE_DC) in adf_gen2_get_accel_cap()
H A Dadf_accel_devices.h359 u32 straps; member
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dce100/
H A Ddce100_resource.c445 struct resource_straps *straps) in read_dce_straps() argument
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()
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dce120/
H A Ddce120_resource.c673 struct resource_straps *straps) in read_dce_straps() argument
677 straps->audio_stream_number = get_reg_field_value(reg_val, in read_dce_straps()
680 straps->hdmi_disable = get_reg_field_value(reg_val, in read_dce_straps()
685 straps->dc_pinstraps_audio = get_reg_field_value(reg_val, in read_dce_straps()
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dce112/
H A Ddce112_resource.c473 struct resource_straps *straps) in read_dce_straps() argument
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()
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dce80/
H A Ddce80_resource.c484 struct resource_straps *straps) in read_dce_straps() argument
487 HDMI_DISABLE, &straps->hdmi_disable, in read_dce_straps()
488 AUDIO_STREAM_NUMBER, &straps->audio_stream_number); in read_dce_straps()
490 REG_GET(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO, &straps->dc_pinstraps_audio); in read_dce_straps()
/linux-6.15/drivers/gpu/drm/amd/display/dc/dce60/
H 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-6.15/Documentation/devicetree/bindings/net/
H A Dti,dp83869.yaml65 mode is set by the straps. see dt-bindings/net/ti-dp83869.h for values
H A Dti,dp83822.yaml91 The RMII operation mode can also be configured by its straps.
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dce110/
H A Ddce110_resource.c493 struct resource_straps *straps) in read_dce_straps() argument
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()
/linux-6.15/drivers/gpu/drm/amd/display/dc/inc/
H A Dresource.h70 struct dc_context *ctx, struct resource_straps *straps);
/linux-6.15/arch/arm64/boot/dts/freescale/
H A Dimx8mm-data-modul-edm-sbc.dts588 /* MEMCFG[0..2] straps */
593 /* BOOT_CFG[0..15] straps */
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dcn201/
H A Ddcn201_resource.c840 struct resource_straps *straps) in read_dce_straps() argument
844 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/linux-6.15/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_resource.c369 const struct resource_straps *straps, in update_num_audio() argument
377 if (straps->hdmi_disable == 0) { in update_num_audio()
378 if (straps->dc_pinstraps_audio & 0x2) { in update_num_audio()
384 switch (straps->audio_stream_number) { in update_num_audio()
405 struct resource_straps straps = {0}; in resource_construct() local
408 create_funcs->read_dce_straps(dc->ctx, &straps); in resource_construct()
419 update_num_audio(&straps, &num_audio, &pool->audio_support); in resource_construct()
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dcn303/
H A Ddcn303_resource.c876 static void read_dce_straps(struct dc_context *ctx, 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-6.15/drivers/gpu/drm/amd/display/dc/resource/dcn302/
H A Ddcn302_resource.c930 static void read_dce_straps(struct dc_context *ctx, struct resource_straps *straps) in read_dce_straps() argument
933 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dcn10/
H A Ddcn10_resource.c802 struct resource_straps *straps) in read_dce_straps() argument
805 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dcn301/
H A Ddcn301_resource.c934 struct resource_straps *straps) in read_dce_straps() argument
937 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dcn21/
H A Ddcn21_resource.c1081 struct resource_straps *straps) in read_dce_straps() argument
1084 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dcn316/
H A Ddcn316_resource.c1143 struct resource_straps *straps) in read_dce_straps() argument
1146 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()

12