Home
last modified time | relevance | path

Searched refs:resolution (Results 1 – 25 of 174) sorted by relevance

1234567

/freebsd/sys/kern/
H A Dsubr_rtc.c104 int resolution; member
211 clock_register_flags(device_t clockdev, long resolution, int flags) in clock_register_flags() argument
217 newrtc->resolution = (int)resolution; in clock_register_flags()
220 newrtc->resadj.tv_sec = newrtc->resolution / 2 / 1000000; in clock_register_flags()
221 newrtc->resadj.tv_nsec = newrtc->resolution / 2 % 1000000 * 1000; in clock_register_flags()
230 if (rtc->resolution > newrtc->resolution) { in clock_register_flags()
243 newrtc->resolution / 1000000, newrtc->resolution % 1000000); in clock_register_flags()
/freebsd/sys/dev/iicbus/sensor/
H A Dlm75.c382 uint8_t resolution = sc->sc_resolution; in lm75_temp_read() local
389 *temp = ((buf >> (16 - resolution)) * multiplier) >> (resolution - 8); in lm75_temp_read()
400 uint8_t buf8[3], resolution = sc->sc_resolution; in lm75_temp_write() local
409 buf = ((temp << (resolution - 8)) / multiplier) << (16 - resolution); in lm75_temp_write()
614 int resolution; in lm75_resolution_sysctl() local
618 resolution = sc->sc_resolution; in lm75_resolution_sysctl()
620 error = sysctl_handle_int(oidp, &resolution, 0, req); in lm75_resolution_sysctl()
624 if (resolution > sc->sc_max_resolution || resolution < 9) in lm75_resolution_sysctl()
627 sc->sc_resolution = (uint8_t) resolution; in lm75_resolution_sysctl()
/freebsd/sys/dev/ice/
H A Dice_fw_logging.c173 * ice_sysctl_fwlog_log_resolution - Sysctl for setting log message resolution
190 u8 resolution; in ice_sysctl_fwlog_log_resolution() local
194 resolution = cfg->log_resolution; in ice_sysctl_fwlog_log_resolution()
196 error = sysctl_handle_8(oidp, &resolution, 0, req); in ice_sysctl_fwlog_log_resolution()
200 if ((resolution < ICE_AQC_FW_LOG_MIN_RESOLUTION) || in ice_sysctl_fwlog_log_resolution()
201 (resolution > ICE_AQC_FW_LOG_MAX_RESOLUTION)) { in ice_sysctl_fwlog_log_resolution()
202 device_printf(sc->dev, "Log resolution out-of-bounds\n"); in ice_sysctl_fwlog_log_resolution()
206 cfg->log_resolution = resolution; in ice_sysctl_fwlog_log_resolution()
/freebsd/sys/dev/isl/
H A Disl.c227 SYSCTL_CHILDREN(sysctl_tree), OID_AUTO, "resolution", in isl_attach()
230 "Current proximity sensor resolution"); in isl_attach()
261 int resolution; in isl_sysctl() local
272 resolution = resolutions[(rbyte & CMD2_MASK_RESOLUTION) in isl_sysctl()
279 CMD1_MASK_ALS_ONCE) * range) >> resolution; in isl_sysctl()
288 arg = (1 << resolution); in isl_sysctl()
/freebsd/contrib/ntp/ntpsnmpd/
H A DntpSnmpSubagentObject.c428 u_int32 resolution; in get_ntpEntTimeResolution() local
441 resolution = 1 << -precision; in get_ntpEntTimeResolution()
445 (void *)&resolution, in get_ntpEntTimeResolution()
446 sizeof(resolution)); in get_ntpEntTimeResolution()
/freebsd/sys/contrib/device-tree/Bindings/leds/
H A Dleds-lm3697.txt30 - ti,brightness-resolution - see Documentation/devicetree/bindings/mfd/ti-lmu.txt
54 ti,brightness-resolution = <2047>;
64 ti,brightness-resolution = <255>;
/freebsd/usr.sbin/bhyve/amd64/
H A Dps2mouse.c102 uint8_t resolution; member
236 sc->resolution = 4; in ps2mouse_reset()
290 sc->resolution = val; in ps2mouse_write()
350 fifo_put(sc, sc->resolution); in ps2mouse_write()
427 SNAPSHOT_VAR_OR_LEAVE(sc->resolution, meta, ret, done); in ps2mouse_snapshot()
/freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/
H A Dauo_pixcir_ts.txt9 - x-size: horizontal resolution of touchscreen
10 - y-size: vertical resolution of touchscreen
H A Dzforce_ts.txt8 - x-size: horizontal resolution of touchscreen
9 - y-size: vertical resolution of touchscreen
H A Dsamsung,s6sy761.txt12 device. If defined it forces a different x resolution.
14 device. If defined it forces a different y resolution.
H A Dpixcir_i2c_ts.txt8 - touchscreen-size-x: horizontal resolution of touchscreen (in pixels)
9 - touchscreen-size-y: vertical resolution of touchscreen (in pixels)
H A Dbu21029.txt12 - touchscreen-size-x : horizontal resolution of touchscreen (in pixels)
13 - touchscreen-size-y : vertical resolution of touchscreen (in pixels)
H A Dchipone_icn8318.txt8 - touchscreen-size-x : horizontal resolution of touchscreen (in pixels)
9 - touchscreen-size-y : vertical resolution of touchscreen (in pixels)
/freebsd/sys/dev/atkbdc/
H A Dpsm.c548 int resolution; member
1111 if (mode->resolution >= 0) in doinitialize()
1112 mode->resolution = in doinitialize()
1113 set_mouse_resolution(kbdc, mode->resolution); in doinitialize()
1552 sc->dflt_mode.resolution = sc->mode.resolution = stat[1];
1555 sc->dflt_mode.resolution = sc->mode.resolution = -1;
1631 sc->mode.resolution =
1634 else if (sc->mode.resolution >= 0)
1635 sc->mode.resolution =
1636 set_mouse_resolution(sc->kbdc, sc->dflt_mode.resolution);
[all …]
/freebsd/contrib/file/magic/Magdir/
H A Dmodem8 >29 byte 1 \b, fine resolution
9 >29 byte 0 \b, normal resolution
89 >>6 leshort 200 \b, fine resolution
90 >>6 leshort 100 \b, normal resolution
/freebsd/sys/contrib/device-tree/src/arm64/qcom/
H A Dsc7180-trogdor-quackingstick-r0-lte.dts25 semtech,ph01-resolution = <1024>;
26 semtech,ph23-resolution = <1024>;
H A Dsc7180-trogdor-pazquel.dtsi16 semtech,ph01-resolution = <1024>;
17 semtech,ph23-resolution = <1024>;
/freebsd/sys/contrib/device-tree/Bindings/power/supply/
H A Dti,bq24735.txt16 must be between 128mA and 8.128A with a 64mA step resolution. The POR value
20 must be between 1.024V and 19.2V with a 16mV step resolution. The POR value
24 value must be between 128mA and 8.064A with a 128mA step resolution. The
/freebsd/contrib/ntp/scripts/update-leap/
H A Dupdate-leap-opts.def28 descrip = "Use only IPv4 addresses for DNS name resolution";
30 Force DNS resolution of following host names on the command line
39 descrip = "Use only IPv6 addresses for DNS name resolution";
41 Force DNS resolution of following host names on the command line
/freebsd/stand/common/
H A Dgfx_fb.h140 struct resolution { struct
143 TAILQ_ENTRY(resolution) next; argument
146 typedef TAILQ_HEAD(edid_resolution, resolution) edid_res_list_t;
/freebsd/usr.sbin/moused/
H A Dmoused.c391 int resolution; /* MOUSE_RES_XXX or a positive number */ member
418 .resolution = MOUSE_RES_UNKNOWN,
658 rodent.resolution = MOUSE_RES_HIGH; in main()
660 rodent.resolution = MOUSE_RES_HIGH; in main()
662 rodent.resolution = MOUSE_RES_MEDIUMLOW; in main()
664 rodent.resolution = MOUSE_RES_LOW; in main()
666 rodent.resolution = MOUSE_RES_DEFAULT; in main()
668 rodent.resolution = atoi(optarg); in main()
669 if (rodent.resolution <= 0) { in main()
1351 "usage: moused [-DRcdfs] [-I file] [-F rate] [-r resolution] [ in usage()
[all...]
/freebsd/crypto/heimdal/lib/krb5/
H A Dheim_err.et37 error_code AGAIN, "temporary failure in name resolution"
39 error_code FAIL, "non-recoverable failure in name resolution"
/freebsd/sys/dev/adb/
H A Dadb_mouse.c167 sc->mode.resolution = 100; in adb_mouse_attach()
183 sc->mode.resolution = 100; in adb_mouse_attach()
186 sc->mode.resolution = 200; in adb_mouse_attach()
195 sc->mode.resolution = (r1[4] << 8) | r1[5]; in adb_mouse_attach()
221 sc->hw.buttons, sc->mode.resolution,description); in adb_mouse_attach()
/freebsd/share/examples/printing/
H A Dhpvf7 giftopnm | ppmtopgm | pgmtopbm | pbmtolj -resolution 300 \
/freebsd/sys/contrib/device-tree/Bindings/
H A Dxilinx.txt98 - resolution = <xres yres> : pixel resolution of framebuffer. Some
99 implementations use a different resolution.
101 - virt-resolution = <xvirt yvirt> : Size of framebuffer in memory.

1234567