Searched refs:on (Results 1 - 25 of 1072) sorted by relevance

1234567891011>>

/linux-master/include/soc/sa1100/
H A Dpwer.h9 int sa11x0_gpio_set_wake(unsigned int gpio, unsigned int on);
10 int sa11x0_sc_set_wake(unsigned int irq, unsigned int on);
/linux-master/drivers/usb/phy/
H A Dphy-am335x-control.h7 enum usb_dr_mode dr_mode, bool on);
8 void (*phy_wkup)(struct phy_control *phy_ctrl, u32 id, bool on);
12 enum usb_dr_mode dr_mode, bool on)
14 phy_ctrl->phy_power(phy_ctrl, id, dr_mode, on);
17 static inline void phy_ctrl_wkup(struct phy_control *phy_ctrl, u32 id, bool on) argument
19 phy_ctrl->phy_wkup(phy_ctrl, id, on);
11 phy_ctrl_power(struct phy_control *phy_ctrl, u32 id, enum usb_dr_mode dr_mode, bool on) argument
/linux-master/tools/testing/selftests/memory-hotplug/
H A DMakefile6 TEST_PROGS := mem-on-off-test.sh
9 @/bin/bash ./mem-on-off-test.sh -r 10 && echo "memory-hotplug selftests: [PASS]" || echo "memory-hotplug selftests: [FAIL]"
/linux-master/tools/testing/selftests/cpu-hotplug/
H A DMakefile4 TEST_PROGS := cpu-on-off-test.sh
9 @/bin/bash ./cpu-on-off-test.sh -a && echo "cpu-hotplug selftests: [PASS]" || echo "cpu-hotplug selftests: [FAIL]"
/linux-master/include/linux/usb/
H A Dotg-fsm.h74 * @b_sess_vld: TRUE when the B-device detects that the voltage on VBUS is
85 * @b_bus_req: TRUE during the time that the Application running on the
93 * resume on the bus
102 * @loc_sof: TRUE when the local device is generating activity on the bus
191 void (*chrg_vbus)(struct otg_fsm *fsm, int on);
192 void (*drv_vbus)(struct otg_fsm *fsm, int on);
193 void (*loc_conn)(struct otg_fsm *fsm, int on);
194 void (*loc_sof)(struct otg_fsm *fsm, int on);
200 int (*start_host)(struct otg_fsm *fsm, int on);
201 int (*start_gadget)(struct otg_fsm *fsm, int on);
205 otg_chrg_vbus(struct otg_fsm *fsm, int on) argument
213 otg_drv_vbus(struct otg_fsm *fsm, int on) argument
224 otg_loc_conn(struct otg_fsm *fsm, int on) argument
235 otg_loc_sof(struct otg_fsm *fsm, int on) argument
296 otg_start_host(struct otg_fsm *fsm, int on) argument
303 otg_start_gadget(struct otg_fsm *fsm, int on) argument
[all...]
/linux-master/arch/sparc/include/asm/
H A Dauxio_32.h13 * First, it is used to control the front panel LED light on machines
51 * on - AUXIO_LTE_ON or AUXIO_LTE_OFF
53 #define auxio_set_lte(on) \
55 if(on) { \
67 * on - AUXIO_LED_ON or AUXIO_LED_OFF
69 #define auxio_set_led(on) \
71 if(on) { \
H A Dauxio_64.h17 * ebus-based auxio on PCIO
29 * E - Link Test Enable, directly reflected on AT&T 7213 LTE pin
30 * M - Monitor/Mouse Mux, directly reflected on MON_MSE_MUX pin
32 * L - System LED on front panel (0=off, 1=on)
62 * LED - System LED on front panel (0=off, 1=on)
84 * on - AUXIO_LTE_ON or AUXIO_LTE_OFF
86 void auxio_set_lte(int on);
93 * on
[all...]
H A Debus_dma.h27 int ebus_dma_irq_enable(struct ebus_dma_info *p, int on);
34 void ebus_dma_enable(struct ebus_dma_info *p, int on);
/linux-master/drivers/net/can/slcan/
H A Dslcan.h15 int slcan_enable_err_rst_on_open(struct net_device *ndev, bool on);
/linux-master/arch/m68k/include/asm/
H A Dblinken.h22 static __inline__ void blinken_leds(int on, int off) argument
26 hp300_ledstate |= on;
/linux-master/include/linux/
H A Dgpio-pxa.h9 /* NOTE: some PXAs have fewer on-chip GPIOs (like PXA255, with 85).
19 int (*gpio_set_wake)(unsigned int gpio, unsigned int on);
/linux-master/arch/arm/include/asm/mach/
H A Dflash.h30 void (*set_vpp)(int on);
/linux-master/drivers/leds/trigger/
H A Dledtrig-camera.c5 * based on ledtrig-ide-disk.c
20 void ledtrig_flash_ctrl(bool on) argument
22 enum led_brightness brt = on ? LED_FULL : LED_OFF;
28 void ledtrig_torch_ctrl(bool on) argument
30 enum led_brightness brt = on ? LED_FULL : LED_OFF;
/linux-master/tools/perf/util/
H A Devswitch.c9 if (evswitch->on && evswitch->discarding) {
10 if (evswitch->on != evsel)
44 evswitch->on = evlist__find_evsel_by_str(evlist, evswitch->on_name);
45 if (evswitch->on == NULL) {
46 evswitch__fprintf_enoent(fp, "on", evswitch->on_name);
/linux-master/drivers/auxdisplay/
H A Dcharlcd.h12 #define LCD_FLAG_B 0x0004 /* Blink on */
13 #define LCD_FLAG_C 0x0008 /* Cursor on */
14 #define LCD_FLAG_D 0x0010 /* Display on */
58 * @backlight: Turn backlight on or off. Optional.
72 * @display: Turn display on or off.
73 * @cursor: Turn cursor on or off.
74 * @blink: Turn cursor blink on or off.
79 void (*backlight)(struct charlcd *lcd, enum charlcd_onoff on);
87 int (*display)(struct charlcd *lcd, enum charlcd_onoff on);
88 int (*cursor)(struct charlcd *lcd, enum charlcd_onoff on);
[all...]
H A Dhd44780_common.h27 int hd44780_common_display(struct charlcd *lcd, enum charlcd_onoff on);
28 int hd44780_common_cursor(struct charlcd *lcd, enum charlcd_onoff on);
29 int hd44780_common_blink(struct charlcd *lcd, enum charlcd_onoff on);
/linux-master/sound/aoa/
H A Daoa-gpio.h32 void (*set_headphone)(struct gpio_runtime *rt, int on);
33 void (*set_speakers)(struct gpio_runtime *rt, int on);
34 void (*set_lineout)(struct gpio_runtime *rt, int on);
35 void (*set_master)(struct gpio_runtime *rt, int on);
42 void (*set_hw_reset)(struct gpio_runtime *rt, int on);
/linux-master/security/selinux/
H A Dima.c23 const char *on = "=1;", *off = "=0;"; local
29 len = strlen(on);
40 rc = strlcat(buf, selinux_initialized() ? on : off, buf_len);
46 rc = strlcat(buf, enforcing_enabled() ? on : off, buf_len);
52 rc = strlcat(buf, checkreqprot_get() ? on : off, buf_len);
59 rc = strlcat(buf, selinux_state.policycap[i] ? on : off,
/linux-master/drivers/clk/qcom/
H A Dclk-branch.h30 #define BRANCH_VOTED BIT(7) /* Delay on disable */
70 struct clk_branch clk, bool on)
73 on ? CBCR_FORCE_MEM_CORE_ON : 0);
77 struct clk_branch clk, bool on)
80 on ? CBCR_FORCE_MEM_PERIPH_ON : 0);
84 struct clk_branch clk, bool on)
87 on ? CBCR_FORCE_MEM_PERIPH_OFF : 0);
69 qcom_branch_set_force_mem_core(struct regmap *regmap, struct clk_branch clk, bool on) argument
76 qcom_branch_set_force_periph_on(struct regmap *regmap, struct clk_branch clk, bool on) argument
83 qcom_branch_set_force_periph_off(struct regmap *regmap, struct clk_branch clk, bool on) argument
/linux-master/tools/testing/selftests/ftrace/test.d/ftrace/
H A Dfunc_traceonoff_triggers.tc88 on=`cat tracing_on`
89 if [ $on != "0" ]; then
115 on=`cat tracing_on`
116 if [ $on != "0" ]; then
132 on=`cat tracing_on`
133 if [ $on != "1" ]; then
149 on=`cat tracing_on`
150 if [ $on != "$val" ]; then
151 fail "Expected tracing_on to be $val, but it was $on"
167 fail "Tracing on an
[all...]
/linux-master/arch/sparc/kernel/
H A Dauxio_64.c56 static void __auxio_set_bit(u8 bit, int on, int ebus) argument
61 if (!on) {
69 void auxio_set_led(int on) argument
75 __auxio_set_bit(bit, on, ebus);
79 static void __auxio_sbus_set_lte(int on) argument
81 __auxio_set_bit(AUXIO_AUX1_LTE, on, 0);
84 void auxio_set_lte(int on) argument
88 __auxio_sbus_set_lte(on);
/linux-master/include/linux/platform_data/
H A Dmmc-davinci.h17 void (*set_power)(int module, bool on);
/linux-master/include/net/caif/
H A Dcaif_device.h35 * using Frame Checksum on the CAIF Frames.
48 void (*flowctrl)(struct net_device *net, int on);
/linux-master/drivers/media/platform/qcom/venus/
H A Dpm_helpers.h15 int (*core_power)(struct venus_core *core, int on);
19 int (*vdec_power)(struct device *dev, int on);
23 int (*venc_power)(struct device *dev, int on);
25 int (*coreid_power)(struct venus_inst *inst, int on);
/linux-master/drivers/net/wwan/iosm/
H A Diosm_ipc_wwan.h14 * Returns: Pointer to instance on success else NULL
32 * Return: 0 on success and failure value on error
41 * @on: if true then flow ctrl would be enabled else disable
44 void ipc_wwan_tx_flowctrl(struct iosm_wwan *ipc_wwan, int id, bool on);

Completed in 357 milliseconds

1234567891011>>