Home
last modified time | relevance | path

Searched refs:overflow (Results 1 – 25 of 77) sorted by relevance

1234

/drivers/thermal/st/
Dst_thermal.c33 sensor->overflow = devm_regmap_field_alloc(dev, regmap, in st_thermal_alloc_regfields()
40 IS_ERR(sensor->overflow) || in st_thermal_alloc_regfields()
114 unsigned int overflow; in st_thermal_get_temp() local
117 ret = regmap_field_read(sensor->overflow, &overflow); in st_thermal_get_temp()
120 if (overflow) in st_thermal_get_temp()
Dst_thermal.h87 struct regmap_field *overflow; member
/drivers/media/rc/
Digorplugusb.c51 unsigned i, start, overflow; in igorplugusb_irdata() local
61 overflow = ir->buf_in[2]; in igorplugusb_irdata()
62 i = start = overflow + HEADERLEN; in igorplugusb_irdata()
65 dev_err(ir->dev, "receive overflow invalid: %u", overflow); in igorplugusb_irdata()
67 if (overflow > 0) { in igorplugusb_irdata()
69 overflow); in igorplugusb_irdata()
/drivers/gpu/drm/nouveau/dispnv50/
Dcrcc37d.c87 const u32 overflow = status & 0x0000007e; in crcc37d_ctx_finished() local
92 if (overflow) { in crcc37d_ctx_finished()
95 switch (overflow) { in crcc37d_ctx_finished()
Dcrc907d.c103 const u32 overflow = status & 0x0000003e; in crc907d_ctx_finished() local
108 if (overflow) { in crc907d_ctx_finished()
111 switch (overflow) { in crc907d_ctx_finished()
/drivers/soc/tegra/cbb/
Dtegra234-cbb.c311 u32 overflow) in tegra234_cbb_print_error() argument
335 while (overflow) { in tegra234_cbb_print_error()
338 type, overflow); in tegra234_cbb_print_error()
342 if (overflow & 0x1) in tegra234_cbb_print_error()
346 overflow >>= 1; in tegra234_cbb_print_error()
452 u32 overflow, status, error; in print_errmonX_info() local
465 overflow = readl(cbb->mon + FABRIC_MN_MASTER_ERR_OVERFLOW_STATUS_0); in print_errmonX_info()
467 tegra234_cbb_print_error(file, cbb, status, overflow); in print_errmonX_info()
/drivers/net/ppp/
Dppp_deflate.c415 int decode_proto, overflow; in z_decompress() local
453 overflow = 0; in z_decompress()
477 } else if (!overflow) { in z_decompress()
485 overflow = 1; in z_decompress()
501 olen = osize + overflow - state->strm.avail_out; in z_decompress()
/drivers/perf/
Driscv_pmu.c207 int overflow = 0; in riscv_pmu_event_set_period() local
214 overflow = 1; in riscv_pmu_event_set_period()
221 overflow = 1; in riscv_pmu_event_set_period()
237 return overflow; in riscv_pmu_event_set_period()
Dapple_m1_cpu_pmu.c418 u64 overflow, state; in m1_pmu_handle_irq() local
421 overflow = read_sysreg_s(SYS_IMP_APL_PMSR_EL1); in m1_pmu_handle_irq()
422 if (!overflow) { in m1_pmu_handle_irq()
DKconfig95 of cycle/instruction counter and doesn't support counter overflow,
105 full perf feature support i.e. counter overflow, privilege mode
123 The Andes cores implement the PMU overflow extension very
126 This will patch the overflow and pending CSRs and handle the
Darm_dsu_pmu.c378 unsigned long overflow; in dsu_pmu_handle_irq() local
380 overflow = dsu_pmu_get_reset_overflow(); in dsu_pmu_handle_irq()
381 if (!overflow) in dsu_pmu_handle_irq()
384 for_each_set_bit(i, &overflow, DSU_PMU_MAX_HW_CNTRS) { in dsu_pmu_handle_irq()
Driscv_pmu_sbi.c957 u64 overflow; in pmu_sbi_ovf_handler() local
984 overflow = sdata->ctr_overflow_mask; in pmu_sbi_ovf_handler()
986 ALT_SBI_PMU_OVERFLOW(overflow); in pmu_sbi_ovf_handler()
995 if (!overflow) in pmu_sbi_ovf_handler()
1020 if (!(overflow & BIT(hidx))) in pmu_sbi_ovf_handler()
/drivers/media/pci/pluto2/
Dpluto2.c106 unsigned int overflow; member
340 pluto->overflow++; in pluto_irq()
341 if (pluto->overflow) { in pluto_irq()
343 pluto->overflow); in pluto_irq()
345 pluto->overflow = 0; in pluto_irq()
348 pluto->overflow++; in pluto_irq()
/drivers/hwtracing/coresight/
DMakefile19 $(call cc-option, -Wformat-overflow) \
21 $(call cc-option, -Wstringop-overflow) \
/drivers/clocksource/
Dtimer-pistachio.c71 __maybe_unused u32 overflow; in pistachio_clocksource_read_cycles() local
81 overflow = gpt_readl(pcs->base, TIMER_CURRENT_OVERFLOW_VALUE, 0); in pistachio_clocksource_read_cycles()
/drivers/net/wireless/ath/ath6kl/
Dhtc_pipe.c307 int tx_resources, overflow, txqueue_depth, i, good_pkts; in htc_try_send() local
334 overflow = get_queue_depth(txq); in htc_try_send()
337 overflow = txqueue_depth; in htc_try_send()
338 overflow += get_queue_depth(txq); in htc_try_send()
340 overflow -= ep->max_txq_depth; in htc_try_send()
344 if (overflow > 0) { in htc_try_send()
347 __func__, ep->eid, overflow, txqueue_depth, in htc_try_send()
350 if ((overflow <= 0) || in htc_try_send()
359 good_pkts = get_queue_depth(txq) - overflow; in htc_try_send()
/drivers/gpu/drm/
Ddrm_debugfs_crc.c187 crc->overflow = false; in crtc_crc_cleanup()
413 bool was_overflow = crc->overflow; in drm_crtc_add_crc_entry()
415 crc->overflow = true; in drm_crtc_add_crc_entry()
/drivers/net/phy/
Ddp83640.c842 u8 overflow; in decode_rxts() local
844 overflow = (phy_rxts->ns_hi >> 14) & 0x3; in decode_rxts()
845 if (overflow) in decode_rxts()
846 pr_debug("rx timestamp queue overflow, count %d\n", overflow); in decode_rxts()
891 u8 overflow; in decode_txts() local
902 overflow = (phy_txts->ns_hi >> 14) & 0x3; in decode_txts()
903 if (overflow) { in decode_txts()
904 pr_debug("tx timestamp queue overflow, count %d\n", overflow); in decode_txts()
/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_log.c323 bool overflow = false; in intel_guc_check_log_buf_overflow() local
326 overflow = true; in intel_guc_check_log_buf_overflow()
328 log->stats[type].overflow = full_cnt; in intel_guc_check_log_buf_overflow()
339 return overflow; in intel_guc_check_log_buf_overflow()
Dintel_guc_log.h71 u32 overflow; member
/drivers/tty/hvc/
Dhvsi.c355 int overflow = datalen - TTY_THRESHOLD_THROTTLE; in hvsi_recv_data() local
362 if (overflow > 0) { in hvsi_recv_data()
369 if (overflow > 0) { in hvsi_recv_data()
375 memcpy(hp->throttle_buf, data + TTY_THRESHOLD_THROTTLE, overflow); in hvsi_recv_data()
376 hp->n_throttle = overflow; in hvsi_recv_data()
/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
Dkernel.fuc260 /* check if there wasn't any overflow */
269 /* this cannot overflow as long as HW_TICKS_PER_US < 1000 */
292 /* check if there wasn't any overflow */
320 // $r14 - ticks (make sure it is < 2^31 to avoid any possible overflow)
/drivers/net/ethernet/google/gve/
Dgve_tx.c87 size_t overflow, padding; in gve_tx_alloc_fifo() local
114 overflow = fifo->head - fifo->size; in gve_tx_alloc_fifo()
115 iov[0].iov_len -= overflow; in gve_tx_alloc_fifo()
117 iov[1].iov_len = overflow; in gve_tx_alloc_fifo()
119 fifo->head = overflow; in gve_tx_alloc_fifo()
/drivers/tty/
Dn_tty.c1701 int room, overflow; in n_tty_receive_buf_common() local
1726 overflow = ldata->icanon && ldata->canon_head == tail; in n_tty_receive_buf_common()
1727 if (overflow && room < 0) in n_tty_receive_buf_common()
1729 room = overflow; in n_tty_receive_buf_common()
1732 overflow = 0; in n_tty_receive_buf_common()
1739 if (!overflow || !fp || *fp != TTY_PARITY) in n_tty_receive_buf_common()
1753 if (overflow) { in n_tty_receive_buf_common()
/drivers/net/ethernet/freescale/fman/
DKconfig24 The FMAN internal queue can overflow when FMAN splits single

1234