/linux/drivers/gpu/drm/ |
H A D | drm_probe_helper.c | 1259 for (i = 0; i < tv_mode_property->num_values; i++) in drm_connector_helper_tv_get_modes()
|
H A D | drm_client_modeset.c | 983 for (i = 0; i < plane->rotation_property->num_values; i++) in drm_client_rotation()
|
H A D | drm_property.c | 99 int num_values) in drm_property_create() argument 116 if (num_values) { in drm_property_create() 117 property->values = kcalloc(num_values, sizeof(uint64_t), in drm_property_create() 128 property->num_values = num_values; in drm_property_create() 165 int num_values) in drm_property_create_enum() argument 172 property = drm_property_create(dev, flags, name, num_values); in drm_property_create_enum() 176 for (i = 0; i < num_values; i++) { in drm_property_create_enum() 218 int num_values = hweight64(supported_bits); in drm_property_create_bitmask() local 222 property = drm_property_create(dev, flags, name, num_values); in drm_property_create_bitmask() 417 if (WARN_ON(index >= property->num_values)) in drm_property_add_enum() [all …]
|
/linux/drivers/staging/fbtft/ |
H A D | fbtft-core.c | 652 par->gamma.num_values = display->gamma_len; in fbtft_framebuffer_alloc()
|
H A D | fbtft.h | 223 int num_values; member
|
H A D | fb_ili9341.c | 114 #define CURVE(num, idx) curves[(num) * par->gamma.num_values + (idx)]
|
H A D | fbtft-sysfs.c | 63 if (value_counter == par->gamma.num_values) { in fbtft_gamma_parse_str() 73 _count = curve_counter * par->gamma.num_values + 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 "%04x ", curves[i * par->gamma.num_values + j]); in sprintf_gamma() 133 par->gamma.num_curves * par->gamma.num_values * in store_gamma_curve()
|
H A D | fb_ssd1289.c | 125 #define CURVE(num, idx) curves[(num) * par->gamma.num_values + (idx)] 137 CURVE(i, j) &= mask[i * par->gamma.num_values + j]; in set_gamma()
|
H A D | fb_st7735r.c | 136 #define CURVE(num, idx) curves[(num) * par->gamma.num_values + (idx)] 143 for (j = 0; j < par->gamma.num_values; j++) in set_gamma()
|
H A D | fb_s6d1121.c | 119 #define CURVE(num, idx) curves[(num) * par->gamma.num_values + (idx)] 132 CURVE(i, j) &= mask[i * par->gamma.num_values + j]; in set_gamma()
|
H A D | fb_st7789v.c | 339 c = i * par->gamma.num_values; in set_gamma() 340 for (j = 0; j < par->gamma.num_values; j++) in set_gamma()
|
H A D | fb_ili9320.c | 212 #define CURVE(num, idx) curves[(num) * par->gamma.num_values + (idx)] 224 CURVE(i, j) &= mask[i * par->gamma.num_values + j]; in set_gamma()
|
H A D | fb_ili9163.c | 191 #define CURVE(num, idx) curves[(num) * par->gamma.num_values + (idx)] 202 CURVE(i, j) &= mask[i * par->gamma.num_values + j]; in gamma_adj()
|
H A D | fb_hx8340bn.c | 151 #define CURVE(num, idx) curves[(num) * par->gamma.num_values + (idx)] 163 for (j = 0; j < par->gamma.num_values; j++) in set_gamma() 164 CURVE(i, j) &= mask[i * par->gamma.num_values + j]; in set_gamma()
|
H A D | fb_ili9325.c | 204 #define CURVE(num, idx) curves[(num) * par->gamma.num_values + (idx)] 216 CURVE(i, j) &= mask[i * par->gamma.num_values + j]; in set_gamma()
|
H A D | fb_hx8347d.c | 117 #define CURVE(num, idx) curves[(num) * par->gamma.num_values + (idx)] 129 for (j = 0; j < par->gamma.num_values; j++) { in set_gamma()
|
/linux/drivers/regulator/ |
H A D | ti-abb-regulator.c | 501 const u32 num_values = 6; in ti_abb_init_table() local 519 if (!num_entries || (num_entries % num_values)) { in ti_abb_init_table() 521 num_values); in ti_abb_init_table() 524 num_entries /= num_values; in ti_abb_init_table() 547 of_property_read_u32_index(dev->of_node, pname, i * num_values, in ti_abb_init_table() 550 i * num_values + 1, &info->opp_sel); in ti_abb_init_table() 552 i * num_values + 2, &efuse_offset); in ti_abb_init_table() 554 i * num_values + 3, &rbb_mask); in ti_abb_init_table() 556 i * num_values + 4, &fbb_mask); in ti_abb_init_table() 558 i * num_values + 5, &vset_mask); in ti_abb_init_table()
|
/linux/include/drm/ |
H A D | drm_property.h | 176 uint32_t num_values; member 252 int num_values); 256 int num_values);
|
/linux/drivers/media/platform/chips-media/coda/ |
H A D | coda-jpeg.c | 411 int num_values) in coda9_jpeg_write_huff_values() argument 418 for (i = huff_length; i < num_values; i++) in coda9_jpeg_write_huff_values() 420 for (i = 0; i < num_values; i++) in coda9_jpeg_write_huff_values()
|
/linux/drivers/clk/ |
H A D | clk-si5341.c | 1098 const struct si5341_reg_default *values, unsigned int num_values) in si5341_write_multiple() argument 1103 for (i = 0; i < num_values; ++i) { in si5341_write_multiple()
|
/linux/drivers/ata/ |
H A D | ahci_imx.c | 832 size_t num_values; member 915 .num_values = ARRAY_SIZE(gpr13_tx_level), 920 .num_values = ARRAY_SIZE(gpr13_tx_boost), 925 .num_values = ARRAY_SIZE(gpr13_tx_atten), 930 .num_values = ARRAY_SIZE(gpr13_rx_eq), 949 if (prop->num_values == 0) { in imx_ahci_parse_props() 964 for (j = 0; j < prop->num_values; j++) { in imx_ahci_parse_props() 973 if (j == prop->num_values) { in imx_ahci_parse_props()
|
/linux/drivers/soc/rockchip/ |
H A D | grf.c | 25 int num_values; member 40 .num_values = ARRAY_SIZE(rk3036_defaults), 51 .num_values = ARRAY_SIZE(rk3128_defaults), 62 .num_values = ARRAY_SIZE(rk3228_defaults), 75 .num_values = ARRAY_SIZE(rk3288_defaults), 86 .num_values = ARRAY_SIZE(rk3328_defaults), 97 .num_values = ARRAY_SIZE(rk3368_defaults), 108 .num_values = ARRAY_SIZE(rk3399_defaults), 121 .num_values = ARRAY_SIZE(rk3566_defaults), 132 .num_values = ARRAY_SIZE(rk3588_defaults), [all …]
|
/linux/drivers/net/ethernet/freescale/dpaa/ |
H A D | dpaa_ethtool.c | 139 int num_values = num_cpus + 1; in copy_stats() local 143 data[crr * num_values + crr_cpu] = percpu_priv->in_interrupt; in copy_stats() 144 data[crr++ * num_values + num_cpus] += percpu_priv->in_interrupt; in copy_stats() 146 data[crr * num_values + crr_cpu] = percpu_priv->stats.rx_packets; in copy_stats() 147 data[crr++ * num_values + num_cpus] += percpu_priv->stats.rx_packets; in copy_stats() 149 data[crr * num_values + crr_cpu] = percpu_priv->stats.tx_packets; in copy_stats() 150 data[crr++ * num_values + num_cpus] += percpu_priv->stats.tx_packets; in copy_stats() 152 data[crr * num_values + crr_cpu] = percpu_priv->tx_confirm; in copy_stats() 153 data[crr++ * num_values + num_cpus] += percpu_priv->tx_confirm; in copy_stats() 155 data[crr * num_values + crr_cpu] = percpu_priv->tx_frag_skbuffs; in copy_stats() [all …]
|
/linux/drivers/hid/usbhid/ |
H A D | hiddev.c | 509 if (uref_multi->num_values > HID_MAX_MULTI_USAGES || in hiddev_ioctl_usage() 510 uref->usage_index + uref_multi->num_values > in hiddev_ioctl_usage() 517 uref_multi->num_values); in hiddev_ioctl_usage() 540 for (i = 0; i < uref_multi->num_values; i++) in hiddev_ioctl_usage() 548 for (i = 0; i < uref_multi->num_values; i++) in hiddev_ioctl_usage()
|
/linux/include/uapi/linux/ |
H A D | hiddev.h | 135 __u32 num_values; member
|