| /src/sys/dev/raidframe/ | 
| rf_pqdegdags.c | 130 	unsigned coeff;  local in function:applyPDA 141 		coeff = rf_RaidAddressToStripeUnitID(&(raidPtr->Layout), pda->raidAddress);
 142 		coeff = (coeff % raidPtr->Layout.numDataCol);
 162 		/* dest, src, len, coeff */
 163 		rf_IncQ((unsigned long *) qbuf, (unsigned long *) buf, rf_RaidAddressToByte(raidPtr, len), coeff);
 194 	unsigned coeff;  local in function:rf_PQDoubleRecoveryFunc
 226 		coeff = rf_RaidAddressToStripeUnitID(layoutPtr, pda->raidAddress);
 228 		coeff = (coeff % raidPtr->Layout.numDataCol)
 305  unsigned coeff;  local in function:rf_PQWriteDoubleRecoveryFunc
 [all...]
 | 
| rf_pq.c | 90     unsigned char coeff); 93     unsigned length, unsigned coeff);
 252 	unsigned long coeff;  local in function:rf_RegularONQFunc
 269 		coeff = rf_RaidAddressToStripeUnitID(&(raidPtr->Layout), new->raidAddress);
 272 		coeff = (coeff % raidPtr->Layout.numDataCol);
 274 		QDelta(qpbuf, obuf, nbuf, rf_RaidAddressToByte(raidPtr, old->numSector), coeff);
 315 	unsigned long coeff;  local in function:rf_SimpleONQFunc
 331 		coeff = rf_RaidAddressToStripeUnitID(&(raidPtr->Layout), new->raidAddress);
 334 		coeff = (coeff % raidPtr->Layout.numDataCol)
 363  unsigned long coeff;  local in function:RegularQSubr
 406  unsigned long coeff;  local in function:DegrQSubr
 542  unsigned long coeff;  local in function:rf_RecoveryQFunc
 602  unsigned long coeff;  local in function:rf_PQ_DegradedWriteQFunc
 [all...]
 | 
| rf_pq.h | 66     unsigned coeff); 
 | 
| /src/sys/external/bsd/drm2/dist/drm/amd/display/modules/color/ | 
| amdgpu_color_gamma.c | 474 	struct gamma_coefficients *coeff, 478 	scratch_gamma_args.a0 = coeff->a0[color_index];
 479 	scratch_gamma_args.a1 = coeff->a1[color_index];
 480 	scratch_gamma_args.a2 = coeff->a2[color_index];
 481 	scratch_gamma_args.a3 = coeff->a3[color_index];
 482 	scratch_gamma_args.gamma = coeff->user_gamma[color_index];
 490 	struct gamma_coefficients *coeff,
 495 		coeff->a0[color_index],
 496 		coeff->a1[color_index],
 497 		coeff->a2[color_index]
 824  struct gamma_coefficients *coeff;  local in function:build_regamma
 1026  struct gamma_coefficients coeff;  local in function:build_degamma
 1462  const struct pixel_gamma_point *coeff = coeff128;  local in function:calculate_interpolated_hardware_curve
 1618  struct gamma_coefficients coeff;  local in function:apply_degamma_for_user_regamma
 1684  struct gamma_coefficients coeff;  local in function:calculate_user_regamma_coeff
 1798  struct pixel_gamma_point *coeff = NULL;  local in function:mod_color_calculate_degamma_params
 2015  struct pixel_gamma_point *coeff = NULL;  local in function:mod_color_calculate_regamma_params
 [all...]
 | 
| color_gamma.h | 47 		unsigned int coeffFromUser        :1;    //coeff. A0-A3 from user is in use 48 		unsigned int coeffFromEdid        :1;    //coeff. A0-A3 from edid is in use
 74 		struct regamma_coeff coeff;  member in union:regamma_lut::__anon16c37e21020a
 
 | 
