Searched refs:is_on (Results 1 - 25 of 69) sorted by last modified time

123

/linux-master/drivers/firmware/
H A Dti_sci.c2815 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 Dgadget.c2583 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 Dfsl_udc_core.c1216 static int fsl_pullup(struct usb_gadget *gadget, int is_on) argument
1225 udc->softconnect = (is_on != 0);
H A Dtegra-xudc.c2044 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 Dnet2272.c1128 net2272_pullup(struct usb_gadget *_gadget, int is_on) argument
1140 dev->softconnect = (is_on != 0);
1141 if (is_on)
H A Domap_udc.c1298 static int omap_pullup(struct usb_gadget *gadget, int is_on) argument
1305 udc->softconnect = (is_on != 0);
H A Dpch_udc.c1161 * @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 Dmv_udc_core.c1184 static int mv_udc_pullup(struct usb_gadget *gadget, int is_on) argument
1193 udc->softconnect = (is_on != 0);
H A Dlpc32xx_udc.c1551 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 Dgr_udc.c1877 static int gr_pullup(struct usb_gadget *_gadget, int is_on) argument
1889 if (is_on)
/linux-master/drivers/usb/dwc2/
H A Dgadget.c4663 * @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 Dgadget.h320 int (*pullup) (struct usb_gadget *, int is_on);
/linux-master/drivers/usb/musb/
H A Dmusb_gadget.c1598 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 Dsl811-hcd.c78 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 Dspi-lm70llp.c133 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 Dspi-xilinx.c186 static void xilinx_spi_chipselect(struct spi_device *spi, int is_on) argument
192 if (is_on == BITBANG_CS_INACTIVE) {
H A Dspi-xtensa-xtfpga.c72 static void xtfpga_spi_chipselect(struct spi_device *spi, int is_on) argument
H A Dspi-gpio.c86 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 Dspi-butterfly.c67 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 Dti_k3_dsp_remoteproc.c736 ret = kproc->ti_sci->ops.dev_ops.is_on(kproc->ti_sci, kproc->ti_sci_id,
/linux-master/drivers/misc/eeprom/
H A Deeprom_93xx46.c164 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 Dsci-clk.c116 ret = clk->provider->ops->is_on(clk->provider->sci, clk->dev_id,
/linux-master/include/linux/spi/
H A Dspi_bitbang.h21 void (*chipselect)(struct spi_device *spi, int is_on);
/linux-master/drivers/power/supply/
H A Dda9030_battery.c110 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 Dcdns3-gadget.c2923 static int cdns3_gadget_pullup(struct usb_gadget *gadget, int is_on) argument
2927 if (is_on) {

Completed in 492 milliseconds

123