Home
last modified time | relevance | path

Searched refs:pol (Results 1 – 23 of 23) sorted by relevance

/drivers/cpufreq/
Dpowernow-k8.c979 struct cpufreq_policy *pol; member
987 struct cpufreq_policy *pol = pta->pol; in powernowk8_target_fn() local
990 struct powernow_k8_data *data = per_cpu(powernow_data, pol->cpu); in powernowk8_target_fn()
1008 pol->cpu, targfreq, pol->min, pol->max, relation); in powernowk8_target_fn()
1024 if (cpufreq_frequency_table_target(pol, data->powernow_table, in powernowk8_target_fn()
1041 pol->cur = find_khz_freq_from_fid(data->currfid); in powernowk8_target_fn()
1047 static int powernowk8_target(struct cpufreq_policy *pol, in powernowk8_target() argument
1050 struct powernowk8_target_arg pta = { .pol = pol, .targfreq = targfreq, in powernowk8_target()
1053 return work_on_cpu(pol->cpu, powernowk8_target_fn, &pta); in powernowk8_target()
1057 static int powernowk8_verify(struct cpufreq_policy *pol) in powernowk8_verify() argument
[all …]
/drivers/mfd/
Dwm8350-gpio.c167 static int gpio_set_polarity(struct wm8350 *wm8350, int gpio, int pol) in gpio_set_polarity() argument
169 if (pol == WM8350_GPIO_ACTIVE_HIGH) in gpio_set_polarity()
189 int pol, int pull, int invert, int debounce) in wm8350_gpio_config() argument
211 if (gpio_set_polarity(wm8350, gpio, pol)) in wm8350_gpio_config()
/drivers/media/pci/zoran/
Dzr36060.c597 struct vfe_polarity *pol) in zr36060_set_video() argument
619 reg = (!pol->vsync_pol ? ZR060_VPR_VSPol : 0) in zr36060_set_video()
620 | (!pol->hsync_pol ? ZR060_VPR_HSPol : 0) in zr36060_set_video()
621 | (pol->field_pol ? ZR060_VPR_FIPol : 0) in zr36060_set_video()
622 | (pol->blank_pol ? ZR060_VPR_BLPol : 0) in zr36060_set_video()
623 | (pol->subimg_pol ? ZR060_VPR_SImgPol : 0) in zr36060_set_video()
624 | (pol->poe_pol ? ZR060_VPR_PoePol : 0) in zr36060_set_video()
625 | (pol->pvalid_pol ? ZR060_VPR_PValPol : 0) in zr36060_set_video()
626 | (pol->vclk_pol ? ZR060_VPR_VCLKPol : 0); in zr36060_set_video()
Dvideocodec.h285 struct vfe_polarity * pol);
Dzr36016.c316 struct vfe_polarity *pol) in zr36016_set_video() argument
Dzr36050.c606 struct vfe_polarity *pol) in zr36050_set_video() argument
/drivers/gpio/
Dgpio-grgpio.c142 u32 pol; in grgpio_irq_set_type() local
147 pol = 0; in grgpio_irq_set_type()
151 pol = mask; in grgpio_irq_set_type()
155 pol = 0; in grgpio_irq_set_type()
159 pol = mask; in grgpio_irq_set_type()
171 priv->bgc.write_reg(priv->regs + GRGPIO_IPOL, ipol | pol); in grgpio_irq_set_type()
Dgpio-msm-v1.c360 unsigned pol, val, val2, intstat; in msm_gpio_update_both_edge_detect() local
363 pol = msm_gpio_readl(msm_chip, MSM_GPIO_INT_POS); in msm_gpio_update_both_edge_detect()
364 pol = (pol & ~msm_chip->both_edge_detect) | in msm_gpio_update_both_edge_detect()
366 msm_gpio_writel(msm_chip, pol, MSM_GPIO_INT_POS); in msm_gpio_update_both_edge_detect()
/drivers/media/platform/omap3isp/
Dispcsiphy.c196 if (lanes->data[i].pol > 1 || lanes->data[i].pos > 3) in omap3isp_csiphy_config()
205 if (lanes->clk.pol > 1 || lanes->clk.pos > 3) in omap3isp_csiphy_config()
254 reg |= (lanes->data[i].pol << in omap3isp_csiphy_config()
262 reg |= lanes->clk.pol << ISPCSI2_PHY_CFG_CLOCK_POL_SHIFT; in omap3isp_csiphy_config()
/drivers/input/touchscreen/
Dwm97xx-core.c232 enum wm97xx_gpio_pol pol, enum wm97xx_gpio_sticky sticky, in wm97xx_config_gpio() argument
240 if (pol == WM97XX_GPIO_POL_HIGH) in wm97xx_config_gpio()
307 u16 status, pol; in wm97xx_pen_irq_worker() local
310 pol = wm97xx_reg_read(wm, AC97_GPIO_POLARITY); in wm97xx_pen_irq_worker()
312 if (WM97XX_GPIO_13 & pol & status) { in wm97xx_pen_irq_worker()
314 wm97xx_reg_write(wm, AC97_GPIO_POLARITY, pol & in wm97xx_pen_irq_worker()
318 wm97xx_reg_write(wm, AC97_GPIO_POLARITY, pol | in wm97xx_pen_irq_worker()
/drivers/gpu/drm/exynos/
Dexynos_drm_fimc.c168 struct exynos_drm_ipp_pol pol; member
256 struct exynos_drm_ipp_pol *pol) in fimc_set_polarity() argument
261 __func__, pol->inv_pclk, pol->inv_vsync); in fimc_set_polarity()
263 __func__, pol->inv_href, pol->inv_hsync); in fimc_set_polarity()
269 if (pol->inv_pclk) in fimc_set_polarity()
271 if (pol->inv_vsync) in fimc_set_polarity()
273 if (pol->inv_href) in fimc_set_polarity()
275 if (pol->inv_hsync) in fimc_set_polarity()
1600 fimc_set_polarity(ctx, &ctx->pol); in fimc_ippdrv_start()
/drivers/acpi/
Dresource.c329 u8 pol = p ? ACPI_ACTIVE_LOW : ACPI_ACTIVE_HIGH; in acpi_dev_get_irqresource() local
331 if (triggering != trig || polarity != pol) { in acpi_dev_get_irqresource()
335 polarity = pol; in acpi_dev_get_irqresource()
/drivers/spi/
Dspi-s3c24xx.c74 int cs, int pol);
97 static void s3c24xx_spi_gpiocs(struct s3c2410_spi_info *spi, int cs, int pol) in s3c24xx_spi_gpiocs() argument
99 gpio_set_value(spi->pin_cs, pol); in s3c24xx_spi_gpiocs()
Dspi-fsl-spi.c115 bool pol = spi->mode & SPI_CS_HIGH; in fsl_spi_chipselect() local
122 pdata->cs_control(spi, !pol); in fsl_spi_chipselect()
134 pdata->cs_control(spi, pol); in fsl_spi_chipselect()
/drivers/input/keyboard/
Dtnetv107x-keypad.c41 u32 pol; member
132 keypad_write(kp, pol, kp->active_low ? 0 : 0x3ffff); in keypad_start()
/drivers/staging/comedi/drivers/
Dpcmuio.c186 unsigned char pol[NUM_PAGED_REGS]; /* shadow of POLx registers */ member
647 8) & 0xff, pol = in pcmuio_start_intr() local
654 outb(pol, in pcmuio_start_intr()
Dpcmmio.c221 unsigned char pol[NUM_PAGED_REGS]; member
711 * 8) & 0xff, pol = in pcmmio_start_intr() local
718 outb(pol, in pcmmio_start_intr()
/drivers/gpu/drm/gma500/
Dcdv_intel_lvds.c113 if (dev_priv->lvds_bl->pol == BLC_POLARITY_INVERSE)
141 if (dev_priv->lvds_bl->pol == BLC_POLARITY_INVERSE)
Dpsb_intel_lvds.c122 if (dev_priv->lvds_bl->pol == BLC_POLARITY_INVERSE) in psb_lvds_i2c_set_brightness()
155 if (dev_priv->lvds_bl->pol == BLC_POLARITY_INVERSE) in psb_lvds_pwm_set_brightness()
Dintel_bios.h263 u8 pol:1; member
/drivers/net/ieee802154/
Dat86rf230.c745 static int at86rf230_irq_polarity(struct at86rf230_local *lp, int pol) in at86rf230_irq_polarity() argument
747 return at86rf230_write_subreg(lp, SR_IRQ_POLARITY, pol); in at86rf230_irq_polarity()
/drivers/video/omap2/dss/
Ddsi.c4083 u8 lane, pol; in omapdss_dsi_configure_pins() local
4098 pol = 1; in omapdss_dsi_configure_pins()
4102 pol = 0; in omapdss_dsi_configure_pins()
4108 lanes[lane].polarity = pol; in omapdss_dsi_configure_pins()
/drivers/net/ethernet/dec/tulip/
Dde4x5.c932 static int test_mii_reg(struct net_device *dev, int reg, int mask, bool pol, long msec);
3441 test_mii_reg(struct net_device *dev, int reg, int mask, bool pol, long msec) in test_mii_reg() argument
3452 test = (reg ^ (pol ? ~0 : 0)) & mask; in test_mii_reg()