Lines Matching full:r
20 int r; in ili9342c_regs_init() local
24 r = ili9xxx_transmit(dev, ILI9342C_SETEXTC, regs->setextc, in ili9342c_regs_init()
26 if (r < 0) { in ili9342c_regs_init()
27 return r; in ili9342c_regs_init()
31 r = ili9xxx_transmit(dev, ILI9342C_GAMSET, regs->gamset, in ili9342c_regs_init()
33 if (r < 0) { in ili9342c_regs_init()
34 return r; in ili9342c_regs_init()
38 r = ili9xxx_transmit(dev, ILI9342C_IFMODE, regs->ifmode, in ili9342c_regs_init()
40 if (r < 0) { in ili9342c_regs_init()
41 return r; in ili9342c_regs_init()
45 r = ili9xxx_transmit(dev, ILI9342C_FRMCTR1, regs->frmctr1, in ili9342c_regs_init()
47 if (r < 0) { in ili9342c_regs_init()
48 return r; in ili9342c_regs_init()
52 r = ili9xxx_transmit(dev, ILI9342C_INVTR, regs->invtr, in ili9342c_regs_init()
54 if (r < 0) { in ili9342c_regs_init()
55 return r; in ili9342c_regs_init()
59 r = ili9xxx_transmit(dev, ILI9342C_DISCTRL, regs->disctrl, in ili9342c_regs_init()
61 if (r < 0) { in ili9342c_regs_init()
62 return r; in ili9342c_regs_init()
66 r = ili9xxx_transmit(dev, ILI9342C_ETMOD, regs->etmod, in ili9342c_regs_init()
68 if (r < 0) { in ili9342c_regs_init()
69 return r; in ili9342c_regs_init()
73 r = ili9xxx_transmit(dev, ILI9342C_PWCTRL1, regs->pwctrl1, in ili9342c_regs_init()
75 if (r < 0) { in ili9342c_regs_init()
76 return r; in ili9342c_regs_init()
80 r = ili9xxx_transmit(dev, ILI9342C_PWCTRL2, regs->pwctrl2, in ili9342c_regs_init()
82 if (r < 0) { in ili9342c_regs_init()
83 return r; in ili9342c_regs_init()
87 r = ili9xxx_transmit(dev, ILI9342C_PWCTRL3, regs->pwctrl3, in ili9342c_regs_init()
89 if (r < 0) { in ili9342c_regs_init()
90 return r; in ili9342c_regs_init()
94 r = ili9xxx_transmit(dev, ILI9342C_VMCTRL1, regs->vmctrl1, in ili9342c_regs_init()
96 if (r < 0) { in ili9342c_regs_init()
97 return r; in ili9342c_regs_init()
101 r = ili9xxx_transmit(dev, ILI9342C_PGAMCTRL, regs->pgamctrl, in ili9342c_regs_init()
103 if (r < 0) { in ili9342c_regs_init()
104 return r; in ili9342c_regs_init()
108 r = ili9xxx_transmit(dev, ILI9342C_NGAMCTRL, regs->ngamctrl, in ili9342c_regs_init()
110 if (r < 0) { in ili9342c_regs_init()
111 return r; in ili9342c_regs_init()
115 r = ili9xxx_transmit(dev, ILI9342C_IFCTL, regs->ifctl, in ili9342c_regs_init()
117 if (r < 0) { in ili9342c_regs_init()
118 return r; in ili9342c_regs_init()