Home
last modified time | relevance | path

Searched refs:is_on (Results 1 – 8 of 8) sorted by relevance

/arch/arm/mach-at91/
Dclock.c78 static void pllb_mode(struct clk *clk, int is_on) in pllb_mode() argument
82 if (is_on) { in pllb_mode()
83 is_on = AT91_PMC_LOCKB; in pllb_mode()
93 } while ((at91_sys_read(AT91_PMC_SR) & AT91_PMC_LOCKB) != is_on); in pllb_mode()
105 static void pmc_sys_mode(struct clk *clk, int is_on) in pmc_sys_mode() argument
107 if (is_on) in pmc_sys_mode()
113 static void pmc_uckr_mode(struct clk *clk, int is_on) in pmc_uckr_mode() argument
117 if (is_on) { in pmc_uckr_mode()
118 is_on = AT91_PMC_LOCKU; in pmc_uckr_mode()
125 } while ((at91_sys_read(AT91_PMC_SR) & AT91_PMC_LOCKU) != is_on); in pmc_uckr_mode()
[all …]
Dgpio.c171 int __init_or_module at91_set_deglitch(unsigned pin, int is_on) in at91_set_deglitch() argument
178 __raw_writel(mask, pio + (is_on ? PIO_IFER : PIO_IFDR)); in at91_set_deglitch()
187 int __init_or_module at91_set_multi_drive(unsigned pin, int is_on) in at91_set_multi_drive() argument
195 __raw_writel(mask, pio + (is_on ? PIO_MDER : PIO_MDDR)); in at91_set_multi_drive()
/arch/arm/mach-at91/include/mach/
Dgpio.h197 extern int __init_or_module at91_set_deglitch(unsigned pin, int is_on);
198 extern int __init_or_module at91_set_multi_drive(unsigned pin, int is_on);
/arch/blackfin/mach-bf537/boards/
Dpnav10.c134 void sl811_port_power(struct device *dev, int is_on) in sl811_port_power() argument
137 gpio_direction_output(CONFIG_USB_SL811_BFIN_GPIO_VBUS, is_on); in sl811_port_power()
Dstamp.c258 void sl811_port_power(struct device *dev, int is_on) in sl811_port_power() argument
261 gpio_direction_output(CONFIG_USB_SL811_BFIN_GPIO_VBUS, is_on); in sl811_port_power()
/arch/arm/mach-pxa/
Dmioa701.c345 int is_on; in is_gsm_on() local
347 is_on = !!gpio_get_value(GPIO25_GSM_MOD_ON_STATE); in is_gsm_on()
348 return is_on; in is_gsm_on()
/arch/blackfin/mach-bf527/boards/
Dcm_bf527.c340 void sl811_port_power(struct device *dev, int is_on) in sl811_port_power() argument
343 gpio_direction_output(CONFIG_USB_SL811_BFIN_GPIO_VBUS, is_on); in sl811_port_power()
Dezkit.c362 void sl811_port_power(struct device *dev, int is_on) in sl811_port_power() argument
365 gpio_direction_output(CONFIG_USB_SL811_BFIN_GPIO_VBUS, is_on); in sl811_port_power()