Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/watchdog/
Dar7_wdt.c46 #define WRITE_REG(x, v) writel((v), (void __iomem *)&(x)) macro
75 WRITE_REG(ar7_wdt->kick_lock, 0x5555); in ar7_wdt_kick()
77 WRITE_REG(ar7_wdt->kick_lock, 0xaaaa); in ar7_wdt_kick()
79 WRITE_REG(ar7_wdt->kick, value); in ar7_wdt_kick()
88 WRITE_REG(ar7_wdt->prescale_lock, 0x5a5a); in ar7_wdt_prescale()
90 WRITE_REG(ar7_wdt->prescale_lock, 0xa5a5); in ar7_wdt_prescale()
92 WRITE_REG(ar7_wdt->prescale, value); in ar7_wdt_prescale()
101 WRITE_REG(ar7_wdt->change_lock, 0x6666); in ar7_wdt_change()
103 WRITE_REG(ar7_wdt->change_lock, 0xbbbb); in ar7_wdt_change()
105 WRITE_REG(ar7_wdt->change, value); in ar7_wdt_change()
[all …]
/Linux-v4.19/drivers/net/ethernet/tehuti/
Dtehuti.c136 do { WRITE_REG(priv, regIMR, IR_RUN); } while (0)
138 do { WRITE_REG(priv, regIMR, 0); } while (0)
175 WRITE_REG(priv, reg_CFG0, (u32) ((f->da & TX_RX_CFG0_BASE) | fsz_type)); in bdx_fifo_init()
176 WRITE_REG(priv, reg_CFG1, H32_64(f->da)); in bdx_fifo_init()
347 WRITE_REG(priv, regINIT_SEMAPHORE, 1); in bdx_fw_load()
375 WRITE_REG(priv, regUNC_MAC2_A, val); in bdx_restore_mac()
377 WRITE_REG(priv, regUNC_MAC1_A, val); in bdx_restore_mac()
379 WRITE_REG(priv, regUNC_MAC0_A, val); in bdx_restore_mac()
400 WRITE_REG(priv, regFRM_LENGTH, 0X3FE0); in bdx_hw_start()
401 WRITE_REG(priv, regPAUSE_QUANT, 0x96); in bdx_hw_start()
[all …]
Dtehuti.h102 #define WRITE_REG(pp, reg, val) writel(val, pp->pBdxRegs + reg) macro
/Linux-v4.19/drivers/parisc/
Dsba_iommu.c138 #define WRITE_REG(value, addr) WRITE_REG64(value, addr) macro
141 #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()
1333 WRITE_REG(virt_to_phys(ioc->pdir_base), ioc->ioc_hpa + IOC_PDIR_BASE); in sba_ioc_init_pluto()
1346 WRITE_REG(ioc->imask, ioc->ioc_hpa + IOC_IMASK); in sba_ioc_init_pluto()
1367 WRITE_REG(tcnfg, ioc->ioc_hpa + IOC_TCNFG); in sba_ioc_init_pluto()
1373 WRITE_REG(ioc->ibase | 1, ioc->ioc_hpa + IOC_IBASE); in sba_ioc_init_pluto()
1379 WRITE_REG(ioc->ibase | 31, ioc->ioc_hpa + IOC_PCOM); in sba_ioc_init_pluto()
1495 WRITE_REG(ioc->ibase | 1, ioc->ioc_hpa+IOC_IBASE); in sba_ioc_init()
1496 WRITE_REG(ioc->imask, ioc->ioc_hpa+IOC_IMASK); in sba_ioc_init()
[all …]
Dlba_pci.c935 WRITE_REG##size(val, astro_iop_base + addr); \
993 WRITE_REG##size(val, where); \
/Linux-v4.19/drivers/ata/
Dpata_opti.c39 WRITE_REG = 1, /* index of Write cycle timing register */ enumerator
143 opti_write_reg(ap, data_rec_timing[clock][pio], WRITE_REG); in opti_set_piomode()
Dpata_optidma.c38 WRITE_REG = 1, /* index of Write cycle timing register */ enumerator
169 iowrite8(data_rec_timing[pci_clock][pio], regio + WRITE_REG); in optidma_mode_setup()
172 iowrite8(dma_data_rec_timing[pci_clock][dma], regio + WRITE_REG); in optidma_mode_setup()
/Linux-v4.19/drivers/ide/
Dopti621.c24 #define WRITE_REG 1 /* index of Write cycle timing register */ macro
117 write_reg(tim, WRITE_REG); in opti621_set_pio_mode()
/Linux-v4.19/arch/ia64/hp/common/
Dsba_iommu.c283 #define WRITE_REG(val, addr) __raw_writeq(val, addr) macro
906 WRITE_REG(iovp | ioc->ibase, ioc->ioc_hpa+IOC_PCOM); in sba_mark_invalid()
1631 WRITE_REG(tcnfg, ioc->ioc_hpa + IOC_TCNFG); in ioc_iova_init()
1645 WRITE_REG(virt_to_phys(ioc->pdir_base), ioc->ioc_hpa + IOC_PDIR_BASE); in ioc_iova_init()
1694 WRITE_REG(ioc->ibase | (get_iovp_order(ioc->iov_size) + iovp_shift), ioc->ioc_hpa + IOC_PCOM); in ioc_iova_init()
1698 WRITE_REG(ioc->ibase | 1, ioc->ioc_hpa + IOC_IBASE); in ioc_iova_init()
1789 WRITE_REG(rope_config, ioc->ioc_hpa + IOC_ROPE0_CFG + i); in ioc_zx1_init()
/Linux-v4.19/drivers/staging/rts5208/
Dms.h52 #define WRITE_REG 0x0B macro
Dms.c764 retval = ms_write_bytes(chip, WRITE_REG, 1, NO_WAIT_INT, in ms_switch_parallel_bus()
785 retval = ms_write_bytes(chip, WRITE_REG, 1, in ms_switch_8bit_bus()
1340 retval = ms_write_bytes(chip, WRITE_REG, 6, NO_WAIT_INT,
1432 retval = ms_write_bytes(chip, WRITE_REG, (6 + MS_EXTRA_SIZE),
1486 retval = ms_write_bytes(chip, WRITE_REG, 6, NO_WAIT_INT, data, 6);
1570 retval = ms_write_bytes(chip, WRITE_REG, 7, NO_WAIT_INT, data, 7);
1626 retval = ms_write_bytes(chip, WRITE_REG, 6, NO_WAIT_INT, data, 6);
1784 retval = ms_write_bytes(chip, WRITE_REG, 6, NO_WAIT_INT,
1896 retval = ms_write_bytes(chip, WRITE_REG, (6 + MS_EXTRA_SIZE),
1948 retval = ms_write_bytes(chip, WRITE_REG, 7,
[all …]
/Linux-v4.19/drivers/staging/rtl8712/
Drtl871x_mp_ioctl.h350 GEN_MP_IOCTL_SUBCODE(WRITE_REG),
/Linux-v4.19/drivers/staging/rtl8723bs/include/
Drtw_mp.h169 WRITE_REG = 1, enumerator