Home
last modified time | relevance | path

Searched refs:q1 (Results 1 – 8 of 8) sorted by relevance

/drivers/isdn/hardware/eicon/
Dcapidtmf.c188 long c, d, q0, q1, q2; in capidtmf_goertzel_loop() local
192 q1 = buffer[i]; in capidtmf_goertzel_loop()
200 … q0 = sample[j] - q2 + (c * (q1 >> 16)) + (((dword)(((dword) d) * ((dword)(q1 & 0xffff)))) >> 15); in capidtmf_goertzel_loop()
201 q2 = q1; in capidtmf_goertzel_loop()
202 q1 = q0; in capidtmf_goertzel_loop()
211 …q0 = sample[j] - q2 - ((c * (q1 >> 16)) + (((dword)(((dword) d) * ((dword)(q1 & 0xffff)))) >> 15)); in capidtmf_goertzel_loop()
212 q2 = q1; in capidtmf_goertzel_loop()
213 q1 = q0; in capidtmf_goertzel_loop()
216 buffer[i] = q1; in capidtmf_goertzel_loop()
219 q1 = buffer[i]; in capidtmf_goertzel_loop()
[all …]
/drivers/net/ethernet/brocade/bna/
Dbna_tx_rx.c1650 struct bna_rxq *q0 = NULL, *q1 = NULL; in bna_bfi_rx_enet_start() local
1665 GET_RXQS(rxp, q0, q1); in bna_bfi_rx_enet_start()
1671 &q1->qpt); in bna_bfi_rx_enet_start()
1673 htons((u16)q1->buffer_size); in bna_bfi_rx_enet_start()
1888 struct bna_rxq *q1) in bna_rxp_add_rxqs() argument
1897 rxp->rxq.slr.small = q1; in bna_rxp_add_rxqs()
1901 rxp->rxq.hds.hdr = q1; in bna_rxp_add_rxqs()
2152 struct bna_rxq *q0 = NULL, *q1 = NULL; in bna_bfi_rx_enet_start_rsp() local
2165 GET_RXQS(rxp, q0, q1); in bna_bfi_rx_enet_start_rsp()
2176 if (q1) { in bna_bfi_rx_enet_start_rsp()
[all …]
Dbna.h308 #define GET_RXQS(rxp, q0, q1) do { \ argument
312 (q1) = NULL; \
316 (q1) = rxp->rxq.slr.small; \
320 (q1) = rxp->rxq.hds.hdr; \
/drivers/tty/vt/
Dconsolemap.c436 u16 **p1, **q1; in con_unify_unimap() local
437 p1 = p->uni_pgdir[j]; q1 = q->uni_pgdir[j]; in con_unify_unimap()
438 if (!p1 && !q1) in con_unify_unimap()
440 if (!p1 || !q1) in con_unify_unimap()
443 if (!p1[k] && !q1[k]) in con_unify_unimap()
445 if (!p1[k] || !q1[k]) in con_unify_unimap()
447 if (memcmp(p1[k], q1[k], 64*sizeof(u16))) in con_unify_unimap()
/drivers/scsi/
Dadvansys.c371 ASC_SCSIQ_1 q1; member
2621 q->q2.target_ix, q->q1.target_lun, (ulong)q->q2.srb_ptr, in asc_prt_asc_scsi_q()
2626 (ulong)le32_to_cpu(q->q1.data_addr), in asc_prt_asc_scsi_q()
2627 (ulong)le32_to_cpu(q->q1.data_cnt), in asc_prt_asc_scsi_q()
2628 (ulong)le32_to_cpu(q->q1.sense_addr), q->q1.sense_len); in asc_prt_asc_scsi_q()
2632 (ulong)q->sg_head, q->q1.sg_queue_cnt); in asc_prt_asc_scsi_q()
8402 asc_scsi_q->q1.target_id = ASC_TID_TO_TARGET_ID(scp->device->id); in asc_build_req()
8403 asc_scsi_q->q1.target_lun = scp->device->lun; in asc_build_req()
8406 asc_scsi_q->q1.sense_addr = advansys_get_sense_buffer_dma(scp); in asc_build_req()
8407 asc_scsi_q->q1.sense_len = SCSI_SENSE_BUFFERSIZE; in asc_build_req()
[all …]
/drivers/net/ethernet/chelsio/cxgb3/
Dsge.c2592 struct sge_rspq *q1 = &adap->sge.qs[1].rspq; in t3_intr_msi() local
2594 t3_write_reg(adap, A_SG_GTS, V_RSPQ(q1->cntxt_id) | in t3_intr_msi()
2595 V_NEWTIMER(q1->next_holdoff) | in t3_intr_msi()
2596 V_NEWINDEX(q1->cidx)); in t3_intr_msi()
2669 struct sge_rspq *q1 = &adap->sge.qs[1].rspq; in t3_intr() local
2675 is_new_response(&q1->desc[q1->cidx], q1); in t3_intr()
2685 process_responses_gts(adap, q1); in t3_intr()
Dcxgb3_main.c2138 int q1 = pi->first_qset; in cxgb_extension_ioctl() local
2172 q1 = 0; in cxgb_extension_ioctl()
2179 if (t.qset_idx < q1) in cxgb_extension_ioctl()
2181 if (t.qset_idx > q1 + nqsets - 1) in cxgb_extension_ioctl()
2237 int q1 = pi->first_qset; in cxgb_extension_ioctl() local
2246 q1 = 0; in cxgb_extension_ioctl()
2256 q = &adapter->params.sge.qset[q1 + t.qset_idx]; in cxgb_extension_ioctl()
2267 t.qnum = q1; in cxgb_extension_ioctl()
2270 t.vector = adapter->msix_info[q1 + t.qset_idx + 1].vec; in cxgb_extension_ioctl()
/drivers/net/wireless/bcmdhd/
Ddhd_sdio.c2822 uint q1, q2; in dhd_dump_pct() local
2827 q1 = num / div; in dhd_dump_pct()
2828 q2 = (100 * (num - (q1 * div))) / div; in dhd_dump_pct()
2829 bcm_bprintf(strbuf, "%s %d.%02d", desc, q1, q2); in dhd_dump_pct()