Home
last modified time | relevance | path

Searched full:coarse (Results 1 – 25 of 97) sorted by relevance

1234

/linux/drivers/clk/
H A Dclk-apple-nco.c59 /* The minimal attainable coarse divisor (first value in table) */
109 * a coarse divisor translation table. in applnco_compute_tables()
127 unsigned int coarse = div / 4; in applnco_div_out_of_range() local
129 return coarse < COARSE_DIV_OFFSET || in applnco_div_out_of_range()
130 coarse >= COARSE_DIV_OFFSET + LFSR_TBLSIZE; in applnco_div_out_of_range()
135 unsigned int coarse = div / 4; in applnco_div_translate() local
140 return FIELD_PREP(DIV_COARSE, tbl->fwd[coarse - COARSE_DIV_OFFSET]) | in applnco_div_translate()
146 unsigned int coarse, fine; in applnco_div_translate_inv() local
148 coarse = tbl->inv[FIELD_GET(DIV_COARSE, regval)] + COARSE_DIV_OFFSET; in applnco_div_translate_inv()
151 return coarse * 4 + fine; in applnco_div_translate_inv()
/linux/drivers/media/usb/gspca/stv06xx/
H A Dstv06xx_vv6410.c239 unsigned int fine, coarse; in vv6410_set_exposure() local
244 coarse = min(512, val / VV6410_CIF_LINELENGTH); in vv6410_set_exposure()
246 gspca_dbg(gspca_dev, D_CONF, "Set coarse exposure to %d, fine exposure to %d\n", in vv6410_set_exposure()
247 coarse, fine); in vv6410_set_exposure()
257 err = stv06xx_write_sensor(sd, VV6410_COARSEH, coarse >> 8); in vv6410_set_exposure()
261 err = stv06xx_write_sensor(sd, VV6410_COARSEL, coarse & 0xff); in vv6410_set_exposure()
/linux/Documentation/devicetree/bindings/input/touchscreen/
H A Dazoteq,iqs7211.yaml234 azoteq,ati-frac-mult-coarse:
238 description: Specifies the trackpad's ATI coarse fractional multiplier.
240 azoteq,ati-frac-div-coarse:
244 description: Specifies the trackpad's ATI coarse fractional divider.
390 azoteq,ati-frac-mult-coarse:
394 description: Specifies the ALP's ATI coarse fractional multiplier.
396 azoteq,ati-frac-div-coarse:
400 description: Specifies the ALP's ATI coarse fractional divider.
482 azoteq,ati-frac-mult-coarse:
486 description: Specifies the button's ATI coarse fractional multiplier.
[all …]
/linux/drivers/rtc/
H A Drtc-pcf2123.c96 #define OFFSET_COARSE BIT(7) /* Coarse mode offset */
141 * The offset register is a 7 bit signed value with a coarse bit in bit 7.
145 * The coarse adjustment does the same, but every hour.
147 * to a coarse offset. Based on this algorithm, it seems that despite the
148 * name, coarse offset is a better fit for overlapping values.
164 /* Normal offset. Clear the coarse bit */ in pcf2123_set_offset()
167 /* Coarse offset. Divide by 2 and set the coarse bit */ in pcf2123_set_offset()
/linux/Documentation/devicetree/bindings/phy/
H A Drealtek,usb3phy.yaml69 realtek,amplitude-control-coarse-tuning:
72 This value is a parameter for coarse tuning.
106 realtek,amplitude-control-coarse-tuning = <0x77>;
/linux/Documentation/core-api/
H A Dtimekeeping.rst92 Return a coarse-grained version of the time as a scalar
97 Coarse and fast_ns access
117 These are quicker than the non-coarse versions, but less accurate,
174 coarse-grained times can use the simple 'jiffies' instead, while
/linux/Documentation/devicetree/bindings/iio/proximity/
H A Dsemtech,sx9310.yaml69 - very-coarse
70 - coarse
71 - medium-coarse
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-iio-frequency-admv10145 Read/write value for the digital attenuator gain (IF_I) with coarse steps.
11 Read/write value for the digital attenuator gain (IF_Q) with coarse steps.
/linux/drivers/pinctrl/ti/
H A Dpinctrl-ti-iodelay.c39 * @binary_data_coarse_mask: CONFIG_REG coarse mask (see TRM)
43 * @reg_coarse_offset: Coarse register configuration offset
44 * @coarse_delay_count_mask: Coarse delay count mask
45 * @coarse_ref_count_mask: Coarse ref count mask
90 * @coarse_ref_count: Coarse reference count
91 * @coarse_delay_count: Coarse delay count
95 * @cdpe: Coarse delay parameter
244 dev_err(dev, "Masking overflow of coarse elements %08x\n", in ti_iodelay_pinconf_set()
334 dev_err(dev, "Invalid Coarse delay count (0) (reg=0x%08x)\n", in ti_iodelay_pinconf_init_dev()
347 dev_dbg(iod->dev, "coarse: ref=0x%04x delay=0x%04x cdpe=0x%08x\n", in ti_iodelay_pinconf_init_dev()
/linux/tools/testing/selftests/timens/
H A Dgettime_perf.c77 test(CLOCK_MONOTONIC_COARSE, "monotonic-coarse", false); in main()
99 test(CLOCK_MONOTONIC_COARSE, "monotonic-coarse", true); in main()
/linux/Documentation/devicetree/bindings/input/
H A Dazoteq,iqs7222.yaml69 azoteq,ati-frac-div-coarse:
73 description: Specifies the preloaded ATI coarse fractional divider.
523 4: Coarse fractional divider
532 azoteq,ati-frac-mult-coarse:
536 description: Specifies the channel's ATI coarse fractional multiplier.
538 azoteq,ati-frac-div-coarse:
542 description: Specifies the channel's ATI coarse fractional divider.
/linux/include/linux/
H A Dlru_cache.h49 (coarse or fine grained) bitmap, or other meta data.
84 "Explicit (coarse) write intent bitmap"
85 An other implementation could chose a (probably coarse) explicit bitmap,
/linux/drivers/iio/light/
H A Dapds9160.c666 * Coarse value is in steps of 60 nA
681 /* Coarse value at B4:B5 and fine value at B0:B3 */ in apds9160_set_ps_cancellation_current()
691 int ret, duration, picoamp, idx, coarse, fine; in apds9160_ps_init_analog_cancellation() local
709 /* Compute required coarse and fine value from requested current */ in apds9160_ps_init_analog_cancellation()
711 coarse = 0; in apds9160_ps_init_analog_cancellation()
715 coarse++; in apds9160_ps_init_analog_cancellation()
731 return apds9160_set_ps_cancellation_current(data, coarse, fine); in apds9160_ps_init_analog_cancellation()
/linux/include/sound/
H A Dseq_midi_emul.h40 short gm_rpn_coarse_tuning; /* Master coarse tuning */
131 * of coarse and fine pairs. Of course the fine controls are seldom used
/linux/security/lockdown/
H A DKconfig6 Build support for an LSM that enforces a coarse kernel lockdown
/linux/drivers/ptp/
H A Dptp_dfl_tod.c95 * A coarse ToD HW clock offset adjustment. The coarse time adjustment performs by
/linux/Documentation/devicetree/bindings/power/supply/
H A Dqcom,pm8916-lbc.yaml45 - description: USB coarse detection
/linux/kernel/time/
H A Dtimekeeping.c175 * that has been issued, and never returning a coarse-grained timestamp that is
221 * Update the nanoseconds part for the coarse time keepers. They can't rely
224 * could cause the coarse clocks to go slightly backwards. See
225 * timekeeping_apply_adjustment(). Thus we keep a separate copy for the coarse
2372 * value, only update the coarse clocks if we accumulated time in __timekeeping_advance()
2434 * ktime_get_coarse_real_ts64_mg - return latter of coarse grained time or floor
2438 * to the current coarse-grained time. Fill @ts with whichever is
2446 ktime_t f_real, offset, coarse; in ktime_get_coarse_real_ts64_mg() local
2455 coarse = timespec64_to_ktime(*ts); in ktime_get_coarse_real_ts64_mg()
2457 if (ktime_after(f_real, coarse)) in ktime_get_coarse_real_ts64_mg()
[all …]
/linux/Documentation/driver-api/surface_aggregator/
H A Doverview.rst32 While features have not changed much on a coarse level since the 5th
/linux/sound/soc/codecs/
H A Dmsm8916-wcd-analog.c434 u32 coarse, fine, reg_val, reg_addr; in pm8916_mbhc_configure_bias() local
463 /* split mv in to coarse parts of 100mv & fine parts of 12mv */ in pm8916_mbhc_configure_bias()
464 coarse = (vrefs[i] / 100); in pm8916_mbhc_configure_bias()
466 reg_val = (coarse << CDC_A_MBHC_BTN_VREF_COARSE_SHIFT) | in pm8916_mbhc_configure_bias()
/linux/arch/arm/mach-omap2/
H A Dtimer.c96 * coarse counter that corrects the fine counter every time it in realtime_counter_init()
/linux/drivers/staging/media/ipu3/
H A Dipu3.h139 * Coarse-grained lock to protect
/linux/arch/arm/include/asm/
H A Dpgtable-2level-hwdef.h51 * - coarse table (not used)
/linux/net/dccp/ccids/
H A Dccid3.h
/linux/drivers/media/usb/gspca/
H A Dautogain_functions.c84 /* Autogain + exposure algorithm for cameras with a coarse exposure control

1234