Home
last modified time | relevance | path

Searched refs:WRITE_REG (Results 1 – 13 of 13) sorted by relevance

/Linux-v6.6/drivers/watchdog/
Dar7_wdt.c46 #define WRITE_REG(x, v) writel((v), (void __iomem *)&(x)) macro
73 WRITE_REG(ar7_wdt->kick_lock, 0x5555); in ar7_wdt_kick()
75 WRITE_REG(ar7_wdt->kick_lock, 0xaaaa); in ar7_wdt_kick()
77 WRITE_REG(ar7_wdt->kick, value); in ar7_wdt_kick()
86 WRITE_REG(ar7_wdt->prescale_lock, 0x5a5a); in ar7_wdt_prescale()
88 WRITE_REG(ar7_wdt->prescale_lock, 0xa5a5); in ar7_wdt_prescale()
90 WRITE_REG(ar7_wdt->prescale, value); in ar7_wdt_prescale()
99 WRITE_REG(ar7_wdt->change_lock, 0x6666); in ar7_wdt_change()
101 WRITE_REG(ar7_wdt->change_lock, 0xbbbb); in ar7_wdt_change()
103 WRITE_REG(ar7_wdt->change, value); in ar7_wdt_change()
[all …]
/Linux-v6.6/drivers/net/ethernet/tehuti/
Dtehuti.c132 do { WRITE_REG(priv, regIMR, IR_RUN); } while (0)
134 do { WRITE_REG(priv, regIMR, 0); } while (0)
174 WRITE_REG(priv, reg_CFG0, (u32) ((f->da & TX_RX_CFG0_BASE) | fsz_type)); in bdx_fifo_init()
175 WRITE_REG(priv, reg_CFG1, H32_64(f->da)); in bdx_fifo_init()
346 WRITE_REG(priv, regINIT_SEMAPHORE, 1); in bdx_fw_load()
374 WRITE_REG(priv, regUNC_MAC2_A, val); in bdx_restore_mac()
376 WRITE_REG(priv, regUNC_MAC1_A, val); in bdx_restore_mac()
378 WRITE_REG(priv, regUNC_MAC0_A, val); in bdx_restore_mac()
399 WRITE_REG(priv, regFRM_LENGTH, 0X3FE0); in bdx_hw_start()
400 WRITE_REG(priv, regPAUSE_QUANT, 0x96); in bdx_hw_start()
[all …]
Dtehuti.h98 #define WRITE_REG(pp, reg, val) writel(val, pp->pBdxRegs + reg) macro
/Linux-v6.6/drivers/parisc/
Dsba_iommu.c140 #define WRITE_REG(value, addr) WRITE_REG64(value, addr) macro
143 #define WRITE_REG(value, addr) WRITE_REG32(value, addr) macro
667 WRITE_REG( SBA_IOVA(ioc, iovp, 0, 0), ioc->ioc_hpa+IOC_PCOM); in sba_mark_invalid()
1324 WRITE_REG(virt_to_phys(ioc->pdir_base), ioc->ioc_hpa + IOC_PDIR_BASE); in sba_ioc_init_pluto()
1337 WRITE_REG(ioc->imask, ioc->ioc_hpa + IOC_IMASK); in sba_ioc_init_pluto()
1358 WRITE_REG(tcnfg, ioc->ioc_hpa + IOC_TCNFG); in sba_ioc_init_pluto()
1364 WRITE_REG(ioc->ibase | 1, ioc->ioc_hpa + IOC_IBASE); in sba_ioc_init_pluto()
1370 WRITE_REG(ioc->ibase | 31, ioc->ioc_hpa + IOC_PCOM); in sba_ioc_init_pluto()
1486 WRITE_REG(ioc->ibase | 1, ioc->ioc_hpa+IOC_IBASE); in sba_ioc_init()
1487 WRITE_REG(ioc->imask, ioc->ioc_hpa+IOC_IMASK); in sba_ioc_init()
[all …]
Dlba_pci.c932 WRITE_REG##size(val, astro_iop_base + addr); \
990 WRITE_REG##size(val, where); \
/Linux-v6.6/drivers/ata/
Dpata_opti.c40 WRITE_REG = 1, /* index of Write cycle timing register */ enumerator
144 opti_write_reg(ap, data_rec_timing[clock][pio], WRITE_REG); in opti_set_piomode()
Dpata_optidma.c39 WRITE_REG = 1, /* index of Write cycle timing register */ enumerator
170 iowrite8(data_rec_timing[pci_clock][pio], regio + WRITE_REG); in optidma_mode_setup()
173 iowrite8(dma_data_rec_timing[pci_clock][dma], regio + WRITE_REG); in optidma_mode_setup()
/Linux-v6.6/arch/ia64/hp/common/
Dsba_iommu.c275 #define WRITE_REG(val, addr) __raw_writeq(val, addr) macro
905 WRITE_REG(iovp | ioc->ibase, ioc->ioc_hpa+IOC_PCOM); in sba_mark_invalid()
1615 WRITE_REG(tcnfg, ioc->ioc_hpa + IOC_TCNFG); in ioc_iova_init()
1629 WRITE_REG(virt_to_phys(ioc->pdir_base), ioc->ioc_hpa + IOC_PDIR_BASE); in ioc_iova_init()
1678 WRITE_REG(ioc->ibase | (get_iovp_order(ioc->iov_size) + iovp_shift), ioc->ioc_hpa + IOC_PCOM); in ioc_iova_init()
1682 WRITE_REG(ioc->ibase | 1, ioc->ioc_hpa + IOC_IBASE); in ioc_iova_init()
1771 WRITE_REG(rope_config, ioc->ioc_hpa + IOC_ROPE0_CFG + i); in ioc_zx1_init()
/Linux-v6.6/drivers/gpu/drm/amd/include/
Dmes_v11_api_def.h535 struct WRITE_REG { struct
590 struct WRITE_REG write_reg;
/Linux-v6.6/drivers/staging/rts5208/
Dms.h40 #define WRITE_REG 0x0B macro
Dms.c728 retval = ms_write_bytes(chip, WRITE_REG, 1, NO_WAIT_INT, in ms_switch_parallel_bus()
748 retval = ms_write_bytes(chip, WRITE_REG, 1, in ms_switch_8bit_bus()
1277 retval = ms_write_bytes(chip, WRITE_REG, 6, NO_WAIT_INT,
1361 retval = ms_write_bytes(chip, WRITE_REG, (6 + MS_EXTRA_SIZE),
1411 retval = ms_write_bytes(chip, WRITE_REG, 6, NO_WAIT_INT, data, 6);
1488 retval = ms_write_bytes(chip, WRITE_REG, 7, NO_WAIT_INT, data, 7);
1540 retval = ms_write_bytes(chip, WRITE_REG, 6, NO_WAIT_INT, data, 6);
1691 retval = ms_write_bytes(chip, WRITE_REG, 6, NO_WAIT_INT,
1799 retval = ms_write_bytes(chip, WRITE_REG, (6 + MS_EXTRA_SIZE),
1847 retval = ms_write_bytes(chip, WRITE_REG, 7,
[all …]
/Linux-v6.6/drivers/staging/rtl8712/
Drtl871x_mp_ioctl.h208 GEN_MP_IOCTL_SUBCODE(WRITE_REG),
/Linux-v6.6/drivers/staging/rtl8723bs/include/
Drtw_mp.h162 WRITE_REG = 1, enumerator