Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/drivers/leds/trigger/
Dledtrig-cpu.c34 bool is_active; member
54 bool is_active = trig->is_active; in ledtrig_cpu() local
61 is_active = true; in ledtrig_cpu()
68 is_active = false; in ledtrig_cpu()
76 if (is_active != trig->is_active) { in ledtrig_cpu()
81 trig->is_active = is_active; in ledtrig_cpu()
82 atomic_add(is_active ? 1 : -1, &num_active_cpus); in ledtrig_cpu()
87 is_active ? LED_FULL : LED_OFF); in ledtrig_cpu()
/kernel/linux/linux-5.10/drivers/video/fbdev/via/
Dvia_i2c.c113 if (!via_i2c_par[adap].is_active) in viafb_i2c_readbyte()
137 if (!via_i2c_par[adap].is_active) in viafb_i2c_writebyte()
158 if (!via_i2c_par[adap].is_active) in viafb_i2c_readbytes()
232 i2c_stuff->is_active = 0; in viafb_i2c_probe()
243 i2c_stuff->is_active = 1; in viafb_i2c_probe()
259 if (i2c_stuff->is_active) in viafb_i2c_remove()
/kernel/linux/linux-5.10/drivers/usb/musb/
Dmusb_virthub.c41 musb->is_active = 1; in musb_host_finish_resume()
91 musb->is_active = otg->host->b_hnp_enable; in musb_port_suspend()
92 if (musb->is_active) in musb_port_suspend()
100 musb->is_active = otg->host->b_hnp_enable; in musb_port_suspend()
205 musb->is_active = 0; in musb_root_disconnect()
217 musb->is_active = 0; in musb_root_disconnect()
Dtusb6010.c475 if (!musb->is_active) { in musb_do_idle()
518 if (musb->is_active || ((musb->a_wait_bcon == 0) in tusb_musb_try_idle()
593 musb->is_active = 0; in tusb_musb_set_vbus()
597 musb->is_active = 0; in tusb_musb_set_vbus()
718 musb->is_active = 0; in tusb_otg_ints()
736 musb->is_active = 0; in tusb_otg_ints()
738 musb->is_active = 1; in tusb_otg_ints()
791 musb->is_active = 0; in tusb_otg_ints()
862 musb->is_active = 1; in tusb_musb_interrupt()
866 musb->is_active ? "" : "in", reg); in tusb_musb_interrupt()
Dmusb_core.c503 musb->is_active = 1; in musb_set_host()
550 musb->is_active = 0; in musb_set_peripheral()
607 musb->is_active = 0; in musb_otg_timer_func()
682 musb->is_active = 1; in musb_handle_intr_resume()
689 musb->is_active = 1; in musb_handle_intr_resume()
853 if (!musb->is_active) in musb_handle_intr_suspend()
858 musb->is_active = musb->g.b_hnp_enable; in musb_handle_intr_suspend()
859 if (musb->is_active) { in musb_handle_intr_suspend()
874 musb->is_active = musb->hcd->self.b_hnp_enable; in musb_handle_intr_suspend()
882 musb->is_active = 0; in musb_handle_intr_suspend()
[all …]
Dux500.c64 musb->is_active = 1; in ux500_musb_set_vbus()
70 musb->is_active = 0; in ux500_musb_set_vbus()
/kernel/linux/linux-5.10/drivers/net/bonding/
Dbond_3ad.c757 if (SLAVE_AD_INFO(slave)->aggregator.is_active) in __get_active_agg()
974 if (port->aggregator->is_active) in ad_mux_machine()
988 } else if (port->aggregator->is_active) { in ad_mux_machine()
1005 port->aggregator->is_active && in ad_mux_machine()
1037 if (port->aggregator->is_active) in ad_mux_machine()
1535 if (!port->aggregator->is_active) in ad_port_selection_logic()
1671 agg->is_active = 0; in ad_agg_selection_logic()
1692 active->is_active = 1; in ad_agg_selection_logic()
1699 active->is_active = 1; in ad_agg_selection_logic()
1709 best->is_individual, best->is_active); in ad_agg_selection_logic()
[all …]
/kernel/linux/linux-5.10/drivers/iio/magnetometer/
Dmag3110.c232 int is_active; in mag3110_change_config() local
236 is_active = mag3110_is_active(data); in mag3110_change_config()
237 if (is_active < 0) { in mag3110_change_config()
238 ret = is_active; in mag3110_change_config()
243 if (is_active > 0) { in mag3110_change_config()
261 if (is_active > 0) { in mag3110_change_config()
/kernel/linux/linux-5.10/drivers/spi/
Dspi-gpio.c199 static void spi_gpio_chipselect(struct spi_device *spi, int is_active) in spi_gpio_chipselect() argument
204 if (is_active) in spi_gpio_chipselect()
212 gpiod_set_value_cansleep(cs, (spi->mode & SPI_CS_HIGH) ? is_active : !is_active); in spi_gpio_chipselect()
Dspi-ath79.c70 static void ath79_spi_chipselect(struct spi_device *spi, int is_active) in ath79_spi_chipselect() argument
73 int cs_high = (spi->mode & SPI_CS_HIGH) ? is_active : !is_active; in ath79_spi_chipselect()
Dspi-xcomm.c59 struct spi_device *spi, int is_active) in spi_xcomm_chipselect() argument
64 if (is_active) in spi_xcomm_chipselect()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_device_queue_manager.c374 if (q->properties.is_active) { in create_queue_nocpsch()
393 if (q->properties.is_active) in create_queue_nocpsch()
519 if (q->properties.is_active) in destroy_queue_nocpsch_locked()
573 prev_active = q->properties.is_active; in update_queue()
610 if (q->properties.is_active && !prev_active) { in update_queue()
612 } else if (!q->properties.is_active && prev_active) { in update_queue()
615 if (q->properties.is_active) { in update_queue()
621 if (q->properties.is_active) { in update_queue()
630 else if (q->properties.is_active && in update_queue()
670 if (!q->properties.is_active) in evict_process_queues_nocpsch()
[all …]
Dkfd_mqd_manager_cik.c220 q->is_active = QUEUE_IS_ACTIVE(*q); in __update_mqd()
259 q->is_active = QUEUE_IS_ACTIVE(*q); in update_mqd_sdma()
337 q->is_active = QUEUE_IS_ACTIVE(*q); in update_mqd_hiq()
/kernel/linux/linux-5.10/drivers/gpu/drm/via/
Dvia_dmablit.c329 done_transfer = blitq->is_active && in via_dmablit_handler()
351 blitq->is_active = 0; in via_dmablit_handler()
355 } else if (blitq->is_active && time_after_eq(jiffies, blitq->end)) { in via_dmablit_handler()
366 if (!blitq->is_active) { in via_dmablit_handler()
369 blitq->is_active = 1; in via_dmablit_handler()
557 blitq->is_active = 0; in via_init_dmablit()
Dvia_dmablit.h72 int is_active; member
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/
Dscan.c495 u8 is_active, u8 n_probes, in iwl_get_channels_for_scan() argument
524 if (!is_active || (chan->flags & IEEE80211_CHAN_NO_IR)) in iwl_get_channels_for_scan()
628 bool is_active = false; in iwlagn_request_scan() local
727 is_active = true; in iwlagn_request_scan()
789 scan->good_CRC_th = is_active ? IWL_GOOD_CRC_TH_DEFAULT : in iwlagn_request_scan()
792 scan->good_CRC_th = is_active ? IWL_GOOD_CRC_TH_DEFAULT : in iwlagn_request_scan()
876 is_active, n_probes, in iwlagn_request_scan()
/kernel/linux/linux-5.10/kernel/
Dstop_machine.c194 bool is_active; in multi_cpu_stop() local
204 is_active = cpu == cpumask_first(cpumask); in multi_cpu_stop()
207 is_active = cpumask_test_cpu(cpu, cpumask); in multi_cpu_stop()
223 if (is_active) in multi_cpu_stop()
/kernel/linux/linux-5.10/tools/cgroup/
Diocost_monitor.py145 self.is_active = not list_empty(iocg.active_list.address_of_())
173 'is_active' : self.is_active,
260 if not filter_re and not iocg_stat.is_active:
/kernel/linux/linux-5.10/include/linux/
Dvia_i2c.h15 u16 is_active; /* Being used as I2C? */ member
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dp/
Ddp_parser.h56 bool is_active; member
/kernel/linux/linux-5.10/drivers/watchdog/
Dpcwd_pci.c113 static unsigned long is_active; variable
568 if (test_and_set_bit(0, &is_active)) { in pcipcwd_open()
592 clear_bit(0, &is_active); in pcipcwd_release()
Dpcwd_usb.c110 static unsigned long is_active; variable
478 if (test_and_set_bit(0, &is_active)) in usb_pcwd_open()
499 clear_bit(0, &is_active); in usb_pcwd_release()
/kernel/linux/linux-5.10/drivers/md/
Ddm-mpath.c47 bool is_active:1; /* Path status */ member
156 pgpath->is_active = true; in alloc_pgpath()
329 if (!pgpath->is_active) in __pg_init_all_paths()
1331 if (!pgpath->is_active) in fail_path()
1339 pgpath->is_active = false; in fail_path()
1372 if (pgpath->is_active) in reinstate_path()
1383 pgpath->is_active = true; in reinstate_path()
1406 if (pgpath->is_active) in reinstate_path()
1620 if (pgpath->is_active && !blk_queue_dying(q)) in activate_or_offline_path()
1874 p->is_active ? "A" : "F", in multipath_status()
[all …]
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
Dnet2280.h286 static inline void net2280_led_active(struct net2280 *dev, int is_active) in net2280_led_active() argument
291 if (is_active) in net2280_led_active()
/kernel/linux/linux-5.10/drivers/usb/mtu3/
Dmtu3_gadget.c228 __func__, mtu->active_ep, mtu->is_active); in mtu3_gadget_ep_disable()
476 is_on ? "on" : "off", mtu->is_active ? "" : "in"); in mtu3_gadget_pullup()
482 if (!mtu->is_active) { in mtu3_gadget_pullup()
678 mtu->is_active = 0; in mtu3_gadget_setup()

1234