/openbmc/linux/drivers/gpu/drm/msm/ |
H A D | msm_gpu_devfreq.c | 23 struct msm_gpu_devfreq *df = &gpu->devfreq; in msm_devfreq_target() local 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() 48 gpu->funcs->gpu_set_freq(gpu, opp, df->suspended); in msm_devfreq_target() 49 mutex_unlock(&df->lock); in msm_devfreq_target() 61 struct msm_gpu_devfreq *df = &gpu->devfreq; in get_freq() local 68 if (df->idle_freq) in get_freq() 69 return df->idle_freq; in get_freq() 81 struct msm_gpu_devfreq *df = &gpu->devfreq; in msm_devfreq_get_dev_status() local [all …]
|
/openbmc/qemu/include/libdecnumber/ |
H A D | decNumberLocal.h | 310 #define DFWORD(df, off) ((df)->words[DECWORDS-1-(off)]) argument 311 #define DFBYTE(df, off) ((df)->bytes[DECBYTES-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 321 #define DFISSPECIAL(df) ((DFWORD(df, 0)&0x78000000)==0x78000000) argument 322 #define DFISINF(df) ((DFWORD(df, 0)&0x7c000000)==0x78000000) argument 323 #define DFISNAN(df) ((DFWORD(df, 0)&0x7c000000)==0x7c000000) argument 324 #define DFISQNAN(df) ((DFWORD(df, 0)&0x7e000000)==0x7c000000) argument 325 #define DFISSNAN(df) ((DFWORD(df, 0)&0x7e000000)==0x7e000000) argument [all …]
|
/openbmc/linux/drivers/vfio/ |
H A D | device_cdev.c | 27 struct vfio_device_file *df; in vfio_device_fops_cdev_open() local 34 df = vfio_allocate_device_file(device); in vfio_device_fops_cdev_open() 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() 49 static void vfio_df_get_kvm_safe(struct vfio_device_file *df) in vfio_df_get_kvm_safe() argument 51 spin_lock(&df->kvm_ref_lock); in vfio_df_get_kvm_safe() 52 vfio_device_get_kvm_safe(df->device, df->kvm); in vfio_df_get_kvm_safe() 53 spin_unlock(&df->kvm_ref_lock); in vfio_df_get_kvm_safe() 56 long vfio_df_ioctl_bind_iommufd(struct vfio_device_file *df, in vfio_df_ioctl_bind_iommufd() argument [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() 454 spin_lock_init(&df->kvm_ref_lock); in vfio_allocate_device_file() 456 return df; in vfio_allocate_device_file() 459 static int vfio_df_device_first_open(struct vfio_device_file *df) in vfio_df_device_first_open() argument 461 struct vfio_device *device = df->device; in vfio_df_device_first_open() 462 struct iommufd_ctx *iommufd = df->iommufd; in vfio_df_device_first_open() 471 ret = vfio_df_iommufd_bind(df); in vfio_df_device_first_open() [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 | 167 static int vfio_df_group_open(struct vfio_device_file *df) in vfio_df_group_open() argument 169 struct vfio_device *device = df->device; in vfio_df_group_open() 189 df->iommufd = device->group->iommufd; in vfio_df_group_open() 190 if (df->iommufd && vfio_device_is_noiommu(device) && device->open_count == 0) { in vfio_df_group_open() 197 vfio_iommufd_device_has_compat_ioas(device, df->iommufd)) in vfio_df_group_open() 204 ret = vfio_df_open(df); in vfio_df_group_open() 208 if (df->iommufd && device->open_count == 1) { in vfio_df_group_open() 209 ret = vfio_iommufd_compat_attach_ioas(device, df->iommufd); in vfio_df_group_open() 218 smp_store_release(&df->access_granted, true); in vfio_df_group_open() 225 vfio_df_close(df); in vfio_df_group_open() [all …]
|
/openbmc/linux/arch/s390/hypfs/ |
H A D | hypfs_dbfs.c | 35 struct hypfs_dbfs_file *df; in dbfs_read() local 41 df = file_inode(file)->i_private; in dbfs_read() 42 mutex_lock(&df->lock); in dbfs_read() 43 data = hypfs_dbfs_data_alloc(df); in dbfs_read() 45 mutex_unlock(&df->lock); in dbfs_read() 48 rc = df->data_create(&data->buf, &data->buf_free_ptr, &data->size); in dbfs_read() 50 mutex_unlock(&df->lock); in dbfs_read() 54 mutex_unlock(&df->lock); in dbfs_read() 63 struct hypfs_dbfs_file *df = file_inode(file)->i_private; in dbfs_ioctl() local 66 mutex_lock(&df->lock); in dbfs_ioctl() [all …]
|
/openbmc/linux/drivers/devfreq/ |
H A D | devfreq.c | 1416 struct devfreq *df = to_devfreq(dev); in name_show() local 1417 return sprintf(buf, "%s\n", dev_name(df->dev.parent)); in name_show() 1424 struct devfreq *df = to_devfreq(dev); in governor_show() local 1426 if (!df->governor) in governor_show() 1429 return sprintf(buf, "%s\n", df->governor->name); in governor_show() 1435 struct devfreq *df = to_devfreq(dev); in governor_store() local 1440 if (!df->governor) in governor_store() 1453 if (df->governor == governor) { in governor_store() 1456 } else if (IS_SUPPORTED_FLAG(df->governor->flags, IMMUTABLE) in governor_store() 1466 ret = df->governor->event_handler(df, DEVFREQ_GOV_STOP, NULL); in governor_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/openbmc/poky/meta/recipes-core/coreutils/coreutils/ |
H A D | intermittent-testfailure.patch | 1 tests/df: Fix intermittent test failure 16 Index: coreutils-9.5/tests/df/df-P.sh 18 --- coreutils-9.5.orig/tests/df/df-P.sh 19 +++ coreutils-9.5/tests/df/df-P.sh 21 print_ver_ df 24 - df -P . > t1 || fail=1 25 -BLOCK_SIZE=1M df -P . > t2 || fail=1 26 + df -P . | tr -s ' ' > t1 || fail=1 27 +BLOCK_SIZE=1M df -P . | tr -s ' ' > t2 || fail=1 29 # Since file system utilization may be changing, compare only df's header line.
|
/openbmc/linux/drivers/thermal/ |
H A D | devfreq_cooling.c | 88 struct devfreq *df = dfc->devfreq; in devfreq_cooling_set_cur_state() local 89 struct device *dev = df->dev.parent; in devfreq_cooling_set_cur_state() 136 static unsigned long get_voltage(struct devfreq *df, unsigned long freq) in get_voltage() argument 138 struct device *dev = df->dev.parent; in get_voltage() 182 struct devfreq *df = dfc->devfreq; in devfreq_cooling_get_requested_power() 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() 202 res = dfc->power_ops->get_real_power(df, power, freq, voltage); in devfreq_cooling_get_requested_power() [all …]
|
/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/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/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 34 @bz_v ...... ... .. wt:5 sa:s16 &msa_bz df=3 35 @bz ...... ... df:2 wt:5 sa:s16 &msa_bz 36 @elm_df ...... .... ...... ws:5 wd:5 ...... &msa_elm_df df=%elm_df n=%elm_n [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 44 #define SIGNED(x, 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 72 static inline int64_t msa_nlzc_df(uint32_t df, int64_t arg) in msa_nlzc_df() argument 77 x = UNSIGNED(arg, df); in msa_nlzc_df() [all …]
|
H A D | msa_translate.c | 176 TRANS(NAME, trans_func, NAME##_tab[a->df]) 193 return trans_func(ctx, a, NAME##_tab[a->df]); \ 196 static void gen_check_zero_element(TCGv tresult, uint8_t df, uint8_t wt, in gen_check_zero_element() argument 201 uint64_t eval_zero_or_big = dup_const(df, 1); in gen_check_zero_element() 202 uint64_t eval_big = eval_zero_or_big << ((8 << df) - 1); in gen_check_zero_element() 254 static bool gen_msa_BxZ(DisasContext *ctx, int df, int wt, int sa, bool if_not) in gen_msa_BxZ() argument 265 gen_check_zero_element(bcond, df, wt, if_not ? TCG_COND_EQ : TCG_COND_NE); in gen_msa_BxZ() 276 return gen_msa_BxZ(ctx, a->df, a->wt, a->sa, false); in trans_BZ() 281 return gen_msa_BxZ(ctx, a->df, a->wt, a->sa, true); in trans_BNZ() 309 if (a->df == DF_DOUBLE) { in trans_SHF() [all …]
|
/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() 76 if (!strcmp(df->name, func_name)) 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 150 df = pxa_desc_by_func_group(pctl, group->name, in pxa2xx_pmx_set_mux() 152 if (!df) in pxa2xx_pmx_set_mux() 160 pin, df->muxval >> 1, df->muxval & 0x1); in pxa2xx_pmx_set_mux() 165 val = (val & ~(0x3 << shift)) | ((df->muxval >> 1) << shift); in pxa2xx_pmx_set_mux() 169 val = (val & ~BIT(pin % 32)) | ((df->muxval & 1) ? BIT(pin % 32) : 0); in pxa2xx_pmx_set_mux() [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/clk/rockchip/ |
H A D | clk.h | 551 df, go, gs, gf) \ argument 565 .div_flags = df, \ 572 mf, do, ds, dw, df, go, gs, gf) \ argument 587 .div_flags = df, \ 593 #define COMPOSITE_NOMUX(_id, cname, pname, f, mo, ds, dw, df, \ argument 605 .div_flags = df, \ 612 df, dt, go, gs, gf) \ argument 623 .div_flags = df, \ 649 ds, dw, df) \ argument 663 .div_flags = df, \ [all …]
|
/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() 247 target_cntr = pe->adev->df.funcs->pmc_start(pe->adev, in amdgpu_perf_start() 256 pe->adev->df.funcs->pmc_start(pe->adev, hwc->config, 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() 314 pe->adev->df.funcs->pmc_stop(pe->adev, hwc->config, hwc->idx, in amdgpu_perf_stop() [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/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-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/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…
|