/linux/drivers/leds/trigger/ |
A D | ledtrig-cpu.c | 34 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()
|
/linux/drivers/video/fbdev/via/ |
A D | via_i2c.c | 113 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()
|
/linux/drivers/net/netdevsim/ |
A D | psample.c | 35 bool is_active; member 139 if (psample->is_active) in nsim_dev_psample_enable() 151 psample->is_active = true; in nsim_dev_psample_enable() 160 if (!psample->is_active) in nsim_dev_psample_disable() 163 psample->is_active = false; in nsim_dev_psample_disable() 260 if (nsim_dev->psample->is_active) { in nsim_dev_psample_exit()
|
/linux/drivers/usb/musb/ |
A D | musb_virthub.c | 41 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()
|
A D | tusb6010.c | 476 if (!musb->is_active) { in musb_do_idle() 519 if (musb->is_active || ((musb->a_wait_bcon == 0) in tusb_musb_try_idle() 594 musb->is_active = 0; in tusb_musb_set_vbus() 598 musb->is_active = 0; in tusb_musb_set_vbus() 719 musb->is_active = 0; in tusb_otg_ints() 737 musb->is_active = 0; in tusb_otg_ints() 739 musb->is_active = 1; in tusb_otg_ints() 792 musb->is_active = 0; in tusb_otg_ints() 863 musb->is_active = 1; in tusb_musb_interrupt() 867 musb->is_active ? "" : "in", reg); in tusb_musb_interrupt()
|
A D | musb_core.c | 504 musb->is_active = 1; in musb_set_host() 551 musb->is_active = 0; in musb_set_peripheral() 608 musb->is_active = 0; in musb_otg_timer_func() 683 musb->is_active = 1; in musb_handle_intr_resume() 690 musb->is_active = 1; in musb_handle_intr_resume() 854 if (!musb->is_active) in musb_handle_intr_suspend() 883 musb->is_active = 0; in musb_handle_intr_suspend() 892 musb->is_active = 1; in musb_handle_intr_connect() 1209 musb->is_active = 0; in musb_start() 1221 musb->is_active = 1; in musb_start() [all …]
|
/linux/drivers/net/bonding/ |
A D | bond_3ad.c | 991 if (port->aggregator->is_active) in ad_mux_machine() 1054 if (port->aggregator->is_active) in ad_mux_machine() 1553 if (!port->aggregator->is_active) in ad_port_selection_logic() 1689 agg->is_active = 0; in ad_agg_selection_logic() 1710 active->is_active = 1; in ad_agg_selection_logic() 1717 active->is_active = 1; in ad_agg_selection_logic() 1747 best->is_active = 1; in ad_agg_selection_logic() 1806 aggregator->is_active = 0; in ad_clear_agg() 1906 if (port->aggregator->is_active) { in ad_enable_collecting_distributing() 2080 aggregator->is_active = 0; in bond_3ad_bind_slave() [all …]
|
/linux/drivers/iio/magnetometer/ |
A D | mag3110.c | 232 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()
|
/linux/drivers/gpu/drm/amd/amdkfd/ |
A D | kfd_device_queue_manager.c | 373 if (q->properties.is_active) { in create_queue_nocpsch() 392 if (q->properties.is_active) in create_queue_nocpsch() 518 if (q->properties.is_active) { in destroy_queue_nocpsch_locked() 623 if (q->properties.is_active) { in update_queue() 629 if (q->properties.is_active) { in update_queue() 678 if (!q->properties.is_active) in evict_process_queues_nocpsch() 730 if (!q->properties.is_active) in evict_process_queues_cpsch() 804 q->properties.is_active = true; in restore_process_queues_nocpsch() 1349 if (q->properties.is_active) { in create_queue_cpsch() 1551 if (q->properties.is_active) { in destroy_queue_cpsch() [all …]
|
A D | kfd_mqd_manager_cik.c | 222 q->is_active = QUEUE_IS_ACTIVE(*q); in __update_mqd() 271 q->is_active = QUEUE_IS_ACTIVE(*q); in update_mqd_sdma() 350 q->is_active = QUEUE_IS_ACTIVE(*q); in update_mqd_hiq()
|
/linux/drivers/spi/ |
A D | spi-gpio.c | 199 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()
|
A D | spi-ath79.c | 69 static void ath79_spi_chipselect(struct spi_device *spi, int is_active) in ath79_spi_chipselect() argument 72 int cs_high = (spi->mode & SPI_CS_HIGH) ? is_active : !is_active; in ath79_spi_chipselect()
|
A D | spi-xcomm.c | 59 struct spi_device *spi, int is_active) in spi_xcomm_chipselect() argument 64 if (is_active) in spi_xcomm_chipselect()
|
/linux/drivers/gpu/drm/via/ |
A D | via_dmablit.c | 329 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() 559 blitq->is_active = 0; in via_init_dmablit()
|
A D | via_dmablit.h | 72 int is_active; member
|
/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
A D | scan.c | 491 u8 is_active, u8 n_probes, in iwl_get_channels_for_scan() argument 520 if (!is_active || (chan->flags & IEEE80211_CHAN_NO_IR)) in iwl_get_channels_for_scan() 624 bool is_active = false; in iwlagn_request_scan() local 723 is_active = true; in iwlagn_request_scan() 785 scan->good_CRC_th = is_active ? IWL_GOOD_CRC_TH_DEFAULT : in iwlagn_request_scan() 788 scan->good_CRC_th = is_active ? IWL_GOOD_CRC_TH_DEFAULT : in iwlagn_request_scan() 872 is_active, n_probes, in iwlagn_request_scan()
|
/linux/kernel/ |
A D | stop_machine.c | 210 bool is_active; in multi_cpu_stop() local 220 is_active = cpu == cpumask_first(cpumask); in multi_cpu_stop() 223 is_active = cpumask_test_cpu(cpu, cpumask); in multi_cpu_stop() 239 if (is_active) in multi_cpu_stop()
|
/linux/drivers/iio/accel/ |
A D | fxls8962af-core.c | 249 int is_active; in fxls8962af_get_out() local 252 is_active = fxls8962af_is_active(data); in fxls8962af_get_out() 253 if (!is_active) { in fxls8962af_get_out() 262 if (!is_active) in fxls8962af_get_out() 315 int is_active; in fxls8962af_update_config() local 317 is_active = fxls8962af_is_active(data); in fxls8962af_update_config() 318 if (is_active) { in fxls8962af_update_config() 328 if (is_active) { in fxls8962af_update_config()
|
/linux/tools/cgroup/ |
A D | iocost_monitor.py | 145 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:
|
/linux/drivers/md/ |
A D | dm-mpath.c | 47 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 …]
|
/linux/include/linux/ |
A D | via_i2c.h | 15 u16 is_active; /* Being used as I2C? */ member
|
/linux/drivers/watchdog/ |
A D | pcwd_pci.c | 113 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()
|
A D | pcwd_usb.c | 110 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()
|
/linux/drivers/gpu/drm/msm/dp/ |
A D | dp_parser.h | 63 bool is_active; member
|
/linux/drivers/usb/gadget/udc/ |
A D | net2280.h | 287 static inline void net2280_led_active(struct net2280 *dev, int is_active) in net2280_led_active() argument 292 if (is_active) in net2280_led_active()
|