Home
last modified time | relevance | path

Searched refs:q2 (Results 1 – 7 of 7) sorted by relevance

/drivers/isdn/hardware/eicon/
Dcapidtmf.c188 long c, d, q0, q1, q2; in capidtmf_goertzel_loop() local
193 q2 = buffer[i + CAPIDTMF_RECV_TOTAL_FREQUENCY_COUNT]; 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()
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()
217 buffer[i + CAPIDTMF_RECV_TOTAL_FREQUENCY_COUNT] = q2; in capidtmf_goertzel_loop()
220 q2 = buffer[i + CAPIDTMF_RECV_TOTAL_FREQUENCY_COUNT]; in capidtmf_goertzel_loop()
226 …q0 = sample[j] - q2 + (c * (q1 >> 16)) + (((dword)(((dword)(c >> 1)) * ((dword)(q1 & 0xffff)))) >>… in capidtmf_goertzel_loop()
227 q2 = q1; in capidtmf_goertzel_loop()
[all …]
/drivers/spi/
Dspi-pxa2xx.c877 unsigned long q, q1, q2; in quark_x1000_get_clk_div() local
912 q2 = DIV_ROUND_UP(fref2, rate); in quark_x1000_get_clk_div()
913 r2 = abs(fref2 / q2 - rate); in quark_x1000_get_clk_div()
920 if (r2 >= r1 || q2 > 256) { in quark_x1000_get_clk_div()
927 q = q2; in quark_x1000_get_clk_div()
/drivers/scsi/
Dadvansys.c328 ASC_SCSIQ_2 q2; member
2509 q->q2.target_ix, q->q1.target_lun, q->q2.srb_tag, in asc_prt_asc_scsi_q()
2510 q->q2.tag_code); in asc_prt_asc_scsi_q()
2519 (ulong)q->cdbptr, q->q2.cdb_len, in asc_prt_asc_scsi_q()
7528 asc_scsi_q->q2.srb_tag = srb_tag; in asc_build_req()
7534 asc_scsi_q->q2.cdb_len = scp->cmd_len; in asc_build_req()
7537 asc_scsi_q->q2.target_ix = in asc_build_req()
7557 asc_scsi_q->q2.tag_code = ORDERED_QUEUE_TAG; in asc_build_req()
7559 asc_scsi_q->q2.tag_code = SIMPLE_QUEUE_TAG; in asc_build_req()
7975 tid_no = ASC_TIX_TO_TID(scsiq->q2.target_ix); in AscPutReadyQueue()
[all …]
/drivers/media/dvb-core/
Ddvb_frontend.c362 int q2; in dvb_frontend_swzigzag_update_delay() local
372 q2 = fepriv->quality - 128; in dvb_frontend_swzigzag_update_delay()
373 q2 *= q2; in dvb_frontend_swzigzag_update_delay()
375 fepriv->delay = fepriv->min_delay + q2 * HZ / (128*128); in dvb_frontend_swzigzag_update_delay()
/drivers/infiniband/hw/i40iw/
Di40iw_type.h848 u8 *q2; member
Di40iw_verbs.c650 init_info.q2 = iwqp->q2_ctx_mem.va; in i40iw_create_qp()
653 init_info.host_ctx = (void *)init_info.q2 + I40IW_Q2_BUFFER_SIZE; in i40iw_create_qp()
Di40iw_ctrl.c2318 qp->q2_buf = info->q2; in i40iw_sc_qp_init()