Searched refs:on (Results 51 - 75 of 1072) sorted by relevance

1234567891011>>

/linux-master/include/sound/
H A Dseq_midi_event.h32 void snd_midi_event_no_status(struct snd_midi_event *dev, int on);
/linux-master/sound/pci/echoaudio/
H A Decho3g_dsp.c38 static int set_phantom_power(struct echoaudio *chip, char on);
67 /* Load the DSP code and the ASIC on the PCI card and get
119 static int set_phantom_power(struct echoaudio *chip, char on) argument
123 if (on)
128 chip->phantom_power = on;
/linux-master/arch/sparc/kernel/
H A Dled.c21 unsigned char on, off; local
24 on = 0;
27 on = AUXIO_LED;
31 set_auxio(on, off);
57 seq_puts(m, "on\n");
85 * otherwise calls such as on will have no persistent effect
89 if (!strcmp(buf, "on")) {
144 MODULE_DESCRIPTION("Provides control of the front LED on SPARC systems.");
/linux-master/include/linux/mmc/
H A Dslot-gpio.h26 int mmc_gpio_set_cd_wake(struct mmc_host *host, bool on);
/linux-master/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_dp_phy.h57 void dpcd_write_rx_power_ctrl(struct dc_link *link, bool on);
/linux-master/tools/testing/selftests/prctl/
H A DMakefile7 TEST_PROGS := disable-tsc-ctxt-sw-stress-test disable-tsc-on-off-stress-test \
/linux-master/sound/pci/hda/
H A Dhda_beep.h30 void (*power_hook)(struct hda_beep *beep, bool on);
/linux-master/include/linux/usb/
H A Dtcpm.h87 * @set_bist_data: Turn on/off bist data mode for compliance testing
104 * will be turned on. requested_vbus_voltage is set to 0 when vbus
130 * swap following Discover Identity on SOP' occurs.
132 * after Discovery Identity on SOP.
149 int (*set_vconn)(struct tcpc_dev *dev, bool on);
150 int (*set_vbus)(struct tcpc_dev *dev, bool on, bool charge);
152 int (*set_pd_rx)(struct tcpc_dev *dev, bool on);
161 int (*set_bist_data)(struct tcpc_dev *dev, bool on);
/linux-master/net/bridge/
H A Dbr.c259 * @on: new option value
262 * Changes the value of the respective boolean option to @on taking care of
265 int br_boolopt_toggle(struct net_bridge *br, enum br_boolopt_id opt, bool on, argument
272 br_opt_toggle(br, BROPT_NO_LL_LEARN, on);
275 err = br_multicast_toggle_vlan_snooping(br, on, extack);
278 err = br_mst_set_enabled(br, on, extack);
316 bool on = !!(bm->optval & BIT(opt_id)); local
318 err = br_boolopt_toggle(br, opt_id, on, extack);
321 opt_id, br_boolopt_get(br, opt_id), on, err);
343 void br_opt_toggle(struct net_bridge *br, enum net_bridge_opts opt, bool on) argument
[all...]
/linux-master/include/linux/phy/
H A Domap_control_phy.h69 void omap_control_phy_power(struct device *dev, int on);
75 static inline void omap_control_phy_power(struct device *dev, int on) argument
/linux-master/arch/arm/mach-omap2/
H A Dvc3xxx_data.c74 * Voltage levels for different operating modes: on, sleep, retention and off
82 .on = OMAP3_ON_VOLTAGE_UV,
89 .on = OMAP3_ON_VOLTAGE_UV,
/linux-master/tools/testing/selftests/drivers/net/netdevsim/
H A Dethtool-coalesce.sh117 # bool settings which ethtool displays on the same line
118 ethtool -C $NSIM_NETDEV adaptive-rx on
119 s=$(ethtool -c $NSIM_NETDEV | grep -q "Adaptive RX: on TX: off")
122 ethtool -C $NSIM_NETDEV adaptive-tx on
123 s=$(ethtool -c $NSIM_NETDEV | grep -q "Adaptive RX: on TX: on")
H A Dhw_stats_l3.sh213 $IP stats set dev dummy1 ${type}_stats on
262 $IP stats set dev dummy1 ${type}_stats on 2>/dev/null
269 $IP stats set dev dummy1 ${type}_stats on
312 $IP stats set dev dummy1 ${type}_stats on
316 # Netdevsim counts 10pps on ingress. We should see maybe a couple
332 $IP stats set dev dummy1 ${type}_stats on
339 $IP stats set dev dummy1 ${type}_stats on 2>/dev/null
344 $IP stats set dev dummy1 ${type}_stats on
377 $IP stats set dev dummy1 ${type}_stats on 2>/dev/null
387 $IP stats set dev dummy1 ${type}_stats on
[all...]
/linux-master/arch/arm/mach-pxa/
H A Dspitz_pm.c52 static void spitz_measure_temp(int on) argument
54 gpio_set_value(SPITZ_GPIO_ADC_TEMP_ON, on);
57 static void spitz_charge(int on) argument
59 if (on) {
73 static void spitz_discharge(int on) argument
75 gpio_set_value(SPITZ_GPIO_JK_A, on);
79 on the power bus which the green led on spitz provides */
80 static void spitz_discharge1(int on) argument
82 gpio_set_value(SPITZ_GPIO_LED_GREEN, on);
[all...]
/linux-master/drivers/usb/typec/tcpm/qcom/
H A Dqcom_pmic_typec_pdphy_stub.c36 static int qcom_pmic_typec_pdphy_stub_set_pd_rx(struct tcpc_dev *tcpc, bool on) argument
41 dev_dbg(dev, "set_pd_rx: %s\n", on ? "on" : "off");
/linux-master/drivers/net/wireless/ath/ath5k/
H A Dani.c28 * depending on the amount of interference in the environment, increasing
71 * essentially an on/off option. There *may* be a reason for this (???),
108 * on the chip revision).
154 * @on: turn on or off
157 ath5k_ani_set_ofdm_weak_signal_detection(struct ath5k_hw *ah, bool on) argument
167 AR5K_PHY_WEAK_OFDM_LOW_THR_M1, m1l[on]);
169 AR5K_PHY_WEAK_OFDM_LOW_THR_M2, m2l[on]);
171 AR5K_PHY_WEAK_OFDM_HIGH_THR_M1, m1[on]);
173 AR5K_PHY_WEAK_OFDM_HIGH_THR_M2, m2[on]);
197 ath5k_ani_set_cck_weak_signal_detection(struct ath5k_hw *ah, bool on) argument
[all...]
/linux-master/drivers/usb/phy/
H A Dphy-am335x-control.c31 static void am335x_phy_wkup(struct phy_control *phy_ctrl, u32 id, bool on) argument
54 if (on)
64 enum usb_dr_mode dr_mode, bool on)
85 if (on) {
105 if (on)
63 am335x_phy_power(struct phy_control *phy_ctrl, u32 id, enum usb_dr_mode dr_mode, bool on) argument
/linux-master/drivers/staging/media/atomisp/include/linux/
H A Datomisp_platform.h189 * lines as implemented on all known camera modules.
191 int (*gpio0_ctrl)(struct v4l2_subdev *subdev, int on);
192 int (*gpio1_ctrl)(struct v4l2_subdev *subdev, int on);
193 int (*v1p8_ctrl)(struct v4l2_subdev *subdev, int on);
194 int (*v2p8_ctrl)(struct v4l2_subdev *subdev, int on);
195 int (*v1p2_ctrl)(struct v4l2_subdev *subdev, int on);
/linux-master/arch/powerpc/platforms/83xx/
H A Dmpc832x_rdb.c9 * This file is based on mpc832x_mds.c and mpc8313_rdb.c
45 bool on))
125 bool on))
147 static void mpc83xx_spi_cs_control(struct spi_device *spi, bool on) argument
149 pr_debug("%s %d %d\n", __func__, spi_get_chipselect(spi, 0), on);
150 par_io_data_set(3, 13, on);
41 of_fsl_spi_probe(char *type, char *compatible, u32 sysclk, struct spi_board_info *board_infos, unsigned int num_board_infos, void (*cs_control)(struct spi_device *dev, bool on)) argument
122 fsl_spi_init(struct spi_board_info *board_infos, unsigned int num_board_infos, void (*cs_control)(struct spi_device *spi, bool on)) argument
/linux-master/drivers/net/ethernet/renesas/
H A Dravb_ptp.c171 struct ptp_extts_request *req, int on)
189 if (priv->ptp.extts[req->index] == on)
191 priv->ptp.extts[req->index] = on;
195 ravb_modify(ndev, GIC, GIC_PTCE, on ? GIC_PTCE : 0);
196 else if (on)
206 struct ptp_perout_request *req, int on)
223 if (on) {
273 struct ptp_clock_request *req, int on)
277 return ravb_ptp_extts(ptp, &req->extts, on);
279 return ravb_ptp_perout(ptp, &req->perout, on);
170 ravb_ptp_extts(struct ptp_clock_info *ptp, struct ptp_extts_request *req, int on) argument
205 ravb_ptp_perout(struct ptp_clock_info *ptp, struct ptp_perout_request *req, int on) argument
272 ravb_ptp_enable(struct ptp_clock_info *ptp, struct ptp_clock_request *req, int on) argument
[all...]
/linux-master/drivers/watchdog/
H A Drave-sp-wdt.c72 static int rave_sp_wdt_legacy_configure(struct watchdog_device *wdd, bool on) argument
78 [3] = on,
79 [4] = on ? wdd->timeout : 0,
85 static int rave_sp_wdt_rdu_configure(struct watchdog_device *wdd, bool on) argument
90 [2] = on,
102 * @on: Desired state of the watchdog timer (ON/OFF)
112 static int rave_sp_wdt_configure(struct watchdog_device *wdd, bool on) argument
114 return to_rave_sp_wdt(wdd)->variant->configure(wdd, on);
147 * so here and let the rest of the system go on wrapping
302 * start it and depend on watchdo
[all...]
/linux-master/tools/testing/selftests/net/forwarding/
H A Dethtool_mm.sh55 # NXP ENETC does not, and requires tx-enabled on in order to respond to
57 ethtool --set-mm $rx tx-enabled on
58 ethtool --set-mm $tx verify-enabled on tx-enabled on
96 ethtool --set-mm $tx verify-enabled off tx-enabled on
131 ethtool --set-mm $tx verify-enabled on tx-enabled on
147 ethtool --set-mm $rx pmac-enabled on
263 ethtool --set-mm $h1 pmac-enabled on tx-enabled off verify-enabled off
270 ethtool --set-mm $h2 pmac-enabled on t
[all...]
/linux-master/sound/pci/cs5535audio/
H A Dcs5535audio.h105 void olpc_analog_input(struct snd_ac97 *ac97, int on);
106 void olpc_mic_bias(struct snd_ac97 *ac97, int on);
131 static inline void olpc_analog_input(struct snd_ac97 *ac97, int on) { } argument
132 static inline void olpc_mic_bias(struct snd_ac97 *ac97, int on) { } argument
/linux-master/include/linux/mfd/pcf50633/
H A Dgpio.h45 int gpio, int regulator, int on);
/linux-master/arch/hexagon/kernel/
H A Dirq_cpu.c40 static int set_wake(struct irq_data *data, unsigned int on) argument

Completed in 232 milliseconds

1234567891011>>