/linux-4.4.14/drivers/media/platform/sti/bdisp/ |
D | bdisp-filter.h | 20 const u8 coef[BDISP_HF_NB]; member 27 .coef = { 41 .coef = { 55 .coef = { 69 .coef = { 83 .coef = { 97 .coef = { 111 .coef = { 125 .coef = { 139 .coef = { [all …]
|
D | bdisp-hw.c | 227 memcpy(base, bdisp_h_spec[i].coef, BDISP_HF_NB); in bdisp_hw_alloc_filters() 237 memcpy(base, bdisp_v_spec[i].coef, BDISP_VF_NB); in bdisp_hw_alloc_filters()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/volt/ |
D | gk20a.c | 64 gk20a_volt_get_cvb_voltage(int speedo, int s_scale, const struct cvb_coef *coef) in gk20a_volt_get_cvb_voltage() argument 68 mv = DIV_ROUND_CLOSEST(coef->c2 * speedo, s_scale); in gk20a_volt_get_cvb_voltage() 69 mv = DIV_ROUND_CLOSEST((mv + coef->c1) * speedo, s_scale) + coef->c0; in gk20a_volt_get_cvb_voltage() 80 const struct cvb_coef *coef) in gk20a_volt_get_cvb_t_voltage() argument 84 cvb_mv = gk20a_volt_get_cvb_voltage(speedo, s_scale, coef); in gk20a_volt_get_cvb_t_voltage() 86 mv = DIV_ROUND_CLOSEST(coef->c3 * speedo, s_scale) + coef->c4 + in gk20a_volt_get_cvb_t_voltage() 87 DIV_ROUND_CLOSEST(coef->c5 * temp, t_scale); in gk20a_volt_get_cvb_t_voltage() 93 gk20a_volt_calc_voltage(const struct cvb_coef *coef, int speedo) in gk20a_volt_calc_voltage() argument 97 mv = gk20a_volt_get_cvb_t_voltage(speedo, -10, 100, 10, coef); in gk20a_volt_calc_voltage()
|
/linux-4.4.14/sound/pci/hda/ |
D | patch_cirrus.c | 152 unsigned int coef) in cs_vendor_coef_set() argument 158 AC_VERB_SET_PROC_COEF, coef); in cs_vendor_coef_set() 198 unsigned int coef; in init_input_coef() local 202 coef = cs_vendor_coef_get(codec, IDX_BEEP_CFG); in init_input_coef() 204 coef |= 1 << 4; /* DMIC2 2 chan on, GPIO1 off */ in init_input_coef() 206 coef |= 1 << 3; /* DMIC1 2 chan on, GPIO0 off in init_input_coef() 211 cs_vendor_coef_set(codec, IDX_BEEP_CFG, coef); in init_input_coef() 296 unsigned int coef; in init_digital_coef() local 298 coef = 0x0002; /* SRC_MUTE soft-mute on SPDIF (if no lock) */ in init_digital_coef() 299 coef |= 0x0008; /* Replace with mute on error */ in init_digital_coef() [all …]
|
D | patch_realtek.c | 304 int coef; in alc_fill_eapd_coef() local 306 coef = alc_get_coef0(codec); in alc_fill_eapd_coef() 317 if ((coef & 0x00f0) == 0x0010) in alc_fill_eapd_coef() 319 if ((coef & 0x00f0) == 0x0020) in alc_fill_eapd_coef() 321 if ((coef & 0x00f0) == 0x0030) in alc_fill_eapd_coef() 355 if ((coef & 0x00f0) == 0x0030) in alc_fill_eapd_coef() 374 if ((coef & 0x00f0) == 0x0020 || (coef & 0x00f0) == 0x0030) in alc_fill_eapd_coef()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
D | nv50.c | 56 u32 coef, ref = nvkm_clk_read(&clk->base, nv_clk_src_crystal); in read_pll_src() local 73 coef = nvkm_rd32(device, 0x00e81c + (id * 0x0c)); in read_pll_src() 74 ref *= (coef & 0x01000000) ? 2 : 4; in read_pll_src() 75 P = (coef & 0x00070000) >> 16; in read_pll_src() 76 N = ((coef & 0x0000ff00) >> 8) + 1; in read_pll_src() 77 M = ((coef & 0x000000ff) >> 0) + 1; in read_pll_src() 82 coef = nvkm_rd32(device, 0x00e81c); in read_pll_src() 83 P = (coef & 0x00070000) >> 16; in read_pll_src() 84 N = (coef & 0x0000ff00) >> 8; in read_pll_src() 85 M = (coef & 0x000000ff) >> 0; in read_pll_src() [all …]
|
D | gf100.c | 38 u32 coef; member 63 u32 coef = nvkm_rd32(device, pll + 0x04); in read_pll() local 64 u32 P = (coef & 0x003f0000) >> 16; in read_pll() 65 u32 N = (coef & 0x0000ff00) >> 8; in read_pll() 66 u32 M = (coef & 0x000000ff) >> 0; in read_pll() 242 calc_pll(struct gf100_clk *clk, int idx, u32 freq, u32 *coef) in calc_pll() argument 261 *coef = (P << 16) | (N << 8) | M; in calc_pll() 284 clk1 = calc_pll(clk, idx, freq, &info->coef); in calc_clk() 302 info->ssel = info->coef = 0; in calc_clk() 366 if (info->coef) { in gf100_clk_prog_2() [all …]
|
D | gk104.c | 38 u32 coef; member 64 u32 coef = nvkm_rd32(device, pll + 0x04); in read_pll() local 65 u32 P = (coef & 0x003f0000) >> 16; in read_pll() 66 u32 N = (coef & 0x0000ff00) >> 8; in read_pll() 67 u32 M = (coef & 0x000000ff) >> 0; in read_pll() 82 P = (coef & 0x10000000) ? 2 : 1; in read_pll() 263 calc_pll(struct gk104_clk *clk, int idx, u32 freq, u32 *coef) in calc_pll() argument 282 *coef = (P << 16) | (N << 8) | M; in calc_pll() 306 clk1 = calc_pll(clk, idx, freq, &info->coef); in calc_clk() 393 if (info->coef) { in gk104_clk_prog_2() [all …]
|
D | nv40.c | 60 u32 coef = nvkm_rd32(device, reg + 0x04); in read_pll_2() local 61 int N2 = (coef & 0xff000000) >> 24; in read_pll_2() 62 int M2 = (coef & 0x00ff0000) >> 16; in read_pll_2() 63 int N1 = (coef & 0x0000ff00) >> 8; in read_pll_2() 64 int M1 = (coef & 0x000000ff) >> 0; in read_pll_2()
|
D | gt215.c | 116 u32 coef = nvkm_rd32(device, pll + 4); in read_pll() local 117 M = (coef & 0x000000ff) >> 0; in read_pll() 118 N = (coef & 0x0000ff00) >> 8; in read_pll() 119 P = (coef & 0x003f0000) >> 16; in read_pll() 367 const u32 coef = pll + 4; in prog_pll() local 380 nvkm_wr32(device, coef, info->pll); in prog_pll()
|
D | mcp77.c | 53 u32 coef = nvkm_rd32(device, base + 4); in read_pll() local 70 N1 = (coef & 0x0000ff00) >> 8; in read_pll() 71 M1 = (coef & 0x000000ff); in read_pll()
|
/linux-4.4.14/crypto/async_tx/ |
D | async_raid6_recov.c | 32 async_sum_product(struct page *dest, struct page **srcs, unsigned char *coef, in async_sum_product() argument 64 tx = dma->device_prep_dma_pq(chan, pq, unmap->addr, 2, coef, in async_sum_product() 81 amul = raid6_gfmul[coef[0]]; in async_sum_product() 82 bmul = raid6_gfmul[coef[1]]; in async_sum_product() 97 async_mult(struct page *dest, struct page *src, u8 coef, size_t len, in async_mult() argument 130 1, &coef, len, dma_flags); in async_mult() 149 qmul = raid6_gfmul[coef]; in async_mult() 166 unsigned char coef[2]; in __2data_recov_4() local 182 coef[0] = raid6_gfexi[failb-faila]; in __2data_recov_4() 183 coef[1] = raid6_gfinv[raid6_gfexp[faila]^raid6_gfexp[failb]]; in __2data_recov_4() [all …]
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | ramnv40.c | 57 ram->coef = (N1 << 8) | M1; in nv40_ram_calc() 60 ram->coef = (N2 << 24) | (M2 << 16) | (N1 << 8) | M1; in nv40_ram_calc() 132 nvkm_wr32(device, 0x004048, ram->coef); in nv40_ram_prog() 133 nvkm_wr32(device, 0x004030, ram->coef); in nv40_ram_prog() 138 nvkm_wr32(device, 0x00403c, ram->coef); in nv40_ram_prog() 141 nvkm_wr32(device, 0x004024, ram->coef); in nv40_ram_prog()
|
D | ramnv40.h | 9 u32 coef; member
|
/linux-4.4.14/drivers/media/platform/omap3isp/ |
D | isph3a_af.c | 36 u32 coef; in h3a_af_setup_regs() local 81 coef = 0; in h3a_af_setup_regs() 82 coef |= conf->iir.coeff_set0[index]; in h3a_af_setup_regs() 83 coef |= conf->iir.coeff_set0[index + 1] << in h3a_af_setup_regs() 85 isp_reg_writel(af->isp, coef, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs() 90 coef = 0; in h3a_af_setup_regs() 91 coef |= conf->iir.coeff_set1[index]; in h3a_af_setup_regs() 92 coef |= conf->iir.coeff_set1[index + 1] << in h3a_af_setup_regs() 94 isp_reg_writel(af->isp, coef, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs()
|
/linux-4.4.14/Documentation/devicetree/bindings/iio/light/ |
D | us5182d.txt | 8 - upisemi,glass-coef: glass attenuation factor - compensation factor of 19 The glass-coef defaults to no compensation for the covering material. 30 upisemi,glass-coef = < 1000 >;
|
/linux-4.4.14/drivers/dma/ioat/ |
D | hw.h | 192 uint8_t coef[8]; member 223 unsigned int coef:8; member 242 uint8_t coef[8]; member
|
D | prep.c | 66 dma_addr_t addr, u32 offset, u8 coef, int idx) in pq_set_src() argument 72 pq->coef[idx] = coef; in pq_set_src() 76 dma_addr_t addr, u32 offset, u8 coef, unsigned idx) in pq16_set_src() argument 86 pq->coef[idx] = coef; in pq16_set_src() 88 pq16->coef[idx - 8] = coef; in pq16_set_src() 309 (unsigned long long) pq_get_src(descs, i), pq->coef[i]); in dump_pq_desc_dbg() 344 pq->coef[i]); in dump_pq16_desc_dbg()
|
/linux-4.4.14/drivers/input/ |
D | joydev.c | 82 value = value > corr->coef[0] ? (value < corr->coef[1] ? 0 : in joydev_correct() 83 ((corr->coef[3] * (value - corr->coef[1])) >> 14)) : in joydev_correct() 84 ((corr->coef[2] * (value - corr->coef[0])) >> 14); in joydev_correct() 883 joydev->corr[i].coef[0] = t - input_abs_get_flat(dev, j); in joydev_connect() 884 joydev->corr[i].coef[1] = t + input_abs_get_flat(dev, j); in joydev_connect() 889 joydev->corr[i].coef[2] = (1 << 29) / t; in joydev_connect() 890 joydev->corr[i].coef[3] = (1 << 29) / t; in joydev_connect()
|
/linux-4.4.14/drivers/media/platform/s5p-jpeg/ |
D | jpeg-hw-s5p.h | 53 unsigned int j, unsigned int coef);
|
D | jpeg-hw-s5p.c | 266 unsigned int j, unsigned int coef) in s5p_jpeg_coef() argument 272 reg |= (coef << S5P_COEFn_SHIFT(j)) & S5P_COEFn_MASK(j); in s5p_jpeg_coef()
|
/linux-4.4.14/include/uapi/linux/ |
D | joystick.h | 80 __s32 coef[8]; member
|
/linux-4.4.14/drivers/thermal/ |
D | of-thermal.c | 735 u32 prop, coef[2]; in thermal_of_build_thermal_zone() local 765 ret = of_property_read_u32_array(np, "coefficients", coef, 2); in thermal_of_build_thermal_zone() 767 tz->slope = coef[0]; in thermal_of_build_thermal_zone() 768 tz->offset = coef[1]; in thermal_of_build_thermal_zone()
|
/linux-4.4.14/drivers/dma/ |
D | fsl_raid.c | 440 unsigned char coef[2]; in fsl_re_prep_dma_pq() local 443 coef[0] = *scf; in fsl_re_prep_dma_pq() 445 coef[1] = 0; in fsl_re_prep_dma_pq() 446 tx = fsl_re_prep_dma_genq(chan, dest[1], dma_src, 2, coef, len, in fsl_re_prep_dma_pq()
|
/linux-4.4.14/arch/arm/mach-iop13xx/include/mach/ |
D | adma.h | 442 dma_addr_t addr, unsigned char coef) in iop_desc_set_pq_src_addr() argument 454 src->pq_dmlt = coef; in iop_desc_set_pq_src_addr()
|
/linux-4.4.14/drivers/clk/tegra/ |
D | clk-dfll.c | 723 int coef = 128; /* FIXME: td->cg_scale? */; in dfll_set_frequency_request() local 725 force_val = (req->lut_index - td->lut_safe) * coef / td->cg; in dfll_set_frequency_request()
|
/linux-4.4.14/arch/arm/include/asm/hardware/ |
D | iop3xx-adma.h | 213 dma_addr_t addr, unsigned char coef) in iop_desc_set_pq_src_addr() argument
|
/linux-4.4.14/Documentation/sound/alsa/ |
D | HD-Audio-Models.txt | 15 coef Enable EAPD via COEF table
|
/linux-4.4.14/Documentation/input/ |
D | joystick-api.txt | 252 __s32 coef[8];
|
/linux-4.4.14/drivers/net/wireless/b43/ |
D | phy_n.c | 5299 u16 coef[4]; in b43_nphy_restore_cal() local 5323 table[i] = coef[i]; in b43_nphy_restore_cal() 5325 coef[i] = 0; in b43_nphy_restore_cal() 5328 b43_ntab_write_bulk(dev, B43_NTAB16(15, 88), 4, coef); in b43_nphy_restore_cal()
|