| /src/sys/external/bsd/drm2/dist/drm/i915/display/ | 
| intel_color.c | 45 #define CTM_COEFF_NEGATIVE(coeff)	(((coeff) & CTM_COEFF_SIGN) != 0) 46 #define CTM_COEFF_ABS(coeff)		((coeff) & (CTM_COEFF_SIGN - 1))
 74 #define ILK_CSC_COEFF_FP(coeff, fbits)	\
 75 	(clamp_val(((coeff) >> (32 - (fbits) - 3)) + 4, 0, 0xfff) & 0xff8)
 159 				const u16 coeff[9],
 169 	I915_WRITE(PIPE_CSC_COEFF_RY_GY(pipe), coeff[0] << 16 | coeff[1]);
 170 	I915_WRITE(PIPE_CSC_COEFF_BY(pipe), coeff[2] << 16)
 283  u16 coeff[9];  local in function:ilk_load_csc_matrix
 321  u16 coeff[9];  local in function:icl_load_csc_matrix
 [all...]
 | 
| /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/clk/ | 
| nouveau_nvkm_subdev_clk_gm20b.c | 199 	u32 coeff;  local in function:gm20b_dvfs_calc_det_coeff 203 	/* coeff = slope * voltage + offset */
 204 	coeff = DIV_ROUND_CLOSEST(mv * p->coeff_slope, 1000) + p->coeff_offs;
 205 	coeff = DIV_ROUND_CLOSEST(coeff, 1000);
 206 	dvfs->dfs_coeff = min_t(u32, coeff, MASK(GPCPLL_DVFS0_DFS_COEFF_WIDTH));
 216 	nvkm_debug(subdev, "%s uv: %d coeff: %x, ext_cal: %d, det_max: %d\n",
 518 gm20b_dvfs_program_coeff(struct gm20b_clk *clk, u32 coeff)
 528 		  coeff << GPCPLL_DVFS0_DFS_COEFF_SHIFT);
 589 	 * frequency to be safe at at DVFS coeff = 0
 [all...]
 | 
| /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/hw/ | 
| opp.h | 175 	struct fixed31_32 coeff;  member in struct:gamma_point 
 | 
| /src/sys/dev/ic/ | 
| arn9003.c | 1945 	uint32_t coeff, exp, man, reg;  local in function:ar9003_set_delta_slope 1948 	coeff = (100 << 24) / c->ic_freq;
 1949 	athn_get_delta_slope(coeff, &exp, &man);
 1950 	DPRINTFN(DBG_RF, sc, "delta slope coeff exp=%u man=%u\n", exp, man);
 1957 	/* For Short GI, coeff is 9/10 that of normal coeff. */
 1958 	coeff = (9 * coeff) / 10;
 1959 	athn_get_delta_slope(coeff, &exp, &man);
 1960 	DPRINTFN(DBG_RF, sc, "delta slope coeff exp=%u man=%u\n", exp, man)
 2436  int32_t res[6], coeff[2];  local in function:ar9003_calib_tx_iq
 [all...]
 | 
| arn5008.c | 1770 	uint32_t coeff, exp, man, reg;  local in function:ar5008_set_delta_slope 1773 	coeff = (100 << 24) / c->ic_freq;
 1774 	athn_get_delta_slope(coeff, &exp, &man);
 1775 	DPRINTFN(DBG_RX, sc, "delta slope coeff exp=%u man=%u\n", exp, man);
 1782 	/* For Short GI, coeff is 9/10 that of normal coeff. */
 1783 	coeff = (9 * coeff) / 10;
 1784 	athn_get_delta_slope(coeff, &exp, &man);
 1785 	DPRINTFN(DBG_RX, sc, "delta slope coeff exp=%u man=%u\n", exp, man)
 [all...]
 | 
| athn.c | 1008 athn_get_delta_slope(uint32_t coeff, uint32_t *exponent, uint32_t *mantissa) 1013 	/* exponent = 14 - floor(log2(coeff)) */
 1015 		if (coeff & (1U << exp))
 1019 	/* mantissa = floor(coeff * 2^exponent + 0.5) */
 1020 	man = coeff + (1 << (COEFF_SCALE_SHIFT - exp - 1));
 
 | 
