Home | History | Annotate | Download | only in bfin

Lines Matching refs:ppi

1 /* Blackfin Parallel Port Interface (PPI) model
64 bfin_ppi_gui_setup (struct bfin_ppi *ppi)
69 if (!(ppi->control & PORT_DIR))
72 bpp = bfin_gui_color_depth (ppi->color);
73 ppi->gui_state = bfin_gui_setup (ppi->gui_state,
74 ppi->control & PORT_EN,
75 (ppi->count + 1) / (bpp / 8),
76 ppi->frame,
77 ppi->color);
84 struct bfin_ppi *ppi = hw_data (me);
94 mmr_off = addr - ppi->base;
95 valuep = (void *)((uintptr_t)ppi + mmr_base() + mmr_off);
103 bfin_ppi_gui_setup (ppi);
125 struct bfin_ppi *ppi = hw_data (me);
133 mmr_off = addr - ppi->base;
134 valuep = (void *)((uintptr_t)ppi + mmr_base() + mmr_off);
169 struct bfin_ppi *ppi = hw_data (me);
173 return bfin_gui_update (ppi->gui_state, source, nr_bytes);
183 attach_bfin_ppi_regs (struct hw *me, struct bfin_ppi *ppi)
207 ppi->base = attach_address;
213 struct bfin_ppi *ppi;
216 ppi = HW_ZALLOC (me, struct bfin_ppi);
218 set_hw_data (me, ppi);
225 attach_bfin_ppi_regs (me, ppi);
227 /* Initialize the PPI. */
232 ppi->color = bfin_gui_color (color);