/linux/arch/s390/hypfs/ |
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 …]
|
A 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/drivers/gpu/drm/msm/ |
A D | msm_gpu_devfreq.c | 121 if (IS_ERR(df->devfreq)) { in msm_devfreq_init() 123 df->devfreq = NULL; in msm_devfreq_init() 165 if (!df->devfreq) in msm_devfreq_active() 177 mutex_lock(&df->devfreq->lock); in msm_devfreq_active() 190 df->idle_freq = 0; in msm_devfreq_active() 200 mutex_unlock(&df->devfreq->lock); in msm_devfreq_active() 215 mutex_lock(&df->devfreq->lock); in msm_devfreq_idle_work() 222 df->idle_time = ktime_get(); in msm_devfreq_idle_work() 223 df->idle_freq = idle_freq; in msm_devfreq_idle_work() 225 mutex_unlock(&df->devfreq->lock); in msm_devfreq_idle_work() [all …]
|
/linux/drivers/devfreq/ |
A D | devfreq.c | 1438 ret = df->governor->event_handler(df, DEVFREQ_GOV_STOP, NULL); in governor_store() 1444 remove_sysfs_files(df, df->governor); in governor_store() 1452 ret = df->governor->event_handler(df, DEVFREQ_GOV_START, NULL); in governor_store() 1459 ret = df->governor->event_handler(df, DEVFREQ_GOV_START, NULL); in governor_store() 1473 create_sysfs_files(df, df->governor); in governor_store() 1540 !df->profile->get_cur_freq(df->dev.parent, &freq)) in cur_freq_show() 1696 devfreq_update_status(df, df->previous_freq)) { in trans_stat_show() 1750 memset(df->stats.time_in_state, 0, (df->profile->max_state * in trans_stat_store() 1829 if (!df->governor || !df->profile) in timer_store() 1857 ret = df->governor->event_handler(df, DEVFREQ_GOV_STOP, NULL); in timer_store() [all …]
|
A D | governor.h | 93 static inline int devfreq_update_stats(struct devfreq *df) in devfreq_update_stats() argument 95 if (!df->profile->get_dev_status) in devfreq_update_stats() 98 return df->profile->get_dev_status(df->dev.parent, &df->last_status); in devfreq_update_stats()
|
A 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()
|
A 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/drivers/thermal/ |
A D | devfreq_cooling.c | 86 struct devfreq *df = dfc->devfreq; in devfreq_cooling_set_cur_state() 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() 261 mutex_lock(&df->lock); in devfreq_cooling_power2state() 262 status = df->last_status; in devfreq_cooling_power2state() 263 mutex_unlock(&df->lock); in devfreq_cooling_power2state() 368 dfc->devfreq = df; in of_devfreq_cooling_register_power() 484 if (IS_ERR_OR_NULL(df)) in devfreq_cooling_em_register() [all …]
|
/linux/include/linux/ |
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
|
/linux/drivers/pinctrl/pxa/ |
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 …]
|
/linux/drivers/clk/rockchip/ |
A D | clk.h | 477 .div_flags = df, \ 499 .div_flags = df, \ 517 .div_flags = df, \ 535 .div_flags = df, \ 561 ds, dw, df) \ argument 575 .div_flags = df, \ 594 .div_flags = df, \ 610 .div_flags = df, \ 627 .div_flags = df, \ 651 ds, dw, df) \ argument [all …]
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
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() 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()
|
A 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 …]
|
A D | amdgpu_pmu.c | 243 target_cntr = pe->adev->df.funcs->pmc_start(pe->adev, in amdgpu_perf_start() 252 pe->adev->df.funcs->pmc_start(pe->adev, hwc->config, in amdgpu_perf_start() 277 pe->adev->df.funcs->pmc_get_count(pe->adev, in amdgpu_perf_read() 303 pe->adev->df.funcs->pmc_stop(pe->adev, hwc->config, hwc->idx, in amdgpu_perf_stop() 345 target_cntr = pe->adev->df.funcs->pmc_start(pe->adev, in amdgpu_perf_add() 380 pe->adev->df.funcs->pmc_stop(pe->adev, hwc->config, hwc->idx, in amdgpu_perf_del()
|
/linux/drivers/isdn/hardware/mISDN/ |
A D | hfcpci.c | 464 zp = &df->za[df->f2 & D_FREG_MASK]; in receive_dmsg() 472 df->f1, df->f2, 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() 520 df->f2 = ((df->f2 + 1) & MAX_D_FRAMES) | in receive_dmsg() 522 df->za[df->f2 & D_FREG_MASK].z2 = cpu_to_le16(( in receive_dmsg() 682 df->f1, df->f2, in hfcpci_fill_dfifo() 683 le16_to_cpu(df->za[df->f1 & D_FREG_MASK].z1)); in hfcpci_fill_dfifo() 698 le16_to_cpu(df->za[df->f1 & D_FREG_MASK].z1) - 1; in hfcpci_fill_dfifo() 714 dst = df->data + le16_to_cpu(df->za[df->f1 & D_FREG_MASK].z1); in hfcpci_fill_dfifo() [all …]
|
/linux/drivers/regulator/ |
A 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/net/netfilter/ |
A 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/drivers/staging/rtl8723bs/include/ |
A D | drv_types.h | 457 int df = atomic_read(&adapter_to_dvobj(padapter)->disable_func); in RTW_DISABLE_FUNC() local 458 df |= func_bit; in RTW_DISABLE_FUNC() 459 atomic_set(&adapter_to_dvobj(padapter)->disable_func, df); in RTW_DISABLE_FUNC() 464 int df = atomic_read(&adapter_to_dvobj(padapter)->disable_func); in RTW_ENABLE_FUNC() local 465 df &= ~(func_bit); in RTW_ENABLE_FUNC() 466 atomic_set(&adapter_to_dvobj(padapter)->disable_func, df); in RTW_ENABLE_FUNC()
|
/linux/arch/x86/kernel/ |
A D | sev-shared.c | 389 bool df = ((regs->flags & X86_EFLAGS_DF) == X86_EFLAGS_DF); in vc_handle_ioio() local 415 exit_info_2, df); in vc_handle_ioio() 437 exit_info_2, df); in vc_handle_ioio() 441 if (df) in vc_handle_ioio() 446 if (df) in vc_handle_ioio()
|
/linux/drivers/clk/samsung/ |
A 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/arch/x86/kernel/cpu/ |
A D | common.c | 538 const struct cpuid_dependent_feature *df; in filter_cpuid_features() local 540 for (df = cpuid_dependent_features; df->feature; df++) { in filter_cpuid_features() 542 if (!cpu_has(c, df->feature)) in filter_cpuid_features() 551 if (!((s32)df->level < 0 ? in filter_cpuid_features() 552 (u32)df->level > (u32)c->extended_cpuid_level : in filter_cpuid_features() 553 (s32)df->level > (s32)c->cpuid_level)) in filter_cpuid_features() 556 clear_cpu_cap(c, df->feature); in filter_cpuid_features() 561 x86_cap_flag(df->feature), df->level); in filter_cpuid_features()
|
/linux/net/ipv4/ |
A 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 597 df = htons(IP_DF); in ip_md_tunnel_xmit() 598 if (tnl_update_pmtu(dev, skb, rt, df, inner_iph, tunnel_hlen, in ip_md_tunnel_xmit() 624 df, !net_eq(tunnel->net, dev_net(dev))); in ip_md_tunnel_xmit() 650 __be16 df; in ip_tunnel_xmit() local 766 df = tnl_params->frag_off; in ip_tunnel_xmit() 768 df |= (inner_iph->frag_off & htons(IP_DF)); in ip_tunnel_xmit() 770 if (tnl_update_pmtu(dev, skb, rt, df, inner_iph, 0, 0, false)) { in ip_tunnel_xmit() [all …]
|
/linux/drivers/net/ |
A D | geneve.c | 57 enum ifla_geneve_df df; member 891 __be16 df = 0; in geneve_xmit_skb() local 951 if (geneve->cfg.df == GENEVE_DF_SET) { in geneve_xmit_skb() 952 df = htons(IP_DF); in geneve_xmit_skb() 953 } else if (geneve->cfg.df == GENEVE_DF_INHERIT) { in geneve_xmit_skb() 957 df = htons(IP_DF); in geneve_xmit_skb() 962 df = htons(IP_DF); in geneve_xmit_skb() 1297 if (df < 0 || df > GENEVE_DF_MAX) { in geneve_validate() 1502 cfg->df = nla_get_u8(data[IFLA_GENEVE_DF]); in geneve_nl2info() 1627 .df = GENEVE_DF_UNSET, in geneve_newlink() [all …]
|
/linux/sound/core/ |
A D | init.c | 385 struct snd_monitor_file *df = NULL, *_df; in snd_disconnect_release() local 390 df = _df; in snd_disconnect_release() 391 list_del_init(&df->shutdown_list); in snd_disconnect_release() 397 if (likely(df)) { in snd_disconnect_release() 398 if ((file->f_flags & FASYNC) && df->disconnected_f_op->fasync) in snd_disconnect_release() 399 df->disconnected_f_op->fasync(-1, file, 0); in snd_disconnect_release() 400 return df->disconnected_f_op->release(inode, file); in snd_disconnect_release()
|
/linux/arch/parisc/math-emu/ |
A D | fpudispatch.c | 279 u_int df; /* for class 1 conversions */ in decode_0c() local 407 df = extru(ir,fpdfpos,2); /* get dest format */ in decode_0c() 408 if ((df & 2) || (fmt & 2)) { in decode_0c() 420 fmt = (fmt << 1) | df; in decode_0c() 726 u_int df; /* dest format for class 1 conversions */ local 840 df = extru(ir,fpdfpos,2); /* get dest format */ 845 if (df == DBL) { 848 if ((df & 2) || (fmt & 2)) 851 fmt = (fmt << 1) | df;
|