| /src/sys/dev/usb/ | 
| if_otus.c | 2770 otus_get_delta_slope(uint32_t coeff, uint32_t *exponent, uint32_t *mantissa) 2777 	/* exponent = 14 - floor(log2(coeff)) */
 2779 		if (coeff & (1 << exp))
 2784 	/* mantissa = floor(coeff * 2^exponent + 0.5) */
 2785 	man = coeff + (1 << (COEFF_SCALE_SHIFT - exp - 1));
 2798 	uint32_t coeff, exp, man, tmp;  local in function:otus_set_chan
 2878 	coeff = (100 << 24) / c->ic_freq;
 2879 	otus_get_delta_slope(coeff, &exp, &man);
 2882 	DPRINTFN(DBG_CHAN, sc, "ds coeff=%u exp=%u man=%u\n",
 2883 	    coeff, exp, man)
 [all...]
 | 
| /src/sys/external/bsd/drm2/dist/drm/radeon/ | 
| radeon_ni_dpm.c | 746 static void ni_calculate_leakage_for_v_and_t_formula(const struct ni_leakage_coeffients *coeff, 757 	kt = drm_fixp_mul(div64_s64(drm_int2fixp(coeff->at), 1000),
 758 			  drm_fixp_exp(drm_fixp_mul(div64_s64(drm_int2fixp(coeff->bt), 1000), temperature)));
 759 	kv = drm_fixp_mul(div64_s64(drm_int2fixp(coeff->av), 1000),
 760 			  drm_fixp_exp(drm_fixp_mul(div64_s64(drm_int2fixp(coeff->bv), 1000), vddc)));
 768 					     const struct ni_leakage_coeffients *coeff,
 774 	ni_calculate_leakage_for_v_and_t_formula(coeff, v, t, i_leakage, leakage);
 
 | 
| radeon_si_dpm.c | 1776 static void si_calculate_leakage_for_v_and_t_formula(const struct ni_leakage_coeffients *coeff, 1787 	t_slope = div64_s64(drm_int2fixp(coeff->t_slope), 100000000);
 1788 	t_intercept = div64_s64(drm_int2fixp(coeff->t_intercept), 100000000);
 1789 	av = div64_s64(drm_int2fixp(coeff->av), 100000000);
 1790 	bv = div64_s64(drm_int2fixp(coeff->bv), 100000000);
 1791 	t_ref = drm_int2fixp(coeff->t_ref);
 1804 					     const struct ni_leakage_coeffients *coeff,
 1810 	si_calculate_leakage_for_v_and_t_formula(coeff, v, t, i_leakage, leakage);
 1813 static void si_calculate_leakage_for_v_formula(const struct ni_leakage_coeffients *coeff,
 1823 	kv = drm_fixp_mul(div64_s64(drm_int2fixp(coeff->av), 100000000)
 [all...]
 | 
| /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ | 
| amdgpu_si_dpm.c | 1868 static void si_calculate_leakage_for_v_and_t_formula(const struct ni_leakage_coeffients *coeff, 1879 	t_slope = div64_s64(drm_int2fixp(coeff->t_slope), 100000000);
 1880 	t_intercept = div64_s64(drm_int2fixp(coeff->t_intercept), 100000000);
 1881 	av = div64_s64(drm_int2fixp(coeff->av), 100000000);
 1882 	bv = div64_s64(drm_int2fixp(coeff->bv), 100000000);
 1883 	t_ref = drm_int2fixp(coeff->t_ref);
 1896 					     const struct ni_leakage_coeffients *coeff,
 1902 	si_calculate_leakage_for_v_and_t_formula(coeff, v, t, i_leakage, leakage);
 1905 static void si_calculate_leakage_for_v_formula(const struct ni_leakage_coeffients *coeff,
 1915 	kv = drm_fixp_mul(div64_s64(drm_int2fixp(coeff->av), 100000000)
 [all...]
 | 
| /src/sys/dev/pci/ | 
| neo.c | 52 #include <dev/pci/neo-coeff.h> 110  *    Figure out how to shrink that huge table neo-coeff.h
 
 |