/Linux-v4.19/drivers/soc/rockchip/ |
D | grf.c | 28 int num_values; member 43 .num_values = ARRAY_SIZE(rk3036_defaults), 54 .num_values = ARRAY_SIZE(rk3128_defaults), 65 .num_values = ARRAY_SIZE(rk3228_defaults), 76 .num_values = ARRAY_SIZE(rk3288_defaults), 87 .num_values = ARRAY_SIZE(rk3328_defaults), 98 .num_values = ARRAY_SIZE(rk3368_defaults), 109 .num_values = ARRAY_SIZE(rk3399_defaults), 163 for (i = 0; i < grf_info->num_values; i++) { in rockchip_grf_init()
|
/Linux-v4.19/drivers/net/ethernet/freescale/dpaa/ |
D | dpaa_ethtool.c | 264 int num_values = num_cpus + 1; in copy_stats() local 268 data[crr * num_values + crr_cpu] = percpu_priv->in_interrupt; in copy_stats() 269 data[crr++ * num_values + num_cpus] += percpu_priv->in_interrupt; in copy_stats() 271 data[crr * num_values + crr_cpu] = percpu_priv->stats.rx_packets; in copy_stats() 272 data[crr++ * num_values + num_cpus] += percpu_priv->stats.rx_packets; in copy_stats() 274 data[crr * num_values + crr_cpu] = percpu_priv->stats.tx_packets; in copy_stats() 275 data[crr++ * num_values + num_cpus] += percpu_priv->stats.tx_packets; in copy_stats() 277 data[crr * num_values + crr_cpu] = percpu_priv->tx_confirm; in copy_stats() 278 data[crr++ * num_values + num_cpus] += percpu_priv->tx_confirm; in copy_stats() 280 data[crr * num_values + crr_cpu] = percpu_priv->tx_frag_skbuffs; in copy_stats() [all …]
|
/Linux-v4.19/drivers/gpu/drm/ |
D | drm_property.c | 93 int num_values) in drm_property_create() argument 110 if (num_values) { in drm_property_create() 111 property->values = kcalloc(num_values, sizeof(uint64_t), in drm_property_create() 122 property->num_values = num_values; in drm_property_create() 160 int num_values) in drm_property_create_enum() argument 167 property = drm_property_create(dev, flags, name, num_values); in drm_property_create_enum() 171 for (i = 0; i < num_values; i++) { in drm_property_create_enum() 213 int num_values = hweight64(supported_bits); in drm_property_create_bitmask() local 217 property = drm_property_create(dev, flags, name, num_values); in drm_property_create_bitmask() 412 if (WARN_ON(index >= property->num_values)) in drm_property_add_enum() [all …]
|
D | drm_fb_helper.c | 2445 for (i = 0; i < plane->rotation_property->num_values; i++) in drm_setup_crtc_rotation()
|
/Linux-v4.19/drivers/staging/fbtft/ |
D | fbtft-sysfs.c | 62 if (value_counter == par->gamma.num_values) { in fbtft_gamma_parse_str() 71 curves[curve_counter * par->gamma.num_values + value_counter] = val; in fbtft_gamma_parse_str() 74 if (value_counter != par->gamma.num_values) { in fbtft_gamma_parse_str() 100 for (j = 0; j < par->gamma.num_values; j++) in sprintf_gamma() 102 "%04x ", curves[i * par->gamma.num_values + j]); in sprintf_gamma() 129 par->gamma.num_curves * par->gamma.num_values * in store_gamma_curve()
|
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()
|
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()
|
D | fb_st7789v.c | 201 c = i * par->gamma.num_values; in set_gamma() 202 for (j = 0; j < par->gamma.num_values; j++) in set_gamma()
|
D | fb_hx8347d.c | 95 #define CURVE(num, idx) curves[(num) * par->gamma.num_values + (idx)] 107 for (j = 0; j < par->gamma.num_values; j++) { in set_gamma()
|
D | fb_ssd1289.c | 129 #define CURVE(num, idx) curves[(num) * par->gamma.num_values + (idx)] 141 CURVE(i, j) &= mask[i * par->gamma.num_values + j]; in set_gamma()
|
D | fb_s6d1121.c | 123 #define CURVE(num, idx) curves[(num) * par->gamma.num_values + (idx)] 136 CURVE(i, j) &= mask[i * par->gamma.num_values + j]; in set_gamma()
|
D | fb_ili9163.c | 195 #define CURVE(num, idx) curves[(num) * par->gamma.num_values + (idx)] 206 CURVE(i, j) &= mask[i * par->gamma.num_values + j]; in gamma_adj()
|
D | fb_ili9320.c | 214 #define CURVE(num, idx) curves[(num) * par->gamma.num_values + (idx)] 226 CURVE(i, j) &= mask[i * par->gamma.num_values + j]; in set_gamma()
|
D | fb_ili9325.c | 208 #define CURVE(num, idx) curves[(num) * par->gamma.num_values + (idx)] 220 CURVE(i, j) &= mask[i * par->gamma.num_values + j]; in set_gamma()
|
D | fb_ili9341.c | 114 #define CURVE(num, idx) curves[(num) * par->gamma.num_values + (idx)]
|
D | fbtft.h | 224 int num_values; member
|
D | fbtft-core.c | 815 par->gamma.num_values = display->gamma_len; in fbtft_framebuffer_alloc()
|
/Linux-v4.19/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()
|
/Linux-v4.19/include/drm/ |
D | drm_property.h | 166 uint32_t num_values; member 242 int num_values); 246 int num_values);
|
/Linux-v4.19/drivers/ata/ |
D | ahci_imx.c | 837 size_t num_values; member 920 .num_values = ARRAY_SIZE(gpr13_tx_level), 925 .num_values = ARRAY_SIZE(gpr13_tx_boost), 930 .num_values = ARRAY_SIZE(gpr13_tx_atten), 935 .num_values = ARRAY_SIZE(gpr13_rx_eq), 954 if (prop->num_values == 0) { in imx_ahci_parse_props() 969 for (j = 0; j < prop->num_values; j++) { in imx_ahci_parse_props() 978 if (j == prop->num_values) { in imx_ahci_parse_props()
|
/Linux-v4.19/include/uapi/linux/ |
D | hiddev.h | 135 __u32 num_values; member
|
/Linux-v4.19/drivers/hid/usbhid/ |
D | hiddev.c | 520 (uref_multi->num_values > HID_MAX_MULTI_USAGES || in hiddev_ioctl_usage() 521 uref->usage_index + uref_multi->num_values > field->report_count)) 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()
|