CURVE 164 drivers/staging/fbtft/fb_hx8340bn.c CURVE(i, j) &= mask[i * par->gamma.num_values + j]; CURVE 167 drivers/staging/fbtft/fb_hx8340bn.c write_reg(par, MIPI_DCS_SET_GAMMA_CURVE, 1 << CURVE(1, 14)); CURVE 169 drivers/staging/fbtft/fb_hx8340bn.c if (CURVE(1, 14)) CURVE 173 drivers/staging/fbtft/fb_hx8340bn.c (CURVE(0, 8) << 4) | CURVE(0, 7), CURVE 174 drivers/staging/fbtft/fb_hx8340bn.c (CURVE(0, 10) << 4) | CURVE(0, 9), CURVE 175 drivers/staging/fbtft/fb_hx8340bn.c (CURVE(0, 12) << 4) | CURVE(0, 11), CURVE 176 drivers/staging/fbtft/fb_hx8340bn.c CURVE(0, 2), CURVE 177 drivers/staging/fbtft/fb_hx8340bn.c (CURVE(0, 4) << 4) | CURVE(0, 3), CURVE 178 drivers/staging/fbtft/fb_hx8340bn.c CURVE(0, 5), CURVE 179 drivers/staging/fbtft/fb_hx8340bn.c CURVE(0, 6), CURVE 180 drivers/staging/fbtft/fb_hx8340bn.c (CURVE(0, 1) << 4) | CURVE(0, 0), CURVE 181 drivers/staging/fbtft/fb_hx8340bn.c (CURVE(0, 14) << 2) | CURVE(0, 13)); CURVE 184 drivers/staging/fbtft/fb_hx8340bn.c (CURVE(1, 8) << 4) | CURVE(1, 7), CURVE 185 drivers/staging/fbtft/fb_hx8340bn.c (CURVE(1, 10) << 4) | CURVE(1, 9), CURVE 186 drivers/staging/fbtft/fb_hx8340bn.c (CURVE(1, 12) << 4) | CURVE(1, 11), CURVE 187 drivers/staging/fbtft/fb_hx8340bn.c CURVE(1, 2), CURVE 188 drivers/staging/fbtft/fb_hx8340bn.c (CURVE(1, 4) << 4) | CURVE(1, 3), CURVE 189 drivers/staging/fbtft/fb_hx8340bn.c CURVE(1, 5), CURVE 190 drivers/staging/fbtft/fb_hx8340bn.c CURVE(1, 6), CURVE 191 drivers/staging/fbtft/fb_hx8340bn.c (CURVE(1, 1) << 4) | CURVE(1, 0)); CURVE 108 drivers/staging/fbtft/fb_hx8347d.c acc += CURVE(i, j); CURVE 109 drivers/staging/fbtft/fb_hx8347d.c CURVE(i, j) &= mask[j]; CURVE 116 drivers/staging/fbtft/fb_hx8347d.c write_reg(par, 0x40 + (i * 0x10), CURVE(i, 0)); CURVE 117 drivers/staging/fbtft/fb_hx8347d.c write_reg(par, 0x41 + (i * 0x10), CURVE(i, 1)); CURVE 118 drivers/staging/fbtft/fb_hx8347d.c write_reg(par, 0x42 + (i * 0x10), CURVE(i, 2)); CURVE 119 drivers/staging/fbtft/fb_hx8347d.c write_reg(par, 0x43 + (i * 0x10), CURVE(i, 3)); CURVE 120 drivers/staging/fbtft/fb_hx8347d.c write_reg(par, 0x44 + (i * 0x10), CURVE(i, 4)); CURVE 121 drivers/staging/fbtft/fb_hx8347d.c write_reg(par, 0x45 + (i * 0x10), CURVE(i, 5)); CURVE 122 drivers/staging/fbtft/fb_hx8347d.c write_reg(par, 0x46 + (i * 0x10), CURVE(i, 6)); CURVE 123 drivers/staging/fbtft/fb_hx8347d.c write_reg(par, 0x47 + (i * 0x10), CURVE(i, 7)); CURVE 124 drivers/staging/fbtft/fb_hx8347d.c write_reg(par, 0x48 + (i * 0x10), CURVE(i, 8)); CURVE 125 drivers/staging/fbtft/fb_hx8347d.c write_reg(par, 0x49 + (i * 0x10), CURVE(i, 9)); CURVE 126 drivers/staging/fbtft/fb_hx8347d.c write_reg(par, 0x4A + (i * 0x10), CURVE(i, 10)); CURVE 127 drivers/staging/fbtft/fb_hx8347d.c write_reg(par, 0x4B + (i * 0x10), CURVE(i, 11)); CURVE 128 drivers/staging/fbtft/fb_hx8347d.c write_reg(par, 0x4C + (i * 0x10), CURVE(i, 12)); CURVE 130 drivers/staging/fbtft/fb_hx8347d.c write_reg(par, 0x5D, (CURVE(1, 0) << 4) | CURVE(0, 0)); CURVE 206 drivers/staging/fbtft/fb_ili9163.c CURVE(i, j) &= mask[i * par->gamma.num_values + j]; CURVE 209 drivers/staging/fbtft/fb_ili9163.c CURVE(0, 0), CURVE 210 drivers/staging/fbtft/fb_ili9163.c CURVE(0, 1), CURVE 211 drivers/staging/fbtft/fb_ili9163.c CURVE(0, 2), CURVE 212 drivers/staging/fbtft/fb_ili9163.c CURVE(0, 3), CURVE 213 drivers/staging/fbtft/fb_ili9163.c CURVE(0, 4), CURVE 214 drivers/staging/fbtft/fb_ili9163.c CURVE(0, 5), CURVE 215 drivers/staging/fbtft/fb_ili9163.c CURVE(0, 6), CURVE 216 drivers/staging/fbtft/fb_ili9163.c (CURVE(0, 7) << 4) | CURVE(0, 8), CURVE 217 drivers/staging/fbtft/fb_ili9163.c CURVE(0, 9), CURVE 218 drivers/staging/fbtft/fb_ili9163.c CURVE(0, 10), CURVE 219 drivers/staging/fbtft/fb_ili9163.c CURVE(0, 11), CURVE 220 drivers/staging/fbtft/fb_ili9163.c CURVE(0, 12), CURVE 221 drivers/staging/fbtft/fb_ili9163.c CURVE(0, 13), CURVE 222 drivers/staging/fbtft/fb_ili9163.c CURVE(0, 14), CURVE 223 drivers/staging/fbtft/fb_ili9163.c CURVE(0, 15)); CURVE 226 drivers/staging/fbtft/fb_ili9320.c CURVE(i, j) &= mask[i * par->gamma.num_values + j]; CURVE 228 drivers/staging/fbtft/fb_ili9320.c write_reg(par, 0x0030, CURVE(0, 5) << 8 | CURVE(0, 4)); CURVE 229 drivers/staging/fbtft/fb_ili9320.c write_reg(par, 0x0031, CURVE(0, 7) << 8 | CURVE(0, 6)); CURVE 230 drivers/staging/fbtft/fb_ili9320.c write_reg(par, 0x0032, CURVE(0, 9) << 8 | CURVE(0, 8)); CURVE 231 drivers/staging/fbtft/fb_ili9320.c write_reg(par, 0x0035, CURVE(0, 3) << 8 | CURVE(0, 2)); CURVE 232 drivers/staging/fbtft/fb_ili9320.c write_reg(par, 0x0036, CURVE(0, 1) << 8 | CURVE(0, 0)); CURVE 234 drivers/staging/fbtft/fb_ili9320.c write_reg(par, 0x0037, CURVE(1, 5) << 8 | CURVE(1, 4)); CURVE 235 drivers/staging/fbtft/fb_ili9320.c write_reg(par, 0x0038, CURVE(1, 7) << 8 | CURVE(1, 6)); CURVE 236 drivers/staging/fbtft/fb_ili9320.c write_reg(par, 0x0039, CURVE(1, 9) << 8 | CURVE(1, 8)); CURVE 237 drivers/staging/fbtft/fb_ili9320.c write_reg(par, 0x003C, CURVE(1, 3) << 8 | CURVE(1, 2)); CURVE 238 drivers/staging/fbtft/fb_ili9320.c write_reg(par, 0x003D, CURVE(1, 1) << 8 | CURVE(1, 0)); CURVE 220 drivers/staging/fbtft/fb_ili9325.c CURVE(i, j) &= mask[i * par->gamma.num_values + j]; CURVE 222 drivers/staging/fbtft/fb_ili9325.c write_reg(par, 0x0030, CURVE(0, 5) << 8 | CURVE(0, 4)); CURVE 223 drivers/staging/fbtft/fb_ili9325.c write_reg(par, 0x0031, CURVE(0, 7) << 8 | CURVE(0, 6)); CURVE 224 drivers/staging/fbtft/fb_ili9325.c write_reg(par, 0x0032, CURVE(0, 9) << 8 | CURVE(0, 8)); CURVE 225 drivers/staging/fbtft/fb_ili9325.c write_reg(par, 0x0035, CURVE(0, 3) << 8 | CURVE(0, 2)); CURVE 226 drivers/staging/fbtft/fb_ili9325.c write_reg(par, 0x0036, CURVE(0, 1) << 8 | CURVE(0, 0)); CURVE 228 drivers/staging/fbtft/fb_ili9325.c write_reg(par, 0x0037, CURVE(1, 5) << 8 | CURVE(1, 4)); CURVE 229 drivers/staging/fbtft/fb_ili9325.c write_reg(par, 0x0038, CURVE(1, 7) << 8 | CURVE(1, 6)); CURVE 230 drivers/staging/fbtft/fb_ili9325.c write_reg(par, 0x0039, CURVE(1, 9) << 8 | CURVE(1, 8)); CURVE 231 drivers/staging/fbtft/fb_ili9325.c write_reg(par, 0x003C, CURVE(1, 3) << 8 | CURVE(1, 2)); CURVE 232 drivers/staging/fbtft/fb_ili9325.c write_reg(par, 0x003D, CURVE(1, 1) << 8 | CURVE(1, 0)); CURVE 121 drivers/staging/fbtft/fb_ili9341.c CURVE(i, 0), CURVE(i, 1), CURVE(i, 2), CURVE 122 drivers/staging/fbtft/fb_ili9341.c CURVE(i, 3), CURVE(i, 4), CURVE(i, 5), CURVE 123 drivers/staging/fbtft/fb_ili9341.c CURVE(i, 6), CURVE(i, 7), CURVE(i, 8), CURVE 124 drivers/staging/fbtft/fb_ili9341.c CURVE(i, 9), CURVE(i, 10), CURVE(i, 11), CURVE 125 drivers/staging/fbtft/fb_ili9341.c CURVE(i, 12), CURVE(i, 13), CURVE(i, 14)); CURVE 136 drivers/staging/fbtft/fb_s6d1121.c CURVE(i, j) &= mask[i * par->gamma.num_values + j]; CURVE 138 drivers/staging/fbtft/fb_s6d1121.c write_reg(par, 0x0030, CURVE(0, 1) << 8 | CURVE(0, 0)); CURVE 139 drivers/staging/fbtft/fb_s6d1121.c write_reg(par, 0x0031, CURVE(0, 3) << 8 | CURVE(0, 2)); CURVE 140 drivers/staging/fbtft/fb_s6d1121.c write_reg(par, 0x0032, CURVE(0, 5) << 8 | CURVE(0, 3)); CURVE 141 drivers/staging/fbtft/fb_s6d1121.c write_reg(par, 0x0033, CURVE(0, 7) << 8 | CURVE(0, 6)); CURVE 142 drivers/staging/fbtft/fb_s6d1121.c write_reg(par, 0x0034, CURVE(0, 9) << 8 | CURVE(0, 8)); CURVE 143 drivers/staging/fbtft/fb_s6d1121.c write_reg(par, 0x0035, CURVE(0, 11) << 8 | CURVE(0, 10)); CURVE 145 drivers/staging/fbtft/fb_s6d1121.c write_reg(par, 0x0036, CURVE(1, 1) << 8 | CURVE(1, 0)); CURVE 146 drivers/staging/fbtft/fb_s6d1121.c write_reg(par, 0x0037, CURVE(1, 3) << 8 | CURVE(1, 2)); CURVE 147 drivers/staging/fbtft/fb_s6d1121.c write_reg(par, 0x0038, CURVE(1, 5) << 8 | CURVE(1, 4)); CURVE 148 drivers/staging/fbtft/fb_s6d1121.c write_reg(par, 0x0039, CURVE(1, 7) << 8 | CURVE(1, 6)); CURVE 149 drivers/staging/fbtft/fb_s6d1121.c write_reg(par, 0x003A, CURVE(1, 9) << 8 | CURVE(1, 8)); CURVE 150 drivers/staging/fbtft/fb_s6d1121.c write_reg(par, 0x003B, CURVE(1, 11) << 8 | CURVE(1, 10)); CURVE 152 drivers/staging/fbtft/fb_s6d1121.c write_reg(par, 0x003C, CURVE(0, 13) << 8 | CURVE(0, 12)); CURVE 153 drivers/staging/fbtft/fb_s6d1121.c write_reg(par, 0x003D, CURVE(1, 13) << 8 | CURVE(1, 12)); CURVE 141 drivers/staging/fbtft/fb_ssd1289.c CURVE(i, j) &= mask[i * par->gamma.num_values + j]; CURVE 143 drivers/staging/fbtft/fb_ssd1289.c write_reg(par, 0x0030, CURVE(0, 5) << 8 | CURVE(0, 4)); CURVE 144 drivers/staging/fbtft/fb_ssd1289.c write_reg(par, 0x0031, CURVE(0, 7) << 8 | CURVE(0, 6)); CURVE 145 drivers/staging/fbtft/fb_ssd1289.c write_reg(par, 0x0032, CURVE(0, 9) << 8 | CURVE(0, 8)); CURVE 146 drivers/staging/fbtft/fb_ssd1289.c write_reg(par, 0x0033, CURVE(0, 3) << 8 | CURVE(0, 2)); CURVE 147 drivers/staging/fbtft/fb_ssd1289.c write_reg(par, 0x0034, CURVE(1, 5) << 8 | CURVE(1, 4)); CURVE 148 drivers/staging/fbtft/fb_ssd1289.c write_reg(par, 0x0035, CURVE(1, 7) << 8 | CURVE(1, 6)); CURVE 149 drivers/staging/fbtft/fb_ssd1289.c write_reg(par, 0x0036, CURVE(1, 9) << 8 | CURVE(1, 8)); CURVE 150 drivers/staging/fbtft/fb_ssd1289.c write_reg(par, 0x0037, CURVE(1, 3) << 8 | CURVE(1, 2)); CURVE 151 drivers/staging/fbtft/fb_ssd1289.c write_reg(par, 0x003A, CURVE(0, 1) << 8 | CURVE(0, 0)); CURVE 152 drivers/staging/fbtft/fb_ssd1289.c write_reg(par, 0x003B, CURVE(1, 1) << 8 | CURVE(1, 0)); CURVE 144 drivers/staging/fbtft/fb_st7735r.c CURVE(i, j) &= 0x3f; CURVE 148 drivers/staging/fbtft/fb_st7735r.c CURVE(i, 0), CURVE(i, 1), CURVE 149 drivers/staging/fbtft/fb_st7735r.c CURVE(i, 2), CURVE(i, 3), CURVE 150 drivers/staging/fbtft/fb_st7735r.c CURVE(i, 4), CURVE(i, 5), CURVE 151 drivers/staging/fbtft/fb_st7735r.c CURVE(i, 6), CURVE(i, 7), CURVE 152 drivers/staging/fbtft/fb_st7735r.c CURVE(i, 8), CURVE(i, 9), CURVE 153 drivers/staging/fbtft/fb_st7735r.c CURVE(i, 10), CURVE(i, 11), CURVE 154 drivers/staging/fbtft/fb_st7735r.c CURVE(i, 12), CURVE(i, 13), CURVE 155 drivers/staging/fbtft/fb_st7735r.c CURVE(i, 14), CURVE(i, 15));