Searched refs:num_values (Results 1 – 17 of 17) sorted by relevance
/drivers/staging/fbtft/ |
D | fbtft-sysfs.c | 66 if (value_counter == par->gamma.num_values) { in fbtft_gamma_parse_str() 75 curves[curve_counter * par->gamma.num_values + value_counter] = val; in fbtft_gamma_parse_str() 78 if (value_counter != par->gamma.num_values) { in fbtft_gamma_parse_str() 104 for (j = 0; j < par->gamma.num_values; j++) in sprintf_gamma() 106 "%04lx ", curves[i * par->gamma.num_values + j]); in sprintf_gamma() 133 par->gamma.num_curves * par->gamma.num_values * sizeof(tmp_curves[0])); in store_gamma_curve()
|
D | fb_hx8340bn.c | 142 #define CURVE(num, idx) curves[num * par->gamma.num_values + idx] 154 for (j = 0; j < par->gamma.num_values; j++) in set_gamma() 155 CURVE(i, j) &= mask[i * par->gamma.num_values + j]; in set_gamma()
|
D | fb_st7735r.c | 138 #define CURVE(num, idx) curves[num * par->gamma.num_values + idx] 145 for (j = 0; j < par->gamma.num_values; j++) in set_gamma()
|
D | fb_st7789v.c | 210 c = i * par->gamma.num_values; in set_gamma() 211 for (j = 0; j < par->gamma.num_values; j++) in set_gamma()
|
D | fb_hx8347d.c | 104 #define CURVE(num, idx) curves[num * par->gamma.num_values + idx] 116 for (j = 0; j < par->gamma.num_values; j++) { in set_gamma()
|
D | fb_ssd1289.c | 138 #define CURVE(num, idx) curves[num * par->gamma.num_values + idx] 150 CURVE(i, j) &= mask[i * par->gamma.num_values + j]; in set_gamma()
|
D | fb_s6d1121.c | 132 #define CURVE(num, idx) curves[num * par->gamma.num_values + idx] 145 CURVE(i, j) &= mask[i * par->gamma.num_values + j]; in set_gamma()
|
D | fb_ili9320.c | 223 #define CURVE(num, idx) curves[num * par->gamma.num_values + idx] 235 CURVE(i, j) &= mask[i * par->gamma.num_values + j]; in set_gamma()
|
D | fb_ili9325.c | 220 #define CURVE(num, idx) curves[num * par->gamma.num_values + idx] 232 CURVE(i, j) &= mask[i * par->gamma.num_values + j]; in set_gamma()
|
D | fb_ili9163.c | 226 #define CURVE(num, idx) curves[num * par->gamma.num_values + idx] 237 CURVE(i, j) &= mask[i * par->gamma.num_values + j]; in gamma_adj()
|
D | fb_ili9341.c | 123 #define CURVE(num, idx) curves[num * par->gamma.num_values + idx]
|
D | fbtft.h | 244 int num_values; member
|
D | fbtft-core.c | 809 par->gamma.num_values = display->gamma_len; in fbtft_framebuffer_alloc()
|
/drivers/regulator/ |
D | ti-abb-regulator.c | 510 const u32 num_values = 6; in ti_abb_init_table() local 528 if (!num_entries || (num_entries % num_values)) { in ti_abb_init_table() 530 num_values); in ti_abb_init_table() 533 num_entries /= num_values; in ti_abb_init_table() 556 of_property_read_u32_index(dev->of_node, pname, i * num_values, in ti_abb_init_table() 559 i * num_values + 1, &info->opp_sel); in ti_abb_init_table() 561 i * num_values + 2, &efuse_offset); in ti_abb_init_table() 563 i * num_values + 3, &rbb_mask); in ti_abb_init_table() 565 i * num_values + 4, &fbb_mask); in ti_abb_init_table() 567 i * num_values + 5, &vset_mask); in ti_abb_init_table()
|
/drivers/ata/ |
D | ahci_imx.c | 374 size_t num_values; member 457 .num_values = ARRAY_SIZE(gpr13_tx_level), 462 .num_values = ARRAY_SIZE(gpr13_tx_boost), 467 .num_values = ARRAY_SIZE(gpr13_tx_atten), 472 .num_values = ARRAY_SIZE(gpr13_rx_eq), 491 if (prop->num_values == 0) { in imx_ahci_parse_props() 506 for (j = 0; j < prop->num_values; j++) { in imx_ahci_parse_props() 515 if (j == prop->num_values) { in imx_ahci_parse_props()
|
/drivers/hid/usbhid/ |
D | hiddev.c | 544 if (uref_multi->num_values > HID_MAX_MULTI_USAGES || in hiddev_ioctl_usage() 545 uref->usage_index + uref_multi->num_values > in hiddev_ioctl_usage() 552 uref_multi->num_values); in hiddev_ioctl_usage() 575 for (i = 0; i < uref_multi->num_values; i++) in hiddev_ioctl_usage() 583 for (i = 0; i < uref_multi->num_values; i++) in hiddev_ioctl_usage()
|
/drivers/gpu/drm/ |
D | drm_crtc.c | 3613 const char *name, int num_values) in drm_property_create() argument 3624 if (num_values) { in drm_property_create() 3625 property->values = kcalloc(num_values, sizeof(uint64_t), in drm_property_create() 3636 property->num_values = num_values; in drm_property_create() 3677 int num_values) in drm_property_create_enum() argument 3684 property = drm_property_create(dev, flags, name, num_values); in drm_property_create_enum() 3688 for (i = 0; i < num_values; i++) { in drm_property_create_enum() 3729 int num_values = hweight64(supported_bits); in drm_property_create_bitmask() local 3733 property = drm_property_create(dev, flags, name, num_values); in drm_property_create_bitmask() 3740 if (WARN_ON(index >= num_values)) { in drm_property_create_bitmask() [all …]
|