Home
last modified time | relevance | path

Searched refs:coef (Results 1 – 13 of 13) sorted by relevance

/linux-2.6.39/crypto/async_tx/
Dasync_raid6_recov.c30 async_sum_product(struct page *dest, struct page **srcs, unsigned char *coef, in async_sum_product() argument
52 tx = dma->device_prep_dma_pq(chan, dma_dest, dma_src, 2, coef, in async_sum_product()
69 amul = raid6_gfmul[coef[0]]; in async_sum_product()
70 bmul = raid6_gfmul[coef[1]]; in async_sum_product()
85 async_mult(struct page *dest, struct page *src, u8 coef, size_t len, in async_mult() argument
105 tx = dma->device_prep_dma_pq(chan, dma_dest, dma_src, 1, &coef, in async_mult()
123 qmul = raid6_gfmul[coef]; in async_mult()
140 unsigned char coef[2]; in __2data_recov_4() local
156 coef[0] = raid6_gfexi[failb-faila]; in __2data_recov_4()
157 coef[1] = raid6_gfinv[raid6_gfexp[faila]^raid6_gfexp[failb]]; in __2data_recov_4()
[all …]
/linux-2.6.39/drivers/media/video/omap3isp/
Disph3a_af.c46 u32 coef; in h3a_af_setup_regs() local
91 coef = 0; in h3a_af_setup_regs()
92 coef |= conf->iir.coeff_set0[index]; in h3a_af_setup_regs()
93 coef |= conf->iir.coeff_set0[index + 1] << in h3a_af_setup_regs()
95 isp_reg_writel(af->isp, coef, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs()
100 coef = 0; in h3a_af_setup_regs()
101 coef |= conf->iir.coeff_set1[index]; in h3a_af_setup_regs()
102 coef |= conf->iir.coeff_set1[index + 1] << in h3a_af_setup_regs()
104 isp_reg_writel(af->isp, coef, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs()
/linux-2.6.39/sound/pci/hda/
Dpatch_cirrus.c124 unsigned int coef) in cs_vendor_coef_set() argument
129 AC_VERB_SET_PROC_COEF, coef); in cs_vendor_coef_set()
945 unsigned int coef; in init_input() local
975 coef = 0x000a; /* ADC1/2 - Digital and Analog Soft Ramp */ in init_input()
977 coef |= 0x0500; /* DMIC2 enable 2 channels, disable GPIO1 */ in init_input()
979 coef |= 0x1800; /* DMIC1 enable 2 channels, disable GPIO0 in init_input()
983 cs_vendor_coef_set(codec, IDX_ADC_CFG, coef); in init_input()
1054 unsigned int coef; in init_digital() local
1056 coef = 0x0002; /* SRC_MUTE soft-mute on SPDIF (if no lock) */ in init_digital()
1057 coef |= 0x0008; /* Replace with mute on error */ in init_digital()
[all …]
Dpatch_realtek.c14856 int coef; in alc269_fixup_hweq() local
14860 coef = alc_read_coef_idx(codec, 0x1e); in alc269_fixup_hweq()
14861 alc_write_coef_idx(codec, 0x1e, coef | 0x80); in alc269_fixup_hweq()
15202 int board_config, coef; in patch_alc269() local
15214 coef = alc_read_coef_idx(codec, 0); in patch_alc269()
15215 if ((coef & 0x00f0) == 0x0010) { in patch_alc269()
15220 } else if ((coef & 0xf000) == 0x1000) { in patch_alc269()
15222 } else if ((coef & 0xf000) == 0x2000) { in patch_alc269()
15225 } else if ((coef & 0xf000) == 0x3000) { in patch_alc269()
19532 int coef; in patch_alc662() local
[all …]
/linux-2.6.39/drivers/input/
Djoydev.c85 value = value > corr->coef[0] ? (value < corr->coef[1] ? 0 : in joydev_correct()
86 ((corr->coef[3] * (value - corr->coef[1])) >> 14)) : in joydev_correct()
87 ((corr->coef[2] * (value - corr->coef[0])) >> 14); in joydev_correct()
865 joydev->corr[i].coef[0] = t - input_abs_get_flat(dev, j); in joydev_connect()
866 joydev->corr[i].coef[1] = t + input_abs_get_flat(dev, j); in joydev_connect()
871 joydev->corr[i].coef[2] = (1 << 29) / t; in joydev_connect()
872 joydev->corr[i].coef[3] = (1 << 29) / t; in joydev_connect()
/linux-2.6.39/drivers/dma/ioat/
Dhw.h169 uint8_t coef[8]; member
200 unsigned int coef:8; member
Ddma_v3.c103 dma_addr_t addr, u32 offset, u8 coef, int idx) in pq_set_src() argument
109 pq->coef[idx] = coef; in pq_set_src()
599 (unsigned long long) pq_get_src(descs, i), pq->coef[i]); in dump_pq_desc_dbg()
/linux-2.6.39/include/linux/
Djoystick.h80 __s32 coef[8]; member
/linux-2.6.39/arch/arm/mach-iop13xx/include/mach/
Dadma.h468 dma_addr_t addr, unsigned char coef) in iop_desc_set_pq_src_addr() argument
480 src->pq_dmlt = coef; in iop_desc_set_pq_src_addr()
/linux-2.6.39/drivers/video/omap/
Ddispc.c499 const u32 coef[][2] = { in set_upsampling_coef_table() local
512 write_firh_reg(plane, i, coef[i][0]); in set_upsampling_coef_table()
513 write_firhv_reg(plane, i, coef[i][1]); in set_upsampling_coef_table()
/linux-2.6.39/arch/arm/include/asm/hardware/
Diop3xx-adma.h213 dma_addr_t addr, unsigned char coef) in iop_desc_set_pq_src_addr() argument
/linux-2.6.39/Documentation/input/
Djoystick-api.txt252 __s32 coef[8];
/linux-2.6.39/drivers/net/wireless/b43/
Dphy_n.c3019 u16 coef[4]; in b43_nphy_restore_cal() local
3043 table[i] = coef[i]; in b43_nphy_restore_cal()
3045 coef[i] = 0; in b43_nphy_restore_cal()
3048 b43_ntab_write_bulk(dev, B43_NTAB16(15, 88), 4, coef); in b43_nphy_restore_cal()