/linux-master/drivers/pnp/pnpacpi/ |
H A D | core.c | 241 dev->active = device->status.enabled; 257 if (dev->active) 272 if (!dev->active)
|
/linux-master/sound/soc/dwc/ |
H A D | dwc-pcm.c | 98 bool active, period_elapsed; local 105 active = substream && snd_pcm_running(substream); 106 if (active) {
|
/linux-master/drivers/dma/ |
H A D | mpc512x_dma.c | 169 u32 active:1; /* Channel active */ member in struct:mpc_dma_tcd 198 struct list_head active; member in struct:mpc_dma_chan 251 * b) mchan->active list is empty, 269 * within the same 'active' list. 272 if (list_empty(&mchan->active)) 273 list_move_tail(&mdesc->node, &mchan->active); 276 list_move_tail(&mdesc->node, &mchan->active); 281 list_for_each_entry(mdesc, &mchan->active, node) { 336 list_for_each_entry(mdesc, &mchan->active, nod [all...] |
H A D | ep93xx_dma.c | 143 * @active: flattened chain of descriptors currently being processed 153 * will have slightly different scheme here: @active points to a head of 157 * descriptor in the chain. When a descriptor is moved to the @active queue, 178 struct list_head active; member in struct:ep93xx_dma_chan 193 * @hw_submit: pushes active descriptor(s) to the hardware 230 * ep93xx_dma_set_active - set new active descriptor chain 232 * @desc: head of the new active descriptor chain 234 * Sets @desc to be the head of the new active descriptor chain. This is the 235 * chain which is processed next. The active list must be empty before calling 243 BUG_ON(!list_empty(&edmac->active)); [all...] |
/linux-master/drivers/md/dm-vdo/ |
H A D | dump.c | 58 u32 active, maximum; local 62 active = get_data_vio_pool_active_requests(vdo->data_vio_pool); 67 active, maximum, outstanding,
|
/linux-master/drivers/pci/switch/ |
H A D | switchtec.c | 699 info->active |= SWITCHTEC_IOCTL_PART_RUNNING; 705 info->active |= SWITCHTEC_IOCTL_PART_RUNNING; 711 info->active |= SWITCHTEC_IOCTL_PART_RUNNING; 717 info->active |= SWITCHTEC_IOCTL_PART_RUNNING; 751 info->active |= SWITCHTEC_IOCTL_PART_ACTIVE; 773 info->active |= SWITCHTEC_IOCTL_PART_ACTIVE; 775 info->active |= SWITCHTEC_IOCTL_PART_RUNNING; 780 info->active |= SWITCHTEC_IOCTL_PART_ACTIVE; 782 info->active |= SWITCHTEC_IOCTL_PART_RUNNING; 787 info->active | [all...] |
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_overlay.c | 192 bool active; member in struct:intel_overlay 260 drm_WARN_ON(&dev_priv->drm, overlay->active); 272 overlay->active = true; 326 drm_WARN_ON(&dev_priv->drm, !overlay->active); 385 overlay->active = false; 391 static void intel_overlay_last_flip_retire(struct i915_active *active) argument 394 container_of(active, typeof(*overlay), last_flip); 406 drm_WARN_ON(&overlay->i915->drm, !overlay->active); 500 overlay->active = false; 817 if (!overlay->active) { [all...] |
/linux-master/drivers/media/platform/atmel/ |
H A D | atmel-isi.c | 117 struct frame_buffer *active; member in struct:atmel_isi 176 if (isi->active) { 177 struct vb2_v4l2_buffer *vbuf = &isi->active->vb; 178 struct frame_buffer *buf = isi->active; 188 isi->active = NULL; 191 isi->active = list_entry(isi->video_buffer_list.next, 195 (u32)isi->active->p_dma_desc->fbd_phys); 201 (u32)isi->active->p_dma_desc->fbd_phys); 287 isi->active = NULL; 411 if (!isi->active) { [all...] |
/linux-master/fs/kernfs/ |
H A D | dir.c | 36 return atomic_read(&kn->active) >= 0; 425 * kernfs_get_active - get an active reference to kernfs_node 426 * @kn: kernfs_node to get an active reference to 428 * Get an active reference of @kn. This function is noop if @kn 439 if (!atomic_inc_unless_negative(&kn->active)) 448 * kernfs_put_active - put an active reference to kernfs_node 449 * @kn: kernfs_node to put an active reference to 451 * Put an active reference to @kn. This function is noop if @kn 463 v = atomic_dec_return(&kn->active); 493 if (atomic_read(&kn->active) [all...] |
/linux-master/drivers/pnp/ |
H A D | interface.c | 268 pnp_printf(buffer, "state = %s\n", dev->active ? "active" : "disabled"); 360 if (dev->active) 366 if (dev->active) 373 if (dev->active) 390 if (dev->active)
|
/linux-master/drivers/gpu/drm/i915/gvt/ |
H A D | sched_policy.c | 56 bool active; member in struct:vgpu_sched_data 218 /* no active vgpu or has already had a target */ 360 vgpu_data->active = true; 368 vgpu_data->active = false; 429 if (!vgpu_data->active) { 452 if (!vgpu_data->active)
|
/linux-master/arch/um/kernel/ |
H A D | irq.c | 36 bool active; member in struct:irq_reg 63 * irq->active guards against reentry 68 if (irq->active) { 69 irq->active = false; 76 irq->active = true; 286 irq_entry->reg[type].active = true;
|
/linux-master/arch/arc/kernel/ |
H A D | entry-compact.S | 31 * active (AE bit enabled). This causes a double fault for a subseq valid 165 ; L2 interrupting L1 implies both L2 and L1 active 167 ; need to check STATUS32_L2 to determine if L1 was active 170 bbit0 r9, STATUS_A1_BIT, 1f ; L1 not active when L2 IRQ, so normal 350 bbit0 r9, STATUS_A1_BIT, 149f ; L1 not active when L2 IRQ, so normal 356 ; paranoid check, given A1 was active when A2 happened, preempt count
|
/linux-master/kernel/ |
H A D | acct.c | 107 int active; member in struct:bsd_acct_struct 131 if (acct->active) { 135 acct->active = 0; 142 acct->active = 1; 149 return acct->active;
|
/linux-master/sound/soc/ti/ |
H A D | omap-dmic.c | 45 bool active; member in struct:omap_dmic 99 dmic->active = 1; 118 dmic->active = 0; 304 if (dmic->active && dmic_is_enabled(dmic)) { 305 dev_err(dmic->dev, "can't re-parent when DMIC active\n"); 338 if (dmic->active) {
|
/linux-master/net/tipc/ |
H A D | group.c | 84 struct list_head active; member in struct:tipc_group 133 /* Reserve blocks for active and idle members */ 177 INIT_LIST_HEAD(&grp->active); 591 struct list_head *active = &grp->active; local 605 /* First, decide if member can go active */ 608 list_add_tail(&m->list, active); 619 /* Reclaim from oldest active member, if possible */ 620 if (!list_empty(active)) { 621 rm = list_first_entry(active, struc [all...] |
/linux-master/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_dl.c | 208 * @lock: protects the free, active, queued, and pending lists 210 * @active: list currently being processed (loaded) by hardware 223 struct vsp1_dl_list *active; member in struct:vsp1_dl_manager 895 * will become active when the hardware starts processing it. 914 dlm->active = dl; 964 * became active had been queued with the internal notification flag. 966 * The VSP1_DL_FRAME_END_WRITEBACK flag indicates that the previously active 982 __vsp1_dl_list_put(dlm->active); 983 dlm->active = NULL; 1006 * If the active displa [all...] |
/linux-master/drivers/gpu/drm/rockchip/ |
H A D | cdn-dp-core.c | 362 DRM_DEV_ERROR(dp->dev, "active ucpu failed: %d\n", ret); 471 if (!dp->active) 487 dp->active = false; 510 if (dp->active) 536 dp->active = true; 671 if (dp->active) { 794 if (!dp->active) { 827 if (!dp->active) 844 if (!dp->active) { 971 } else if (!dp->active) { [all...] |
/linux-master/drivers/tty/ |
H A D | sysrq.c | 278 .help_msg = "show-backtrace-all-active-cpus(l)", 279 .action_msg = "Show backtrace of all active CPUs", 658 bool active; member in struct:sysrq_state 822 bool was_active = sysrq->active; 831 if (sysrq->active && code == sysrq->alt_use) 832 sysrq->active = false; 848 if (sysrq->active) 854 sysrq->active = true; 873 if (sysrq->active) 879 if (sysrq->active [all...] |
/linux-master/drivers/media/pci/sta2x11/ |
H A D | sta2x11_vip.c | 102 * @active: current active buffer 132 struct vip_buffer *active; /* current active buffer */ member in struct:sta2x11_vip 239 vip->active = list_first_entry(&vip->buffer_list, 247 start_dma(vip, vip->active); /* start dma capture */ 266 vip->active = NULL; 308 if (!vip->active) { /* No active buffer, active th [all...] |
/linux-master/arch/arm64/kvm/vgic/ |
H A D | vgic.c | 176 /* Set/Clear the physical active state */ 177 void vgic_irq_set_phys_active(struct vgic_irq *irq, bool active) argument 183 active)); 192 * active, vcpu and target_vcpu), compute the next vcpu this should be 201 /* If the interrupt is active, it must stay on the current vcpu */ 202 if (irq->active) 206 * If the IRQ is not active but enabled and pending, we should direct 219 /* If neither active nor pending and enabled, then this IRQ should not 230 * A hard rule is that active interrupts can never be pushed out of the LRs 258 if (irqa->active || irq [all...] |
/linux-master/drivers/siox/ |
H A D | siox-core.c | 208 * watchdog as active to give a consistent view for drivers and 238 /* If the device is unsynced report the watchdog as active */ 293 if (smaster->active) { 335 if (smaster->active) 338 smaster->active = 1; 357 if (smaster->active) { 360 smaster->active = 0; 559 return sprintf(buf, "%d\n", smaster->active); 568 int active; local 570 ret = kstrtoint(buf, 0, &active); [all...] |
/linux-master/drivers/comedi/drivers/ |
H A D | pcmmio.c | 181 unsigned int active:1; member in struct:pcmmio_private 314 devpriv->active = 0; 333 if (!devpriv->active) 390 devpriv->active = 1; 416 if (devpriv->active) 436 if (devpriv->active) 453 devpriv->active = 1;
|
H A D | pcmuio.c | 120 unsigned int active:1; member in struct:pcmuio_asic 291 chip->active = 0; 312 if (!chip->active) 386 chip->active = 1; 414 if (chip->active) 436 if (chip->active) 456 chip->active = 1;
|
/linux-master/sound/soc/ |
H A D | soc-dai.c | 221 * @tx_mask: bitmask representing active TX slots. 222 * @rx_mask: bitmask representing active RX slots. 245 * @tx_mask: bitmask representing active TX slots. 246 * @rx_mask: bitmask representing active RX slots. 253 * active slots of the TDM stream for the specified DAI, i.e. which slots the 255 * active, if a bit is cleared the corresponding slot is inactive. Bit 0 maps to 256 * the first slot, bit 1 to the second slot and so on. The first active slot 257 * maps to the first channel of the DAI, the second active slot to the second 524 dai->stream[stream].active += action; 527 dai->component->active 533 int stream, active; local [all...] |