Home
last modified time | relevance | path

Searched refs:offset1 (Results 1 – 20 of 20) sorted by relevance

/drivers/staging/echo/
Dfir.h156 int offset1; in fir16() local
162 offset1 = fir->taps - offset2; in fir16()
164 for (i = fir->taps - 1; i >= offset1; i--) in fir16()
165 y += fir->coeffs[i] * fir->history[i - offset1]; in fir16()
199 int offset1; in fir32() local
204 offset1 = fir->taps - offset2; in fir32()
206 for (i = fir->taps - 1; i >= offset1; i--) in fir32()
207 y += fir->coeffs[i] * fir->history[i - offset1]; in fir32()
Decho.c122 int offset1; in lms_adapt_bg() local
137 offset1 = ec->taps - offset2; in lms_adapt_bg()
194 int offset1; in lms_adapt_bg() local
207 offset1 = ec->taps - offset2; in lms_adapt_bg()
209 for (i = ec->taps - 1; i >= offset1; i--) { in lms_adapt_bg()
210 exp = (ec->fir_state_bg.history[i - offset1] * factor); in lms_adapt_bg()
/drivers/media/video/pwc/
Dpwc-dec23.c159 unsigned int offset1 = ONE_HALF; in fill_table_dc00_d800() local
163 pdec->table_dc00[i] = offset1 & ~(ONE_HALF); in fill_table_dc00_d800()
166 offset1 += 0x7bc4; in fill_table_dc00_d800()
504 unsigned int channel_v, offset1, op; in decode_block() local
529 offset1 = 0; in decode_block()
560 offset1 += 1 + yyyy; in decode_block()
561 offset1 &= 0x0F; in decode_block()
562 nbits = ptable8004[offset1 * 2]; in decode_block()
569 shift = ptable8004[offset1 * 2 + 1]; in decode_block()
574 pdec->temp_colors[i] += block[MulIdx[offset1][i]]; in decode_block()
[all …]
/drivers/macintosh/
Dwindfarm_pm81.c169 s16 offset1; member
184 s16 offset1; member
202 .offset1 = 0x0208,
214 .offset1 = 0x0000,
226 .offset1 = 0x0091,
296 wf_smu_sys_fans->offset1 = param->offset1; in wf_smu_create_sys_fans()
363 cputarget = ((((s64)cputarget) * (s64)st->scale1) >> 12) + st->offset1; in wf_smu_sys_fans_tick()
/drivers/video/omap2/dss/
Ddispc.c1434 unsigned *offset0, unsigned *offset1, in calc_vrfb_rotation_offset() argument
1475 *offset1 = 0; in calc_vrfb_rotation_offset()
1497 *offset1 = 0; in calc_vrfb_rotation_offset()
1518 unsigned *offset0, unsigned *offset1, in calc_dma_rotation_offset() argument
1556 *offset1 = 0; in calc_dma_rotation_offset()
1558 *offset0 = *offset1 + field_offset * screen_width * ps; in calc_dma_rotation_offset()
1560 *offset0 = *offset1; in calc_dma_rotation_offset()
1567 *offset1 = screen_width * (fbh - 1) * ps; in calc_dma_rotation_offset()
1569 *offset0 = *offset1 + field_offset * ps; in calc_dma_rotation_offset()
1571 *offset0 = *offset1; in calc_dma_rotation_offset()
[all …]
/drivers/s390/crypto/
Dzcrypt_pcicc.h47 unsigned int offset1; /* 0x00000058 (offset to CPRB) */ member
158 unsigned int offset1; /* offset to CPRB */ member
Dzcrypt_pcixcc.c135 .offset1 = 0x00000058, in ICAMEX_msg_to_type6MEX_msgX()
202 .offset1 = 0x00000058, in ICACRT_msg_to_type6CRT_msgX()
274 .offset1 = 0x00000058, in XCRB_msg_to_type6CPRB_msgX()
303 msg->hdr.offset2 = msg->hdr.offset1 + rcblen; in XCRB_msg_to_type6CPRB_msgX()
353 .offset1 = 0x00000058, in rng_type6CPRB_msgX()
513 data + msg->fmt2.offset1, msg->fmt2.count1)) in convert_type86_xcrb()
Dzcrypt_pcicc.c160 .offset1 = 0x00000058, in ICAMEX_msg_to_type6MEX_msg()
247 .offset1 = 0x00000058, in ICACRT_msg_to_type6CRT_msg()
/drivers/net/wireless/rtlwifi/rtl8192de/
Dhw.c1449 u32 rfpath, eeaddr, group, offset1, offset2; in _rtl92de_readpowervalue_fromprom() local
1500 offset1 = group / 3; in _rtl92de_readpowervalue_fromprom()
1503 offset2 + offset1 * 21; in _rtl92de_readpowervalue_fromprom()
1516 offset1 = group / 3; in _rtl92de_readpowervalue_fromprom()
1519 if (rom_content[base1 + offset2 + offset1 * 21] != 0xFF) in _rtl92de_readpowervalue_fromprom()
1522 offset2 + offset1 * 21] >> (rfpath * 4)) in _rtl92de_readpowervalue_fromprom()
1528 + offset1 * 21] != 0xFF) in _rtl92de_readpowervalue_fromprom()
1531 + offset2 + offset1 * 21] >> (rfpath * 4)) in _rtl92de_readpowervalue_fromprom()
1537 + offset1 * 21] != 0xFF) in _rtl92de_readpowervalue_fromprom()
1540 + offset2 + offset1 * 21] >> (rfpath * 4)) in _rtl92de_readpowervalue_fromprom()
[all …]
/drivers/net/
Dmacvtap.c490 int size, offset1 = 0; in zerocopy_sg_from_iovec() local
503 if (copy_from_user(skb->data + offset1, from->iov_base + offset, in zerocopy_sg_from_iovec()
513 offset1 += size; in zerocopy_sg_from_iovec()
516 if (len == offset1) in zerocopy_sg_from_iovec()
/drivers/video/riva/
Driva_hw.c1331 state->offset1 = in CalcStateExt()
1452 NV_WR32(chip->PGRAPH, 0x00000634, state->offset1); in LoadStateExt()
1494 NV_WR32(chip->PGRAPH, 0x00000644, state->offset1); in LoadStateExt()
1542 NV_WR32(chip->PGRAPH, 0x00000644, state->offset1); in LoadStateExt()
1552 NV_WR32(chip->PGRAPH, 0x00000824, state->offset1); in LoadStateExt()
1781 state->offset1 = NV_RD32(chip->PGRAPH, 0x00000634); in UnloadStateExt()
1791 state->offset1 = NV_RD32(chip->PGRAPH, 0x00000644); in UnloadStateExt()
1803 state->offset1 = NV_RD32(chip->PGRAPH, 0x00000644); in UnloadStateExt()
Driva_hw.h522 U032 offset1; member
/drivers/net/wireless/hostap/
Dhostap_wlan.h283 u16 offset1; member
Dhostap_main.c796 dev->name, regs.cmd, regs.evstat, regs.offset0, regs.offset1, in prism2_tx_timeout()
Dhostap_hw.c167 regs->offset1 = HFA384X_INW(HFA384X_OFFSET1_OFF); in hfa384x_read_regs()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c1575 u32 offset1; in bnx2x_test_registers() member
1693 offset = reg_tbl[i].offset0 + port*reg_tbl[i].offset1; in bnx2x_test_registers()
/drivers/net/wireless/rt2x00/
Drt2800lib.c522 u8 offset1; in rt2800_agc_to_rssi() local
528 offset1 = rt2x00_get_field16(eeprom, EEPROM_RSSI_BG_OFFSET1); in rt2800_agc_to_rssi()
534 offset1 = rt2x00_get_field16(eeprom, EEPROM_RSSI_A_OFFSET1); in rt2800_agc_to_rssi()
545 rssi1 = (rssi1) ? (-12 - offset1 - rt2x00dev->lna_gain - rssi1) : -128; in rt2800_agc_to_rssi()
/drivers/net/wireless/b43/
Dphy_n.c443 u16 offset1 = cmd << 4; in b43_nphy_set_rf_sequence() local
444 u16 offset2 = offset1 + 0x80; in b43_nphy_set_rf_sequence()
449 b43_ntab_write_bulk(dev, B43_NTAB8(7, offset1), length, events); in b43_nphy_set_rf_sequence()
453 b43_ntab_write(dev, B43_NTAB8(7, offset1 + i), end); in b43_nphy_set_rf_sequence()
/drivers/net/ethernet/broadcom/
Dcnic.c4430 u32 val, offset0, offset1, offset2, offset3; in cnic_init_bnx2_tx_ring() local
4457 offset1 = BNX2_L2CTX_CMD_TYPE_XI; in cnic_init_bnx2_tx_ring()
4465 offset1 = BNX2_L2CTX_CMD_TYPE; in cnic_init_bnx2_tx_ring()
4473 cnic_ctx_wr(dev, cid_addr, offset1, val); in cnic_init_bnx2_tx_ring()
Dbnx2.c5081 u32 val, offset0, offset1, offset2, offset3; in bnx2_init_tx_context() local
5086 offset1 = BNX2_L2CTX_CMD_TYPE_XI; in bnx2_init_tx_context()
5091 offset1 = BNX2_L2CTX_CMD_TYPE; in bnx2_init_tx_context()
5099 bnx2_ctx_wr(bp, cid_addr, offset1, val); in bnx2_init_tx_context()