Searched defs:on (Results 1 - 25 of 85) sorted by relevance

1234

/arch/ia64/hp/sim/
H A Dhpsim_setup.c29 ia64_ctl_trace (long on) argument
31 ia64_ssc(on, 0, 0, 0, SSC_CTL_TRACE);
/arch/m68k/include/asm/
H A Dblinken.h22 static __inline__ void blinken_leds(int on, int off) argument
26 hp300_ledstate |= on;
/arch/avr32/boards/atngw100/
H A Devklcd10x.c148 static void atevklcd10x_lcdc_power_control(struct atmel_lcdfb_pdata *pdata, int on) argument
150 gpio_set_value(GPIO_PIN_PB(15), on);
155 /* PB15 is connected to the enable line on the boost regulator
/arch/hexagon/kernel/
H A Dirq_cpu.c53 static int set_wake(struct irq_data *data, unsigned int on) argument
/arch/arm/mach-mmp/
H A Dpm-pxa910.c28 int pxa910_set_wake(struct irq_data *data, unsigned int on) argument
111 if (on) {
262 /* Set the following bits for MMP3 playback with VCTXO on */
H A Dpm-mmp2.c28 int mmp2_set_wake(struct irq_data *d, unsigned int on) argument
47 if (on) {
H A Dttc_dkb.c220 static void dkb_tpo_panel_power(int on) argument
225 if (on) {
276 /* on-chip devices */
/arch/arm/mach-omap2/
H A Domap_phy_internal.c3 * with TWL6030 transceiver and MUSB on OMAP4430.
42 * OMAP4 MUSB PHY module is enabled by default on reset, but this will
44 * later on enable this, once and if the driver needs it.
84 void am35x_musb_phy_power(u8 on) argument
89 if (on) {
91 * Start the on-chip PHY and its PLL.
112 * Power down the on-chip PHY.
154 void ti81xx_musb_phy_power(u8 on) argument
167 if (on) {
/arch/arm/mach-pxa/
H A Dcolibri-pxa3xx.c74 static void colibri_lcd_backlight(int on) argument
76 gpio_set_value(lcd_bl_pin, !!on);
H A Dcorgi_pm.c55 static void corgi_measure_temp(int on) argument
57 gpio_set_value(CORGI_GPIO_ADC_TEMP_ON, on);
60 static void corgi_charge(int on) argument
62 if (on) {
76 static void corgi_discharge(int on) argument
78 gpio_set_value(CORGI_GPIO_DISCHARGE_ON, on);
106 /* charge on */
H A Didp.c91 static void idp_backlight_power(int on) argument
93 if (on) {
100 static void idp_vlcd(int on) argument
102 if (on) {
109 static void idp_lcd_power(int on, struct fb_var_screeninfo *var) argument
111 if (on) {
123 idp_vlcd(on);
270 * Since we may have triggers on any subsystem, defer registration
H A Dtavorevb.c424 static void ltm020d550_lcd_power(int on, struct fb_var_screeninfo *var) argument
428 if (on) {
/arch/arm/mach-s3c24xx/
H A Dh1940-bluetooth.c32 static void h1940bt_enable(int on) argument
34 if (on) {
35 /* Power on the chip */
H A Dsimtec-usb.c41 /* control power and monitor over-current events on various Simtec
76 static void usb_simtec_enableoc(struct s3c2410_hcd_info *info, int on) argument
80 if (on) {
124 /* turn power on */
H A Dmach-osiris-dvs.c29 static void osiris_dvs_tps_setdvs(bool on) argument
33 if (!on) {
38 dvs_en = on;
/arch/arm/mach-at91/
H A Dboard-sam9rlek.c174 static void at91_lcdc_power_control(struct atmel_lcdfb_pdata *pdata, int on) argument
176 if (on)
297 /* DBGU on ttyS0. (Rx & Tx only) */
300 /* USART0 on ttyS1. (Rx, Tx, CTS, RTS) */
/arch/arm/mach-exynos/
H A Dpm_domains.c82 /* Restore clocks after powering on a domain*/
115 int on, i; local
158 on = __raw_readl(pd->base + 0x4) & INT_LOCAL_PWR_EN;
160 pm_genpd_init(&pd->pd, NULL, !on);
/arch/arm/mach-imx/
H A Dgpc.c50 /* Keep ARM core powered on for other low-power modes */
57 static int imx_gpc_irq_set_wake(struct irq_data *d, unsigned int on) argument
67 gpc_wake_irqs[idx] = on ? gpc_wake_irqs[idx] | mask :
H A Dmx31moboard-smartbot.c62 static int smartbot_cam_power(struct device *dev, int on) argument
64 gpio_set_value(CAM_POWER, !on);
/arch/arm/mach-msm/
H A Dsirc.c76 static int sirc_irq_set_wake(struct irq_data *d, unsigned int on) argument
82 if (on)
119 /* Finds the pending interrupt on the passed cascade irq and redrives it */
/arch/arm/mach-rockchip/
H A Dplatsmp.c47 static void pmu_set_power_domain(int pd, bool on) argument
50 if (on)
56 while (pmu_power_domain_is_on(pd) != on) { }
85 * Starting cores execute the code residing at the start of the on-chip sram
86 * after power-on. Therefore make sure, this sram region is reserved and
/arch/powerpc/platforms/powermac/
H A Dudbg_adb.c25 * udbg implementation and work on top of it. It must thus be
76 int k, t, on; local
82 on = 0;
86 on = 1 - on;
87 btext_drawchar(on? 0xdb: 0x20);
95 if (on)
/arch/sparc/kernel/
H A Dauxio_64.c54 static void __auxio_set_bit(u8 bit, int on, int ebus) argument
59 if (!on) {
67 void auxio_set_led(int on) argument
73 __auxio_set_bit(bit, on, ebus);
77 static void __auxio_sbus_set_lte(int on) argument
79 __auxio_set_bit(AUXIO_AUX1_LTE, on, 0);
82 void auxio_set_lte(int on) argument
86 __auxio_sbus_set_lte(on);
H A Dled.c19 unsigned char on, off; local
22 on = 0;
25 on = AUXIO_LED;
29 set_auxio(on, off);
53 seq_puts(m, "on\n");
88 * otherwise calls such as on will have no persistent effect
92 if (!strcmp(buf, "on")) {
148 MODULE_DESCRIPTION("Provides control of the front LED on SPARC systems.");
/arch/x86/kernel/
H A Dstep.c131 /* Set TF on the kernel stack.. */
160 void set_task_blockstep(struct task_struct *task, bool on) argument
171 * with __switch_to_xtra(). We rely on ptrace_freeze_traced() but
176 if (on) {

Completed in 2109 milliseconds

1234