Home
last modified time | relevance | path

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

1234

/linux/drivers/leds/trigger/
H A 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()
/linux/drivers/net/netdevsim/
H A Dpsample.c35 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/video/fbdev/via/
H A 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()
231 i2c_stuff->is_active = 0; in viafb_i2c_probe()
242 i2c_stuff->is_active = 1; in viafb_i2c_probe()
258 if (i2c_stuff->is_active) in viafb_i2c_remove()
/linux/drivers/usb/musb/
H A Dmusb_virthub.c41 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()
/linux/drivers/net/bonding/
H A Dbond_3ad.c832 if (SLAVE_AD_INFO(slave)->aggregator.is_active) in __get_active_agg()
1050 if (port->aggregator->is_active) { in ad_mux_machine()
1068 } else if (port->aggregator->is_active) { in ad_mux_machine()
1079 if (port->aggregator->is_active && in ad_mux_machine()
1098 if (port->aggregator->is_active && in ad_mux_machine()
1119 port->aggregator->is_active && in ad_mux_machine()
1151 if (port->aggregator->is_active) in ad_mux_machine()
1665 if (!port->aggregator->is_active) in ad_port_selection_logic()
1801 agg->is_active = 0; in ad_agg_selection_logic()
1822 active->is_active = 1; in ad_agg_selection_logic()
[all …]
/linux/drivers/iio/magnetometer/
H A 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()
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_mqd_manager_cik.c206 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()
H A Dkfd_mqd_manager_vi.c237 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()
H A Dkfd_mqd_manager_v10.c224 q->is_active = QUEUE_IS_ACTIVE(*q); in update_mqd()
305 qp->is_active = 0; in restore_mqd()
385 q->is_active = QUEUE_IS_ACTIVE(*q); in update_mqd_sdma()
422 qp->is_active = 0; in restore_mqd_sdma()
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_lag.c270 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/misc/mei/
H A Dgsc-me.c90 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()
H A Dhw-me.h69 bool is_active; member
/linux/drivers/spi/
H A Dspi-gpio.c222 static void spi_gpio_chipselect(struct spi_device *spi, int is_active) in spi_gpio_chipselect() argument
227 if (is_active) in spi_gpio_chipselect()
235 gpiod_set_value_cansleep(cs, (spi->mode & SPI_CS_HIGH) ? is_active : !is_active); in spi_gpio_chipselect()
H A Dspi-xcomm.c99 struct spi_device *spi, int is_active) in spi_xcomm_chipselect() argument
104 if (is_active) in spi_xcomm_chipselect()
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dscan.c491 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 Dfxls8962af-core.c259 int is_active; in fxls8962af_get_out() local
262 is_active = fxls8962af_is_active(data); in fxls8962af_get_out()
263 if (!is_active) { in fxls8962af_get_out()
272 if (!is_active) in fxls8962af_get_out()
325 int is_active; in fxls8962af_update_config() local
327 is_active = fxls8962af_is_active(data); in fxls8962af_update_config()
328 if (is_active) { in fxls8962af_update_config()
338 if (is_active) { in fxls8962af_update_config()
/linux/kernel/
H A Dstop_machine.c210 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/tools/cgroup/
H A Diocost_monitor.py148 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/drivers/md/
H A Ddm-mpath.c50 bool is_active:1; /* Path status */ member
163 pgpath->is_active = true; in alloc_pgpath()
338 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()
1379 if (pgpath->is_active) in reinstate_path()
1390 pgpath->is_active = true; in reinstate_path()
1413 if (pgpath->is_active) in reinstate_path()
1626 if (pgpath->is_active && !blk_queue_dying(q)) in activate_or_offline_path()
1881 p->is_active ? "A" : "F", in multipath_status()
[all …]
/linux/include/linux/
H A Dvia_i2c.h15 u16 is_active; /* Being used as I2C? */ member
/linux/drivers/firewire/
H A Dphy-packet-definitions.h135 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/tools/sched_ext/
H A Dscx_flatcg.bpf.c214 bool is_active; in cgrp_refresh_hweight() local
238 is_active = cgc->nr_active; in cgrp_refresh_hweight()
239 if (is_active) { in cgrp_refresh_hweight()
247 if (!is_active) { in cgrp_refresh_hweight()
/linux/drivers/watchdog/
H A 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()
H A Dpcwd_usb.c110 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/drivers/usb/gadget/udc/
H A Dnet2280.h287 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()

1234