/openbmc/linux/drivers/gpu/drm/msm/ |
H A D | msm_gpu_devfreq.c | 40 if (df->idle_freq) { in msm_devfreq_target() 41 df->idle_freq = *freq; in msm_devfreq_target() 47 mutex_lock(&df->lock); in msm_devfreq_target() 68 if (df->idle_freq) in get_freq() 69 return df->idle_freq; in get_freq() 86 mutex_lock(&df->lock); in msm_devfreq_get_dev_status() 91 df->time = time; in msm_devfreq_get_dev_status() 93 if (df->suspended) { in msm_devfreq_get_dev_status() 136 return !!df->devfreq; in has_devfreq() 180 df->devfreq = NULL; in msm_devfreq_init() [all …]
|
/openbmc/qemu/include/libdecnumber/ |
H A D | decNumberLocal.h | 310 #define DFWORD(df, off) ((df)->words[DECWORDS-1-(off)]) argument 314 #define DFWORD(df, off) ((df)->words[off]) argument 315 #define DFBYTE(df, off) ((df)->bytes[off]) argument 320 #define DFISSIGNED(df) (DFWORD(df, 0)&0x80000000) argument 368 #define DFISZERO(df) ((DFWORD(df, 1)==0 \ argument 374 #define DFISCCZERO(df) (DFWORD(df, 1)==0 \ argument 380 #define DFISZERO(df) ((DFWORD(df, 3)==0 \ argument 388 #define DFISCCZERO(df) (DFWORD(df, 3)==0 \ argument 436 #define GETEXP(df) ((Int)(DECCOMBEXP[DFWORD((df), 0)>>26]+GETECON(df))) argument 438 #define GETEXPUN(df) ((Int)GETEXP(df)-DECBIAS) argument [all …]
|
/openbmc/linux/drivers/vfio/ |
H A D | device_cdev.c | 35 if (IS_ERR(df)) { in vfio_device_fops_cdev_open() 36 ret = PTR_ERR(df); in vfio_device_fops_cdev_open() 40 filep->private_data = df; in vfio_device_fops_cdev_open() 52 vfio_device_get_kvm_safe(df->device, df->kvm); in vfio_df_get_kvm_safe() 75 if (df->group) in vfio_df_ioctl_bind_iommufd() 84 if (df->access_granted) { in vfio_df_ioctl_bind_iommufd() 92 df->iommufd = NULL; in vfio_df_ioctl_bind_iommufd() 104 ret = vfio_df_open(df); in vfio_df_ioctl_bind_iommufd() 123 vfio_df_close(df); in vfio_df_ioctl_bind_iommufd() 127 df->iommufd = NULL; in vfio_df_ioctl_bind_iommufd() [all …]
|
H A D | vfio_main.c | 447 struct vfio_device_file *df; in vfio_allocate_device_file() local 449 df = kzalloc(sizeof(*df), GFP_KERNEL_ACCOUNT); in vfio_allocate_device_file() 450 if (!df) in vfio_allocate_device_file() 453 df->device = device; in vfio_allocate_device_file() 456 return df; in vfio_allocate_device_file() 486 vfio_df_iommufd_unbind(df); in vfio_df_device_first_open() 587 if (df->group) in vfio_device_fops_release() 588 vfio_df_group_close(df); in vfio_device_fops_release() 594 kfree(df); in vfio_device_fops_release() 1318 return df->device; in vfio_device_from_file() [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) in vfio_df_group_close() 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) in vfio_df_iommufd_unbind() 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, [all …]
|
H A D | group.c | 204 ret = vfio_df_open(df); in vfio_df_group_open() 225 vfio_df_close(df); in vfio_df_group_open() 227 df->iommufd = NULL; in vfio_df_group_open() 243 vfio_df_close(df); in vfio_df_group_close() 244 df->iommufd = NULL; in vfio_df_group_close() 260 if (IS_ERR(df)) { in vfio_device_open_file() 261 ret = PTR_ERR(df); in vfio_device_open_file() 265 df->group = device->group; in vfio_device_open_file() 276 df, O_RDWR); in vfio_device_open_file() 299 vfio_df_group_close(df); in vfio_device_open_file() [all …]
|
/openbmc/linux/arch/s390/hypfs/ |
H A D | hypfs_dbfs.c | 35 struct hypfs_dbfs_file *df; in dbfs_read() local 42 mutex_lock(&df->lock); in dbfs_read() 45 mutex_unlock(&df->lock); in dbfs_read() 50 mutex_unlock(&df->lock); in dbfs_read() 54 mutex_unlock(&df->lock); in dbfs_read() 66 mutex_lock(&df->lock); in dbfs_ioctl() 67 if (df->unlocked_ioctl) in dbfs_ioctl() 71 mutex_unlock(&df->lock); in dbfs_ioctl() 83 df->dentry = debugfs_create_file(df->name, 0400, dbfs_dir, df, in hypfs_dbfs_create_file() 85 mutex_init(&df->lock); in hypfs_dbfs_create_file() [all …]
|
/openbmc/linux/drivers/devfreq/ |
H A D | devfreq.c | 1466 ret = df->governor->event_handler(df, DEVFREQ_GOV_STOP, NULL); in governor_store() 1472 remove_sysfs_files(df, df->governor); in governor_store() 1480 ret = df->governor->event_handler(df, DEVFREQ_GOV_START, NULL); in governor_store() 1501 create_sysfs_files(df, df->governor); in governor_store() 1568 !df->profile->get_cur_freq(df->dev.parent, &freq)) in cur_freq_show() 1724 devfreq_update_status(df, df->previous_freq)) { in trans_stat_show() 1746 if (df->freq_table[i] == df->previous_freq) in trans_stat_show() 1797 memset(df->stats.time_in_state, 0, (df->max_state * in trans_stat_store() 1876 if (!df->governor || !df->profile) in timer_store() 1904 ret = df->governor->event_handler(df, DEVFREQ_GOV_STOP, NULL); in timer_store() [all …]
|
H A D | governor.h | 120 static inline int devfreq_update_stats(struct devfreq *df) in devfreq_update_stats() argument 122 if (!df->profile->get_dev_status) in devfreq_update_stats() 125 return df->profile->get_dev_status(df->dev.parent, &df->last_status); in devfreq_update_stats()
|
/openbmc/linux/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, in of_devfreq_cooling_register_power() argument 65 of_devfreq_cooling_register(struct device_node *np, struct devfreq *df) in of_devfreq_cooling_register() argument 71 devfreq_cooling_register(struct devfreq *df) in devfreq_cooling_register() argument 77 devfreq_cooling_em_register(struct devfreq *df, in devfreq_cooling_em_register() argument
|
/openbmc/openbmc/meta-phosphor/conf/distro/include/ |
H A D | phosphor-mrw.inc | 5 DISTROOVERRIDES .= ":df-mrw" 7 VIRTUAL-RUNTIME_phosphor-hwmon-config:df-mrw ?= "phosphor-hwmon-config-mrw" 9 PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-inventory:df-mrw ?= "phosphor-ipmi-fru-inventory-mrw-n… 10 PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-properties:df-mrw ?= "phosphor-ipmi-fru-properties-mrw… 11 PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-read-inventory:df-mrw ?= "phosphor-ipmi-fru-read-inven… 12 PREFERRED_PROVIDER_virtual/phosphor-ipmi-sensor-inventory:df-mrw ?= "phosphor-ipmi-sensor-inventory… 13 PREFERRED_PROVIDER_virtual/phosphor-ipmi-inventory-sel:df-mrw ?= "phosphor-ipmi-inventory-sel-mrw-n… 14 PREFERRED_PROVIDER_virtual/phosphor-led-manager-config-native:df-mrw ?= "phosphor-led-manager-confi… 15 PREFERRED_PROVIDER_virtual/phosphor-logging-callouts:df-mrw ?= "phosphor-logging-callouts-mrw-nativ… 16 PREFERRED_PROVIDER_virtual/phosphor-fan-presence-config:df-mrw ?= "phosphor-fan-presence-mrw" [all …]
|
/openbmc/linux/drivers/thermal/ |
H A D | devfreq_cooling.c | 88 struct devfreq *df = dfc->devfreq; in devfreq_cooling_set_cur_state() local 189 mutex_lock(&df->lock); in devfreq_cooling_get_requested_power() 190 status = df->last_status; in devfreq_cooling_get_requested_power() 191 mutex_unlock(&df->lock); in devfreq_cooling_get_requested_power() 196 voltage = get_voltage(df, freq); in devfreq_cooling_get_requested_power() 270 mutex_lock(&df->lock); in devfreq_cooling_power2state() 271 status = df->last_status; in devfreq_cooling_power2state() 272 mutex_unlock(&df->lock); in devfreq_cooling_power2state() 378 dfc->devfreq = df; in of_devfreq_cooling_register_power() 499 if (IS_ERR_OR_NULL(df)) in devfreq_cooling_em_register() [all …]
|
/openbmc/qemu/target/mips/tcg/ |
H A D | msa.decode | 16 &msa_r df wd ws wt 17 &msa_bz df wt sa 18 &msa_ldi df wd sa 19 &msa_i df wd ws sa 20 &msa_bit df wd ws m 21 &msa_elm_df df wd ws n 33 @ldst ...... sa:s10 ws:5 wd:5 .... df:2 &msa_i 35 @bz ...... ... df:2 wt:5 sa:s16 &msa_bz 41 @3r ...... ... df:2 wt:5 ws:5 wd:5 ...... &msa_r 44 @u5 ...... ... df:2 sa:5 ws:5 wd:5 ...... &msa_i [all …]
|
H A D | msa_helper.c | 32 #define DF_BITS(df) (1 << ((df) + 3)) argument 34 #define DF_MAX_INT(df) (int64_t)((1LL << (DF_BITS(df) - 1)) - 1) argument 37 #define DF_MIN_INT(df) (int64_t)(-(1LL << (DF_BITS(df) - 1))) argument 40 #define DF_MAX_UINT(df) (uint64_t)(-1ULL >> (64 - DF_BITS(df))) argument 43 #define UNSIGNED(x, df) ((x) & DF_MAX_UINT(df)) argument 45 ((((int64_t)x) << (64 - DF_BITS(df))) >> (64 - DF_BITS(df))) 48 #define DF_ELEMENTS(df) (MSA_WRLEN / DF_BITS(df)) argument 95 return msa_nlzc_df(df, UNSIGNED((~arg), df)); in msa_nloc_df() 309 #define BIT_POSITION(x, df) ((uint64_t)(x) % DF_BITS(df)) argument 8209 #define DF_BITS(df) (1 << ((df) + 3)) argument [all …]
|
H A D | msa_translate.c | 176 TRANS(NAME, trans_func, NAME##_tab[a->df]) 309 if (a->df == DF_DOUBLE) { in trans_SHF() 334 tcg_constant_i32(a->df), in trans_msa_i5() 371 if (a->df < 0) { in trans_msa_bit() 380 tcg_constant_i32(a->df), in trans_msa_bit() 409 tcg_constant_i32(a->df), in trans_msa_3rf() 564 if (a->df < 0) { in trans_msa_elm() 573 tcg_constant_i32(a->df), in trans_msa_elm() 588 if (a->df < 0 || !gen_msa_elm[a->df]) { in trans_msa_elm_fn() 596 gen_msa_elm[a->df](tcg_env, in trans_msa_elm_fn() [all …]
|
/openbmc/openbmc/poky/scripts/ |
H A D | bitbake-prserv-tool | 62 if [ "x${df}" == "x" ]; 68 rm -f $df 72 [ ! $? -eq 0 ] && echo "Exporting to file $df failed!" && exit 1 74 if [ -e $df ]; 76 echo "Exporting to file $df succeeded!" 78 echo "Exporting to file $df failed!" 83 [ -e $df ] && do_import $df
|
/openbmc/linux/drivers/pinctrl/pxa/ |
H A D | pinctrl-pxa2xx.c | 69 struct pxa_desc_function *df; in pxa_desc_by_func_group() local 75 for (df = pin->functions; df->name; df++) in pxa_desc_by_func_group() 77 return df; in pxa_desc_by_func_group() 143 struct pxa_desc_function *df; in pxa2xx_pmx_set_mux() local 152 if (!df) in pxa2xx_pmx_set_mux() 160 pin, df->muxval >> 1, df->muxval & 0x1); in pxa2xx_pmx_set_mux() 269 struct pxa_desc_function *df; in pxa2xx_build_functions() local 283 for (df = pctl->ppins[i].functions; df->name; df++) in pxa2xx_build_functions() 311 for (df = pctl->ppins[j].functions; df->name; in pxa2xx_build_groups() 312 df++) in pxa2xx_build_groups() [all …]
|
/openbmc/openbmc/meta-phosphor/recipes-core/base-files/ |
H A D | base-files_%.bbappend | 1 FILESEXTRAPATHS:prepend:df-obmc-ubi-fs := "${THISDIR}/${PN}/df-ubi:" 2 FILESEXTRAPATHS:prepend:df-phosphor-mmc := "${THISDIR}/${PN}/df-mmc:" 17 RDEPENDS:${PN}:append:df-obmc-ubi-fs = " preinit-mounts" 18 RDEPENDS:${PN}:append:df-obmc-static-norootfs = " phosphor-static-norootfs-init"
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | df_v1_7.c | 34 adev->df.hash_status.hash_64k = false; in df_v1_7_sw_init() 35 adev->df.hash_status.hash_2m = false; in df_v1_7_sw_init() 36 adev->df.hash_status.hash_1g = false; in df_v1_7_sw_init() 72 fb_channel_number = adev->df.funcs->get_fb_channel_number(adev); in df_v1_7_get_hbm_channel_number() 85 adev->df.funcs->enable_broadcast_mode(adev, true); in df_v1_7_update_medium_grain_clock_gating() 100 adev->df.funcs->enable_broadcast_mode(adev, false); in df_v1_7_update_medium_grain_clock_gating()
|
H A D | amdgpu_pmu.c | 236 if ((!pe->adev->df.funcs) || in amdgpu_perf_start() 237 (!pe->adev->df.funcs->pmc_start)) in amdgpu_perf_start() 275 if ((!pe->adev->df.funcs) || in amdgpu_perf_read() 276 (!pe->adev->df.funcs->pmc_get_count)) in amdgpu_perf_read() 284 pe->adev->df.funcs->pmc_get_count(pe->adev, in amdgpu_perf_read() 307 if ((!pe->adev->df.funcs) || in amdgpu_perf_stop() 308 (!pe->adev->df.funcs->pmc_stop)) in amdgpu_perf_stop() 340 if ((!pe->adev->df.funcs) || in amdgpu_perf_add() 341 (!pe->adev->df.funcs->pmc_start)) in amdgpu_perf_add() 389 if ((!pe->adev->df.funcs) || in amdgpu_perf_del() [all …]
|
/openbmc/linux/drivers/clk/rockchip/ |
H A D | clk.h | 565 .div_flags = df, \ 587 .div_flags = df, \ 605 .div_flags = df, \ 623 .div_flags = df, \ 649 ds, dw, df) \ argument 663 .div_flags = df, \ 682 .div_flags = df, \ 698 .div_flags = df, \ 715 .div_flags = df, \ 739 ds, dw, df) \ argument [all …]
|
/openbmc/openbmc/meta-aspeed/recipes-bsp/u-boot/ |
H A D | u-boot-aspeed-sdk_2019.04.bb | 10 SRC_URI:append:df-phosphor-mmc = " file://u-boot-env-ast2600.txt" 26 UBOOT_ENV_SIZE:df-phosphor-mmc = "0x10000" 27 UBOOT_ENV:df-phosphor-mmc = "u-boot-env" 28 UBOOT_ENV_SUFFIX:df-phosphor-mmc = "bin" 29 UBOOT_ENV_TXT:df-phosphor-mmc = "u-boot-env-ast2600.txt"
|
/openbmc/openbmc/meta-phosphor/dynamic-layers/aspeed-layer/recipes-bsp/u-boot/ |
H A D | u-boot-aspeed.inc | 5 SRC_URI:append:aspeed:df-obmc-ubi-fs = " \ 12 SRC_URI:append:aspeed:df-isolate-bmc = " \ 15 SRC_URI:append:aspeed:df-aspeednic-use-mac2 = " \ 18 SRC_URI:append:aspeed:df-aspeed-spi-master = " \ 23 python do_patch:append:aspeed:df-obmc-ubi-fs () {
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | cmsg_ipv6.sh | 51 for df in 0 1; do 57 [ $ovr == "setsock" ] && m="-F $df" 58 [ $ovr == "cmsg" ] && m="-f $df" 59 [ $ovr == "both" ] && m="-F $df -f $df" 60 [ $ovr == "diff" ] && m="-F $((1 - df)) -f $df" 63 check_result $? $df "DONTFRAG $prot $ovr"
|
/openbmc/openbmc/meta-openpower/conf/distro/include/ |
H A D | openpower-mrw.inc | 3 PREFERRED_PROVIDER_virtual/openpower-fru-inventory:df-mrw ?= "openpower-fru-inventory-mrw-native" 4 PREFERRED_PROVIDER_virtual/openpower-fru-properties:df-mrw ?= "openpower-fru-properties-mrw-native" 5 PREFERRED_PROVIDER_virtual/openpower-occ-control-config-native:df-mrw ?= "openpower-occ-control-con…
|