Home
last modified time | relevance | path

Searched refs:df (Results 1 – 22 of 22) sorted by relevance

/drivers/devfreq/
Dgovernor_simpleondemand.c21 static int devfreq_simple_ondemand_func(struct devfreq *df, in devfreq_simple_ondemand_func() argument
25 int err = df->profile->get_dev_status(df->dev.parent, &stat); in devfreq_simple_ondemand_func()
29 struct devfreq_simple_ondemand_data *data = df->data; in devfreq_simple_ondemand_func()
30 unsigned long max = (df->max_freq) ? df->max_freq : UINT_MAX; in devfreq_simple_ondemand_func()
85 if (df->min_freq && *freq < df->min_freq) in devfreq_simple_ondemand_func()
86 *freq = df->min_freq; in devfreq_simple_ondemand_func()
87 if (df->max_freq && *freq > df->max_freq) in devfreq_simple_ondemand_func()
88 *freq = df->max_freq; in devfreq_simple_ondemand_func()
Dgovernor_userspace.c25 static int devfreq_userspace_func(struct devfreq *df, unsigned long *freq) in devfreq_userspace_func() argument
27 struct userspace_data *data = df->data; in devfreq_userspace_func()
32 if (df->max_freq && adjusted_freq > df->max_freq) in devfreq_userspace_func()
33 adjusted_freq = df->max_freq; in devfreq_userspace_func()
35 if (df->min_freq && adjusted_freq < df->min_freq) in devfreq_userspace_func()
36 adjusted_freq = df->min_freq; in devfreq_userspace_func()
40 *freq = df->previous_freq; /* No user freq specified yet */ in devfreq_userspace_func()
Ddevfreq.c699 struct devfreq *df = to_devfreq(dev); in store_governor() local
714 if (df->governor == governor) in store_governor()
717 if (df->governor) { in store_governor()
718 ret = df->governor->event_handler(df, DEVFREQ_GOV_STOP, NULL); in store_governor()
721 __func__, df->governor->name, ret); in store_governor()
725 df->governor = governor; in store_governor()
726 strncpy(df->governor_name, governor->name, DEVFREQ_NAME_LEN); in store_governor()
727 ret = df->governor->event_handler(df, DEVFREQ_GOV_START, NULL); in store_governor()
730 __func__, df->governor->name, ret); in store_governor()
789 struct devfreq *df = to_devfreq(dev); in store_polling_interval() local
[all …]
Dgovernor_performance.c16 static int devfreq_performance_func(struct devfreq *df, in devfreq_performance_func() argument
23 if (!df->max_freq) in devfreq_performance_func()
26 *freq = df->max_freq; in devfreq_performance_func()
Dgovernor_powersave.c16 static int devfreq_powersave_func(struct devfreq *df, in devfreq_powersave_func() argument
23 *freq = df->min_freq; in devfreq_powersave_func()
/drivers/isdn/hisax/
Dhfc_pci.c336 dfifo_type *df; in receive_dmsg() local
339 df = &((fifo_area *) (cs->hw.hfcpci.fifos))->d_chan.d_rx; in receive_dmsg()
344 while (((df->f1 & D_FREG_MASK) != (df->f2 & D_FREG_MASK)) && count--) { in receive_dmsg()
345 zp = &df->za[df->f2 & D_FREG_MASK]; in receive_dmsg()
352 df->f1, df->f2, zp->z1, zp->z2, rcnt); in receive_dmsg()
355 (df->data[zp->z1])) { in receive_dmsg()
357 debugl1(cs, "empty_fifo hfcpci packet inv. len %d or crc %d", rcnt, df->data[zp->z1]); in receive_dmsg()
361 df->f2 = ((df->f2 + 1) & MAX_D_FRAMES) | (MAX_D_FRAMES + 1); /* next buffer */ in receive_dmsg()
362 df->za[df->f2 & D_FREG_MASK].z2 = (zp->z2 + rcnt) & (D_FIFO_SIZE - 1); in receive_dmsg()
373 ptr1 = df->data + zp->z2; /* start of data */ in receive_dmsg()
[all …]
Dhfc4s8s_l1.c676 u_char f1, f2, df; in rx_d_frame() local
691 df = f1 - f2; in rx_d_frame()
693 df = f1 - f2 + MAX_F_CNT + 1; in rx_d_frame()
696 if (!df) { in rx_d_frame()
720 if (df == 1) { in rx_d_frame()
/drivers/isdn/hardware/mISDN/
Dhfcpci.c471 struct dfifo *df; in receive_dmsg() local
474 df = &((union fifo_area *)(hc->hw.fifos))->d_chan.d_rx; in receive_dmsg()
475 while (((df->f1 & D_FREG_MASK) != (df->f2 & D_FREG_MASK)) && count--) { in receive_dmsg()
476 zp = &df->za[df->f2 & D_FREG_MASK]; in receive_dmsg()
484 df->f1, df->f2, in receive_dmsg()
490 (df->data[le16_to_cpu(zp->z1)])) { in receive_dmsg()
496 df->data[le16_to_cpu(zp->z1)]); in receive_dmsg()
500 df->f2 = ((df->f2 + 1) & MAX_D_FRAMES) | in receive_dmsg()
502 df->za[df->f2 & D_FREG_MASK].z2 = in receive_dmsg()
522 ptr1 = df->data + le16_to_cpu(zp->z2); in receive_dmsg()
[all …]
/drivers/regulator/
Dad5398.c220 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()
/drivers/clk/samsung/
Dclk.h173 #define __DIV(_id, dname, cname, pname, o, s, w, f, df, a, t) \ argument
183 .div_flags = df, \
194 #define DIV_F(_id, cname, pname, o, s, w, f, df) \ argument
195 __DIV(_id, NULL, cname, pname, o, s, w, f, df, NULL, NULL)
/drivers/ipack/devices/
Dscc2698.h66 u8 df, cts; /* Stop counter timer of block */ member
84 u8 df, r3; /* reserved */ member
/drivers/net/wimax/i2400m/
Dcontrol.c1354 struct i2400m_tlv_config_d2h_data_format df; in i2400m_dev_initialize() local
1383 df.hdr.type = in i2400m_dev_initialize()
1385 df.hdr.length = cpu_to_le16( in i2400m_dev_initialize()
1386 sizeof(df) - sizeof(df.hdr)); in i2400m_dev_initialize()
1387 df.format = 1; in i2400m_dev_initialize()
1388 args[argc++] = &df.hdr; in i2400m_dev_initialize()
/drivers/media/platform/exynos4-is/
Dfimc-m2m.c104 struct fimc_frame *sf, *df; in fimc_device_run() local
117 df = &ctx->d_frame; in fimc_device_run()
122 fimc_prepare_dma_offset(ctx, df); in fimc_device_run()
131 ret = fimc_prepare_addr(ctx, dst_vb, df, &df->paddr); in fimc_device_run()
161 fimc_hw_set_output_addr(fimc, &df->paddr, -1); in fimc_device_run()
/drivers/mmc/card/
Dmmc_test.c2937 struct mmc_test_dbgfs_file *df, *dfs; local
2941 list_for_each_entry_safe(df, dfs, &mmc_test_file_test, link) {
2942 if (card && df->card != card)
2944 debugfs_remove(df->file);
2945 list_del(&df->link);
2946 kfree(df);
2956 struct mmc_test_dbgfs_file *df; local
2969 df = kmalloc(sizeof(struct mmc_test_dbgfs_file), GFP_KERNEL);
2970 if (!df) {
2977 df->card = card;
[all …]
/drivers/video/matrox/
Dmatroxfb_maven.c338 unsigned char df; in maven_compute_deflicker() local
340 df = (md->version == MGATVO_B?0x40:0x00); in maven_compute_deflicker()
346 df |= 0xB1; in maven_compute_deflicker()
349 df |= 0xA2; in maven_compute_deflicker()
352 return df; in maven_compute_deflicker()
/drivers/video/aty/
Dmach64_gx.c164 u8 df, vco_div_count, ref_div_count; in aty_pll_514_to_var() local
166 df = pll->ibm514.m >> 6; in aty_pll_514_to_var()
170 return ((par->ref_clk_per * ref_div_count) << (3 - df))/ in aty_pll_514_to_var()
/drivers/block/drbd/
Ddrbd_int.h1714 enum drbd_force_detach_flags df, in __drbd_chk_io_error_() argument
1724 if (df == DRBD_READ_ERROR || df == DRBD_WRITE_ERROR) { in __drbd_chk_io_error_()
1755 if (df == DRBD_READ_ERROR) in __drbd_chk_io_error_()
1757 if (df == DRBD_FORCE_DETACH) in __drbd_chk_io_error_()
/drivers/misc/
Dapds990x.c293 APDS_PARAM_SCALE * 64) / (chip->cf.ga * chip->cf.df); in apds990x_lux_to_threshold()
461 lpc = APDS990X_LUX_OUTPUT_SCALE * (chip->cf.df * chip->cf.ga) / in apds990x_get_lux()
1077 chip->cf.df = 52; in apds990x_probe()
/drivers/staging/media/davinci_vpfe/
Ddavinci_vpfe_user.h483 struct vpfe_isif_data_formatter df; member
/drivers/tty/vt/
Dcp437.uni256 0xe1 U+03b2 U+00df
/drivers/net/
Dvxlan.c992 __be16 df = 0; in vxlan_xmit_one() local
1087 iph->frag_off = df; in vxlan_xmit_one()
/drivers/dma/
Dimx-sdma.c178 u32 df : 1; member