/linux-master/include/linux/ |
H A D | devfreq_cooling.h | 38 int (*get_real_power)(struct devfreq *df, u32 *power, 45 of_devfreq_cooling_register_power(struct device_node *np, struct devfreq *df, 48 of_devfreq_cooling_register(struct device_node *np, struct devfreq *df); 49 struct thermal_cooling_device *devfreq_cooling_register(struct devfreq *df); 52 devfreq_cooling_em_register(struct devfreq *df, 58 of_devfreq_cooling_register_power(struct device_node *np, struct devfreq *df, argument 65 of_devfreq_cooling_register(struct device_node *np, struct devfreq *df) argument 71 devfreq_cooling_register(struct devfreq *df) argument 77 devfreq_cooling_em_register(struct devfreq *df, argument
|
/linux-master/drivers/gpu/drm/msm/ |
H A D | msm_gpu_devfreq.c | 23 struct msm_gpu_devfreq *df = &gpu->devfreq; local 40 if (df->idle_freq) { 41 df->idle_freq = *freq; 47 mutex_lock(&df->lock); 48 gpu->funcs->gpu_set_freq(gpu, opp, df->suspended); 49 mutex_unlock(&df->lock); 61 struct msm_gpu_devfreq *df = &gpu->devfreq; local 68 if (df->idle_freq) 69 return df->idle_freq; 81 struct msm_gpu_devfreq *df local 135 struct msm_gpu_devfreq *df = &gpu->devfreq; local 141 struct msm_gpu_devfreq *df = &gpu->devfreq; local 199 cancel_idle_work(struct msm_gpu_devfreq *df) argument 205 cancel_boost_work(struct msm_gpu_devfreq *df) argument 213 struct msm_gpu_devfreq *df = &gpu->devfreq; local 224 struct msm_gpu_devfreq *df = &gpu->devfreq; local 241 struct msm_gpu_devfreq *df = &gpu->devfreq; local 258 struct msm_gpu_devfreq *df = container_of(work, local 266 struct msm_gpu_devfreq *df = &gpu->devfreq; local 290 struct msm_gpu_devfreq *df = &gpu->devfreq; local 337 struct msm_gpu_devfreq *df = container_of(work, local 362 struct msm_gpu_devfreq *df = &gpu->devfreq; local [all...] |
/linux-master/arch/s390/hypfs/ |
H A D | hypfs_dbfs.c | 35 struct hypfs_dbfs_file *df; local 41 df = file_inode(file)->i_private; 42 mutex_lock(&df->lock); 43 data = hypfs_dbfs_data_alloc(df); 45 mutex_unlock(&df->lock); 48 rc = df->data_create(&data->buf, &data->buf_free_ptr, &data->size); 50 mutex_unlock(&df->lock); 54 mutex_unlock(&df->lock); 63 struct hypfs_dbfs_file *df = file_inode(file)->i_private; local 66 mutex_lock(&df 81 hypfs_dbfs_create_file(struct hypfs_dbfs_file *df) argument 88 hypfs_dbfs_remove_file(struct hypfs_dbfs_file *df) argument [all...] |
H A D | hypfs.h | 82 extern void hypfs_dbfs_create_file(struct hypfs_dbfs_file *df); 83 extern void hypfs_dbfs_remove_file(struct hypfs_dbfs_file *df);
|
/linux-master/drivers/vfio/ |
H A D | device_cdev.c | 27 struct vfio_device_file *df; local 34 df = vfio_allocate_device_file(device); 35 if (IS_ERR(df)) { 36 ret = PTR_ERR(df); 40 filep->private_data = df; 49 static void vfio_df_get_kvm_safe(struct vfio_device_file *df) argument 51 spin_lock(&df->kvm_ref_lock); 52 vfio_device_get_kvm_safe(df->device, df->kvm); 53 spin_unlock(&df 56 vfio_df_ioctl_bind_iommufd(struct vfio_device_file *df, struct vfio_device_bind_iommufd __user *arg) argument 134 vfio_df_unbind_iommufd(struct vfio_device_file *df) argument 155 vfio_df_ioctl_attach_pt(struct vfio_device_file *df, struct vfio_device_attach_iommufd_pt __user *arg) argument 191 vfio_df_ioctl_detach_pt(struct vfio_device_file *df, struct vfio_device_detach_iommufd_pt __user *arg) argument [all...] |
H A D | vfio.h | 32 int vfio_df_open(struct vfio_device_file *df); 33 void vfio_df_close(struct vfio_device_file *df); 108 void vfio_df_group_close(struct vfio_device_file *df); 160 static inline void vfio_df_group_close(struct vfio_device_file *df) argument 323 int vfio_df_iommufd_bind(struct vfio_device_file *df); 324 void vfio_df_iommufd_unbind(struct vfio_device_file *df); 340 static inline void vfio_df_iommufd_unbind(struct vfio_device_file *df) argument 352 int vfio_df_ioctl_attach_pt(struct vfio_device_file *df, 354 int vfio_df_ioctl_detach_pt(struct vfio_device_file *df, 378 long vfio_df_ioctl_bind_iommufd(struct vfio_device_file *df, 404 vfio_df_ioctl_bind_iommufd(struct vfio_device_file *df, struct vfio_device_bind_iommufd __user *arg) argument 410 vfio_df_unbind_iommufd(struct vfio_device_file *df) argument [all...] |
H A D | vfio_main.c | 449 struct vfio_device_file *df; local 451 df = kzalloc(sizeof(*df), GFP_KERNEL_ACCOUNT); 452 if (!df) 455 df->device = device; 456 spin_lock_init(&df->kvm_ref_lock); 458 return df; 461 static int vfio_df_device_first_open(struct vfio_device_file *df) argument 463 struct vfio_device *device = df->device; 464 struct iommufd_ctx *iommufd = df 496 vfio_df_device_last_close(struct vfio_device_file *df) argument 512 vfio_df_open(struct vfio_device_file *df) argument 536 vfio_df_close(struct vfio_device_file *df) argument 586 struct vfio_device_file *df = filep->private_data; local 1219 struct vfio_device_file *df = filep->private_data; local 1268 struct vfio_device_file *df = filep->private_data; local 1285 struct vfio_device_file *df = filep->private_data; local 1300 struct vfio_device_file *df = filep->private_data; local 1326 struct vfio_device_file *df = file->private_data; local 1373 struct vfio_device_file *df = file->private_data; local [all...] |
H A D | group.c | 167 static int vfio_df_group_open(struct vfio_device_file *df) argument 169 struct vfio_device *device = df->device; 189 df->iommufd = device->group->iommufd; 190 if (df->iommufd && vfio_device_is_noiommu(device) && device->open_count == 0) { 197 vfio_iommufd_device_has_compat_ioas(device, df->iommufd)) 204 ret = vfio_df_open(df); 208 if (df->iommufd && device->open_count == 1) { 209 ret = vfio_iommufd_compat_attach_ioas(device, df->iommufd); 218 smp_store_release(&df->access_granted, true); 225 vfio_df_close(df); 236 vfio_df_group_close(struct vfio_device_file *df) argument 255 struct vfio_device_file *df; local [all...] |
H A D | iommufd.c | 21 int vfio_df_iommufd_bind(struct vfio_device_file *df) argument 23 struct vfio_device *vdev = df->device; 24 struct iommufd_ctx *ictx = df->iommufd; 28 return vdev->ops->bind_iommufd(vdev, ictx, &df->devid); 51 void vfio_df_iommufd_unbind(struct vfio_device_file *df) argument 53 struct vfio_device *vdev = df->device;
|
/linux-master/drivers/devfreq/ |
H A D | governor.h | 120 static inline int devfreq_update_stats(struct devfreq *df) argument 122 if (!df->profile->get_dev_status) 125 return df->profile->get_dev_status(df->dev.parent, &df->last_status);
|
H A D | devfreq.c | 1416 struct devfreq *df = to_devfreq(dev); local 1417 return sprintf(buf, "%s\n", dev_name(df->dev.parent)); 1424 struct devfreq *df = to_devfreq(dev); local 1426 if (!df->governor) 1429 return sprintf(buf, "%s\n", df->governor->name); 1435 struct devfreq *df = to_devfreq(dev); local 1440 if (!df->governor) 1453 if (df->governor == governor) { 1456 } else if (IS_SUPPORTED_FLAG(df->governor->flags, IMMUTABLE) 1466 ret = df 1516 struct devfreq *df = to_devfreq(d); local 1562 struct devfreq *df = to_devfreq(dev); local 1578 struct devfreq *df = to_devfreq(dev); local 1587 struct devfreq *df = to_devfreq(dev); local 1614 struct devfreq *df = to_devfreq(dev); local 1628 struct devfreq *df = to_devfreq(dev); local 1668 struct devfreq *df = to_devfreq(dev); local 1683 struct devfreq *df = to_devfreq(d); local 1710 struct devfreq *df = to_devfreq(dev); local 1780 struct devfreq *df = to_devfreq(dev); local 1824 struct devfreq *df = to_devfreq(dev); local 1836 struct devfreq *df = to_devfreq(dev); local 1857 struct devfreq *df = to_devfreq(dev); local 1868 struct devfreq *df = to_devfreq(dev); local [all...] |
H A D | governor_simpleondemand.c | 18 static int devfreq_simple_ondemand_func(struct devfreq *df, argument 26 struct devfreq_simple_ondemand_data *data = df->data; 28 err = devfreq_update_stats(df); 32 stat = &df->last_status;
|
H A D | governor_userspace.c | 22 static int devfreq_userspace_func(struct devfreq *df, unsigned long *freq) argument 24 struct userspace_data *data = df->governor_data; 29 *freq = df->previous_freq; /* No user freq specified yet */
|
H A D | governor_performance.c | 13 static int devfreq_performance_func(struct devfreq *df, argument
|
H A D | governor_powersave.c | 13 static int devfreq_powersave_func(struct devfreq *df, argument
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | umc_v6_7.h | 61 (((pa) >> 20) & 0x1ULL & adev->df.hash_status.hash_64k) ^ \ 62 (((pa) >> 25) & 0x1ULL & adev->df.hash_status.hash_2m) ^ \ 63 (((pa) >> 34) & 0x1ULL & adev->df.hash_status.hash_1g))
|
H A D | df_v1_7.c | 26 #include "df/df_1_7_default.h" 27 #include "df/df_1_7_offset.h" 28 #include "df/df_1_7_sh_mask.h" 34 adev->df.hash_status.hash_64k = false; 35 adev->df.hash_status.hash_2m = false; 36 adev->df.hash_status.hash_1g = false; 72 fb_channel_number = adev->df.funcs->get_fb_channel_number(adev); 83 adev->df.funcs->enable_broadcast_mode(adev, true); 98 adev->df.funcs->enable_broadcast_mode(adev, false);
|
H A D | amdgpu_pmu.c | 236 if ((!pe->adev->df.funcs) || 237 (!pe->adev->df.funcs->pmc_start)) 247 target_cntr = pe->adev->df.funcs->pmc_start(pe->adev, 256 pe->adev->df.funcs->pmc_start(pe->adev, hwc->config, 275 if ((!pe->adev->df.funcs) || 276 (!pe->adev->df.funcs->pmc_get_count)) 284 pe->adev->df.funcs->pmc_get_count(pe->adev, 307 if ((!pe->adev->df.funcs) || 308 (!pe->adev->df.funcs->pmc_stop)) 314 pe->adev->df [all...] |
/linux-master/include/linux/platform_data/ |
H A D | apds990x.h | 27 * @df: device factor for conversion formulas 32 * format: decimal value * APDS_PARAM_SCALE except df which is plain integer. 41 int df; member in struct:apds990x_chip_factors
|
/linux-master/drivers/thermal/ |
H A D | devfreq_cooling.c | 88 struct devfreq *df = dfc->devfreq; local 89 struct device *dev = df->dev.parent; 148 static unsigned long get_voltage(struct devfreq *df, unsigned long freq) argument 150 struct device *dev = df->dev.parent; 194 struct devfreq *df = dfc->devfreq; local 202 mutex_lock(&df->lock); 203 status = df->last_status; 204 mutex_unlock(&df->lock); 209 voltage = get_voltage(df, freq); 215 res = dfc->power_ops->get_real_power(df, powe 291 struct devfreq *df = dfc->devfreq; local 351 struct devfreq *df = dfc->devfreq; local 393 of_devfreq_cooling_register_power(struct device_node *np, struct devfreq *df, struct devfreq_cooling_power *dfc_power) argument 490 of_devfreq_cooling_register(struct device_node *np, struct devfreq *df) argument 500 devfreq_cooling_register(struct devfreq *df) argument 523 devfreq_cooling_em_register(struct devfreq *df, struct devfreq_cooling_power *dfc_power) argument [all...] |
/linux-master/drivers/pinctrl/pxa/ |
H A D | pinctrl-pxa2xx.c | 69 struct pxa_desc_function *df; local 75 for (df = pin->functions; df->name; df++) 76 if (!strcmp(df->name, func_name)) 77 return df; 143 struct pxa_desc_function *df; local 150 df = pxa_desc_by_func_group(pctl, group->name, 152 if (!df) 160 pin, df 269 struct pxa_desc_function *df; local 300 struct pxa_desc_function *df; local [all...] |
/linux-master/include/xen/interface/hvm/ |
H A D | ioreq.h | 46 uint8_t df:1; member in struct:ioreq
|
/linux-master/tools/testing/selftests/net/ |
H A D | cmsg_ipv6.sh | 49 for df in 0 1; do 55 [ $ovr == "setsock" ] && m="-F $df" 56 [ $ovr == "cmsg" ] && m="-f $df" 57 [ $ovr == "both" ] && m="-F $df -f $df" 58 [ $ovr == "diff" ] && m="-F $((1 - df)) -f $df" 61 check_result $? $df "DONTFRAG $prot $ovr"
|
/linux-master/drivers/clk/rockchip/ |
H A D | clk.h | 551 df, go, gs, gf) \ 565 .div_flags = df, \ 572 mf, do, ds, dw, df, go, gs, gf) \ 587 .div_flags = df, \ 593 #define COMPOSITE_NOMUX(_id, cname, pname, f, mo, ds, dw, df, \ 605 .div_flags = df, \ 612 df, dt, go, gs, gf) \ 623 .div_flags = df, \ 649 ds, dw, df) \ 663 .div_flags = df, \ [all...] |
/linux-master/drivers/regulator/ |
H A D | ad5398.c | 221 const struct ad5398_current_data_format *df = local 237 chip->min_uA = df->min_uA; 238 chip->max_uA = df->max_uA; 239 chip->current_level = 1 << df->current_bits; 240 chip->current_offset = df->current_offset;
|