Searched refs:coef (Results 1 - 15 of 15) sorted by relevance

/drivers/gpu/drm/nouveau/core/subdev/fb/
H A Dnv40.h9 u32 coef; member in struct:nv40_ram
H A Dramnv40.c61 ram->coef = (N1 << 8) | M1;
64 ram->coef = (N2 << 24) | (M2 << 16) | (N1 << 8) | M1;
123 nv_wr32(pfb, 0x004048, ram->coef);
124 nv_wr32(pfb, 0x004030, ram->coef);
129 nv_wr32(pfb, 0x00403c, ram->coef);
132 nv_wr32(pfb, 0x004024, ram->coef);
/drivers/gpu/drm/nouveau/core/subdev/clock/
H A Dnv50.c55 u32 coef, ref = clk->read(clk, nv_clk_src_crystal); local
72 coef = nv_rd32(priv, 0x00e81c + (id * 0x0c));
73 ref *= (coef & 0x01000000) ? 2 : 4;
74 P = (coef & 0x00070000) >> 16;
75 N = ((coef & 0x0000ff00) >> 8) + 1;
76 M = ((coef & 0x000000ff) >> 0) + 1;
81 coef = nv_rd32(priv, 0x00e81c);
82 P = (coef & 0x00070000) >> 16;
83 N = (coef & 0x0000ff00) >> 8;
84 M = (coef
159 u32 coef = nv_rd32(priv, base + 4); local
[all...]
H A Dnvc0.c38 u32 coef; member in struct:nvc0_clock_info
63 u32 coef = nv_rd32(priv, pll + 0x04); local
64 u32 P = (coef & 0x003f0000) >> 16;
65 u32 N = (coef & 0x0000ff00) >> 8;
66 u32 M = (coef & 0x000000ff) >> 0;
239 calc_pll(struct nvc0_clock_priv *priv, int clk, u32 freq, u32 *coef) argument
257 *coef = (P << 16) | (N << 8) | M;
281 clk1 = calc_pll(priv, clk, freq, &info->coef);
299 info->ssel = info->coef = 0;
357 if (info->coef) {
[all...]
H A Dnv40.c68 u32 coef = nv_rd32(priv, reg + 0x04); local
69 int N2 = (coef & 0xff000000) >> 24;
70 int M2 = (coef & 0x00ff0000) >> 16;
71 int N1 = (coef & 0x0000ff00) >> 8;
72 int M1 = (coef & 0x000000ff) >> 0;
H A Dnve0.c38 u32 coef; member in struct:nve0_clock_info
62 u32 coef = nv_rd32(priv, pll + 0x04); local
63 u32 P = (coef & 0x003f0000) >> 16;
64 u32 N = (coef & 0x0000ff00) >> 8;
65 u32 M = (coef & 0x000000ff) >> 0;
80 P = (coef & 0x10000000) ? 2 : 1;
257 calc_pll(struct nve0_clock_priv *priv, int clk, u32 freq, u32 *coef) argument
275 *coef = (P << 16) | (N << 8) | M;
299 clk1 = calc_pll(priv, clk, freq, &info->coef);
379 if (info->coef) {
[all...]
H A Dnva3.c114 u32 coef = nv_rd32(priv, pll + 4); local
115 M = (coef & 0x000000ff) >> 0;
116 N = (coef & 0x0000ff00) >> 8;
117 P = (coef & 0x003f0000) >> 16;
346 const u32 coef = pll + 4; local
359 nv_wr32(priv, coef, info->pll);
H A Dnvaa.c53 u32 coef = nv_rd32(clk, base + 4); local
70 N1 = (coef & 0x0000ff00) >> 8;
71 M1 = (coef & 0x000000ff);
/drivers/media/platform/omap3isp/
H A Disph3a_af.c36 u32 coef; local
81 coef = 0;
82 coef |= conf->iir.coeff_set0[index];
83 coef |= conf->iir.coeff_set0[index + 1] <<
85 isp_reg_writel(af->isp, coef, OMAP3_ISP_IOMEM_H3A,
90 coef = 0;
91 coef |= conf->iir.coeff_set1[index];
92 coef |= conf->iir.coeff_set1[index + 1] <<
94 isp_reg_writel(af->isp, coef, OMAP3_ISP_IOMEM_H3A,
/drivers/dma/ioat/
H A Dhw.h185 uint8_t coef[8]; member in struct:ioat_pq_descriptor
216 unsigned int coef:8; member in struct:ioat_pq_update_descriptor::__anon571::__anon572
235 uint8_t coef[8]; member in struct:ioat_pq16a_descriptor
H A Ddma_v3.c117 dma_addr_t addr, u32 offset, u8 coef, int idx)
123 pq->coef[idx] = coef;
236 dma_addr_t addr, u32 offset, u8 coef, unsigned idx)
246 pq->coef[idx] = coef;
248 pq16->coef[idx - 8] = coef;
777 dev_dbg(dev, "\tsrc[%d]: %#llx coef: %#x\n", i,
778 (unsigned long long) pq_get_src(descs, i), pq->coef[
116 pq_set_src(struct ioat_raw_descriptor *descs[2], dma_addr_t addr, u32 offset, u8 coef, int idx) argument
235 pq16_set_src(struct ioat_raw_descriptor *desc[3], dma_addr_t addr, u32 offset, u8 coef, unsigned idx) argument
[all...]
/drivers/media/platform/s5p-jpeg/
H A Djpeg-hw-s5p.h56 unsigned int j, unsigned int coef);
H A Djpeg-hw-s5p.c298 unsigned int j, unsigned int coef)
304 reg |= (coef << S5P_COEFn_SHIFT(j)) & S5P_COEFn_MASK(j);
297 s5p_jpeg_coef(void __iomem *regs, unsigned int i, unsigned int j, unsigned int coef) argument
/drivers/input/
H A Djoydev.c82 value = value > corr->coef[0] ? (value < corr->coef[1] ? 0 :
83 ((corr->coef[3] * (value - corr->coef[1])) >> 14)) :
84 ((corr->coef[2] * (value - corr->coef[0])) >> 14);
833 joydev->corr[i].coef[0] = t - input_abs_get_flat(dev, j);
834 joydev->corr[i].coef[1] = t + input_abs_get_flat(dev, j);
839 joydev->corr[i].coef[2] = (1 << 29) / t;
840 joydev->corr[i].coef[
[all...]
/drivers/net/wireless/b43/
H A Dphy_n.c5299 u16 coef[4]; local
5323 table[i] = coef[i];
5325 coef[i] = 0;
5328 b43_ntab_write_bulk(dev, B43_NTAB16(15, 88), 4, coef);

Completed in 187 milliseconds