| /drivers/block/ |
| A D | rkmtd.c | 510 u32 counter; in rkmtd_build_page_table() local 515 counter = 0; in rkmtd_build_page_table() 523 counter = 0; in rkmtd_build_page_table() 540 counter = 0; in rkmtd_build_page_table() 550 counter = 0; in rkmtd_build_page_table() 567 counter = 8; in rkmtd_build_page_table() 589 counter = 0; in rkmtd_build_page_table() 602 counter = 0; in rkmtd_build_page_table() 621 counter = 3; in rkmtd_build_page_table() 632 counter = 0; in rkmtd_build_page_table() [all …]
|
| /drivers/serial/ |
| A D | serial_mcf.c | 32 u32 counter; in mcf_serial_init_common() local 52 counter = (u32) ((gd->bus_clk / 32) + (baudrate / 2)); in mcf_serial_init_common() 53 counter = counter / baudrate; in mcf_serial_init_common() 56 writeb((u8)((counter & 0xff00) >> 8), &uart->ubg1); in mcf_serial_init_common() 58 writeb((u8)(counter & 0x00ff), &uart->ubg2); in mcf_serial_init_common() 67 u32 counter; in mcf_serial_setbrg_common() local 70 counter = (u32) ((gd->bus_clk / 32) + (baudrate / 2)); in mcf_serial_setbrg_common() 71 counter = counter / baudrate; in mcf_serial_setbrg_common() 74 writeb(((counter & 0xff00) >> 8), &uart->ubg1); in mcf_serial_setbrg_common() 76 writeb((counter & 0x00ff), &uart->ubg2); in mcf_serial_setbrg_common()
|
| A D | serial_semihosting.c | 20 unsigned counter; member 77 return priv->counter++ & 1; in smh_serial_pending() 120 static unsigned counter = 1; variable 153 return counter++ & 1; in smh_serial_tstc()
|
| A D | serial_xtensa_semihosting.c | 17 unsigned int counter; member 45 return res < 0 ? priv->counter++ & 1 : res; in simc_serial_pending()
|
| /drivers/bootcount/ |
| A D | bootcount_ram.c | 49 ulong counter = 0; in bootcount_load() local 56 counter = readl(&save_addr[0]); in bootcount_load() 59 for (i = 0; (i < REPEAT_PATTERN) && (counter != 0); i++) { in bootcount_load() 62 counter = 0; in bootcount_load() 64 return counter; in bootcount_load()
|
| A D | Kconfig | 19 bool "Generic default boot counter" 28 bool "Boot counter on a filesystem" 36 bool "Boot counter in AM33XX RTC IP block" 64 bool "Boot counter in environment" 76 bool "Boot counter in RAM" 82 bool "Boot counter for Atmel AT91SAM9XE" 112 bool "Driver Model boot counter on I2C device" 183 counter being cleared. 202 boot counter. 210 boot counter. [all …]
|
| /drivers/timer/ |
| A D | npcm-timer.c | 24 u64 counter; in npcm_timer_get_count() local 38 counter = reg_sec * NPCM_TIMER_CLOCK_RATE + reg_25m; in npcm_timer_get_count() 40 return counter; in npcm_timer_get_count()
|
| A D | arm_twd_timer.c | 45 u32 counter; /* Timer Counter Register */ member 57 u32 count = TIMER_LOAD_VAL - readl(®s->counter); in arm_twd_timer_get_count()
|
| A D | adi_sc5xx_timer.c | 34 u32 counter; member 72 u32 now = readl(&priv->timer_base->counter); in adi_gptimer_get_count()
|
| A D | Kconfig | 10 counter. There may be no real tick, and no timer interrupt. 140 bool "Atmel timer counter support" 144 Select this to enable the use of the timer counter as a monotonic 145 counter. 148 bool "Atmel timer counter support in SPL" 152 Select this to enable the use of the timer counter as a monotonic 153 counter in SPL.
|
| /drivers/net/fsl-mc/ |
| A D | dpmac.c | 189 enum dpmac_counter type, uint64_t *counter) in dpmac_get_counter() argument 209 *counter = le64_to_cpu(dpmac_rsp->counter); in dpmac_get_counter()
|
| A D | dpni.c | 760 stat->raw.counter[i] = le64_to_cpu(rsp_params->counter[i]); in dpni_get_statistics()
|
| /drivers/ddr/imx/imx9/ |
| A D | Kconfig | 15 bool "imx9 DDRC performance monitor counter" 18 Enable DDR controller performance monitor counter for reference events.
|
| /drivers/mtd/ubi/ |
| A D | Kconfig | 42 erase counter value and the lowest erase counter value of eraseblocks 45 counter to eraseblocks with high erase counter.
|
| /drivers/watchdog/ |
| A D | sandbox_wdt.c | 14 state->wdt.counter = timeout; in sandbox_wdt_start()
|
| /drivers/virtio/ |
| A D | virtio_mmio.c | 111 static int virtio_mmio_generation(struct udevice *udev, u32 *counter) in virtio_mmio_generation() argument 116 *counter = 0; in virtio_mmio_generation() 118 *counter = readl(priv->base + VIRTIO_MMIO_CONFIG_GENERATION); in virtio_mmio_generation()
|
| A D | virtio-uclass.c | 55 int virtio_generation(struct udevice *vdev, u32 *counter) in virtio_generation() argument 63 return ops->generation(vdev->parent, counter); in virtio_generation()
|
| A D | virtio_pci_modern.c | 190 static int virtio_pci_generation(struct udevice *udev, u32 *counter) in virtio_pci_generation() argument 194 *counter = ioread8(&priv->common->config_generation); in virtio_pci_generation()
|
| /drivers/pwm/ |
| A D | Kconfig | 48 supports a programmable period and duty cycle. A 32-bit counter is 76 programmable period and duty cycle. A 32-bit counter is used. 121 programmable period and duty cycle. A 16-bit counter is used.
|
| /drivers/bios_emulator/x86emu/ |
| A D | prim_ops.c | 2113 int counter = 31; in idiv_long() 2126 l_s = abs_s << (--counter); in idiv_long() 2133 l_s = abs_s << (--counter); in idiv_long() 2138 } while (counter > -1); in idiv_long() 2237 int counter = 32; in div_long() 2250 l_s = s << (--counter); in div_long() 2257 l_s = s << (--counter); in div_long() 2262 } while (counter > -1); in div_long()
|
| /drivers/ram/k3-ddrss/ |
| A D | k3-ddrss.c | 220 unsigned int req_type, counter; in k3_lpddr4_freq_update() local 222 for (counter = 0; counter < ddrss->ddr_fhs_cnt; counter++) { in k3_lpddr4_freq_update()
|
| /drivers/clk/stm32/ |
| A D | clk-stm32mp13.c | 1623 u64 counter; in stgen_config() local 1627 counter = (u64)readl(stgenc + STGENC_CNTCVL); in stgen_config() 1628 counter |= ((u64)(readl(stgenc + STGENC_CNTCVU))) << 32; in stgen_config() 1629 counter = lldiv(counter * (u64)rate, cntfid0); in stgen_config() 1630 writel((u32)counter, stgenc + STGENC_CNTCVL); in stgen_config() 1631 writel((u32)(counter >> 32), stgenc + STGENC_CNTCVU); in stgen_config()
|
| A D | clk-stm32mp1.c | 1806 u64 counter; in stgen_config() local 1810 counter = (u64)readl(stgenc + STGENC_CNTCVL); in stgen_config() 1811 counter |= ((u64)(readl(stgenc + STGENC_CNTCVU))) << 32; in stgen_config() 1812 counter = lldiv(counter * (u64)rate, cntfid0); in stgen_config() 1813 writel((u32)counter, stgenc + STGENC_CNTCVL); in stgen_config() 1814 writel((u32)(counter >> 32), stgenc + STGENC_CNTCVU); in stgen_config()
|
| /drivers/net/qe/ |
| A D | uec.h | 341 u32 counter; member
|
| /drivers/net/ |
| A D | fec_mxc.c | 628 int counter = 0xffff; in fecmxc_halt() local 636 while ((counter--) && (!(readl(&fec->eth->ievent) & FEC_IEVENT_GRA))) in fecmxc_halt()
|