Home
last modified time | relevance | path

Searched refs:is_on (Results 26 – 50 of 90) sorted by relevance

1234

/openbmc/u-boot/drivers/usb/gadget/
H A Dfotg210.c708 static void pullup(struct fotg210_chip *chip, int is_on) in pullup() argument
712 if (is_on) { in pullup()
733 static int fotg210_pullup(struct usb_gadget *_gadget, int is_on) in fotg210_pullup() argument
739 debug("fotg210: pullup=%d\n", is_on); in fotg210_pullup()
741 pullup(chip, is_on); in fotg210_pullup()
H A Dat91_udc.h108 void (*pullup)(struct at91_udc *udc, int is_on);
/openbmc/u-boot/include/linux/usb/
H A Dmusb.h104 int (*set_vbus)(struct device *dev, int is_on);
/openbmc/linux/drivers/clk/davinci/
H A Dpsc.c241 bool is_on; in davinci_lpsc_clk_register() local
285 is_on = davinci_lpsc_clk_is_enabled(&lpsc->hw); in davinci_lpsc_clk_register()
286 pm_genpd_init(&lpsc->pm_domain, NULL, is_on); in davinci_lpsc_clk_register()
/openbmc/linux/drivers/usb/gadget/udc/
H A Dat91_udc.h108 void (*pullup)(struct at91_udc *udc, int is_on);
H A Dlpc32xx_udc.c1551 static void pullup(struct lpc32xx_udc *udc, int is_on) in pullup() argument
1557 is_on = 0; in pullup()
1559 if (is_on != udc->pullup) in pullup()
1560 isp1301_pullup_enable(udc, is_on, 0); in pullup()
2430 static int lpc32xx_set_selfpowered(struct usb_gadget *gadget, int is_on) in lpc32xx_set_selfpowered() argument
2432 gadget->is_selfpowered = (is_on != 0); in lpc32xx_set_selfpowered()
2478 static int lpc32xx_pullup(struct usb_gadget *gadget, int is_on) in lpc32xx_pullup() argument
2483 pullup(udc, is_on); in lpc32xx_pullup()
H A Datmel_usba_udc.h312 void (*toggle_bias)(struct usba_udc *udc, int is_on);
H A Datmel_usba_udc.c390 static void toggle_bias(struct usba_udc *udc, int is_on) in toggle_bias() argument
393 udc->errata->toggle_bias(udc, is_on); in toggle_bias()
1034 static int atmel_usba_pullup(struct usb_gadget *gadget, int is_on);
1968 static int atmel_usba_pullup(struct usb_gadget *gadget, int is_on) in atmel_usba_pullup() argument
1976 if (is_on) in atmel_usba_pullup()
2042 static void at91sam9rl_toggle_bias(struct usba_udc *udc, int is_on) in at91sam9rl_toggle_bias() argument
2045 is_on ? AT91_PMC_BIASEN : 0); in at91sam9rl_toggle_bias()
/openbmc/qemu/plugins/
H A Dloader.c99 bool is_on; in plugin_add() local
121 !qapi_bool_parse(name, value, &is_on, NULL)) { in plugin_add()
/openbmc/linux/drivers/usb/gadget/udc/bdc/
H A Dbdc_udc.c412 static int bdc_udc_pullup(struct usb_gadget *gadget, int is_on) in bdc_udc_pullup() argument
418 dev_dbg(bdc->dev, "%s() is_on:%d\n", __func__, is_on); in bdc_udc_pullup()
423 if (!is_on) { in bdc_udc_pullup()
/openbmc/u-boot/drivers/usb/musb-new/
H A Dmusb_gadget.c1705 static void musb_pullup(struct musb *musb, int is_on) in musb_pullup() argument
1710 if (is_on) in musb_pullup()
1718 is_on ? "on" : "off"); in musb_pullup()
1749 static int musb_gadget_pullup(struct usb_gadget *gadget, int is_on) in musb_gadget_pullup() argument
1754 is_on = !!is_on; in musb_gadget_pullup()
1762 if (is_on != musb->softconnect) { in musb_gadget_pullup()
1763 musb->softconnect = is_on; in musb_gadget_pullup()
1764 musb_pullup(musb, is_on); in musb_gadget_pullup()
H A Dmusb_core.h517 static inline void musb_platform_set_vbus(struct musb *musb, int is_on) in musb_platform_set_vbus() argument
520 musb->ops->set_vbus(musb, is_on); in musb_platform_set_vbus()
H A Dam35x.c130 static void am35x_musb_set_vbus(struct musb *musb, int is_on) in am35x_musb_set_vbus() argument
132 WARN_ON(is_on && is_peripheral_active(musb)); in am35x_musb_set_vbus()
/openbmc/linux/drivers/spi/
H A Dspi-xtensa-xtfpga.c72 static void xtfpga_spi_chipselect(struct spi_device *spi, int is_on) in xtfpga_spi_chipselect() argument
H A Dspi-xilinx.c186 static void xilinx_spi_chipselect(struct spi_device *spi, int is_on) in xilinx_spi_chipselect() argument
192 if (is_on == BITBANG_CS_INACTIVE) { in xilinx_spi_chipselect()
/openbmc/linux/drivers/usb/musb/
H A Dmusb_gadget.c1598 static void musb_pullup(struct musb *musb, int is_on) in musb_pullup() argument
1603 if (is_on) in musb_pullup()
1611 is_on ? "on" : "off"); in musb_pullup()
1650 static int musb_gadget_pullup(struct usb_gadget *gadget, int is_on) in musb_gadget_pullup() argument
1655 is_on = !!is_on; in musb_gadget_pullup()
1661 if (is_on != musb->softconnect) { in musb_gadget_pullup()
1662 musb->softconnect = is_on; in musb_gadget_pullup()
H A Dmusb_core.h512 static inline void musb_platform_set_vbus(struct musb *musb, int is_on) in musb_platform_set_vbus() argument
515 musb->ops->set_vbus(musb, is_on); in musb_platform_set_vbus()
H A Dda8xx.c115 static void da8xx_musb_set_vbus(struct musb *musb, int is_on) in da8xx_musb_set_vbus() argument
117 WARN_ON(is_on && is_peripheral_active(musb)); in da8xx_musb_set_vbus()
/openbmc/u-boot/drivers/usb/dwc3/
H A Dgadget.c1349 static int dwc3_gadget_run_stop(struct dwc3 *dwc, int is_on, int suspend) in dwc3_gadget_run_stop() argument
1355 if (is_on) { in dwc3_gadget_run_stop()
1382 if (is_on) { in dwc3_gadget_run_stop()
1398 is_on ? "connect" : "disconnect"); in dwc3_gadget_run_stop()
1403 static int dwc3_gadget_pullup(struct usb_gadget *g, int is_on) in dwc3_gadget_pullup() argument
1409 is_on = !!is_on; in dwc3_gadget_pullup()
1412 ret = dwc3_gadget_run_stop(dwc, is_on, false); in dwc3_gadget_pullup()
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dar9003_phy.c1300 bool is_on = param ? 1 : 0; in ar9003_hw_ani_control() local
1306 AR_PHY_MRC_CCK_ENABLE, is_on); in ar9003_hw_ani_control()
1308 AR_PHY_MRC_CCK_MUX_REG, is_on); in ar9003_hw_ani_control()
1309 if (is_on != aniState->mrcCCK) { in ar9003_hw_ani_control()
1313 is_on ? "on" : "off"); in ar9003_hw_ani_control()
1314 if (is_on) in ar9003_hw_ani_control()
1318 aniState->mrcCCK = is_on; in ar9003_hw_ani_control()
/openbmc/u-boot/drivers/spi/
H A Dzynq_qspi.c266 static void zynq_qspi_chipselect(struct zynq_qspi_priv *priv, int is_on) in zynq_qspi_chipselect() argument
273 if (is_on) { in zynq_qspi_chipselect()
H A Dzynqmp_gqspi.c234 static void zynqmp_qspi_chipselect(struct zynqmp_qspi_priv *priv, int is_on) in zynqmp_qspi_chipselect() argument
238 if (is_on) { in zynqmp_qspi_chipselect()
/openbmc/linux/include/linux/soc/ti/
H A Dti_sci_protocol.h112 int (*is_on)(const struct ti_sci_handle *handle, u32 id, member
179 int (*is_on)(const struct ti_sci_handle *handle, u32 did, u32 cid, member
/openbmc/linux/drivers/usb/mtu3/
H A Dmtu3_core.c342 void mtu3_dev_on_off(struct mtu3 *mtu, int is_on) in mtu3_dev_on_off() argument
345 mtu3_ss_func_set(mtu, is_on); in mtu3_dev_on_off()
347 mtu3_hs_softconn_set(mtu, is_on); in mtu3_dev_on_off()
350 usb_speed_string(mtu->speed), is_on ? "+" : "-"); in mtu3_dev_on_off()
/openbmc/linux/drivers/usb/dwc3/
H A Dgadget.c2600 static int dwc3_gadget_run_stop(struct dwc3 *dwc, int is_on) in dwc3_gadget_run_stop() argument
2609 if (is_on) { in dwc3_gadget_run_stop()
2633 } while (--timeout && !(!is_on ^ !reg)); in dwc3_gadget_run_stop()
2736 static int dwc3_gadget_pullup(struct usb_gadget *g, int is_on) in dwc3_gadget_pullup() argument
2741 is_on = !!is_on; in dwc3_gadget_pullup()
2743 dwc->softconnect = is_on; in dwc3_gadget_pullup()
2750 if (!is_on) { in dwc3_gadget_pullup()
2769 if (dwc->pullups_connected == is_on) { in dwc3_gadget_pullup()
2776 if (!is_on) in dwc3_gadget_pullup()

1234