Home
last modified time | relevance | path

Searched refs:is_active (Results 1 – 25 of 65) sorted by relevance

123

/drivers/video/fbdev/via/
Dvia_i2c.c127 if (!via_i2c_par[adap].is_active) in viafb_i2c_readbyte()
151 if (!via_i2c_par[adap].is_active) in viafb_i2c_writebyte()
172 if (!via_i2c_par[adap].is_active) in viafb_i2c_readbytes()
246 i2c_stuff->is_active = 0; in viafb_i2c_probe()
257 i2c_stuff->is_active = 1; in viafb_i2c_probe()
273 if (i2c_stuff->is_active) in viafb_i2c_remove()
/drivers/usb/musb/
Dmusb_virthub.c67 musb->is_active = 1; in musb_host_finish_resume()
117 musb->is_active = otg->host->b_hnp_enable; in musb_port_suspend()
118 if (musb->is_active) in musb_port_suspend()
126 musb->is_active = otg->host->b_hnp_enable; in musb_port_suspend()
232 musb->is_active = 0; in musb_root_disconnect()
244 musb->is_active = 0; in musb_root_disconnect()
Dtusb6010.c480 if (!musb->is_active) { in musb_do_idle()
523 if (musb->is_active || ((musb->a_wait_bcon == 0) in tusb_musb_try_idle()
598 musb->is_active = 0; in tusb_musb_set_vbus()
602 musb->is_active = 0; in tusb_musb_set_vbus()
723 musb->is_active = 0; in tusb_otg_ints()
741 musb->is_active = 0; in tusb_otg_ints()
743 musb->is_active = 1; in tusb_otg_ints()
796 musb->is_active = 0; in tusb_otg_ints()
867 musb->is_active = 1; in tusb_musb_interrupt()
871 musb->is_active ? "" : "in", reg); in tusb_musb_interrupt()
Domap2430.c87 musb->is_active = 1; in musb_do_idle()
118 if (musb->is_active || ((musb->a_wait_bcon == 0) in omap2430_musb_try_idle()
181 musb->is_active = 1; in omap2430_musb_set_vbus()
188 musb->is_active = 0; in omap2430_musb_set_vbus()
Dmusb_core.c467 musb->is_active = 0; in musb_otg_timer_func()
571 musb->is_active = 1; in musb_stage0_irq()
576 musb->is_active = 1; in musb_stage0_irq()
739 if (!musb->is_active) in musb_stage0_irq()
743 musb->is_active = musb->g.b_hnp_enable; in musb_stage0_irq()
744 if (musb->is_active) { in musb_stage0_irq()
759 musb->is_active = musb->hcd->self.b_hnp_enable; in musb_stage0_irq()
767 musb->is_active = 0; in musb_stage0_irq()
776 musb->is_active = 1; in musb_stage0_irq()
1046 musb->is_active = 0; in musb_start()
[all …]
Dux500.c77 musb->is_active = 1; in ux500_musb_set_vbus()
84 musb->is_active = 0; in ux500_musb_set_vbus()
/drivers/net/bonding/
Dbond_3ad.c707 if (SLAVE_AD_INFO(slave)->aggregator.is_active) in __get_active_agg()
909 if (port->aggregator->is_active) in ad_mux_machine()
923 } else if (port->aggregator->is_active) { in ad_mux_machine()
940 port->aggregator->is_active && in ad_mux_machine()
972 if (port->aggregator->is_active) in ad_mux_machine()
1468 if (!port->aggregator->is_active) in ad_port_selection_logic()
1597 agg->is_active = 0; in ad_agg_selection_logic()
1618 active->is_active = 1; in ad_agg_selection_logic()
1625 active->is_active = 1; in ad_agg_selection_logic()
1634 best->is_individual, best->is_active); in ad_agg_selection_logic()
[all …]
/drivers/gpu/drm/amd/amdkfd/
Dkfd_mqd_manager_cik.c199 q->is_active = false; in update_mqd()
204 q->is_active = true; in update_mqd()
237 q->is_active = false; in update_mqd_sdma()
244 q->is_active = true; in update_mqd_sdma()
386 q->is_active = false; in update_mqd_hiq()
391 q->is_active = true; in update_mqd_hiq()
Dkfd_device_queue_manager.c178 if (q->properties.is_active) in create_queue_nocpsch()
325 if (q->properties.is_active) in destroy_queue_nocpsch()
357 if (q->properties.is_active == true) in update_queue()
366 if ((q->properties.is_active == true) && (prev_active == false)) in update_queue()
368 else if ((q->properties.is_active == false) && (prev_active == true)) in update_queue()
897 if (q->properties.is_active) { in create_queue_cpsch()
1074 if (q->properties.is_active) in destroy_queue_cpsch()
Dkfd_mqd_manager_vi.c158 q->is_active = false; in __update_mqd()
163 q->is_active = true; in __update_mqd()
/drivers/spi/
Dspi-ath79.c66 static void ath79_spi_chipselect(struct spi_device *spi, int is_active) in ath79_spi_chipselect() argument
69 int cs_high = (spi->mode & SPI_CS_HIGH) ? is_active : !is_active; in ath79_spi_chipselect()
71 if (is_active) { in ath79_spi_chipselect()
Dspi-gpio.c216 static void spi_gpio_chipselect(struct spi_device *spi, int is_active) in spi_gpio_chipselect() argument
222 if (is_active) in spi_gpio_chipselect()
227 gpio_set_value_cansleep(cs, (spi->mode & SPI_CS_HIGH) ? is_active : !is_active); in spi_gpio_chipselect()
Dspi-oc-tiny.c72 static void tiny_spi_chipselect(struct spi_device *spi, int is_active) in tiny_spi_chipselect() argument
78 (spi->mode & SPI_CS_HIGH) ? is_active : !is_active); in tiny_spi_chipselect()
Dspi-xcomm.c60 struct spi_device *spi, int is_active) in spi_xcomm_chipselect() argument
65 if (is_active) in spi_xcomm_chipselect()
/drivers/watchdog/
Dxen_wdt.c39 static bool is_active, expect_release; variable
124 if (xchg(&is_active, true)) in xen_wdt_open()
143 is_active = err; in xen_wdt_release()
Dpcwd_pci.c117 static unsigned long is_active; variable
572 if (test_and_set_bit(0, &is_active)) { in pcipcwd_open()
596 clear_bit(0, &is_active); in pcipcwd_release()
Dpcwd_usb.c115 static unsigned long is_active; variable
483 if (test_and_set_bit(0, &is_active)) in usb_pcwd_open()
504 clear_bit(0, &is_active); in usb_pcwd_release()
/drivers/gpu/drm/via/
Dvia_dmablit.c332 done_transfer = blitq->is_active && in via_dmablit_handler()
354 blitq->is_active = 0; in via_dmablit_handler()
358 } else if (blitq->is_active && time_after_eq(jiffies, blitq->end)) { in via_dmablit_handler()
369 if (!blitq->is_active) { in via_dmablit_handler()
372 blitq->is_active = 1; in via_dmablit_handler()
560 blitq->is_active = 0; in via_init_dmablit()
Dvia_dmablit.h72 int is_active; member
/drivers/net/wireless/iwlwifi/dvm/
Dscan.c509 u8 is_active, u8 n_probes, in iwl_get_channels_for_scan() argument
538 if (!is_active || (chan->flags & IEEE80211_CHAN_NO_IR)) in iwl_get_channels_for_scan()
643 bool is_active = false; in iwlagn_request_scan() local
742 is_active = true; in iwlagn_request_scan()
804 scan->good_CRC_th = is_active ? IWL_GOOD_CRC_TH_DEFAULT : in iwlagn_request_scan()
807 scan->good_CRC_th = is_active ? IWL_GOOD_CRC_TH_DEFAULT : in iwlagn_request_scan()
891 is_active, n_probes, in iwlagn_request_scan()
/drivers/md/
Ddm-mpath.c36 unsigned is_active; /* Path status */ member
135 pgpath->is_active = 1; in alloc_pgpath()
271 if (!pgpath->is_active) in __pg_init_all_paths()
951 if (!pgpath->is_active) in fail_path()
957 pgpath->is_active = 0; in fail_path()
987 if (pgpath->is_active) in reinstate_path()
1001 pgpath->is_active = 1; in reinstate_path()
1225 if (pgpath->is_active && !blk_queue_dying(q)) in activate_path()
1435 p->is_active ? "A" : "F", in multipath_status()
1659 if (pgpath->is_active) { in multipath_busy()
/drivers/usb/gadget/udc/
Dnet2280.h291 static inline void net2280_led_active(struct net2280 *dev, int is_active) in net2280_led_active() argument
296 if (is_active) in net2280_led_active()
Dpxa25x_udc.c929 int is_active = udc->vbus && udc->pullup && !udc->suspended; in pullup() local
930 DMSG("%s\n", is_active ? "active" : "inactive"); in pullup()
931 if (is_active) { in pullup()
957 static int pxa25x_udc_vbus_session(struct usb_gadget *_gadget, int is_active) in pxa25x_udc_vbus_session() argument
962 udc->vbus = is_active; in pxa25x_udc_vbus_session()
963 DMSG("vbus %s\n", is_active ? "supplied" : "inactive"); in pxa25x_udc_vbus_session()
969 static int pxa25x_udc_pullup(struct usb_gadget *_gadget, int is_active) in pxa25x_udc_pullup() argument
979 udc->pullup = (is_active != 0); in pxa25x_udc_pullup()
/drivers/gpu/drm/msm/
Dmsm_gem.h71 static inline bool is_active(struct msm_gem_object *msm_obj) in is_active() function
/drivers/xen/events/
Devents_internal.h43 u8 is_active; /* Is event just being handled? */ member

123