Searched refs:is_on (Results 1 – 8 of 8) sorted by relevance
/arch/arm/mach-at91/ |
D | clock.c | 78 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 …]
|
D | gpio.c | 171 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/ |
D | gpio.h | 197 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/ |
D | pnav10.c | 134 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()
|
D | stamp.c | 258 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/ |
D | mioa701.c | 345 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/ |
D | cm_bf527.c | 340 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()
|
D | ezkit.c | 362 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()
|