• Home
  • Raw
  • Download

Lines Matching refs:regs

27 static inline void bt455_select_reg(struct bt455_regs *regs, int ir)  in bt455_select_reg()  argument
30 regs->addr_cmap = ir & 0x0f; in bt455_select_reg()
33 static inline void bt455_reset_reg(struct bt455_regs *regs) in bt455_reset_reg() argument
36 regs->addr_clr = 0; in bt455_reset_reg()
42 static inline void bt455_read_cmap_next(struct bt455_regs *regs, u8 *grey) in bt455_read_cmap_next() argument
45 regs->addr_cmap_data; in bt455_read_cmap_next()
47 *grey = regs->addr_cmap_data & 0xf; in bt455_read_cmap_next()
49 regs->addr_cmap_data; in bt455_read_cmap_next()
52 static inline void bt455_write_cmap_next(struct bt455_regs *regs, u8 grey) in bt455_write_cmap_next() argument
55 regs->addr_cmap_data = 0x0; in bt455_write_cmap_next()
57 regs->addr_cmap_data = grey & 0xf; in bt455_write_cmap_next()
59 regs->addr_cmap_data = 0x0; in bt455_write_cmap_next()
62 static inline void bt455_write_ovly_next(struct bt455_regs *regs, u8 grey) in bt455_write_ovly_next() argument
65 regs->addr_ovly = 0x0; in bt455_write_ovly_next()
67 regs->addr_ovly = grey & 0xf; in bt455_write_ovly_next()
69 regs->addr_ovly = 0x0; in bt455_write_ovly_next()
72 static inline void bt455_read_cmap_entry(struct bt455_regs *regs, in bt455_read_cmap_entry() argument
75 bt455_select_reg(regs, cr); in bt455_read_cmap_entry()
76 bt455_read_cmap_next(regs, grey); in bt455_read_cmap_entry()
79 static inline void bt455_write_cmap_entry(struct bt455_regs *regs, in bt455_write_cmap_entry() argument
82 bt455_select_reg(regs, cr); in bt455_write_cmap_entry()
83 bt455_write_cmap_next(regs, grey); in bt455_write_cmap_entry()
86 static inline void bt455_write_ovly_entry(struct bt455_regs *regs, u8 grey) in bt455_write_ovly_entry() argument
88 bt455_reset_reg(regs); in bt455_write_ovly_entry()
89 bt455_write_ovly_next(regs, grey); in bt455_write_ovly_entry()