Home
last modified time | relevance | path

Searched refs:num_values (Results 1 – 23 of 23) sorted by relevance

/Linux-v5.4/drivers/soc/rockchip/
Dgrf.c25 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),
162 for (i = 0; i < grf_info->num_values; i++) { in rockchip_grf_init()
/Linux-v5.4/drivers/net/ethernet/freescale/dpaa/
Ddpaa_ethtool.c240 int num_values = num_cpus + 1; in copy_stats() local
244 data[crr * num_values + crr_cpu] = percpu_priv->in_interrupt; in copy_stats()
245 data[crr++ * num_values + num_cpus] += percpu_priv->in_interrupt; in copy_stats()
247 data[crr * num_values + crr_cpu] = percpu_priv->stats.rx_packets; in copy_stats()
248 data[crr++ * num_values + num_cpus] += percpu_priv->stats.rx_packets; in copy_stats()
250 data[crr * num_values + crr_cpu] = percpu_priv->stats.tx_packets; in copy_stats()
251 data[crr++ * num_values + num_cpus] += percpu_priv->stats.tx_packets; in copy_stats()
253 data[crr * num_values + crr_cpu] = percpu_priv->tx_confirm; in copy_stats()
254 data[crr++ * num_values + num_cpus] += percpu_priv->tx_confirm; in copy_stats()
256 data[crr * num_values + crr_cpu] = percpu_priv->tx_frag_skbuffs; in copy_stats()
[all …]
/Linux-v5.4/drivers/gpu/drm/
Ddrm_property.c98 int num_values) in drm_property_create() argument
115 if (num_values) { in drm_property_create()
116 property->values = kcalloc(num_values, sizeof(uint64_t), in drm_property_create()
127 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 …]
Ddrm_client_modeset.c887 for (i = 0; i < plane->rotation_property->num_values; i++) in drm_client_rotation()
/Linux-v5.4/drivers/staging/fbtft/
Dfbtft-sysfs.c62 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()
Dfb_hx8340bn.c151 #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()
Dfb_st7735r.c136 #define CURVE(num, idx) curves[(num) * par->gamma.num_values + (idx)]
143 for (j = 0; j < par->gamma.num_values; j++) in set_gamma()
Dfb_st7789v.c201 c = i * par->gamma.num_values; in set_gamma()
202 for (j = 0; j < par->gamma.num_values; j++) in set_gamma()
Dfb_hx8347d.c95 #define CURVE(num, idx) curves[(num) * par->gamma.num_values + (idx)]
107 for (j = 0; j < par->gamma.num_values; j++) { in set_gamma()
Dfb_s6d1121.c123 #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()
Dfb_ssd1289.c129 #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()
Dfb_ili9320.c214 #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()
Dfb_ili9163.c195 #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()
Dfb_ili9325.c208 #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()
Dfb_ili9341.c114 #define CURVE(num, idx) curves[(num) * par->gamma.num_values + (idx)]
Dfbtft.h223 int num_values; member
Dfbtft-core.c710 par->gamma.num_values = display->gamma_len; in fbtft_framebuffer_alloc()
/Linux-v5.4/drivers/regulator/
Dti-abb-regulator.c500 const u32 num_values = 6; in ti_abb_init_table() local
518 if (!num_entries || (num_entries % num_values)) { in ti_abb_init_table()
520 num_values); in ti_abb_init_table()
523 num_entries /= num_values; in ti_abb_init_table()
546 of_property_read_u32_index(dev->of_node, pname, i * num_values, in ti_abb_init_table()
549 i * num_values + 1, &info->opp_sel); in ti_abb_init_table()
551 i * num_values + 2, &efuse_offset); in ti_abb_init_table()
553 i * num_values + 3, &rbb_mask); in ti_abb_init_table()
555 i * num_values + 4, &fbb_mask); in ti_abb_init_table()
557 i * num_values + 5, &vset_mask); in ti_abb_init_table()
/Linux-v5.4/include/drm/
Ddrm_property.h169 uint32_t num_values; member
245 int num_values);
249 int num_values);
/Linux-v5.4/drivers/ata/
Dahci_imx.c826 size_t num_values; member
909 .num_values = ARRAY_SIZE(gpr13_tx_level),
914 .num_values = ARRAY_SIZE(gpr13_tx_boost),
919 .num_values = ARRAY_SIZE(gpr13_tx_atten),
924 .num_values = ARRAY_SIZE(gpr13_rx_eq),
943 if (prop->num_values == 0) { in imx_ahci_parse_props()
958 for (j = 0; j < prop->num_values; j++) { in imx_ahci_parse_props()
967 if (j == prop->num_values) { in imx_ahci_parse_props()
/Linux-v5.4/drivers/hid/usbhid/
Dhiddev.c522 if (uref_multi->num_values > HID_MAX_MULTI_USAGES || in hiddev_ioctl_usage()
523 uref->usage_index + uref_multi->num_values > in hiddev_ioctl_usage()
530 uref_multi->num_values); in hiddev_ioctl_usage()
549 for (i = 0; i < uref_multi->num_values; i++) in hiddev_ioctl_usage()
557 for (i = 0; i < uref_multi->num_values; i++) in hiddev_ioctl_usage()
/Linux-v5.4/include/uapi/linux/
Dhiddev.h135 __u32 num_values; member
/Linux-v5.4/drivers/clk/
Dclk-si5341.c904 const struct si5341_reg_default *values, unsigned int num_values) in si5341_write_multiple() argument
909 for (i = 0; i < num_values; ++i) { in si5341_write_multiple()