| /linux/drivers/leds/trigger/ |
| H 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/net/netdevsim/ |
| H 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/ |
| H 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()
|
| H 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()
|
| H 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()
|
| /linux/drivers/net/bonding/ |
| H A D | bond_3ad.c | 878 if (SLAVE_AD_INFO(slave)->aggregator.is_active) in __get_active_agg() 1106 if (aggregator->is_active) { in ad_mux_machine() 1124 } else if (aggregator->is_active) { in ad_mux_machine() 1135 if (aggregator->is_active && in ad_mux_machine() 1154 if (aggregator->is_active && in ad_mux_machine() 1175 aggregator->is_active && in ad_mux_machine() 1207 if (aggregator->is_active) in ad_mux_machine() 1729 if (!aggregator->is_active) in ad_port_selection_logic() 1880 agg->is_active = 0; in ad_agg_selection_logic() 1901 active->is_active = 1; in ad_agg_selection_logic() [all …]
|
| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H 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()
|
| /linux/drivers/spi/ |
| H A D | spi-gpio.c | 193 static void spi_gpio_chipselect(struct spi_device *spi, int is_active) in spi_gpio_chipselect() argument 198 if (is_active) in spi_gpio_chipselect() 206 gpiod_set_value_cansleep(cs, (spi->mode & SPI_CS_HIGH) ? is_active : !is_active); in spi_gpio_chipselect()
|
| /linux/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_device_queue_manager.c | 371 if (q->properties.is_active) { in remove_all_kfd_queues_mes() 398 if (!q->properties.is_active) in add_all_kfd_queues_mes() 835 if (q->properties.is_active) { in create_queue_nocpsch() 854 if (q->properties.is_active) in create_queue_nocpsch() 1047 if (q->properties.is_active) in destroy_queue_nocpsch() 1111 prev_active = q->properties.is_active; in update_queue() 1160 if (q->properties.is_active && !prev_active) { in update_queue() 1162 } else if (!q->properties.is_active && prev_active) { in update_queue() 1165 if (q->properties.is_active) { in update_queue() 1171 if (q->properties.is_active) { in update_queue() [all...] |
| H A D | kfd_mqd_manager_vi.c | 251 q->is_active = QUEUE_IS_ACTIVE(*q); in __update_mqd() 331 qp->is_active = 0; in restore_mqd() 397 q->is_active = QUEUE_IS_ACTIVE(*q); in update_mqd_sdma() 433 qp->is_active = 0; in restore_mqd_sdma()
|
| H A D | kfd_mqd_manager_v12.c | 244 q->is_active = QUEUE_IS_ACTIVE(*q); in update_mqd() 362 q->is_active = QUEUE_IS_ACTIVE(*q); in update_mqd_sdma() 411 qp->is_active = 0; in restore_mqd() 437 qp->is_active = 0; in restore_mqd_sdma()
|
| H A D | kfd_mqd_manager_v10.c | 238 q->is_active = QUEUE_IS_ACTIVE(*q); in update_mqd() 319 qp->is_active = 0; in restore_mqd() 399 q->is_active = QUEUE_IS_ACTIVE(*q); in update_mqd_sdma() 436 qp->is_active = 0; in restore_mqd_sdma()
|
| H A D | kfd_mqd_manager_v11.c | 275 q->is_active = QUEUE_IS_ACTIVE(*q); in update_mqd() 352 qp->is_active = 0; in restore_mqd() 389 qp->is_active = 0; in restore_mqd_sdma() 481 q->is_active = QUEUE_IS_ACTIVE(*q); in update_mqd_sdma()
|
| H A D | kfd_mqd_manager_v12_1.c | 321 q->is_active = QUEUE_IS_ACTIVE(*q); in update_mqd() 437 q->is_active = QUEUE_IS_ACTIVE(*q); in update_mqd_sdma() 681 qp->is_active = 0; in restore_mqd_v12_1() 707 qp->is_active = 0; in restore_mqd_sdma_v12_1()
|
| /linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H 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()
|
| /linux/drivers/iio/accel/ |
| H A D | fxls8962af-core.c | 260 int is_active; in fxls8962af_get_out() local 263 is_active = fxls8962af_is_active(data); in fxls8962af_get_out() 264 if (!is_active) { in fxls8962af_get_out() 273 if (!is_active) in fxls8962af_get_out() 326 int is_active; in fxls8962af_update_config() local 328 is_active = fxls8962af_is_active(data); in fxls8962af_update_config() 329 if (is_active) { in fxls8962af_update_config() 339 if (is_active) { in fxls8962af_update_config()
|
| /linux/tools/cgroup/ |
| H A D | iocost_monitor.py | 148 self.is_active = not list_empty(iocg.active_list.address_of_()) 178 'is_active' : self.is_active, 267 if not filter_re and not iocg_stat.is_active:
|
| /linux/include/linux/ |
| H A D | via_i2c.h | 15 u16 is_active; /* Being used as I2C? */ member
|
| /linux/drivers/leds/ |
| H A D | leds-st1202.c | 45 bool is_active; member 296 led->is_active = true; in st1202_dt_init() 389 if (!led->is_active) in st1202_probe()
|
| /linux/drivers/firewire/ |
| H 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()
|
| /linux/drivers/watchdog/ |
| H 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()
|
| H 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()
|
| /linux/tools/sched_ext/ |
| H A D | scx_flatcg.bpf.c | 209 bool is_active; in cgrp_refresh_hweight() local 233 is_active = cgc->nr_active; in cgrp_refresh_hweight() 234 if (is_active) { in cgrp_refresh_hweight() 242 if (!is_active) { in cgrp_refresh_hweight()
|
| /linux/drivers/usb/gadget/udc/ |
| H 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()
|
| /linux/drivers/usb/mtu3/ |
| H A D | mtu3_gadget.c | 228 __func__, mtu->active_ep, mtu->is_active); in mtu3_gadget_ep_disable() 495 str_on_off(is_on), mtu->is_active ? "" : "in"); in mtu3_gadget_pullup() 503 if (!mtu->is_active) { in mtu3_gadget_pullup() 716 mtu->is_active = 0; in mtu3_gadget_setup()
|