/linux-master/sound/core/oss/ |
H A D | mixer_oss.c | 201 int active = 0; local 202 pslot->get_recsrc(fmixer, pslot, &active); 203 if (active) 216 int chn, active; local 233 active = (recsrc & (1 << chn)) ? 1 : 0; 234 pslot->put_recsrc(fmixer, pslot, active); 241 active = 0; 242 pslot->get_recsrc(fmixer, pslot, &active); 243 if (active) 736 int *active) 734 snd_mixer_oss_get_recsrc1_sw(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int *active) argument 747 snd_mixer_oss_get_recsrc1_route(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int *active) argument 760 snd_mixer_oss_put_recsrc1_sw(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int active) argument 770 snd_mixer_oss_put_recsrc1_route(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int active) argument [all...] |
/linux-master/drivers/net/bonding/ |
H A D | bond_3ad.c | 738 int active = 0; local 743 active++; 746 return active; 820 * __get_active_agg - get the current active aggregator 1077 * port in an active aggregator is enabled 1094 * port is enabled for an active aggregator. 1116 * port in an active aggregator is enabled 1669 /* Decide if "agg" is a better choice for the new active aggregator that 1769 * it, and to reselect the active aggregator only if the previous 1787 struct aggregator *best, *active, *origi local 2744 struct aggregator *active; local [all...] |
/linux-master/drivers/net/ethernet/ibm/ |
H A D | ibmveth.c | 160 pool->active = pool_active; 324 if (pool->active && 428 if (!adapter->rx_buff_pool[pool].active) { 617 if (!adapter->rx_buff_pool[i].active) 621 adapter->rx_buff_pool[i].active = 0; 653 if (adapter->rx_buff_pool[i].active) 723 if (adapter->rx_buff_pool[i].active) 1535 /* Look for an active buffer pool that can hold the new MTU */ 1537 adapter->rx_buff_pool[i].active = 1; 1596 /* add the size of the active receiv [all...] |
/linux-master/drivers/dma-buf/ |
H A D | dma-buf.c | 74 * * dmabuf->cb_in/out.active are non-0 despite no pending fence callback 76 BUG_ON(dmabuf->cb_in.active || dmabuf->cb_out.active); 210 wake_up_locked_poll(dcb->poll, dcb->active); 211 dcb->active = 0; 262 if (dcb->active) 265 dcb->active = EPOLLOUT; 285 if (dcb->active) 288 dcb->active = EPOLLIN; 657 dmabuf->cb_in.active [all...] |
/linux-master/drivers/media/pci/cx25821/ |
H A D | cx25821-video.c | 112 if (!list_empty(&dmaq->active)) { 113 buf = list_entry(dmaq->active.next, 250 if (list_empty(&q->active)) { 251 list_add_tail(&buf->queue, &q->active); 254 prev = list_entry(q->active.prev, struct cx25821_buffer, 256 list_add_tail(&buf->queue, &q->active); 266 struct cx25821_buffer *buf = list_entry(dmaq->active.next, 283 while (!list_empty(&dmaq->active)) { 284 struct cx25821_buffer *buf = list_entry(dmaq->active.next, 724 INIT_LIST_HEAD(&chan->dma_vidq.active); [all...] |
/linux-master/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | head.c | 294 * starting with the active display area. The hardware modes 299 m->h.active = mode->crtc_htotal; 304 m->v.active = mode->crtc_vtotal; 310 blankus = (m->v.active - mode->crtc_vdisplay - 2) * m->h.active; 316 m->v.blank2e = m->v.active + m->v.blanke; 318 m->v.active = (m->v.active * 2) + 1; 351 NV_ATOMIC(drm, "%s atomic_check %d\n", crtc->name, asyh->state.active); 359 if (asyh->state.active) { [all...] |
/linux-master/drivers/acpi/ |
H A D | thermal.c | 68 MODULE_PARM_DESC(act, "Disable or override all lowest active trip points."); 106 struct acpi_thermal_active active[ACPI_THERMAL_MAX_ACTIVE]; member in struct:acpi_thermal_trips 186 struct acpi_thermal_active *active; local 188 active = container_of(acpi_trip, struct acpi_thermal_active, trip); 189 return active - tz->trips.active; 210 * If an override has been provided, apply it so there are no active 433 acpi_trip = &tz->trips.active[index].trip; 467 tz->trips.active[i].trip.temp_dk = THERMAL_TEMP_INVALID; 815 acpi_handle_list_free(&tz->trips.active[ [all...] |
/linux-master/drivers/accel/ivpu/ |
H A D | ivpu_mmu.c | 926 u32 gerror_val, gerrorn_val, active; local 933 active = gerror_val ^ gerrorn_val; 934 if (!(active & IVPU_MMU_GERROR_ERR_MASK)) 937 if (REG_TEST_FLD(IVPU_MMU_REG_GERROR, MSI_ABT, active)) 940 if (REG_TEST_FLD(IVPU_MMU_REG_GERROR, MSI_PRIQ_ABT, active)) 943 if (REG_TEST_FLD(IVPU_MMU_REG_GERROR, MSI_EVTQ_ABT, active)) 946 if (REG_TEST_FLD(IVPU_MMU_REG_GERROR, MSI_CMDQ_ABT, active)) 949 if (REG_TEST_FLD(IVPU_MMU_REG_GERROR, PRIQ_ABT, active)) 952 if (REG_TEST_FLD(IVPU_MMU_REG_GERROR, EVTQ_ABT, active)) 955 if (REG_TEST_FLD(IVPU_MMU_REG_GERROR, CMDQ, active)) [all...] |
/linux-master/drivers/media/platform/ti/omap3isp/ |
H A D | ispresizer.c | 507 clock = div_u64((u64)limit * res->crop.active.height, ofmt->height); 509 *max_rate = div_u64((u64)clock * res->crop.active.width, ofmt->width); 588 requests_per_frame = DIV_ROUND_UP(res->crop.active.width * 2, 256) 589 * res->crop.active.height; 926 res->crop_offset = (res->crop.active.top * input->width + 927 res->crop.active.left) * 2; 946 resizer_set_start(res, res->crop.active.left * 2, 947 res->crop.active.top); 954 resizer_set_input_size(res, res->crop.active.width, 955 res->crop.active [all...] |
/linux-master/net/sched/ |
H A D | sch_qfq.c | 137 struct list_head alist; /* Link for active-classes list. */ 162 struct list_head active; /* DRR queue of active classes. */ member in struct:qfq_aggregate 174 /* Array of RR lists of active aggregates. */ 198 * enqueue: the aggregate switches from idle to active and must scheduled 260 INIT_LIST_HEAD(&agg->active); 322 if (cl->qdisc->q.qlen > 0) { /* adding an active class */ 323 list_add_tail(&cl->alist, &agg->active); 324 if (list_first_entry(&agg->active, struct qfq_class, alist) == 351 if (list_empty(&agg->active)) /* ag [all...] |
H A D | sch_drr.c | 32 struct list_head active; member in struct:drr_sched 360 list_add_tail(&cl->alist, &q->active); 376 if (list_empty(&q->active)) 379 cl = list_first_entry(&q->active, struct drr_class, alist); 403 list_move_tail(&cl->alist, &q->active); 421 INIT_LIST_HEAD(&q->active);
|
/linux-master/drivers/net/wireless/ath/ath9k/ |
H A D | channel.c | 166 if (!ctx->active) 252 bool active = false; local 272 * active/assigned channel contexts if 287 active = true; 290 active = true; 294 ctx->active = active; 399 if (ctx->active && sc->sched.extend_absence) { 408 if (ctx->active && sc->sched.beacon_miss >= 2) { 432 * When multiple contexts are active, th 861 ath_chanctx_get_oper_chan(struct ath_softc *sc, bool active) argument [all...] |
/linux-master/sound/usb/6fire/ |
H A D | pcm.c | 317 if (sub->active) { 342 if (sub->active) { 417 sub->active = false; 436 sub->active = false; 509 sub->active = true; 516 sub->active = false;
|
/linux-master/sound/usb/hiface/ |
H A D | pcm.c | 36 bool active; member in struct:pcm_substream 329 if (sub->active) 387 sub->active = false; 408 sub->active = false; 466 sub->active = true; 473 sub->active = false;
|
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | pno.c | 198 bool active) 209 if (active) 214 brcmf_dbg(SCAN, "adding ssid=%.32s (active=%d)\n", ssid->ssid, active); 368 bool active; local 377 active = brcmf_is_ssid_active(&ms->ssid, r); 379 active); 197 brcmf_pno_add_ssid(struct brcmf_if *ifp, struct cfg80211_ssid *ssid, bool active) argument
|
/linux-master/drivers/macintosh/ |
H A D | windfarm_fcu_controls.c | 172 unsigned char active; local 180 rc = wf_fcu_read_reg(pv, 0xd, &active, 1); 183 if ((active & (1 << fan->id)) == 0) 228 unsigned char active; local 237 rc = wf_fcu_read_reg(pv, 0x2d, &active, 1); 240 if ((active & (1 << fan->id)) == 0)
|
/linux-master/security/integrity/ima/ |
H A D | ima_crypto.c | 335 int rc, rbuf_len, active = 0, ahash_rc = 0; local 393 rbuf_len = min_t(loff_t, i_size - offset, rbuf_size[active]); 394 rc = integrity_kernel_read(file, offset, rbuf[active], 417 sg_init_one(&sg[0], rbuf[active], rbuf_len); 423 active = !active; /* swap buffers, if we use two */
|
/linux-master/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00mac.c | 719 bool active = !!rt2x00dev->ops->lib->rfkill_poll(rt2x00dev); local 721 wiphy_rfkill_set_hw_state(hw->wiphy, !active); 792 struct antenna_setup *active = &rt2x00dev->link.ant.active; local 794 // When software diversity is active, we must report this to the 795 // client and not the current active antenna state. 799 *tx_ant = active->tx; 804 *rx_ant = active->rx;
|
/linux-master/drivers/video/backlight/ |
H A D | pwm_bl.c | 411 bool active = true; local 415 * or output) and off then the backlight is not currently active. 418 active = false; 421 active = false; 424 active = false; 430 gpiod_direction_output(pb->enable_gpio, active); 448 return active ? FB_BLANK_UNBLANK: FB_BLANK_POWERDOWN;
|
/linux-master/sound/core/seq/ |
H A D | seq_ump_client.c | 30 bool active; /* activeness */ member in struct:seq_ump_group 199 if (!group->active) 274 /* update dir_bits and active flag for all groups in the client */ 285 group->active = 0; 294 if (fb->info.active) 295 group->active = 1; 419 if (client->groups[p].active)
|
/linux-master/arch/arm64/kvm/vgic/ |
H A D | vgic-v3.c | 74 /* Always preserve the active bit, note deactivation */ 75 deactivated = irq->active && !(val & ICH_LR_ACTIVE_BIT); 76 irq->active = !!(val & ICH_LR_ACTIVE_BIT); 78 if (irq->active && is_v2_sgi) 116 if (irq->active) { 130 * Never set pending+active on a HW interrupt, as the 134 if (irq->active) 144 if (irq->active)
|
/linux-master/drivers/staging/rtl8192e/ |
H A D | rtl819x_BAProc.c | 246 if (!ieee->current_network.qos_data.active || 252 ieee->current_network.qos_data.active, 328 if (!ieee->current_network.qos_data.active || 333 ieee->current_network.qos_data.active, 415 if (!ieee->current_network.qos_data.active || 419 ieee->current_network. qos_data.active,
|
/linux-master/drivers/crypto/ccp/ |
H A D | ccp-crypto-main.c | 206 struct ccp_crypto_cmd *active = NULL, *tmp; local 228 active = tmp; 233 if (!active) {
|
/linux-master/tools/net/ynl/ |
H A D | ethtool.py | 197 if 'active' in eee and eee['active']: 198 status = status + ' - active' 226 active = bits_to_dict(reply['active']).keys() 231 if f in active: 240 if f in active:
|
/linux-master/drivers/input/touchscreen/ |
H A D | ektf2127.c | 100 const u8 *buf, bool active) 103 input_mt_report_slot_state(ts->input, MT_TOOL_FINGER, active); 105 if (active) { 99 ektf2127_report2_contact(struct ektf2127_ts *ts, int slot, const u8 *buf, bool active) argument
|