Home
last modified time | relevance | path

Searched refs:att (Results 1 – 25 of 30) sorted by relevance

12

/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn32/
H A Ddcn32_hubp.c167 hubp->att.SURFACE_ADDR_HIGH = attr->address.high_part; in hubp32_cursor_set_attributes()
168 hubp->att.SURFACE_ADDR = attr->address.low_part; in hubp32_cursor_set_attributes()
169 hubp->att.size.bits.width = attr->width; in hubp32_cursor_set_attributes()
170 hubp->att.size.bits.height = attr->height; in hubp32_cursor_set_attributes()
171 hubp->att.cur_ctl.bits.mode = attr->color_format; in hubp32_cursor_set_attributes()
176 hubp->att.cur_ctl.bits.pitch = hw_pitch; in hubp32_cursor_set_attributes()
177 hubp->att.cur_ctl.bits.line_per_chunk = lpc; in hubp32_cursor_set_attributes()
178 hubp->att.cur_ctl.bits.cur_2x_magnify = attr->attribute_flags.bits.ENABLE_MAGNIFICATION; in hubp32_cursor_set_attributes()
179 hubp->att.settings.bits.dst_y_offset = 0; in hubp32_cursor_set_attributes()
180 hubp->att.settings.bits.chunk_hdl_adjust = 3; in hubp32_cursor_set_attributes()
/linux/drivers/remoteproc/
H A Dimx_rproc.c485 const struct imx_rproc_att *att = &dcfg->att[i]; in imx_rproc_da_to_sys() local
493 if (att->flags & ATT_CORE_MASK) { in imx_rproc_da_to_sys()
494 if (!((BIT(priv->core_index)) & (att->flags & ATT_CORE_MASK))) in imx_rproc_da_to_sys()
498 if (da >= att->da && da + len < att->da + att->size) { in imx_rproc_da_to_sys()
499 unsigned int offset = da - att->da; in imx_rproc_da_to_sys()
501 *sys = att->sa + offset; in imx_rproc_da_to_sys()
503 *is_iomem = att->flags & ATT_IOMEM; in imx_rproc_da_to_sys()
768 const struct imx_rproc_att *att = &dcfg->att[a]; in imx_rproc_addr_init() local
770 if (!(att->flags & ATT_OWN)) in imx_rproc_addr_init()
776 if (att->flags & ATT_IOMEM) in imx_rproc_addr_init()
[all …]
H A Dimx_dsp_rproc.c466 const struct imx_rproc_att *att = &dcfg->att[i]; in imx_dsp_rproc_sys_to_da() local
468 if (sys >= att->sa && sys + len <= att->sa + att->size) { in imx_dsp_rproc_sys_to_da()
469 unsigned int offset = sys - att->sa; in imx_dsp_rproc_sys_to_da()
471 *da = att->da + offset; in imx_dsp_rproc_sys_to_da()
693 const struct imx_rproc_att *att = &dcfg->att[a]; in imx_dsp_rproc_add_carveout() local
695 if (!(att->flags & ATT_OWN)) in imx_dsp_rproc_add_carveout()
698 if (imx_dsp_rproc_sys_to_da(priv, att->sa, att->size, &da)) in imx_dsp_rproc_add_carveout()
702 mem = rproc_mem_entry_init(dev, NULL, (dma_addr_t)att->sa, in imx_dsp_rproc_add_carveout()
703 att->size, da, imx_dsp_rproc_mem_alloc, in imx_dsp_rproc_add_carveout()
707 rproc_coredump_add_segment(rproc, da, att->size); in imx_dsp_rproc_add_carveout()
[all …]
H A Dimx_rproc.h37 const struct imx_rproc_att *att; member
/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn401/
H A Ddcn401_dpp_cm.c123 dpp_base->att.cur0_ctl.bits.expansion_mode = 0; in dpp401_set_cursor_attributes()
124 dpp_base->att.cur0_ctl.bits.cur0_rom_en = cur_rom_en; in dpp401_set_cursor_attributes()
125 dpp_base->att.cur0_ctl.bits.mode = color_format; in dpp401_set_cursor_attributes()
144 dpp_base->att.cur0_ctl.bits.cur0_enable = cur_en; in dpp401_set_cursor_position()
161 dpp_base->att.fp_scale_bias_g_y.bits.fp_bias_g_y = attr->bias; in dpp401_set_optional_cursor_attributes()
162 dpp_base->att.fp_scale_bias_g_y.bits.fp_scale_g_y = attr->scale; in dpp401_set_optional_cursor_attributes()
163 dpp_base->att.fp_scale_bias_rb_crcb.bits.fp_bias_rb_crcb = attr->bias; in dpp401_set_optional_cursor_attributes()
164 dpp_base->att.fp_scale_bias_rb_crcb.bits.fp_scale_rb_crcb = attr->scale; in dpp401_set_optional_cursor_attributes()
/linux/drivers/net/wireless/broadcom/b43/
H A Dphy_g.c75 {.att = 3,.with_padmix = 0,}, in generate_rfatt_list()
76 {.att = 1,.with_padmix = 0,}, in generate_rfatt_list()
77 {.att = 5,.with_padmix = 0,}, in generate_rfatt_list()
78 {.att = 7,.with_padmix = 0,}, in generate_rfatt_list()
79 {.att = 9,.with_padmix = 0,}, in generate_rfatt_list()
80 {.att = 2,.with_padmix = 0,}, in generate_rfatt_list()
81 {.att = 0,.with_padmix = 0,}, in generate_rfatt_list()
82 {.att = 4,.with_padmix = 0,}, in generate_rfatt_list()
83 {.att = 6,.with_padmix = 0,}, in generate_rfatt_list()
84 {.att = 8,.with_padmix = 0,}, in generate_rfatt_list()
[all …]
H A Dphy_g.h70 u8 att; /* Attenuation value */ member
86 return ((a->att == b->att) && in b43_compare_rfatt()
92 u8 att; /* Attenuation value */ member
107 return (a->att == b->att); in b43_compare_bbatt()
H A Dlo.c744 b43_radio_maskset(dev, 0x43, 0xFFF0, rfatt->att); in b43_calibrate_lo_setting()
747 max_rx_gain = rfatt->att * 2; in b43_calibrate_lo_setting()
748 max_rx_gain += bbatt->att / 2; in b43_calibrate_lo_setting()
756 b43_gphy_set_baseband_attenuation(dev, bbatt->att); in b43_calibrate_lo_setting()
765 bbatt->att, rfatt->att, rfatt->with_padmix, in b43_calibrate_lo_setting()
882 if ((rf->att != 1) && (rf->att != 2) && (rf->att != 3)) in b43_lo_fixup_rfatt()
883 rf->att = 4; in b43_lo_fixup_rfatt()
910 rf.att = rfatt; in b43_lo_g_adjust_to()
911 bb.att = bbatt; in b43_lo_g_adjust_to()
963 cal->bbatt.att, cal->rfatt.att, in b43_lo_g_maintenance_work()
H A Ddebugfs.c461 cal->bbatt.att, in loctls_read_file()
462 cal->rfatt.att, cal->rfatt.with_padmix, in loctls_read_file()
472 lo->rfatt_list.list[i].att, in loctls_read_file()
479 lo->bbatt_list.list[i].att); in loctls_read_file()
/linux/sound/drivers/opl4/
H A Dopl4_synth.c362 int att; in snd_opl4_update_volume() local
364 att = voice->sound->tone_attenuate; in snd_opl4_update_volume()
365 att += snd_opl4_volume_table[opl4->chset->gs_master_volume & 0x7f]; in snd_opl4_update_volume()
366 att += snd_opl4_volume_table[voice->chan->gm_volume & 0x7f]; in snd_opl4_update_volume()
367 att += snd_opl4_volume_table[voice->chan->gm_expression & 0x7f]; in snd_opl4_update_volume()
368 att += snd_opl4_volume_table[voice->velocity]; in snd_opl4_update_volume()
369 att = 0x7f - (0x7f - att) * (voice->sound->volume_factor) / 0xfe - volume_boost; in snd_opl4_update_volume()
370 if (att < 0) in snd_opl4_update_volume()
371 att = 0; in snd_opl4_update_volume()
372 else if (att > 0x7e) in snd_opl4_update_volume()
[all …]
/linux/drivers/net/wireless/broadcom/b43legacy/
H A Dradio.c1929 u16 att = 0xFFFF; in b43legacy_default_radio_attenuation() local
1935 att = 6; in b43legacy_default_radio_attenuation()
1942 att = 5; in b43legacy_default_radio_attenuation()
1949 att = 3; in b43legacy_default_radio_attenuation()
1952 att = 3; in b43legacy_default_radio_attenuation()
1954 att = 1; in b43legacy_default_radio_attenuation()
1959 att = 7; in b43legacy_default_radio_attenuation()
1961 att = 6; in b43legacy_default_radio_attenuation()
1969 att = 3; in b43legacy_default_radio_attenuation()
1973 att = 5; in b43legacy_default_radio_attenuation()
[all …]
/linux/drivers/video/fbdev/
H A Dtdfxfb.c369 att_outb(par, i, reg->att[i]); in do_write_regs()
617 reg.att[0x00] = 0x00; in tdfxfb_set_par()
618 reg.att[0x01] = 0x01; in tdfxfb_set_par()
619 reg.att[0x02] = 0x02; in tdfxfb_set_par()
620 reg.att[0x03] = 0x03; in tdfxfb_set_par()
621 reg.att[0x04] = 0x04; in tdfxfb_set_par()
622 reg.att[0x05] = 0x05; in tdfxfb_set_par()
623 reg.att[0x06] = 0x06; in tdfxfb_set_par()
624 reg.att[0x07] = 0x07; in tdfxfb_set_par()
625 reg.att[0x08] = 0x08; in tdfxfb_set_par()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn10/
H A Ddcn10_dpp.c198 memset(&dpp_base->att, 0, sizeof(dpp_base->att)); in dpp_reset()
494 dpp_base->att.cur0_ctl.bits.cur0_enable = cur_en; in dpp1_set_cursor_position()
509 dpp_base->att.fp_scale_bias.bits.fp_bias = attr->bias; in dpp1_cnv_set_optional_cursor_attributes()
510 dpp_base->att.fp_scale_bias.bits.fp_scale = attr->scale; in dpp1_cnv_set_optional_cursor_attributes()
/linux/drivers/media/radio/
H A Dradio-sf16fmr2.c124 static void tc9154a_set_attenuation(struct fmr2 *fmr2, int att, u32 channel) in tc9154a_set_attenuation() argument
130 reg = TC9154A_ATT_MAJ(att / 10) | TC9154A_ATT_MIN((att % 10) / 2); in tc9154a_set_attenuation()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn35/
H A Ddcn35_hwseq.c1690 p->CURSOR0_0_CURSOR_SURFACE_ADDRESS = hubp->att.SURFACE_ADDR; in dcn35_update_cursor_offload_pipe()
1691 p->CURSOR0_0_CURSOR_SURFACE_ADDRESS_HIGH = hubp->att.SURFACE_ADDR_HIGH; in dcn35_update_cursor_offload_pipe()
1692 p->CURSOR0_0_CURSOR_SIZE__CURSOR_WIDTH = hubp->att.size.bits.width; in dcn35_update_cursor_offload_pipe()
1693 p->CURSOR0_0_CURSOR_SIZE__CURSOR_HEIGHT = hubp->att.size.bits.height; in dcn35_update_cursor_offload_pipe()
1700 p->CURSOR0_0_CURSOR_CONTROL__CURSOR_MODE = hubp->att.cur_ctl.bits.mode; in dcn35_update_cursor_offload_pipe()
1702 p->CURSOR0_0_CURSOR_CONTROL__CURSOR_PITCH = hubp->att.cur_ctl.bits.pitch; in dcn35_update_cursor_offload_pipe()
1703 p->CURSOR0_0_CURSOR_CONTROL__CURSOR_LINES_PER_CHUNK = hubp->att.cur_ctl.bits.line_per_chunk; in dcn35_update_cursor_offload_pipe()
1705 p->CNVC_CUR0_CURSOR0_CONTROL__CUR0_ENABLE = dpp->att.cur0_ctl.bits.cur0_enable; in dcn35_update_cursor_offload_pipe()
1706 p->CNVC_CUR0_CURSOR0_CONTROL__CUR0_MODE = dpp->att.cur0_ctl.bits.mode; in dcn35_update_cursor_offload_pipe()
1707 p->CNVC_CUR0_CURSOR0_CONTROL__CUR0_EXPANSION_MODE = dpp->att.cur0_ctl.bits.expansion_mode; in dcn35_update_cursor_offload_pipe()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn20/
H A Ddcn20_hubp.c639 hubp->att.SURFACE_ADDR_HIGH = attr->address.high_part; in hubp2_cursor_set_attributes()
640 hubp->att.SURFACE_ADDR = attr->address.low_part; in hubp2_cursor_set_attributes()
641 hubp->att.size.bits.width = attr->width; in hubp2_cursor_set_attributes()
642 hubp->att.size.bits.height = attr->height; in hubp2_cursor_set_attributes()
643 hubp->att.cur_ctl.bits.mode = attr->color_format; in hubp2_cursor_set_attributes()
648 hubp->att.cur_ctl.bits.pitch = hw_pitch; in hubp2_cursor_set_attributes()
649 hubp->att.cur_ctl.bits.line_per_chunk = lpc; in hubp2_cursor_set_attributes()
650 hubp->att.cur_ctl.bits.cur_2x_magnify = attr->attribute_flags.bits.ENABLE_MAGNIFICATION; in hubp2_cursor_set_attributes()
651 hubp->att.settings.bits.dst_y_offset = 0; in hubp2_cursor_set_attributes()
652 hubp->att.settings.bits.chunk_hdl_adjust = 3; in hubp2_cursor_set_attributes()
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-i2c-devices-pca954x4 Contact: Robert Shearman <robert.shearman@att.com>
/linux/include/video/
H A Dtdfx.h158 unsigned char att[21]; member
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c3004 p->CURSOR0_0_CURSOR_SURFACE_ADDRESS = hubp->att.SURFACE_ADDR; in dcn401_update_cursor_offload_pipe()
3005 p->CURSOR0_0_CURSOR_SURFACE_ADDRESS_HIGH = hubp->att.SURFACE_ADDR_HIGH; in dcn401_update_cursor_offload_pipe()
3006 p->CURSOR0_0_CURSOR_SIZE__CURSOR_WIDTH = hubp->att.size.bits.width; in dcn401_update_cursor_offload_pipe()
3007 p->CURSOR0_0_CURSOR_SIZE__CURSOR_HEIGHT = hubp->att.size.bits.height; in dcn401_update_cursor_offload_pipe()
3014 p->CURSOR0_0_CURSOR_CONTROL__CURSOR_MODE = hubp->att.cur_ctl.bits.mode; in dcn401_update_cursor_offload_pipe()
3016 p->CURSOR0_0_CURSOR_CONTROL__CURSOR_PITCH = hubp->att.cur_ctl.bits.pitch; in dcn401_update_cursor_offload_pipe()
3017 p->CURSOR0_0_CURSOR_CONTROL__CURSOR_LINES_PER_CHUNK = hubp->att.cur_ctl.bits.line_per_chunk; in dcn401_update_cursor_offload_pipe()
3019 p->CM_CUR0_CURSOR0_CONTROL__CUR0_ENABLE = dpp->att.cur0_ctl.bits.cur0_enable; in dcn401_update_cursor_offload_pipe()
3020 p->CM_CUR0_CURSOR0_CONTROL__CUR0_MODE = dpp->att.cur0_ctl.bits.mode; in dcn401_update_cursor_offload_pipe()
3021 p->CM_CUR0_CURSOR0_CONTROL__CUR0_EXPANSION_MODE = dpp->att.cur0_ctl.bits.expansion_mode; in dcn401_update_cursor_offload_pipe()
[all …]
/linux/drivers/platform/chrome/
H A Dcros_ec_vbc.c18 const struct bin_attribute *att, char *buf, in vboot_context_read() argument
/linux/drivers/ufs/host/
H A Dufs-mediatek.c1348 u32 cnt, att, min; in ufs_mtk_adjust_sync_length() local
1362 att = pa_min_sync_length[i].attr; in ufs_mtk_adjust_sync_length()
1364 ufshcd_dme_get(hba, UIC_ARG_MIB(att), &value); in ufs_mtk_adjust_sync_length()
1366 ufshcd_dme_set(hba, UIC_ARG_MIB(att), min); in ufs_mtk_adjust_sync_length()
1368 ufshcd_dme_peer_get(hba, UIC_ARG_MIB(att), &value); in ufs_mtk_adjust_sync_length()
1370 ufshcd_dme_peer_set(hba, UIC_ARG_MIB(att), min); in ufs_mtk_adjust_sync_length()
/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Ddpp.h89 struct cursor_attribute_cache_dpp att; member
H A Dhubp.h133 struct cursor_attribute_cache_hubp att; member
/linux/tools/testing/selftests/drivers/s390x/uvdevice/
H A Dtest_uvdevice.c33 FIXTURE_VARIANT_ADD(uvio_fixture, att) { in FIXTURE_VARIANT_ADD() argument
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_dmub_srv.c1086 pl_A->aHubp.SURFACE_ADDR_HIGH = hubp->att.SURFACE_ADDR_HIGH; in dc_build_cursor_attribute_update_payload1()
1087 pl_A->aHubp.SURFACE_ADDR = hubp->att.SURFACE_ADDR; in dc_build_cursor_attribute_update_payload1()
1088 pl_A->aHubp.cur_ctl.raw = hubp->att.cur_ctl.raw; in dc_build_cursor_attribute_update_payload1()
1089 pl_A->aHubp.size.raw = hubp->att.size.raw; in dc_build_cursor_attribute_update_payload1()
1090 pl_A->aHubp.settings.raw = hubp->att.settings.raw; in dc_build_cursor_attribute_update_payload1()
1093 pl_A->aDpp.cur0_ctl.raw = dpp->att.cur0_ctl.raw; in dc_build_cursor_attribute_update_payload1()

12