| /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()
|
| /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()
|
| /drivers/video/fbdev/via/ |
| A D | via_i2c.c | 114 if (!via_i2c_par[adap].is_active) in viafb_i2c_readbyte() 138 if (!via_i2c_par[adap].is_active) in viafb_i2c_writebyte() 159 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()
|
| /drivers/usb/musb/ |
| A D | musb_virthub.c | 41 musb->is_active = 1; in musb_host_finish_resume() 90 musb->is_active = musb->xceiv && in musb_port_suspend() 92 if (musb->is_active) in musb_port_suspend() 100 musb->is_active = musb->xceiv && in musb_port_suspend() 204 musb->is_active = 0; in musb_root_disconnect() 216 musb->is_active = 0; in musb_root_disconnect()
|
| A D | tusb6010.c | 481 if (!musb->is_active) { in musb_do_idle() 524 if (musb->is_active || ((musb->a_wait_bcon == 0) in tusb_musb_try_idle() 599 musb->is_active = 0; in tusb_musb_set_vbus() 603 musb->is_active = 0; in tusb_musb_set_vbus() 724 musb->is_active = 0; in tusb_otg_ints() 742 musb->is_active = 0; in tusb_otg_ints() 744 musb->is_active = 1; in tusb_otg_ints() 797 musb->is_active = 0; in tusb_otg_ints() 868 musb->is_active = 1; in tusb_musb_interrupt() 872 musb->is_active ? "" : "in", reg); in tusb_musb_interrupt()
|
| A D | mpfs.c | 64 musb->is_active = 1; in mpfs_musb_set_vbus() 70 musb->is_active = 0; in mpfs_musb_set_vbus() 165 if (musb->is_active || (musb->a_wait_bcon == 0 && in mpfs_musb_try_idle()
|
| A D | musb_core.c | 505 musb->is_active = 1; in musb_set_host() 552 musb->is_active = 0; in musb_set_peripheral() 609 musb->is_active = 0; in musb_otg_timer_func() 681 musb->is_active = 1; in musb_handle_intr_resume() 688 musb->is_active = 1; in musb_handle_intr_resume() 851 if (!musb->is_active) in musb_handle_intr_suspend() 880 musb->is_active = 0; in musb_handle_intr_suspend() 889 musb->is_active = 1; in musb_handle_intr_connect() 1205 musb->is_active = 0; in musb_start() 1217 musb->is_active = 1; in musb_start() [all …]
|
| /drivers/net/bonding/ |
| A D | bond_3ad.c | 1162 if (port->aggregator->is_active) in ad_mux_machine() 1677 if (!port->aggregator->is_active) in ad_port_selection_logic() 1813 agg->is_active = 0; in ad_agg_selection_logic() 1834 active->is_active = 1; in ad_agg_selection_logic() 1841 active->is_active = 1; in ad_agg_selection_logic() 1871 best->is_active = 1; in ad_agg_selection_logic() 1931 aggregator->is_active = 0; in ad_clear_agg() 2029 if (port->aggregator->is_active) { in ad_enable_collecting() 2068 if (port->aggregator->is_active) { in ad_enable_collecting_distributing() 2230 aggregator->is_active = 0; in bond_3ad_bind_slave() [all …]
|
| /drivers/iio/magnetometer/ |
| A D | mag3110.c | 228 int is_active; in mag3110_change_config() local 232 is_active = mag3110_is_active(data); in mag3110_change_config() 233 if (is_active < 0) in mag3110_change_config() 234 return is_active; in mag3110_change_config() 237 if (is_active > 0) { in mag3110_change_config() 255 if (is_active > 0) { in mag3110_change_config()
|
| /drivers/gpu/drm/amd/amdkfd/ |
| A D | kfd_device_queue_manager.c | 314 if (q->properties.is_active) { in remove_all_kfd_queues_mes() 341 if (!q->properties.is_active) in add_all_kfd_queues_mes() 692 if (q->properties.is_active) { in create_queue_nocpsch() 711 if (q->properties.is_active) in create_queue_nocpsch() 905 if (q->properties.is_active) in destroy_queue_nocpsch_locked() 1083 if (q->properties.is_active) { in suspend_single_queue() 1160 if (!q->properties.is_active) in evict_process_queues_nocpsch() 1217 if (!q->properties.is_active) in evict_process_queues_cpsch() 2027 if (q->properties.is_active) { in create_queue_cpsch() 2054 if (q->properties.is_active) in create_queue_cpsch() [all …]
|
| A D | kfd_mqd_manager_cik.c | 206 q->is_active = QUEUE_IS_ACTIVE(*q); in __update_mqd() 248 q->is_active = QUEUE_IS_ACTIVE(*q); in update_mqd_sdma() 283 qp->is_active = 0; in restore_mqd() 319 qp->is_active = 0; in restore_mqd_sdma() 360 q->is_active = QUEUE_IS_ACTIVE(*q); in update_mqd_hiq()
|
| A D | kfd_mqd_manager_vi.c | 237 q->is_active = QUEUE_IS_ACTIVE(*q); in __update_mqd() 316 qp->is_active = 0; in restore_mqd() 382 q->is_active = QUEUE_IS_ACTIVE(*q); in update_mqd_sdma() 418 qp->is_active = 0; in restore_mqd_sdma()
|
| A D | kfd_mqd_manager_v10.c | 226 q->is_active = QUEUE_IS_ACTIVE(*q); in update_mqd() 307 qp->is_active = 0; in restore_mqd() 387 q->is_active = QUEUE_IS_ACTIVE(*q); in update_mqd_sdma() 424 qp->is_active = 0; in restore_mqd_sdma()
|
| /drivers/net/ethernet/microchip/lan966x/ |
| A D | lan966x_lag.c | 270 bool is_active; in lan966x_lag_port_changelowerstate() local 275 is_active = lag->link_up && lag->tx_enabled; in lan966x_lag_port_changelowerstate() 276 if (port->lag_tx_active == is_active) in lan966x_lag_port_changelowerstate() 279 port->lag_tx_active = is_active; in lan966x_lag_port_changelowerstate()
|
| /drivers/misc/mei/ |
| A D | gsc-me.c | 90 hw->is_active = true; /* start in active mode for initialization */ in mei_gsc_probe() 224 hw->is_active = false; in mei_gsc_pm_runtime_suspend() 247 hw->is_active = true; in mei_gsc_pm_runtime_resume()
|
| /drivers/spi/ |
| A D | spi-ath79.c | 70 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()
|
| A D | spi-gpio.c | 194 static void spi_gpio_chipselect(struct spi_device *spi, int is_active) in spi_gpio_chipselect() argument 199 if (is_active) in spi_gpio_chipselect() 207 gpiod_set_value_cansleep(cs, (spi->mode & SPI_CS_HIGH) ? is_active : !is_active); in spi_gpio_chipselect()
|
| A D | spi-xcomm.c | 99 struct spi_device *spi, int is_active) in spi_xcomm_chipselect() argument 104 if (is_active) in spi_xcomm_chipselect()
|
| /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 729 is_active = true; in iwlagn_request_scan() 791 scan->good_CRC_th = is_active ? IWL_GOOD_CRC_TH_DEFAULT : in iwlagn_request_scan() 794 scan->good_CRC_th = is_active ? IWL_GOOD_CRC_TH_DEFAULT : in iwlagn_request_scan() 878 is_active, n_probes, in iwlagn_request_scan()
|
| /drivers/iio/accel/ |
| A D | fxls8962af-core.c | 262 int is_active; in fxls8962af_get_out() local 265 is_active = fxls8962af_is_active(data); in fxls8962af_get_out() 266 if (!is_active) { in fxls8962af_get_out() 275 if (!is_active) in fxls8962af_get_out() 328 int is_active; in fxls8962af_update_config() local 330 is_active = fxls8962af_is_active(data); in fxls8962af_update_config() 331 if (is_active) { in fxls8962af_update_config() 341 if (is_active) { in fxls8962af_update_config()
|
| /drivers/md/ |
| A D | dm-mpath.c | 50 bool is_active:1; /* Path status */ member 168 pgpath->is_active = true; in alloc_pgpath() 344 if (!pgpath->is_active) in __pg_init_all_paths() 1338 if (!pgpath->is_active) in fail_path() 1346 pgpath->is_active = false; in fail_path() 1378 if (pgpath->is_active) in reinstate_path() 1389 pgpath->is_active = true; in reinstate_path() 1412 if (pgpath->is_active) in reinstate_path() 1889 p->is_active ? "A" : "F", in multipath_status() 2114 if (!pgpath->is_active) in probe_active_paths() [all …]
|
| /drivers/leds/ |
| A D | leds-st1202.c | 45 bool is_active; member 268 led->is_active = true; in st1202_dt_init() 366 if (!led->is_active) in st1202_probe()
|
| /drivers/firewire/ |
| A D | phy-packet-definitions.h | 135 static inline void phy_packet_self_id_zero_set_link_active(u32 *quadlet, bool is_active) in phy_packet_self_id_zero_set_link_active() argument 138 *quadlet |= (is_active << SELF_ID_ZERO_LINK_ACTIVE_SHIFT) & SELF_ID_ZERO_LINK_ACTIVE_MASK; in phy_packet_self_id_zero_set_link_active()
|
| /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 480 if (test_and_set_bit(0, &is_active)) in usb_pcwd_open() 501 clear_bit(0, &is_active); in usb_pcwd_release()
|