Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/drivers/soc/rockchip/
H A Dgrf.c118 int num_values; member
133 .num_values = ARRAY_SIZE(px30_defaults),
148 .num_values = ARRAY_SIZE(rk3036_defaults),
159 .num_values = ARRAY_SIZE(rk3128_defaults),
170 .num_values = ARRAY_SIZE(rk3228_defaults),
183 .num_values = ARRAY_SIZE(rk3288_defaults),
194 .num_values = ARRAY_SIZE(rk3328_defaults),
207 .num_values = ARRAY_SIZE(rk3308_defaults),
218 .num_values = ARRAY_SIZE(rk3368_defaults),
229 .num_values = ARRAY_SIZE(rk3399_defaults),
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_ethtool.c223 int num_values = num_cpus + 1; in copy_stats() local
227 data[crr * num_values + crr_cpu] = percpu_priv->in_interrupt; in copy_stats()
228 data[crr++ * num_values + num_cpus] += percpu_priv->in_interrupt; in copy_stats()
230 data[crr * num_values + crr_cpu] = percpu_priv->stats.rx_packets; in copy_stats()
231 data[crr++ * num_values + num_cpus] += percpu_priv->stats.rx_packets; in copy_stats()
233 data[crr * num_values + crr_cpu] = percpu_priv->stats.tx_packets; in copy_stats()
234 data[crr++ * num_values + num_cpus] += percpu_priv->stats.tx_packets; in copy_stats()
236 data[crr * num_values + crr_cpu] = percpu_priv->tx_confirm; in copy_stats()
237 data[crr++ * num_values + num_cpus] += percpu_priv->tx_confirm; in copy_stats()
239 data[crr * num_values + crr_cpu] = percpu_priv->tx_frag_skbuffs; in copy_stats()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/staging/fbtft/
H A Dfbtft-sysfs.c63 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 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()
H A 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()
H A Dfb_st7789v.c225 c = i * par->gamma.num_values; in set_gamma()
226 for (j = 0; j < par->gamma.num_values; j++) in set_gamma()
H A 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()
H A Dfb_s6d1121.c119 #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 Dfb_ssd1289.c125 #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 Dfb_ili9163.c191 #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 Dfb_ili9320.c213 #define CURVE(num, idx) curves[(num) * par->gamma.num_values + (idx)]
225 CURVE(i, j) &= mask[i * par->gamma.num_values + j]; in set_gamma()
H A Dfb_ili9325.c204 #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()
/OK3568_Linux_fs/kernel/drivers/regulator/
H A Dti-abb-regulator.c510 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()
/OK3568_Linux_fs/kernel/include/drm/
H A Ddrm_property.h169 uint32_t num_values; member
245 int num_values);
249 int num_values);
/OK3568_Linux_fs/yocto/poky/meta/recipes-bsp/grub/files/
H A DCVE-2021-3696-video-readers-png-Avoid-heap-OOB-R-W-inserting-huff.patch38 + if (n > ht->num_values)
46 ht->values[ht->num_values - i] = ht->values[ht->num_values - i - 1];
/OK3568_Linux_fs/external/xserver/randr/
H A Drrproviderproperty.c329 int num_values, INT32 *values) in RRConfigureProviderProperty() argument
347 if (range && (num_values & 1)) { in RRConfigureProviderProperty()
353 new_values = xallocarray(num_values, sizeof(INT32)); in RRConfigureProviderProperty()
354 if (!new_values && num_values) { in RRConfigureProviderProperty()
359 if (num_values) in RRConfigureProviderProperty()
360 memcpy(new_values, values, num_values * sizeof(INT32)); in RRConfigureProviderProperty()
374 prop->num_valid = num_values; in RRConfigureProviderProperty()
H A Drrproperty.c354 int num_values, const INT32 *values) in RRConfigureOutputProperty() argument
372 if (range && (num_values & 1)) { in RRConfigureOutputProperty()
378 new_values = xallocarray(num_values, sizeof(INT32)); in RRConfigureOutputProperty()
379 if (!new_values && num_values) { in RRConfigureOutputProperty()
384 if (num_values) in RRConfigureOutputProperty()
385 memcpy(new_values, values, num_values * sizeof(INT32)); in RRConfigureOutputProperty()
399 prop->num_valid = num_values; in RRConfigureOutputProperty()
/OK3568_Linux_fs/kernel/drivers/ata/
H A 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()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/csf/ipa_control/
H A Dmali_kbase_csf_ipa_control.h156 u64 *values, size_t num_values,
H A Dmali_kbase_csf_ipa_control.c775 u64 *values, size_t num_values, u64 *protected_time) in kbase_ipa_control_query() argument
800 if (WARN_ON(num_values < session->num_prfcnts)) { in kbase_ipa_control_query()
803 __func__, num_values, session->num_prfcnts); in kbase_ipa_control_query()
838 for (i = session->num_prfcnts; i < num_values; i++) in kbase_ipa_control_query()
/OK3568_Linux_fs/kernel/drivers/hid/usbhid/
H A Dhiddev.c509 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()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dhiddev.h135 __u32 num_values; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dhiddev.h135 __u32 num_values; member
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dhiddev.h135 __u32 num_values; member

12