Home
last modified time | relevance | path

Searched refs:iowrite16be (Results 1 – 25 of 36) sorted by relevance

12

/linux-6.1.9/drivers/gpio/
Dgpio-janz-ttl.c104 iowrite16be(*shadow, port); in ttl_set_value()
110 iowrite16be(reg, &mod->regs->control); in ttl_write_reg()
111 iowrite16be(val, &mod->regs->control); in ttl_write_reg()
117 iowrite16be(0x0000, &mod->regs->control); in ttl_setup_device()
118 iowrite16be(0x0001, &mod->regs->control); in ttl_setup_device()
119 iowrite16be(0x0000, &mod->regs->control); in ttl_setup_device()
132 iowrite16be(0x0000, &mod->regs->porta); in ttl_setup_device()
133 iowrite16be(0x0000, &mod->regs->portb); in ttl_setup_device()
134 iowrite16be(0x0000, &mod->regs->portc); in ttl_setup_device()
/linux-6.1.9/drivers/tty/serial/
Ducc_uart.c347 iowrite16be(1, &bdp->length); in qe_uart_tx_pump()
382 iowrite16be(count, &bdp->length); in qe_uart_tx_pump()
573 iowrite16be(events, &uccp->ucce); in qe_uart_int()
604 iowrite16be(BD_SC_EMPTY | BD_SC_INTRPT, &bdp->status); in qe_uart_initbd()
606 iowrite16be(0, &bdp->length); in qe_uart_initbd()
612 iowrite16be(BD_SC_WRAP | BD_SC_EMPTY | BD_SC_INTRPT, &bdp->status); in qe_uart_initbd()
614 iowrite16be(0, &bdp->length); in qe_uart_initbd()
625 iowrite16be(BD_SC_INTRPT, &bdp->status); in qe_uart_initbd()
627 iowrite16be(0, &bdp->length); in qe_uart_initbd()
637 iowrite16be(BD_SC_WRAP | BD_SC_INTRPT, &bdp->status); in qe_uart_initbd()
[all …]
/linux-6.1.9/drivers/soc/fsl/qe/
Dqe_tdm.c158 iowrite16be(siram_entry_valid, in ucc_tdm_init()
161 iowrite16be(siram_entry_closed, in ucc_tdm_init()
165 iowrite16be(siram_entry_valid, in ucc_tdm_init()
168 iowrite16be(siram_entry_closed, in ucc_tdm_init()
203 iowrite16be(sixmr, &si_regs->sixmr1[0]); in ucc_tdm_init()
206 iowrite16be(sixmr, &si_regs->sixmr1[1]); in ucc_tdm_init()
209 iowrite16be(sixmr, &si_regs->sixmr1[2]); in ucc_tdm_init()
212 iowrite16be(sixmr, &si_regs->sixmr1[3]); in ucc_tdm_init()
Ducc_fast.c89 iowrite16be(UCC_FAST_TOD, &uccf->uf_regs->utodr); in ucc_fast_transmit_on_demand()
290 iowrite16be(uf_info->urfs, &uf_regs->urfs); in ucc_fast_init()
291 iowrite16be(uf_info->urfet, &uf_regs->urfet); in ucc_fast_init()
292 iowrite16be(uf_info->urfset, &uf_regs->urfset); in ucc_fast_init()
293 iowrite16be(uf_info->utfs, &uf_regs->utfs); in ucc_fast_init()
294 iowrite16be(uf_info->utfet, &uf_regs->utfet); in ucc_fast_init()
295 iowrite16be(uf_info->utftt, &uf_regs->utftt); in ucc_fast_init()
Ducc_slow.c197 iowrite16be(us_info->max_rx_buf_length, &uccs->us_pram->mrblr); in ucc_slow_init()
289 iowrite16be(uccs->rx_base_offset, &uccs->us_pram->rbase); in ucc_slow_init()
290 iowrite16be(uccs->tx_base_offset, &uccs->us_pram->tbase); in ucc_slow_init()
320 iowrite16be(us_info->uccm_mask, &us_regs->uccm); in ucc_slow_init()
327 iowrite16be(0xffff, &us_regs->ucce); in ucc_slow_init()
/linux-6.1.9/drivers/net/wan/
Dfsl_ucc_hdlc.c259 iowrite16be(riptr, &priv->ucc_pram->riptr); in uhdlc_init()
260 iowrite16be(tiptr, &priv->ucc_pram->tiptr); in uhdlc_init()
263 iowrite16be(MAX_RX_BUF_LENGTH, &priv->ucc_pram->mrblr); in uhdlc_init()
277 iowrite16be(MAX_FRAME_LENGTH, &priv->ucc_pram->mflr); in uhdlc_init()
278 iowrite16be(DEFAULT_RFTHR, &priv->ucc_pram->rfthr); in uhdlc_init()
279 iowrite16be(DEFAULT_RFTHR, &priv->ucc_pram->rfcnt); in uhdlc_init()
280 iowrite16be(priv->hmask, &priv->ucc_pram->hmask); in uhdlc_init()
281 iowrite16be(DEFAULT_HDLC_ADDR, &priv->ucc_pram->haddr1); in uhdlc_init()
282 iowrite16be(DEFAULT_HDLC_ADDR, &priv->ucc_pram->haddr2); in uhdlc_init()
283 iowrite16be(DEFAULT_HDLC_ADDR, &priv->ucc_pram->haddr3); in uhdlc_init()
[all …]
/linux-6.1.9/arch/sh/kernel/
Diomap.c53 void iowrite16be(u16 val, void __iomem *addr) in iowrite16be() function
57 EXPORT_SYMBOL(iowrite16be);
/linux-6.1.9/drivers/gpu/drm/nouveau/include/nvkm/core/
Dos.h8 #define iowrite16_native iowrite16be
/linux-6.1.9/arch/parisc/include/asm/
Dio.h256 #define iowrite16be iowrite16be macro
/linux-6.1.9/include/soc/fsl/qe/
Dqe.h245 #define qe_setbits_be16(_addr, _v) iowrite16be(ioread16be(_addr) | (_v), (_addr))
246 #define qe_clrbits_be16(_addr, _v) iowrite16be(ioread16be(_addr) & ~(_v), (_addr))
254 iowrite16be((ioread16be(addr) & ~(clear)) | (set), (addr))
/linux-6.1.9/include/asm-generic/
Diomap.h52 extern void iowrite16be(u16, void __iomem *);
Dio.h885 #ifndef iowrite16be
886 #define iowrite16be iowrite16be macro
887 static inline void iowrite16be(u16 value, void volatile __iomem *addr) in iowrite16be() function
/linux-6.1.9/drivers/fsi/
Dfsi-master-ast-cf.c761 iowrite16be(master->gpio_clk_vreg, base + HDR_CLOCK_GPIO_VADDR); in setup_common_fw_config()
762 iowrite16be(master->gpio_clk_dreg, base + HDR_CLOCK_GPIO_DADDR); in setup_common_fw_config()
763 iowrite16be(master->gpio_dat_vreg, base + HDR_DATA_GPIO_VADDR); in setup_common_fw_config()
764 iowrite16be(master->gpio_dat_dreg, base + HDR_DATA_GPIO_DADDR); in setup_common_fw_config()
765 iowrite16be(master->gpio_tra_vreg, base + HDR_TRANS_GPIO_VADDR); in setup_common_fw_config()
766 iowrite16be(master->gpio_tra_dreg, base + HDR_TRANS_GPIO_DADDR); in setup_common_fw_config()
/linux-6.1.9/lib/
Diomap.c215 void iowrite16be(u16 val, void __iomem *addr) in iowrite16be() function
235 EXPORT_SYMBOL(iowrite16be);
/linux-6.1.9/arch/arm64/include/asm/
Dio.h159 #define iowrite16be(v,p) ({ __iowmb(); __raw_writew((__force __u16)cpu_to_be16(v), p); }) macro
/linux-6.1.9/arch/parisc/lib/
Diomap.c381 void iowrite16be(u16 datum, void __iomem *addr) in iowrite16be() function
537 EXPORT_SYMBOL(iowrite16be);
/linux-6.1.9/arch/powerpc/include/asm/
Dio.h748 static inline void iowrite16be(u16 val, void __iomem *addr) in iowrite16be() function
752 #define iowrite16be iowrite16be macro
/linux-6.1.9/arch/arc/include/asm/
Dio.h43 #define iowrite16be(v,p) ({ __iowmb(); __raw_writew((__force u16)cpu_to_be16(v), p); }) macro
/linux-6.1.9/drivers/dma/
Dfsl-edma-common.h201 iowrite16be(val, (void __iomem *)((unsigned long)addr ^ 0x2)); in edma_writew()
/linux-6.1.9/drivers/i2c/muxes/
Di2c-mux-reg.c47 iowrite16be(chan_id, mux->data.reg); in i2c_mux_reg_set()
/linux-6.1.9/drivers/net/dsa/b53/
Db53_mmap.c155 iowrite16be(value, regs + (page << 8) + reg); in b53_mmap_write16()
/linux-6.1.9/arch/arm/include/asm/
Dio.h393 #define iowrite16be(v,p) ({ __iowmb(); __raw_writew((__force __u16)cpu_to_be16(v), p); }) macro
/linux-6.1.9/arch/sparc/include/asm/
Dio_64.h447 #define iowrite16be __raw_writew macro
/linux-6.1.9/drivers/vfio/pci/
Dvfio_pci_rdwr.c35 #define vfio_iowrite16 iowrite16be
/linux-6.1.9/include/linux/
Dfsl_ifc.h895 iowrite16be(val, addr); in ifc_out16()

12