Home
last modified time | relevance | path

Searched full:ov (Results 1 – 25 of 84) sorted by relevance

1234

/linux/drivers/net/can/esd/
H A Desd_402_pci-core.c49 struct acc_ov ov; member
103 irq_status = acc_card_interrupt(&card->ov, card->cores); in pci402_interrupt()
152 acc_ov_write32(&card->ov, ACC_OV_OF_MSI_ADDRESSOFFSET, addr_lo_offs); in pci402_set_msiconfig()
153 acc_ov_write32(&card->ov, ACC_OV_OF_MSI_DATA, data); in pci402_set_msiconfig()
169 card->ov.addr = card->addr + PCI402_IO_OV_OFFS; in pci402_init_card()
172 acc_reset_fpga(&card->ov); in pci402_init_card()
173 acc_init_ov(&card->ov, &pdev->dev); in pci402_init_card()
175 if (card->ov.version < PCI402_FPGA_VER_MIN) { in pci402_init_card()
178 card->ov.version); in pci402_init_card()
182 if (card->ov.timestamp_frequency != ACC_TS_FREQ_80MHZ) { in pci402_init_card()
[all …]
H A Desdacc.c100 static ktime_t acc_ts2ktime(struct acc_ov *ov, u64 ts) in acc_ts2ktime() argument
112 void acc_init_ov(struct acc_ov *ov, struct device *dev) in acc_init_ov() argument
116 temp = acc_ov_read32(ov, ACC_OV_OF_VERSION); in acc_init_ov()
117 ov->version = temp; in acc_init_ov()
118 ov->features = (temp >> 16); in acc_init_ov()
120 temp = acc_ov_read32(ov, ACC_OV_OF_INFO); in acc_init_ov()
121 ov->total_cores = temp; in acc_init_ov()
122 ov->active_cores = (temp >> 8); in acc_init_ov()
124 ov->core_frequency = acc_ov_read32(ov, ACC_OV_OF_CANCORE_FREQ); in acc_init_ov()
125 ov->timestamp_frequency = acc_ov_read32(ov, ACC_OV_OF_TS_FREQ_LO); in acc_init_ov()
[all …]
H A Desdacc.h265 struct acc_ov *ov; member
310 static inline u32 acc_ov_read32(struct acc_ov *ov, unsigned short offs) in acc_ov_read32() argument
312 return ioread32be(ov->addr + offs); in acc_ov_read32()
315 static inline void acc_ov_write32(struct acc_ov *ov, in acc_ov_write32() argument
318 iowrite32be(v, ov->addr + offs); in acc_ov_write32()
321 static inline void acc_ov_set_bits(struct acc_ov *ov, in acc_ov_set_bits() argument
324 u32 v = acc_ov_read32(ov, offs); in acc_ov_set_bits()
327 acc_ov_write32(ov, offs, v); in acc_ov_set_bits()
330 static inline void acc_ov_clear_bits(struct acc_ov *ov, in acc_ov_clear_bits() argument
333 u32 v = acc_ov_read32(ov, offs); in acc_ov_clear_bits()
[all …]
/linux/arch/csky/include/asm/
H A Dfutex.h21 "1: ldex.w %[ov], %[u] \n" \
33 : [r] "+r" (ret), [ov] "=&r" (oldval), \
51 __futex_atomic_op("mov %[t], %[ov]", in arch_futex_atomic_op_inuser()
55 __futex_atomic_op("add %[t], %[ov], %[op]", in arch_futex_atomic_op_inuser()
59 __futex_atomic_op("or %[t], %[ov], %[op]", in arch_futex_atomic_op_inuser()
63 __futex_atomic_op("and %[t], %[ov], %[op]", in arch_futex_atomic_op_inuser()
67 __futex_atomic_op("xor %[t], %[ov], %[op]", in arch_futex_atomic_op_inuser()
96 " cmpne %[v], %[ov] \n" in futex_atomic_cmpxchg_inatomic()
111 : [ov] "Jr" (oldval), [nv] "Jr" (newval), [e] "Jr" (-EFAULT) in futex_atomic_cmpxchg_inatomic()
/linux/arch/riscv/include/asm/
H A Dfutex.h29 : [r] "+r" (ret), [ov] "=&r" (oldval), \
46 __futex_atomic_op("amoswap.w.aqrl %[ov],%z[op],%[u]", in arch_futex_atomic_op_inuser()
50 __futex_atomic_op("amoadd.w.aqrl %[ov],%z[op],%[u]", in arch_futex_atomic_op_inuser()
54 __futex_atomic_op("amoor.w.aqrl %[ov],%z[op],%[u]", in arch_futex_atomic_op_inuser()
58 __futex_atomic_op("amoand.w.aqrl %[ov],%z[op],%[u]", in arch_futex_atomic_op_inuser()
62 __futex_atomic_op("amoxor.w.aqrl %[ov],%z[op],%[u]", in arch_futex_atomic_op_inuser()
89 " bne %[v],%z[ov],3f \n" in futex_atomic_cmpxchg_inatomic()
96 : [ov] "Jr" (oldval), [nv] "Jr" (newval) in futex_atomic_cmpxchg_inatomic()
/linux/Documentation/devicetree/bindings/mfd/
H A Drohm,bd96801-pmic.yaml100 regulator-ov-error-microvolt = <230000>;
111 regulator-ov-error-microvolt = <18000>;
122 regulator-ov-warn-microvolt = <18000>;
133 regulator-ov-warn-microvolt = <18000>;
144 regulator-ov-error-microvolt = <36000>;
155 regulator-ov-error-microvolt = <36000>;
166 regulator-ov-error-microvolt = <36000>;
H A Ddlg,da9063.yaml15 Using regulator-{uv,ov}-{warn,error,protection}-microvolt requires special
18 UV *and* OV monitoring, both must be set to the same severity and value
197 regulator-ov-protection-microvolt = <0>;
204 regulator-ov-protection-microvolt = <1>;
/linux/arch/x86/boot/
H A Dvideo-mode.c120 u8 pt, ov; in vga_recalc_vertical() local
137 ov = in_idx(crtc, 0x07); /* Overflow register */ in vga_recalc_vertical()
138 ov &= 0xbd; in vga_recalc_vertical()
139 ov |= (rows >> (8-1)) & 0x02; in vga_recalc_vertical()
140 ov |= (rows >> (9-6)) & 0x40; in vga_recalc_vertical()
141 out_idx(ov, crtc, 0x07); in vga_recalc_vertical()
/linux/drivers/net/ethernet/marvell/
H A Dskge.h2296 XMR_MAX_SZ_OV = 1<<31, /* Bit 31: 1024-MaxSize Rx Cnt Ov*/
2297 XMR_1023B_OV = 1<<30, /* Bit 30: 512-1023Byte Rx Cnt Ov*/
2298 XMR_511B_OV = 1<<29, /* Bit 29: 256-511 Byte Rx Cnt Ov*/
2299 XMR_255B_OV = 1<<28, /* Bit 28: 128-255 Byte Rx Cnt Ov*/
2300 XMR_127B_OV = 1<<27, /* Bit 27: 65-127 Byte Rx Cnt Ov */
2301 XMR_64B_OV = 1<<26, /* Bit 26: 64 Byte Rx Cnt Ov */
2304 XMR_CEX_ERR_OV = 1<<23, /* Bit 23: CEXT Err Cnt Ov */
2305 XMR_FCS_ERR_OV = 1<<21, /* Bit 21: Rx FCS Error Cnt Ov */
2306 XMR_LNG_ERR_OV = 1<<20, /* Bit 20: Rx too Long Err Cnt Ov*/
2307 XMR_RUNT_OV = 1<<19, /* Bit 19: Runt Event Cnt Ov */
[all …]
/linux/Documentation/devicetree/bindings/power/supply/
H A Dqcom,pmi8998-charger.yaml27 - const: bat-ov
72 interrupt-names = "usb-plugin", "bat-ov", "wdog-bark", "usbin-icl-change";
/linux/tools/power/cpupower/utils/idle_monitor/
H A Dcpupower-monitor.h71 #define print_overflow_err(mes, ov) \ argument
75 "could be inaccurate\n"), mes, ov); \
/linux/Documentation/devicetree/bindings/leds/backlight/
H A Dlp855x-backlight.yaml96 /* 4V OV, 4 output LED0 string enabled */
143 /* 4V OV, 4 output LED string enabled */
/linux/drivers/power/supply/
H A Dwm8350_power.c52 u16 sm, ov, co, chrg; in wm8350_get_supplies() local
56 ov = wm8350_reg_read(wm8350, WM8350_MISC_OVERRIDES); in wm8350_get_supplies()
71 && !(ov & WM8350_USB_LIMIT_OVRDE)) in wm8350_get_supplies()
76 && (ov & WM8350_USB_LIMIT_OVRDE) && (chrg == 0)) in wm8350_get_supplies()
/linux/Documentation/devicetree/bindings/regulator/
H A Dregulator.yaml145 regulator-ov-protection-microvolt:
152 regulator-ov-error-microvolt:
159 regulator-ov-warn-microvolt:
/linux/arch/m68k/bvme6000/
H A Dconfig.c235 u32 v = 800000, ov; in bvme6000_read_clk() local
243 ov = v; in bvme6000_read_clk()
251 abs(ov-v) > 80 || in bvme6000_read_clk()
/linux/drivers/s390/char/
H A Dkeyboard.c364 ushort *key_map, val, ov; in do_kdsk_ioctl() local
419 ov = U(key_map[kb_index]); in do_kdsk_ioctl()
420 if (tmp.kb_value == ov) in do_kdsk_ioctl()
425 if (((ov == K_SAK) || (tmp.kb_value == K_SAK)) && in do_kdsk_ioctl()
/linux/drivers/net/
H A Dnet_failover.c163 u64 ov = old[i]; in net_failover_fold_stats() local
164 s64 delta = nv - ov; in net_failover_fold_stats()
167 if (((nv | ov) >> 32) == 0) in net_failover_fold_stats()
168 delta = (s64)(s32)((u32)nv - (u32)ov); in net_failover_fold_stats()
/linux/drivers/hwmon/pmbus/
H A Dmp9941.c169 /* The MP9941 vin ov limit scale is (1/8V)/Lsb */ in mp9941_read_word_data()
225 /* The MP9941 vin ov limit scale is (1/8V)/Lsb */ in mp9941_write_word_data()
/linux/drivers/regulator/
H A Drt5120-regulator.c102 * reg 0x03/0x04/0x05 to indicate PG/UV/OV in rt5120_regulator_get_error_flags()
337 /* Assign UV/OV HW protection behavior */ in rt5120_device_property_init()
/linux/arch/arm64/boot/dts/qcom/
H A Dpmi8998.dtsi21 "bat-ov",
/linux/Documentation/hwmon/
H A Dltc4261.rst56 the proximity of the ADIN2 pin to the OV pin. ADIN2 is, however, not available
/linux/drivers/media/platform/marvell/
H A Dcafe-driver.c94 #define TWSIC0_OVMAGIC 0x00800000 /* Make it work on OV sensors */
168 rval |= TWSIC0_OVMAGIC; /* Make OV sensors work */ in cafe_smbus_write_data()
247 rval |= TWSIC0_OVMAGIC; /* Make OV sensors work */ in cafe_smbus_read_data()
/linux/drivers/block/drbd/
H A Ddrbd_strings.c69 [-SS_RESYNC_RUNNING] = "Can not start OV/resync since it is already active",
/linux/drivers/media/i2c/
H A Dov7670.c171 #define REG_REG76 0x76 /* OV's name */
283 { REG_CLKRC, 0x1 }, /* OV: clock scale (30 fps) */
284 { REG_TSLB, 0x04 }, /* OV */
287 * Set the hardware window. These values from OV don't entirely
399 * RGB656 and YUV422 come from OV; RGB444 is homebrewed.
631 if (v != 0x7f) /* OV manuf. id. */ in ov7670_detect()
699 * QCIF mode is done (by OV) in a very strange way - it actually looks like
988 * Fields: the OV devices claim to be progressive. in ov7670_try_fmt_internal()
/linux/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_hw.h335 #define SERDES_SELFB_PLL_CSR_4 3 /* 4-12% OV-CLK */
336 #define SERDES_SELFB_PLL_CSR_0 2 /* 0-4% OV-CLK */
337 #define SERDES_SELFB_PLL_CSR_12 1 /* 12-18% OV-CLK */
338 #define SERDES_SELFB_PLL_CSR_18 0 /* 18-25% OV-CLK */

1234