Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/soc/tegra/fuse/
Dtegra-apbmisc.c65 u32 straps = tegra_read_straps(); in tegra_read_ram_code() local
68 straps &= PMC_STRAPPING_OPT_A_RAM_CODE_MASK_LONG; in tegra_read_ram_code()
70 straps &= PMC_STRAPPING_OPT_A_RAM_CODE_MASK_SHORT; in tegra_read_ram_code()
72 return straps >> PMC_STRAPPING_OPT_A_RAM_CODE_SHIFT; in tegra_read_ram_code()
118 struct resource apbmisc, straps; in tegra_init_apbmisc() local
139 straps.start = 0x7000e864; in tegra_init_apbmisc()
140 straps.end = 0x7000e867; in tegra_init_apbmisc()
142 straps.start = 0x70000008; in tegra_init_apbmisc()
143 straps.end = 0x7000000b; in tegra_init_apbmisc()
146 straps.flags = IORESOURCE_MEM; in tegra_init_apbmisc()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce100/
Ddce100_resource.c390 struct resource_straps *straps) in read_dce_straps() argument
393 HDMI_DISABLE, &straps->hdmi_disable, in read_dce_straps()
394 AUDIO_STREAM_NUMBER, &straps->audio_stream_number); in read_dce_straps()
396 REG_GET(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO, &straps->dc_pinstraps_audio); in read_dce_straps()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/inc/
Dresource.h57 struct dc_context *ctx, struct resource_straps *straps);
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce120/
Ddce120_resource.c538 struct resource_straps *straps) in read_dce_straps() argument
542 straps->audio_stream_number = get_reg_field_value(reg_val, in read_dce_straps()
545 straps->hdmi_disable = get_reg_field_value(reg_val, in read_dce_straps()
550 straps->dc_pinstraps_audio = get_reg_field_value(reg_val, in read_dce_straps()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_resource.c403 struct resource_straps *straps) in read_dce_straps() argument
406 HDMI_DISABLE, &straps->hdmi_disable, in read_dce_straps()
407 AUDIO_STREAM_NUMBER, &straps->audio_stream_number); in read_dce_straps()
409 REG_GET(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO, &straps->dc_pinstraps_audio); in read_dce_straps()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce112/
Ddce112_resource.c408 struct resource_straps *straps) in read_dce_straps() argument
411 HDMI_DISABLE, &straps->hdmi_disable, in read_dce_straps()
412 AUDIO_STREAM_NUMBER, &straps->audio_stream_number); in read_dce_straps()
414 REG_GET(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO, &straps->dc_pinstraps_audio); in read_dce_straps()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce80/
Ddce80_resource.c421 struct resource_straps *straps) in read_dce_straps() argument
424 HDMI_DISABLE, &straps->hdmi_disable, in read_dce_straps()
425 AUDIO_STREAM_NUMBER, &straps->audio_stream_number); in read_dce_straps()
427 REG_GET(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO, &straps->dc_pinstraps_audio); in read_dce_straps()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c174 const struct resource_straps *straps, in update_num_audio() argument
182 if (straps->hdmi_disable == 0) { in update_num_audio()
183 if (straps->dc_pinstraps_audio & 0x2) { in update_num_audio()
189 switch (straps->audio_stream_number) { in update_num_audio()
210 struct resource_straps straps = {0}; in resource_construct() local
213 create_funcs->read_dce_straps(dc->ctx, &straps); in resource_construct()
224 update_num_audio(&straps, &num_audio, &pool->audio_support); in resource_construct()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_resource.c726 struct resource_straps *straps) in read_dce_straps() argument
729 FN(DC_PINSTRAPS, DC_PINSTRAPS_AUDIO), &straps->dc_pinstraps_audio); in read_dce_straps()
/Linux-v4.19/Documentation/admin-guide/
Dkernel-parameters.txt1516 'relaxed' straps the emulator for both legacy-NaN and