/drivers/devfreq/ |
D | governor_simpleondemand.c | 21 static int devfreq_simple_ondemand_func(struct devfreq *df, in devfreq_simple_ondemand_func() argument 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() 32 err = devfreq_update_stats(df); in devfreq_simple_ondemand_func() 36 stat = &df->last_status; in devfreq_simple_ondemand_func() 88 if (df->min_freq && *freq < df->min_freq) in devfreq_simple_ondemand_func() 89 *freq = df->min_freq; in devfreq_simple_ondemand_func() 90 if (df->max_freq && *freq > df->max_freq) in devfreq_simple_ondemand_func() 91 *freq = df->max_freq; in devfreq_simple_ondemand_func()
|
D | governor_userspace.c | 25 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()
|
D | devfreq.c | 928 struct devfreq *df = to_devfreq(dev); in governor_store() local 943 if (df->governor == governor) { in governor_store() 946 } else if ((df->governor && df->governor->immutable) || in governor_store() 952 if (df->governor) { in governor_store() 953 ret = df->governor->event_handler(df, DEVFREQ_GOV_STOP, NULL); in governor_store() 956 __func__, df->governor->name, ret); in governor_store() 960 df->governor = governor; in governor_store() 961 strncpy(df->governor_name, governor->name, DEVFREQ_NAME_LEN); in governor_store() 962 ret = df->governor->event_handler(df, DEVFREQ_GOV_START, NULL); in governor_store() 965 __func__, df->governor->name, ret); in governor_store() [all …]
|
D | governor_performance.c | 16 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()
|
D | governor_powersave.c | 16 static int devfreq_powersave_func(struct devfreq *df, in devfreq_powersave_func() argument 23 *freq = df->min_freq; in devfreq_powersave_func()
|
/drivers/pinctrl/pxa/ |
D | pinctrl-pxa2xx.c | 72 struct pxa_desc_function *df; in pxa_desc_by_func_group() local 78 for (df = pin->functions; df->name; df++) in pxa_desc_by_func_group() 79 if (!strcmp(df->name, func_name)) in pxa_desc_by_func_group() 80 return df; in pxa_desc_by_func_group() 146 struct pxa_desc_function *df; in pxa2xx_pmx_set_mux() local 153 df = pxa_desc_by_func_group(pctl, group->name, in pxa2xx_pmx_set_mux() 155 if (!df) in pxa2xx_pmx_set_mux() 163 pin, df->muxval >> 1, df->muxval & 0x1); in pxa2xx_pmx_set_mux() 168 val = (val & ~(0x3 << shift)) | ((df->muxval >> 1) << shift); in pxa2xx_pmx_set_mux() 172 val = (val & ~BIT(pin % 32)) | ((df->muxval & 1) ? BIT(pin % 32) : 0); in pxa2xx_pmx_set_mux() [all …]
|
/drivers/thermal/ |
D | devfreq_cooling.c | 161 struct devfreq *df = dfc->devfreq; in devfreq_cooling_set_cur_state() local 162 struct device *dev = df->dev.parent; in devfreq_cooling_set_cur_state() 216 struct devfreq *df = dfc->devfreq; in get_static_power() local 217 struct device *dev = df->dev.parent; in get_static_power() 279 struct devfreq *df = dfc->devfreq; in devfreq_cooling_get_requested_power() local 280 struct devfreq_dev_status *status = &df->last_status; in devfreq_cooling_get_requested_power() 330 struct devfreq *df = dfc->devfreq; in devfreq_cooling_power2state() local 331 struct devfreq_dev_status *status = &df->last_status; in devfreq_cooling_power2state() 386 struct devfreq *df = dfc->devfreq; in devfreq_cooling_gen_tables() local 387 struct device *dev = df->dev.parent; in devfreq_cooling_gen_tables() [all …]
|
/drivers/clk/rockchip/ |
D | clk.h | 341 df, go, gs, gf) \ argument 355 .div_flags = df, \ 361 #define COMPOSITE_NOMUX(_id, cname, pname, f, mo, ds, dw, df, \ argument 373 .div_flags = df, \ 380 df, dt, go, gs, gf) \ argument 391 .div_flags = df, \ 417 ds, dw, df) \ argument 431 .div_flags = df, \ 436 mw, mf, ds, dw, df, dt) \ argument 450 .div_flags = df, \ [all …]
|
/drivers/isdn/hisax/ |
D | hfc_pci.c | 336 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 …]
|
D | hfc4s8s_l1.c | 634 u_char f1, f2, df; in rx_d_frame() local 651 df = MAX_F_CNT + 1 + f1 - f2; in rx_d_frame() 653 df = f1 - f2; in rx_d_frame() 655 if (!df) in rx_d_frame() 678 if (df == 1) { in rx_d_frame()
|
/drivers/isdn/hardware/mISDN/ |
D | hfcpci.c | 471 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/ |
D | ad5398.c | 222 const struct ad5398_current_data_format *df = in ad5398_probe() local 238 chip->min_uA = df->min_uA; in ad5398_probe() 239 chip->max_uA = df->max_uA; in ad5398_probe() 240 chip->current_level = 1 << df->current_bits; in ad5398_probe() 241 chip->current_offset = df->current_offset; in ad5398_probe()
|
/drivers/clk/samsung/ |
D | clk.h | 188 #define __DIV(_id, dname, cname, pname, o, s, w, f, df, a, t) \ argument 198 .div_flags = df, \ 209 #define DIV_F(_id, cname, pname, o, s, w, f, df) \ argument 210 __DIV(_id, NULL, cname, pname, o, s, w, f, df, NULL, NULL)
|
/drivers/ipack/devices/ |
D | scc2698.h | 66 u8 df, cts; /* Stop counter timer of block */ member 84 u8 df, r3; /* reserved */ member
|
/drivers/net/wimax/i2400m/ |
D | control.c | 1354 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/ |
D | fimc-m2m.c | 100 struct fimc_frame *sf, *df; in fimc_device_run() local 113 df = &ctx->d_frame; in fimc_device_run() 118 fimc_prepare_dma_offset(ctx, df); in fimc_device_run() 127 ret = fimc_prepare_addr(ctx, &dst_vb->vb2_buf, df, &df->paddr); in fimc_device_run() 160 fimc_hw_set_output_addr(fimc, &df->paddr, -1); in fimc_device_run()
|
/drivers/infiniband/sw/rxe/ |
D | rxe_net.c | 297 __u8 tos, __u8 ttl, __be16 df, bool xnet) in prepare_ipv4_hdr() argument 314 iph->frag_off = df; in prepare_ipv4_hdr() 354 __be16 df = htons(IP_DF); in prepare4() local 371 av->grh.traffic_class, av->grh.hop_limit, df, xnet); in prepare4()
|
/drivers/video/fbdev/matrox/ |
D | matroxfb_maven.c | 340 unsigned char df; in maven_compute_deflicker() local 342 df = (md->version == MGATVO_B?0x40:0x00); in maven_compute_deflicker() 348 df |= 0xB1; in maven_compute_deflicker() 351 df |= 0xA2; in maven_compute_deflicker() 354 return df; in maven_compute_deflicker()
|
/drivers/mmc/card/ |
D | mmc_test.c | 3163 struct mmc_test_dbgfs_file *df, *dfs; local 3167 list_for_each_entry_safe(df, dfs, &mmc_test_file_test, link) { 3168 if (card && df->card != card) 3170 debugfs_remove(df->file); 3171 list_del(&df->link); 3172 kfree(df); 3182 struct mmc_test_dbgfs_file *df; local 3195 df = kmalloc(sizeof(struct mmc_test_dbgfs_file), GFP_KERNEL); 3196 if (!df) { 3203 df->card = card; [all …]
|
/drivers/net/can/rcar/ |
D | rcar_canfd.c | 392 #define RCANFD_C_RFDF(x, df) (RCANFD_C_RFOFFSET + 0x08 + \ argument 393 (0x10 * (x)) + (0x04 * (df))) 401 #define RCANFD_C_CFDF(ch, idx, df) (RCANFD_C_CFOFFSET + 0x08 + \ argument 403 (0x04 * (df))) 441 #define RCANFD_F_RFDF(x, df) (RCANFD_F_RFOFFSET + 0x0c + \ argument 442 (0x80 * (x)) + (0x04 * (df))) 452 #define RCANFD_F_CFDF(ch, idx, df) (RCANFD_F_CFOFFSET + 0x0c + \ argument 454 (0x04 * (df)))
|
/drivers/net/ethernet/amazon/ena/ |
D | ena_eth_com.h | 61 u8 df; /* Don't fragment */ member
|
/drivers/video/fbdev/aty/ |
D | mach64_gx.c | 164 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/ |
D | drbd_int.h | 1770 enum drbd_force_detach_flags df, in __drbd_chk_io_error_() argument 1780 if (df == DRBD_READ_ERROR || df == DRBD_WRITE_ERROR) { in __drbd_chk_io_error_() 1811 if (df == DRBD_READ_ERROR) in __drbd_chk_io_error_() 1813 if (df == DRBD_FORCE_DETACH) in __drbd_chk_io_error_()
|
/drivers/misc/ |
D | apds990x.c | 293 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() 1088 chip->cf.df = 52; in apds990x_probe()
|
/drivers/net/ |
D | geneve.c | 878 __be16 df; in geneve_xmit_skb() local 925 df = key->tun_flags & TUNNEL_DONT_FRAGMENT ? htons(IP_DF) : 0; in geneve_xmit_skb() 937 df = 0; in geneve_xmit_skb() 940 tos, ttl, df, sport, geneve->dst_port, in geneve_xmit_skb()
|