Lines Matching defs:lcdc
117 struct sh_mobile_lcdc_priv *lcdc;
169 iowrite32(data, chan->lcdc->base + chan->reg_offs[reg_nr]);
171 iowrite32(data, chan->lcdc->base + chan->reg_offs[reg_nr] +
178 iowrite32(data, chan->lcdc->base + chan->reg_offs[reg_nr] +
185 return ioread32(chan->lcdc->base + chan->reg_offs[reg_nr]);
217 lcdc_write(ch->lcdc, _LDDWD0R, data | 0x10000000);
218 lcdc_wait_bit(ch->lcdc, _LDSR, 2, 0);
219 lcdc_write(ch->lcdc, _LDDWAR, 1 | (lcdc_chan_is_sublcd(ch) ? 2 : 0));
220 lcdc_wait_bit(ch->lcdc, _LDSR, 2, 0);
227 lcdc_write(ch->lcdc, _LDDWD0R, data | 0x11000000);
228 lcdc_wait_bit(ch->lcdc, _LDSR, 2, 0);
229 lcdc_write(ch->lcdc, _LDDWAR, 1 | (lcdc_chan_is_sublcd(ch) ? 2 : 0));
230 lcdc_wait_bit(ch->lcdc, _LDSR, 2, 0);
237 lcdc_write(ch->lcdc, _LDDRDR, 0x01000000);
238 lcdc_wait_bit(ch->lcdc, _LDSR, 2, 0);
239 lcdc_write(ch->lcdc, _LDDRAR, 1 | (lcdc_chan_is_sublcd(ch) ? 2 : 0));
241 lcdc_wait_bit(ch->lcdc, _LDSR, 2, 0);
243 return lcdc_read(ch->lcdc, _LDDRDR) & 0x3ffff;
293 sh_mobile_lcdc_clk_on(ch->lcdc);
388 /* start or stop the lcdc */
487 /* stop the lcdc first */
583 /* start the lcdc */
631 /* stop the lcdc */
778 struct sh_mobile_lcdc_priv *priv = ch->lcdc;
793 lcdc_write(ch->lcdc, _LDRCNTR, ldrcntr ^ LDRCNTR_SRS);
795 lcdc_write(ch->lcdc, _LDRCNTR, ldrcntr ^ LDRCNTR_MRS);
811 ldintr = lcdc_read(ch->lcdc, _LDINTR);
813 lcdc_write(ch->lcdc, _LDINTR, ldintr);
970 if (&ch->lcdc->notifier != nb)
1062 priv->ch[j].lcdc = priv;