/linux-5.19.10/drivers/gpu/drm/msm/ |
D | msm_gpu_devfreq.c | 23 struct msm_gpu_devfreq *df = &gpu->devfreq; in msm_devfreq_target() local 37 mutex_lock(&df->lock); in msm_devfreq_target() 38 gpu->funcs->gpu_set_freq(gpu, opp, df->suspended); in msm_devfreq_target() 39 mutex_unlock(&df->lock); in msm_devfreq_target() 60 struct msm_gpu_devfreq *df = &gpu->devfreq; in get_raw_dev_status() local 65 mutex_lock(&df->lock); in get_raw_dev_status() 69 status->total_time = ktime_us_delta(time, df->time); in get_raw_dev_status() 70 df->time = time; in get_raw_dev_status() 72 if (df->suspended) { in get_raw_dev_status() 73 mutex_unlock(&df->lock); in get_raw_dev_status() [all …]
|
/linux-5.19.10/arch/s390/hypfs/ |
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 …]
|
D | hypfs.h | 74 extern void hypfs_dbfs_create_file(struct hypfs_dbfs_file *df); 75 extern void hypfs_dbfs_remove_file(struct hypfs_dbfs_file *df);
|
/linux-5.19.10/drivers/devfreq/ |
D | devfreq.c | 1392 struct devfreq *df = to_devfreq(dev); in name_show() local 1393 return sprintf(buf, "%s\n", dev_name(df->dev.parent)); in name_show() 1400 struct devfreq *df = to_devfreq(dev); in governor_show() local 1402 if (!df->governor) in governor_show() 1405 return sprintf(buf, "%s\n", df->governor->name); in governor_show() 1411 struct devfreq *df = to_devfreq(dev); in governor_store() local 1416 if (!df->governor) in governor_store() 1429 if (df->governor == governor) { in governor_store() 1432 } else if (IS_SUPPORTED_FLAG(df->governor->flags, IMMUTABLE) in governor_store() 1442 ret = df->governor->event_handler(df, DEVFREQ_GOV_STOP, NULL); in governor_store() [all …]
|
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()
|
D | governor_simpleondemand.c | 18 static int devfreq_simple_ondemand_func(struct devfreq *df, in devfreq_simple_ondemand_func() argument 26 struct devfreq_simple_ondemand_data *data = df->data; in devfreq_simple_ondemand_func() 28 err = devfreq_update_stats(df); in devfreq_simple_ondemand_func() 32 stat = &df->last_status; in devfreq_simple_ondemand_func()
|
D | governor_userspace.c | 22 static int devfreq_userspace_func(struct devfreq *df, unsigned long *freq) in devfreq_userspace_func() argument 24 struct userspace_data *data = df->data; in devfreq_userspace_func() 29 *freq = df->previous_freq; /* No user freq specified yet */ in devfreq_userspace_func()
|
/linux-5.19.10/include/linux/ |
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
|
/linux-5.19.10/drivers/thermal/ |
D | devfreq_cooling.c | 86 struct devfreq *df = dfc->devfreq; in devfreq_cooling_set_cur_state() local 87 struct device *dev = df->dev.parent; in devfreq_cooling_set_cur_state() 134 static unsigned long get_voltage(struct devfreq *df, unsigned long freq) in get_voltage() argument 136 struct device *dev = df->dev.parent; in get_voltage() 180 struct devfreq *df = dfc->devfreq; in devfreq_cooling_get_requested_power() local 187 mutex_lock(&df->lock); in devfreq_cooling_get_requested_power() 188 status = df->last_status; in devfreq_cooling_get_requested_power() 189 mutex_unlock(&df->lock); in devfreq_cooling_get_requested_power() 194 voltage = get_voltage(df, freq); in devfreq_cooling_get_requested_power() 200 res = dfc->power_ops->get_real_power(df, power, freq, voltage); in devfreq_cooling_get_requested_power() [all …]
|
/linux-5.19.10/drivers/pinctrl/pxa/ |
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 …]
|
/linux-5.19.10/drivers/clk/rockchip/ |
D | clk.h | 463 df, go, gs, gf) \ argument 477 .div_flags = df, \ 484 mf, do, ds, dw, df, go, gs, gf) \ argument 499 .div_flags = df, \ 505 #define COMPOSITE_NOMUX(_id, cname, pname, f, mo, ds, dw, df, \ argument 517 .div_flags = df, \ 524 df, dt, go, gs, gf) \ argument 535 .div_flags = df, \ 561 ds, dw, df) \ argument 575 .div_flags = df, \ [all …]
|
/linux-5.19.10/drivers/gpu/drm/amd/amdgpu/ |
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() 83 adev->df.funcs->enable_broadcast_mode(adev, true); in df_v1_7_update_medium_grain_clock_gating() 98 adev->df.funcs->enable_broadcast_mode(adev, false); in df_v1_7_update_medium_grain_clock_gating()
|
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() 285 pe->adev->df.funcs->pmc_get_count(pe->adev, in amdgpu_perf_read() 308 if ((!pe->adev->df.funcs) || in amdgpu_perf_stop() 309 (!pe->adev->df.funcs->pmc_stop)) in amdgpu_perf_stop() 315 pe->adev->df.funcs->pmc_stop(pe->adev, hwc->config, hwc->idx, in amdgpu_perf_stop() [all …]
|
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))
|
D | df_v3_6.c | 218 adev->df.hash_status.hash_64k = false; in df_v3_6_query_hashes() 219 adev->df.hash_status.hash_2m = false; in df_v3_6_query_hashes() 220 adev->df.hash_status.hash_1g = false; in df_v3_6_query_hashes() 224 adev->df.funcs->get_fb_channel_number(adev) == 0xe) || in df_v3_6_query_hashes() 226 adev->df.funcs->get_fb_channel_number(adev) == 0x1e)) { in df_v3_6_query_hashes() 228 adev->df.hash_status.hash_64k = REG_GET_FIELD(tmp, in df_v3_6_query_hashes() 231 adev->df.hash_status.hash_2m = REG_GET_FIELD(tmp, in df_v3_6_query_hashes() 234 adev->df.hash_status.hash_1g = REG_GET_FIELD(tmp, in df_v3_6_query_hashes() 297 fb_channel_number = adev->df.funcs->get_fb_channel_number(adev); in df_v3_6_get_hbm_channel_number() 311 adev->df.funcs->enable_broadcast_mode(adev, true); in df_v3_6_update_medium_grain_clock_gating() [all …]
|
/linux-5.19.10/tools/testing/selftests/net/ |
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"
|
/linux-5.19.10/drivers/isdn/hardware/mISDN/ |
D | hfcpci.c | 459 struct dfifo *df; in receive_dmsg() local 462 df = &((union fifo_area *)(hc->hw.fifos))->d_chan.d_rx; in receive_dmsg() 463 while (((df->f1 & D_FREG_MASK) != (df->f2 & D_FREG_MASK)) && count--) { in receive_dmsg() 464 zp = &df->za[df->f2 & D_FREG_MASK]; in receive_dmsg() 472 df->f1, df->f2, in receive_dmsg() 478 (df->data[le16_to_cpu(zp->z1)])) { in receive_dmsg() 484 df->data[le16_to_cpu(zp->z1)]); in receive_dmsg() 488 df->f2 = ((df->f2 + 1) & MAX_D_FRAMES) | in receive_dmsg() 490 df->za[df->f2 & D_FREG_MASK].z2 = in receive_dmsg() 510 ptr1 = df->data + le16_to_cpu(zp->z2); in receive_dmsg() [all …]
|
/linux-5.19.10/drivers/regulator/ |
D | ad5398.c | 221 const struct ad5398_current_data_format *df = in ad5398_probe() local 237 chip->min_uA = df->min_uA; in ad5398_probe() 238 chip->max_uA = df->max_uA; in ad5398_probe() 239 chip->current_level = 1 << df->current_bits; in ad5398_probe() 240 chip->current_offset = df->current_offset; in ad5398_probe()
|
/linux-5.19.10/net/netfilter/ |
D | nfnetlink_osf.c | 57 bool df; member 181 ctx->df = ntohs(ip->frag_off) & IP_DF; in nf_osf_hdr_ctx_init() 220 list_for_each_entry_rcu(kf, &nf_osf_fingers[ctx.df], finger_entry) { in nf_osf_match() 279 list_for_each_entry_rcu(kf, &nf_osf_fingers[ctx.df], finger_entry) { in nf_osf_find() 322 list_for_each_entry(sf, &nf_osf_fingers[!!f->df], finger_entry) { in nfnl_osf_add_callback() 338 list_add_tail_rcu(&kf->finger_entry, &nf_osf_fingers[!!f->df]); in nfnl_osf_add_callback() 359 list_for_each_entry(sf, &nf_osf_fingers[!!f->df], finger_entry) { in nfnl_osf_remove_callback()
|
/linux-5.19.10/drivers/staging/rtl8723bs/include/ |
D | drv_types.h | 456 int df = atomic_read(&adapter_to_dvobj(padapter)->disable_func); in RTW_DISABLE_FUNC() local 457 df |= func_bit; in RTW_DISABLE_FUNC() 458 atomic_set(&adapter_to_dvobj(padapter)->disable_func, df); in RTW_DISABLE_FUNC() 463 int df = atomic_read(&adapter_to_dvobj(padapter)->disable_func); in RTW_ENABLE_FUNC() local 464 df &= ~(func_bit); in RTW_ENABLE_FUNC() 465 atomic_set(&adapter_to_dvobj(padapter)->disable_func, df); in RTW_ENABLE_FUNC()
|
/linux-5.19.10/drivers/clk/samsung/ |
D | clk.h | 169 #define __DIV(_id, cname, pname, o, s, w, f, df, t) \ argument 178 .div_flags = df, \ 185 #define DIV_F(_id, cname, pname, o, s, w, f, df) \ argument 186 __DIV(_id, cname, pname, o, s, w, f, df, NULL)
|
/linux-5.19.10/net/ipv4/ |
D | ip_tunnel.c | 485 struct rtable *rt, __be16 df, in tnl_update_pmtu() argument 497 if (df) { in tnl_update_pmtu() 553 __be16 df = 0; in ip_md_tunnel_xmit() local 598 df = htons(IP_DF); in ip_md_tunnel_xmit() 599 if (tnl_update_pmtu(dev, skb, rt, df, inner_iph, tunnel_hlen, in ip_md_tunnel_xmit() 625 df, !net_eq(tunnel->net, dev_net(dev))); in ip_md_tunnel_xmit() 651 __be16 df; in ip_tunnel_xmit() local 768 df = tnl_params->frag_off; in ip_tunnel_xmit() 770 df |= (inner_iph->frag_off & htons(IP_DF)); in ip_tunnel_xmit() 772 if (tnl_update_pmtu(dev, skb, rt, df, inner_iph, 0, 0, false)) { in ip_tunnel_xmit() [all …]
|
/linux-5.19.10/drivers/ipack/devices/ |
D | scc2698.h | 63 u8 df, cts; /* Stop counter timer of block */ member 81 u8 df, r3; /* reserved */ member
|
/linux-5.19.10/sound/core/ |
D | init.c | 413 struct snd_monitor_file *df = NULL, *_df; in snd_disconnect_release() local 418 df = _df; in snd_disconnect_release() 419 list_del_init(&df->shutdown_list); in snd_disconnect_release() 425 if (likely(df)) { in snd_disconnect_release() 426 if ((file->f_flags & FASYNC) && df->disconnected_f_op->fasync) in snd_disconnect_release() 427 df->disconnected_f_op->fasync(-1, file, 0); in snd_disconnect_release() 428 return df->disconnected_f_op->release(inode, file); in snd_disconnect_release()
|
/linux-5.19.10/drivers/net/ |
D | geneve.c | 58 enum ifla_geneve_df df; member 918 __be16 df = 0; in geneve_xmit_skb() local 969 df = key->tun_flags & TUNNEL_DONT_FRAGMENT ? htons(IP_DF) : 0; in geneve_xmit_skb() 978 if (geneve->cfg.df == GENEVE_DF_SET) { in geneve_xmit_skb() 979 df = htons(IP_DF); in geneve_xmit_skb() 980 } else if (geneve->cfg.df == GENEVE_DF_INHERIT) { in geneve_xmit_skb() 984 df = htons(IP_DF); in geneve_xmit_skb() 989 df = htons(IP_DF); in geneve_xmit_skb() 1000 tos, ttl, df, sport, geneve->cfg.info.key.tp_dst, in geneve_xmit_skb() 1326 enum ifla_geneve_df df = nla_get_u8(data[IFLA_GENEVE_DF]); in geneve_validate() local [all …]
|