Home
last modified time | relevance | path

Searched refs:dither (Results 1 – 25 of 39) sorted by relevance

12

/linux/Documentation/ABI/testing/
H A Dsysfs-bus-iio-dac-ad57665 Dither enable. Write 1 to enable dither or 0 to disable it.
11 Inverts the dither applied to the selected DAC channel. Dither is not
12 inverted by default. Write "1" to invert dither.
24 Scales the dither before it is applied to the selected channel.
30 Selects dither source applied to the selected channel. Write "0" to
/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Dhead.c73 if (asyh->set.dither ) head->func->dither (head, asyh); in nv50_head_flush_set()
99 if (asyc->dither.mode) { in nv50_head_atomic_check_dither()
100 if (asyc->dither.mode == DITHERING_MODE_AUTO) { in nv50_head_atomic_check_dither()
104 mode = asyc->dither.mode; in nv50_head_atomic_check_dither()
107 if (asyc->dither.depth == DITHERING_DEPTH_AUTO) { in nv50_head_atomic_check_dither()
111 mode |= asyc->dither.depth; in nv50_head_atomic_check_dither()
115 asyh->dither.enable = NVVAL_GET(mode, NV507D, HEAD_SET_DITHER_CONTROL, ENABLE); in nv50_head_atomic_check_dither()
116 asyh->dither.bits = NVVAL_GET(mode, NV507D, HEAD_SET_DITHER_CONTROL, BITS); in nv50_head_atomic_check_dither()
117 asyh->dither.mode = NVVAL_GET(mode, NV507D, HEAD_SET_DITHER_CONTROL, MODE); in nv50_head_atomic_check_dither()
118 asyh->set.dither = true; in nv50_head_atomic_check_dither()
[all …]
H A Dhead917d.c41 NVVAL(NV917D, HEAD_SET_DITHER_CONTROL, ENABLE, asyh->dither.enable) | in head917d_dither()
42 NVVAL(NV917D, HEAD_SET_DITHER_CONTROL, BITS, asyh->dither.bits) | in head917d_dither()
43 NVVAL(NV917D, HEAD_SET_DITHER_CONTROL, MODE, asyh->dither.mode) | in head917d_dither()
135 .dither = head917d_dither,
H A Dheadc37d.c96 NVVAL(NVC37D, HEAD_SET_DITHER_CONTROL, ENABLE, asyh->dither.enable) | in headc37d_dither()
97 NVVAL(NVC37D, HEAD_SET_DITHER_CONTROL, BITS, asyh->dither.bits) | in headc37d_dither()
99 NVVAL(NVC37D, HEAD_SET_DITHER_CONTROL, MODE, asyh->dither.mode) | in headc37d_dither()
296 .dither = headc37d_dither,
H A Datom.h108 } dither; member
142 bool dither:1; member
H A Dhead907d.c88 NVVAL(NV907D, HEAD_SET_DITHER_CONTROL, ENABLE, asyh->dither.enable) | in head907d_dither()
89 NVVAL(NV907D, HEAD_SET_DITHER_CONTROL, BITS, asyh->dither.bits) | in head907d_dither()
90 NVVAL(NV907D, HEAD_SET_DITHER_CONTROL, MODE, asyh->dither.mode) | in head907d_dither()
430 .dither = head907d_dither,
H A Dhead507d.c59 NVVAL(NV507D, HEAD_SET_DITHER_CONTROL, ENABLE, asyh->dither.enable) | in head507d_dither()
60 NVVAL(NV507D, HEAD_SET_DITHER_CONTROL, BITS, asyh->dither.bits) | in head507d_dither()
61 NVVAL(NV507D, HEAD_SET_DITHER_CONTROL, MODE, asyh->dither.mode) | in head507d_dither()
447 .dither = head507d_dither,
H A Dhead.h48 int (*dither)(struct nv50_head *, struct nv50_head_atom *); member
H A Dhead827d.c166 .dither = head507d_dither,
H A Dheadc57d.c261 .dither = headc37d_dither,
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_connector.c114 *val = asyc->dither.mode; in nouveau_conn_atomic_get_property()
116 *val = asyc->dither.depth; in nouveau_conn_atomic_get_property()
192 if (asyc->dither.mode != val) { in nouveau_conn_atomic_set_property()
193 asyc->dither.mode = val; in nouveau_conn_atomic_set_property()
194 asyc->set.dither = true; in nouveau_conn_atomic_set_property()
198 if (asyc->dither.mode != val) { in nouveau_conn_atomic_set_property()
199 asyc->dither.depth = val; in nouveau_conn_atomic_set_property()
200 asyc->set.dither = true; in nouveau_conn_atomic_set_property()
238 asyc->dither = armc->dither; in nouveau_conn_atomic_duplicate_state()
264 asyc->dither.mode = DITHERING_MODE_AUTO; in nouveau_conn_reset()
[all …]
H A Dnouveau_connector.h89 } dither; member
112 bool dither:1; member
/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Ddfp.c422 regp->dither = savep->dither | 0x00010000; in nv04_dfp_mode_set()
425 regp->dither = savep->dither | 0x00000001; in nv04_dfp_mode_set()
440 regp->dither = savep->dither; in nv04_dfp_mode_set()
H A Ddisp.h58 uint32_t dither; member
H A Dhw.c408 regp->dither = NVReadRAMDAC(dev, head, NV_RAMDAC_DITHER_NV11); in nv_save_state_ramdac()
433 regp->dither = NVReadRAMDAC(dev, head, NV_RAMDAC_FP_DITHER); in nv_save_state_ramdac()
485 NVWriteRAMDAC(dev, head, NV_RAMDAC_DITHER_NV11, regp->dither); in nv_load_state_ramdac()
511 NVWriteRAMDAC(dev, head, NV_RAMDAC_FP_DITHER, regp->dither); in nv_load_state_ramdac()
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_catalog.c433 .dither = {.name = "dither", .base = 0x30e0,
438 .dither = {.name = "dither", .base = 0x30e0,
443 .dither = {.name = "dither", .base = 0xe0,
H A Ddpu_hw_pingpong.c54 base = pp->caps->sblk->dither.base; in dpu_hw_pp_setup_dither()
H A Ddpu_hw_catalog.h417 struct dpu_pp_blk dither; member
/linux/drivers/gpu/drm/radeon/
H A Drs600.c172 enum radeon_connector_dither dither = RADEON_FMT_DITHER_DISABLE; in avivo_program_fmt() local
177 dither = radeon_connector->dither; in avivo_program_fmt()
189 if (dither == RADEON_FMT_DITHER_ENABLE) in avivo_program_fmt()
190 /* XXX sort out optimal dither settings */ in avivo_program_fmt()
196 if (dither == RADEON_FMT_DITHER_ENABLE) in avivo_program_fmt()
197 /* XXX sort out optimal dither settings */ in avivo_program_fmt()
/linux/drivers/video/fbdev/nvidia/
H A Dnv_type.h62 u32 dither; member
H A Dnvidia.c472 state->dither = NV_RD32(par->PRAMDAC, 0x0528) & in nvidia_calc_regs()
475 state->dither |= 0x00010000; in nvidia_calc_regs()
477 state->dither = NV_RD32(par->PRAMDAC, 0x083C) & ~1; in nvidia_calc_regs()
479 state->dither |= 1; in nvidia_calc_regs()
H A Dnv_hw.c1539 NV_WR32(par->PRAMDAC, 0x0528, state->dither); in NVLoadStateExt()
1541 NV_WR32(par->PRAMDAC, 0x083C, state->dither); in NVLoadStateExt()
1671 state->dither = NV_RD32(par->PRAMDAC, 0x0528); in NVUnloadStateExt()
1673 state->dither = NV_RD32(par->PRAMDAC, 0x083C); in NVUnloadStateExt()
/linux/drivers/ps3/
H A Dps3av_cmd.c356 av_video_cs->dither = PS3AV_CMD_AV_DITHER_ON in ps3av_cmd_set_av_video_cs()
360 av_video_cs->dither = PS3AV_CMD_AV_DITHER_OFF; in ps3av_cmd_set_av_video_cs()
/linux/drivers/media/platform/mediatek/mdp3/
H A Dmtk-mdp3-regs.h319 u32 dither:1; member
/linux/drivers/gpu/drm/gma500/
H A Dpsb_intel_sdvo_regs.h603 unsigned int dither:1; member

12