Searched defs:is_active (Results 1 - 25 of 35) sorted by relevance

12

/drivers/spi/
H A Dspi-ath79.c55 static void ath79_spi_chipselect(struct spi_device *spi, int is_active) argument
58 int cs_high = (spi->mode & SPI_CS_HIGH) ? is_active : !is_active;
60 if (is_active) {
H A Dspi-gpio.c211 static void spi_gpio_chipselect(struct spi_device *spi, int is_active) argument
216 if (is_active)
221 gpio_set_value(cs, (spi->mode & SPI_CS_HIGH) ? is_active : !is_active);
H A Dspi-oc-tiny.c73 static void tiny_spi_chipselect(struct spi_device *spi, int is_active) argument
79 (spi->mode & SPI_CS_HIGH) ? is_active : !is_active);
H A Dspi-imx.c620 static void spi_imx_chipselect(struct spi_device *spi, int is_active) argument
624 int active = is_active != BITBANG_CS_INACTIVE;
/drivers/watchdog/
H A Dxen_wdt.c39 static bool is_active, expect_release; variable
124 if (xchg(&is_active, true))
143 is_active = err;
H A Dpcwd_pci.c117 static unsigned long is_active; variable
572 if (test_and_set_bit(0, &is_active)) {
596 clear_bit(0, &is_active);
H A Dpcwd_usb.c138 static unsigned long is_active; variable
497 if (test_and_set_bit(0, &is_active))
518 clear_bit(0, &is_active);
H A DiTCO_wdt.c391 static unsigned long is_active; variable
646 if (test_and_set_bit(0, &is_active))
667 clear_bit(0, &is_active);
/drivers/gpu/drm/via/
H A Dvia_dmablit.h72 int is_active; member in struct:_drm_via_blitq
/drivers/net/wireless/iwlwifi/
H A Diwl-scan.c498 u8 is_active, u8 n_probes,
536 if (!is_active || is_channel_passive(ch_info) ||
638 bool is_active = false; local
723 is_active = true;
788 scan->good_CRC_th = is_active ? IWL_GOOD_CRC_TH_DEFAULT :
791 scan->good_CRC_th = is_active ? IWL_GOOD_CRC_TH_DEFAULT :
873 is_active, n_probes,
495 iwl_get_channels_for_scan(struct iwl_priv *priv, struct ieee80211_vif *vif, enum ieee80211_band band, u8 is_active, u8 n_probes, struct iwl_scan_channel *scan_ch) argument
/drivers/pcmcia/
H A Dtcic.c294 static int __init is_active(int s) function
404 if ((i == ignore) || is_active(i)) continue;
/drivers/usb/gadget/
H A Dnet2280.h217 static inline void net2280_led_active (struct net2280 *dev, int is_active) argument
222 if (is_active)
H A Dat91_udc.c942 static int at91_vbus_session(struct usb_gadget *gadget, int is_active) argument
947 /* VDBG("vbus %s\n", is_active ? "on" : "off"); */
949 udc->vbus = (is_active != 0);
951 pullup(udc, is_active);
H A Dfusb300_udc.c1376 static int fusb300_udc_pullup(struct usb_gadget *_gadget, int is_active) argument
H A Dpxa25x_udc.c932 int is_active = udc->vbus && udc->pullup && !udc->suspended; local
933 DMSG("%s\n", is_active ? "active" : "inactive");
934 if (is_active) {
960 static int pxa25x_udc_vbus_session(struct usb_gadget *_gadget, int is_active) argument
965 udc->vbus = is_active;
966 DMSG("vbus %s\n", is_active ? "supplied" : "inactive");
972 static int pxa25x_udc_pullup(struct usb_gadget *_gadget, int is_active) argument
982 udc->pullup = (is_active != 0);
H A Dci13xxx_udc.c2478 static int ci13xxx_vbus_session(struct usb_gadget *_gadget, int is_active) argument
2488 udc->vbus_active = is_active;
2494 if (is_active) {
H A Ddummy_hcd.c1452 #define is_active(dum_hcd) ((dum_hcd->port_status & \ macro
1461 if (!is_active((dum->gadget.speed == USB_SPEED_SUPER ?
1477 #undef is_active macro
H A Dfsl_qe_udc.c1906 static int qe_vbus_session(struct usb_gadget *gadget, int is_active) argument
H A Dfsl_udc_core.c1184 static int fsl_vbus_session(struct usb_gadget *gadget, int is_active) argument
1191 VDBG("VBUS %s", is_active ? "on" : "off");
1192 udc->vbus_active = (is_active != 0);
H A Dlangwell_udc.c1187 static int langwell_vbus_session(struct usb_gadget *_gadget, int is_active) argument
1201 is_active ? "on" : "off");
1203 dev->vbus_active = (is_active != 0);
H A Dmv_udc_core.c1179 static int mv_udc_vbus_session(struct usb_gadget *gadget, int is_active) argument
1188 udc->vbus_active = (is_active != 0);
H A Domap_udc.c1303 static int omap_vbus_session(struct usb_gadget *gadget, int is_active) argument
1311 VDBG("VBUS %s\n", is_active ? "on" : "off");
1312 udc->vbus_active = (is_active != 0);
1316 if (is_active)
1322 if (udc->dc_clk != NULL && is_active) {
1332 if (udc->dc_clk != NULL && !is_active) {
H A Dpxa27x_udc.c1604 * @is_active: 0 if disconnect, else connect D+ pullup resistor
1609 static int pxa_udc_pullup(struct usb_gadget *_gadget, int is_active) argument
1616 dplus_pullup(udc, is_active);
1631 * @is_active: 0 if should disable the udc, 1 if should enable
1638 static int pxa_udc_vbus_session(struct usb_gadget *_gadget, int is_active) argument
1642 udc->vbus_sensed = is_active;
/drivers/md/
H A Ddm-mpath.c33 unsigned is_active; /* Path status */ member in struct:pgpath
135 pgpath->is_active = 1;
267 if (!pgpath->is_active)
955 if (!pgpath->is_active)
961 pgpath->is_active = 0;
991 if (pgpath->is_active)
1005 pgpath->is_active = 1;
1414 p->is_active ? "A" : "F",
1618 if (pgpath->is_active) {
/drivers/net/bonding/
H A Dbond_3ad.h191 u16 is_active; // BOOLEAN. Indicates if this aggregator is active member in struct:aggregator

Completed in 1522 milliseconds

12