Home
last modified time | relevance | path

Searched refs:READ_REG (Results 1 – 15 of 15) sorted by relevance

/linux-6.1.9/drivers/watchdog/
Dar7_wdt.c45 #define READ_REG(x) readl((void __iomem *)&(x)) macro
74 if ((READ_REG(ar7_wdt->kick_lock) & 3) == 1) { in ar7_wdt_kick()
76 if ((READ_REG(ar7_wdt->kick_lock) & 3) == 3) { in ar7_wdt_kick()
87 if ((READ_REG(ar7_wdt->prescale_lock) & 3) == 1) { in ar7_wdt_prescale()
89 if ((READ_REG(ar7_wdt->prescale_lock) & 3) == 3) { in ar7_wdt_prescale()
100 if ((READ_REG(ar7_wdt->change_lock) & 3) == 1) { in ar7_wdt_change()
102 if ((READ_REG(ar7_wdt->change_lock) & 3) == 3) { in ar7_wdt_change()
113 if ((READ_REG(ar7_wdt->disable_lock) & 3) == 1) { in ar7_wdt_disable()
115 if ((READ_REG(ar7_wdt->disable_lock) & 3) == 2) { in ar7_wdt_disable()
117 if ((READ_REG(ar7_wdt->disable_lock) & 3) == 3) { in ar7_wdt_disable()
/linux-6.1.9/drivers/net/ethernet/tehuti/
Dtehuti.c202 u32 link = READ_REG(priv, regMAC_LNK_STAT) & MAC_LINK_STAT; in bdx_link_changed()
258 isr = (READ_REG(priv, regISR) & IR_RUN); in bdx_isr_napi()
280 READ_REG(priv, regTXF_WPTR_0); in bdx_isr_napi()
281 READ_REG(priv, regRXD_WPTR_0); in bdx_isr_napi()
328 master = READ_REG(priv, regINIT_SEMAPHORE); in bdx_fw_load()
329 if (!READ_REG(priv, regINIT_STATUS) && master) { in bdx_fw_load()
337 if (READ_REG(priv, regINIT_STATUS)) { in bdx_fw_load()
354 READ_REG(priv, regVPC), in bdx_fw_load()
355 READ_REG(priv, regVIC), in bdx_fw_load()
356 READ_REG(priv, regINIT_STATUS), i); in bdx_fw_load()
[all …]
Dtehuti.h97 #define READ_REG(pp, reg) readl(pp->pBdxRegs + reg) macro
/linux-6.1.9/drivers/parisc/
Dsba_iommu.c141 #define READ_REG(addr) READ_REG64(addr) macro
144 #define READ_REG(addr) READ_REG32(addr) macro
846 READ_REG(ioc->ioc_hpa+IOC_PCOM); /* flush purges */ in sba_unmap_page()
854 READ_REG(ioc->ioc_hpa+IOC_PCOM); /* flush purges */ in sba_unmap_page()
1282 ioc->ibase = READ_REG(ioc->ioc_hpa + IOC_IBASE) & ~0x1fffffULL; in sba_ioc_init_pluto()
1283 iova_space_size = ~(READ_REG(ioc->ioc_hpa + IOC_IMASK) & 0xFFFFFFFFUL) + 1; in sba_ioc_init_pluto()
1579 ioc_ctl = READ_REG(sba_dev->sba_hpa+IOC_CTRL); in sba_hw_init()
1651 cfg_val = READ_REG(rope_cfg); in sba_hw_init()
1663 READ_REG(sba_dev->ioc[i].ioc_hpa + ROPE7_CTL); in sba_hw_init()
1667 READ_REG(sba_dev->ioc[i].ioc_hpa + 0x40), in sba_hw_init()
[all …]
Dlba_pci.c891 t = READ_REG##size(astro_iop_base + addr); \
974 t = READ_REG##size(PIOP_TO_GMMIO(LBA_DEV(l), addr)); \
/linux-6.1.9/arch/ia64/hp/common/
Dsba_iommu.c274 #define READ_REG(addr) __raw_readq(addr) macro
289 DBG_INIT("IOC_IBASE : %016lx\n", READ_REG(hpa+IOC_IBASE)); in sba_dump_tlb()
290 DBG_INIT("IOC_IMASK : %016lx\n", READ_REG(hpa+IOC_IMASK)); in sba_dump_tlb()
291 DBG_INIT("IOC_TCNFG : %016lx\n", READ_REG(hpa+IOC_TCNFG)); in sba_dump_tlb()
292 DBG_INIT("IOC_PDIR_BASE: %016lx\n", READ_REG(hpa+IOC_PDIR_BASE)); in sba_dump_tlb()
665 READ_REG(ioc->ioc_hpa+IOC_PCOM); /* flush purges */ in sba_alloc_range()
1088 READ_REG(ioc->ioc_hpa+IOC_PCOM); /* flush purges */ in sba_unmap_page()
1096 READ_REG(ioc->ioc_hpa+IOC_PCOM); /* flush purges */ in sba_unmap_page()
1588 ioc->ibase = READ_REG(ioc->ioc_hpa + IOC_IBASE) & ~0x1UL; in ioc_iova_init()
1589 ioc->imask = READ_REG(ioc->ioc_hpa + IOC_IMASK) | 0xFFFFFFFF00000000UL; in ioc_iova_init()
[all …]
/linux-6.1.9/drivers/ata/
Dpata_opti.c39 READ_REG = 0, /* index of Read cycle timing register */ enumerator
143 opti_write_reg(ap, data_rec_timing[clock][pio], READ_REG); in opti_set_piomode()
Dpata_optidma.c38 READ_REG = 0, /* index of Read cycle timing register */ enumerator
169 iowrite8(data_rec_timing[pci_clock][pio], regio + READ_REG); in optidma_mode_setup()
172 iowrite8(dma_data_rec_timing[pci_clock][dma], regio + READ_REG); in optidma_mode_setup()
/linux-6.1.9/drivers/gpu/drm/amd/include/
Dmes_v11_api_def.h532 struct READ_REG { struct
570 struct READ_REG read_reg;
/linux-6.1.9/drivers/staging/rts5208/
Dms.h37 #define READ_REG 0x04 macro
Dms.c598 retval = ms_transfer_tpc(chip, MS_TM_READ_BYTES, READ_REG, in ms_identify_media_type()
1239 retval = ms_read_bytes(chip, READ_REG, 2, NO_WAIT_INT, val, 2);
1318 retval = ms_read_bytes(chip, READ_REG, MS_EXTRA_SIZE, NO_WAIT_INT,
/linux-6.1.9/drivers/staging/rtl8712/
Drtl871x_mp_ioctl.h207 GEN_MP_IOCTL_SUBCODE(READ_REG), /*2*/
/linux-6.1.9/drivers/staging/rtl8723bs/include/
Drtw_mp.h163 READ_REG, enumerator
/linux-6.1.9/drivers/atm/
Diphase.h151 #define READ_REG 0x5 macro
Diphase.c2818 case READ_REG: