HomeSort by: relevance | last modified time | path
    Searched defs:bias (Results 1 - 15 of 15) sorted by relevancy

  /src/lib/libm/noieee_src/
n_support.c 79 static const short prep1=57, gap=7, bias=129 ; variable in typeref:typename:const short
83 static const short prep1=54, gap=4, bias=1023 ; variable in typeref:typename:const short
158 return (int)(((*px&mexp)>>gap)-bias);
162 return ( (k>>gap) - bias );
  /src/sys/dev/fdt/
fdt_pinctrl.c 210 int bias = -1; local in function:fdtbus_pinctrl_parse_bias
213 * bias-pull-{up,down,pin-default} properties have an optional
217 * XXXJRT How to represent bias-pull-pin-default?
220 if (of_hasprop(phandle, "bias-disable")) {
221 bias = 0;
222 } else if (of_hasprop(phandle, "bias-pull-up")) {
223 bias_prop = "bias-pull-up";
224 bias = GPIO_PIN_PULLUP;
225 } else if (of_hasprop(phandle, "bias-pull-down")) {
226 bias_prop = "bias-pull-down"
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/hw/
ipp.h 55 uint16_t bias; member in struct:ipp_prescale_params
  /src/sys/external/bsd/drm2/dist/drm/i915/gt/
intel_context.c 167 unsigned int bias = i915_ggtt_pin_bias(vma) | PIN_OFFSET_BIAS; local in function:__context_pin_state
170 err = i915_ggtt_pin(vma, 0, bias | PIN_HIGH);
  /src/sys/arch/arm/rockchip/
rk3288_iomux.c 164 int bias)
169 switch (bias) {
250 int bias, drv; local in function:rk3288_iomux_config
252 bias = fdtbus_pinctrl_parse_bias(phandle, NULL);
262 printf(" bias %d drv %d mux %u\n", bias, drv, mux);
267 if (bias != -1) {
268 rk3288_iomux_set_bias(sc, reg, bias);
rk3328_iomux.c 164 rk3328_iomux_set_bias(struct rk3328_iomux_softc *sc, u_int bank, u_int idx, u_int bias)
168 __SHIFTIN(bias, GRF_GPIO_P_CTL(idx)));
194 const int bias = fdtbus_pinctrl_parse_bias(phandle, NULL); local in function:rk3328_iomux_config
195 switch (bias) {
rk3588_iomux.c 854 rk3588_iomux_set_bias(struct rk3588_iomux_softc *sc, int pin, int bias)
858 switch (bias) {
879 printf("%s: pin=%s bias %s (reg:%08lx -> %08x)\n", __func__,
880 rk3588_iomux_pinname(pin), (bias == 0) ? "Z" :
881 (bias == GPIO_PIN_PULLUP) ? "PULLUP" : "PULLDOWN",
949 int bias = fdtbus_pinctrl_parse_bias(phandle, NULL); local in function:rk3588_iomux_config
950 if (bias != -1)
951 rk3588_iomux_set_bias(sc, pin, bias);
rk3399_iomux.c 50 /* Different bias value mapping based on pull type of pin */
216 u_int bias; local in function:rk3399_iomux_set_bias
231 bias = pull_type == RK3399_PULL_TYPE_IO_DEFAULT ?
235 bias = pull_type == RK3399_PULL_TYPE_IO_DEFAULT ?
239 bias = pull_type == RK3399_PULL_TYPE_IO_DEFAULT ?
244 const uint32_t bias_val = __SHIFTIN(bias, GRF_GPIO_P_CTL(idx));
386 const int bias = fdtbus_pinctrl_parse_bias(phandle, NULL); local in function:rk3399_iomux_config
387 if (bias != -1)
388 rk3399_iomux_set_bias(sc, bank, idx, bias);
  /src/games/larn/
monster.c 1228 int dam, tmp, mster, bias; local in function:hitplayer
1246 bias = (c[HARDGAME]) + 1;
1269 if (((dam + bias + 8) > c[AC]) || (rnd((int) ((c[AC] > 0) ? c[AC] : 1)) == 1)) {
1275 bias -= 2;
1278 if (((dam + bias) > c[AC]) || (rnd((int) ((c[AC] > 0) ? c[AC] : 1)) == 1)) {
  /src/sys/dev/ic/
arn5416.c 880 uint8_t bias; local in function:ar5416_force_bias
889 bias = 0;
891 bias = 1;
893 bias = 2;
894 ar5416_reverse_bits(bias, 3);
897 ar5416_rw_rfbits(rwbank6, 3, 181, bias, 3);
906 * Overwrite XPA bias level based on ROM setting.
914 uint8_t fbin, bias; local in function:ar9160_rw_addac
919 /* Get the XPA bias level to use for the specified channel. */
922 bias = modal->xpaBiasLvlFreq[0] >> 14
    [all...]
  /src/sys/fs/msdosfs/
msdosfs_vnops.c 960 long bias = 0; local in function:msdosfs_readdir
1017 * directory. We also set the offset bias to make up for having to
1027 bias = 2 * sizeof(struct direntry);
1028 if (offset < bias) {
1069 lbn = de_cluster(pmp, offset - bias);
1070 on = (offset - bias) & pmp->pm_crbomask;
1072 diff = dep->de_FileSize - (offset - bias);
1203 if (dep->de_FileSize - (offset - bias) <= 0)
  /src/sys/arch/riscv/starfive/
jh7100_pinctrl.c 165 const int bias = fdtbus_pinctrl_parse_bias(phandle, NULL); local in function:jh7100_pinctrl_pin_properties
169 switch (bias) {
jh7110_pinctrl.c 443 const int bias = fdtbus_pinctrl_parse_bias(phandle, NULL); local in function:jh7110_pinctrl_pin_properties
451 switch (bias) {
  /src/sys/arch/arm/sunxi/
sunxi_gpio.c 734 int bias; local in function:sunxi_pinctrl_parse_bias
736 bias = fdtbus_pinctrl_parse_bias(phandle, NULL);
737 if (bias != -1)
738 return bias;
743 bias = 0;
746 bias = GPIO_PIN_PULLUP;
749 bias = GPIO_PIN_PULLDOWN;
754 return bias;
820 aprint_debug_dev(sc->sc_dev, "set io bias config for port %d to 0x%x\n",
844 * Optional: bias, drive strengt
854 const int bias = sunxi_pinctrl_parse_bias(phandle); local in function:sunxi_pinctrl_set_config
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/
dc_hw_types.h 506 int bias; member in struct:dpp_cursor_attributes

Completed in 23 milliseconds