/linux-master/drivers/firmware/ |
H A D | ti_sci.c | 2815 dops->is_on = ti_sci_cmd_dev_is_on; 2824 cops->is_on = ti_sci_cmd_clk_is_on;
|
/linux-master/drivers/usb/dwc3/ |
H A D | gadget.c | 2583 static int dwc3_gadget_run_stop(struct dwc3 *dwc, int is_on) argument 2592 if (is_on) { 2616 } while (--timeout && !(!is_on ^ !reg)); 2719 static int dwc3_gadget_pullup(struct usb_gadget *g, int is_on) argument 2724 is_on = !!is_on; 2726 dwc->softconnect = is_on; 2733 if (!is_on) { 2752 if (dwc->pullups_connected == is_on) { 2759 if (!is_on) [all...] |
/linux-master/drivers/usb/gadget/udc/ |
H A D | fsl_udc_core.c | 1216 static int fsl_pullup(struct usb_gadget *gadget, int is_on) argument 1225 udc->softconnect = (is_on != 0);
|
H A D | tegra-xudc.c | 2044 static int tegra_xudc_gadget_pullup(struct usb_gadget *gadget, int is_on) argument 2054 if (is_on != xudc->pullup) { 2056 if (is_on) 2063 xudc->pullup = is_on; 2064 dev_dbg(xudc->dev, "%s: pullup:%d", __func__, is_on); 2174 static int tegra_xudc_set_selfpowered(struct usb_gadget *gadget, int is_on) argument 2178 dev_dbg(xudc->dev, "%s: %d\n", __func__, is_on); 2179 xudc->selfpowered = !!is_on;
|
H A D | net2272.c | 1128 net2272_pullup(struct usb_gadget *_gadget, int is_on) argument 1140 dev->softconnect = (is_on != 0); 1141 if (is_on)
|
H A D | omap_udc.c | 1298 static int omap_pullup(struct usb_gadget *gadget, int is_on) argument 1305 udc->softconnect = (is_on != 0);
|
H A D | pch_udc.c | 1161 * @is_on: Specifies whether the pull up is made active or inactive 1167 static int pch_udc_pcd_pullup(struct usb_gadget *gadget, int is_on) argument 1178 if (is_on) {
|
H A D | mv_udc_core.c | 1184 static int mv_udc_pullup(struct usb_gadget *gadget, int is_on) argument 1193 udc->softconnect = (is_on != 0);
|
H A D | lpc32xx_udc.c | 1551 static void pullup(struct lpc32xx_udc *udc, int is_on) argument 1557 is_on = 0; 1559 if (is_on != udc->pullup) 1560 isp1301_pullup_enable(udc, is_on, 0); 2430 static int lpc32xx_set_selfpowered(struct usb_gadget *gadget, int is_on) argument 2432 gadget->is_selfpowered = (is_on != 0); 2478 static int lpc32xx_pullup(struct usb_gadget *gadget, int is_on) argument 2483 pullup(udc, is_on);
|
H A D | gr_udc.c | 1877 static int gr_pullup(struct usb_gadget *_gadget, int is_on) argument 1889 if (is_on)
|
/linux-master/drivers/usb/dwc2/ |
H A D | gadget.c | 4663 * @is_on: Current state of the USB PHY 4667 static int dwc2_hsotg_pullup(struct usb_gadget *gadget, int is_on) argument 4672 dev_dbg(hsotg->dev, "%s: is_on: %d op_state: %d\n", __func__, is_on, 4677 hsotg->enabled = is_on; 4682 if (is_on) {
|
/linux-master/include/linux/usb/ |
H A D | gadget.h | 320 int (*pullup) (struct usb_gadget *, int is_on);
|
/linux-master/drivers/usb/musb/ |
H A D | musb_gadget.c | 1598 static void musb_pullup(struct musb *musb, int is_on) argument 1603 if (is_on) 1611 is_on ? "on" : "off"); 1650 static int musb_gadget_pullup(struct usb_gadget *gadget, int is_on) argument 1655 is_on = !!is_on; 1661 if (is_on != musb->softconnect) { 1662 musb->softconnect = is_on;
|
/linux-master/drivers/usb/host/ |
H A D | sl811-hcd.c | 78 static void port_power(struct sl811 *sl811, int is_on) argument 83 if (is_on) { 101 is_on ? "on" : "off"); 102 sl811->board->port_power(hcd->self.controller, is_on); 118 // if !is_on, put into lowpower mode now
|
/linux-master/drivers/spi/ |
H A D | spi-lm70llp.c | 133 static inline void setsck(struct spi_device *s, int is_on) argument 137 if (is_on) 143 static inline void setmosi(struct spi_device *s, int is_on) argument
|
H A D | spi-xilinx.c | 186 static void xilinx_spi_chipselect(struct spi_device *spi, int is_on) argument 192 if (is_on == BITBANG_CS_INACTIVE) {
|
H A D | spi-xtensa-xtfpga.c | 72 static void xtfpga_spi_chipselect(struct spi_device *spi, int is_on) argument
|
H A D | spi-gpio.c | 86 static inline void setsck(const struct spi_device *spi, int is_on) argument 90 gpiod_set_value_cansleep(spi_gpio->sck, is_on); 93 static inline void setmosi(const struct spi_device *spi, int is_on) argument 97 gpiod_set_value_cansleep(spi_gpio->mosi, is_on);
|
H A D | spi-butterfly.c | 67 setsck(struct spi_device *spi, int is_on) argument 74 if (is_on) 83 setmosi(struct spi_device *spi, int is_on) argument 90 if (is_on)
|
/linux-master/drivers/remoteproc/ |
H A D | ti_k3_dsp_remoteproc.c | 736 ret = kproc->ti_sci->ops.dev_ops.is_on(kproc->ti_sci, kproc->ti_sci_id,
|
/linux-master/drivers/misc/eeprom/ |
H A D | eeprom_93xx46.c | 164 static int eeprom_93xx46_ew(struct eeprom_93xx46_dev *edev, int is_on) argument 176 cmd_addr |= (is_on ? ADDR_EWEN : ADDR_EWDS) << 1; 178 cmd_addr |= (is_on ? ADDR_EWEN : ADDR_EWDS); 186 is_on ? "en" : "ds", cmd_addr, bits); 206 is_on ? "en" : "dis", ret);
|
/linux-master/drivers/clk/keystone/ |
H A D | sci-clk.c | 116 ret = clk->provider->ops->is_on(clk->provider->sci, clk->dev_id,
|
/linux-master/include/linux/spi/ |
H A D | spi_bitbang.h | 21 void (*chipselect)(struct spi_device *spi, int is_on);
|
/linux-master/drivers/power/supply/ |
H A D | da9030_battery.c | 110 bool is_on; member in struct:da9030_charger 141 seq_printf(s, "charger is %s\n", charger->is_on ? "on" : "off"); 210 charger->is_on = (val & DA9030_CHRG_CHARGER_ENABLE) ? 1 : 0; 228 charger->is_on = 1; 231 charger->is_on = 0; 244 if (!charger->is_on) { 308 if (charger->is_on) 371 if (charger->is_on)
|
/linux-master/drivers/usb/cdns3/ |
H A D | cdns3-gadget.c | 2923 static int cdns3_gadget_pullup(struct usb_gadget *gadget, int is_on) argument 2927 if (is_on) {
|