Home
last modified time | relevance | path

Searched refs:bfin_write16 (Results 1 – 24 of 24) sorted by relevance

/arch/blackfin/mach-bf548/include/mach/
DcdefBF548.h19 #define bfin_write_CAN1_MC1(val) bfin_write16(CAN1_MC1, val)
21 #define bfin_write_CAN1_MD1(val) bfin_write16(CAN1_MD1, val)
23 #define bfin_write_CAN1_TRS1(val) bfin_write16(CAN1_TRS1, val)
25 #define bfin_write_CAN1_TRR1(val) bfin_write16(CAN1_TRR1, val)
27 #define bfin_write_CAN1_TA1(val) bfin_write16(CAN1_TA1, val)
29 #define bfin_write_CAN1_AA1(val) bfin_write16(CAN1_AA1, val)
31 #define bfin_write_CAN1_RMP1(val) bfin_write16(CAN1_RMP1, val)
33 #define bfin_write_CAN1_RML1(val) bfin_write16(CAN1_RML1, val)
35 #define bfin_write_CAN1_MBTIF1(val) bfin_write16(CAN1_MBTIF1, val)
37 #define bfin_write_CAN1_MBRIF1(val) bfin_write16(CAN1_MBRIF1, val)
[all …]
DcdefBF544.h18 #define bfin_write_TIMER8_CONFIG(val) bfin_write16(TIMER8_CONFIG, val)
26 #define bfin_write_TIMER9_CONFIG(val) bfin_write16(TIMER9_CONFIG, val)
34 #define bfin_write_TIMER10_CONFIG(val) bfin_write16(TIMER10_CONFIG, val)
45 #define bfin_write_TIMER_ENABLE1(val) bfin_write16(TIMER_ENABLE1, val)
47 #define bfin_write_TIMER_DISABLE1(val) bfin_write16(TIMER_DISABLE1, val)
54 #define bfin_write_EPPI0_STATUS(val) bfin_write16(EPPI0_STATUS, val)
56 #define bfin_write_EPPI0_HCOUNT(val) bfin_write16(EPPI0_HCOUNT, val)
58 #define bfin_write_EPPI0_HDELAY(val) bfin_write16(EPPI0_HDELAY, val)
60 #define bfin_write_EPPI0_VCOUNT(val) bfin_write16(EPPI0_VCOUNT, val)
62 #define bfin_write_EPPI0_VDELAY(val) bfin_write16(EPPI0_VDELAY, val)
[all …]
DcdefBF542.h18 #define bfin_write_ATAPI_CONTROL(val) bfin_write16(ATAPI_CONTROL, val)
20 #define bfin_write_ATAPI_STATUS(val) bfin_write16(ATAPI_STATUS, val)
22 #define bfin_write_ATAPI_DEV_ADDR(val) bfin_write16(ATAPI_DEV_ADDR, val)
24 #define bfin_write_ATAPI_DEV_TXBUF(val) bfin_write16(ATAPI_DEV_TXBUF, val)
26 #define bfin_write_ATAPI_DEV_RXBUF(val) bfin_write16(ATAPI_DEV_RXBUF, val)
28 #define bfin_write_ATAPI_INT_MASK(val) bfin_write16(ATAPI_INT_MASK, val)
30 #define bfin_write_ATAPI_INT_STATUS(val) bfin_write16(ATAPI_INT_STATUS, val)
32 #define bfin_write_ATAPI_XFER_LEN(val) bfin_write16(ATAPI_XFER_LEN, val)
34 #define bfin_write_ATAPI_LINE_STATUS(val) bfin_write16(ATAPI_LINE_STATUS, val)
36 #define bfin_write_ATAPI_SM_STATE(val) bfin_write16(ATAPI_SM_STATE, val)
[all …]
DcdefBF547.h18 #define bfin_write_TIMER8_CONFIG(val) bfin_write16(TIMER8_CONFIG, val)
26 #define bfin_write_TIMER9_CONFIG(val) bfin_write16(TIMER9_CONFIG, val)
34 #define bfin_write_TIMER10_CONFIG(val) bfin_write16(TIMER10_CONFIG, val)
45 #define bfin_write_TIMER_ENABLE1(val) bfin_write16(TIMER_ENABLE1, val)
47 #define bfin_write_TIMER_DISABLE1(val) bfin_write16(TIMER_DISABLE1, val)
54 #define bfin_write_SPORT0_TCR1(val) bfin_write16(SPORT0_TCR1, val)
56 #define bfin_write_SPORT0_TCR2(val) bfin_write16(SPORT0_TCR2, val)
58 #define bfin_write_SPORT0_TCLKDIV(val) bfin_write16(SPORT0_TCLKDIV, val)
60 #define bfin_write_SPORT0_TFSDIV(val) bfin_write16(SPORT0_TFSDIV, val)
66 #define bfin_write_SPORT0_RCR1(val) bfin_write16(SPORT0_RCR1, val)
[all …]
DcdefBF54x_base.h18 #define bfin_write_PLL_DIV(val) bfin_write16(PLL_DIV, val)
21 #define bfin_write_PLL_STAT(val) bfin_write16(PLL_STAT, val)
23 #define bfin_write_PLL_LOCKCNT(val) bfin_write16(PLL_LOCKCNT, val)
33 #define bfin_write_SWRST(val) bfin_write16(SWRST, val)
35 #define bfin_write_SYSCR(val) bfin_write16(SYSCR, val)
93 #define bfin_write_WDOG_CTL(val) bfin_write16(WDOG_CTL, val)
104 #define bfin_write_RTC_ICTL(val) bfin_write16(RTC_ICTL, val)
106 #define bfin_write_RTC_ISTAT(val) bfin_write16(RTC_ISTAT, val)
108 #define bfin_write_RTC_SWCNT(val) bfin_write16(RTC_SWCNT, val)
112 #define bfin_write_RTC_PREN(val) bfin_write16(RTC_PREN, val)
[all …]
DcdefBF549.h19 #define bfin_write_MXVR_CONFIG(val) bfin_write16(MXVR_CONFIG, val)
33 #define bfin_write_MXVR_POSITION(val) bfin_write16(MXVR_POSITION, val)
35 #define bfin_write_MXVR_MAX_POSITION(val) bfin_write16(MXVR_MAX_POSITION, val)
37 #define bfin_write_MXVR_DELAY(val) bfin_write16(MXVR_DELAY, val)
39 #define bfin_write_MXVR_MAX_DELAY(val) bfin_write16(MXVR_MAX_DELAY, val)
43 #define bfin_write_MXVR_GADDR(val) bfin_write16(MXVR_GADDR, val)
106 #define bfin_write_MXVR_DMA0_COUNT(val) bfin_write16(MXVR_DMA0_COUNT, val)
110 #define bfin_write_MXVR_DMA0_CURR_COUNT(val) bfin_write16(MXVR_DMA0_CURR_COUNT, val)
119 #define bfin_write_MXVR_DMA1_COUNT(val) bfin_write16(MXVR_DMA1_COUNT, val)
123 #define bfin_write_MXVR_DMA1_CURR_COUNT(val) bfin_write16(MXVR_DMA1_CURR_COUNT, val)
[all …]
/arch/blackfin/mach-bf527/include/mach/
DcdefBF525.h16 #define bfin_write_USB_FADDR(val) bfin_write16(USB_FADDR, val)
18 #define bfin_write_USB_POWER(val) bfin_write16(USB_POWER, val)
20 #define bfin_write_USB_INTRTX(val) bfin_write16(USB_INTRTX, val)
22 #define bfin_write_USB_INTRRX(val) bfin_write16(USB_INTRRX, val)
24 #define bfin_write_USB_INTRTXE(val) bfin_write16(USB_INTRTXE, val)
26 #define bfin_write_USB_INTRRXE(val) bfin_write16(USB_INTRRXE, val)
28 #define bfin_write_USB_INTRUSB(val) bfin_write16(USB_INTRUSB, val)
30 #define bfin_write_USB_INTRUSBE(val) bfin_write16(USB_INTRUSBE, val)
32 #define bfin_write_USB_FRAME(val) bfin_write16(USB_FRAME, val)
34 #define bfin_write_USB_INDEX(val) bfin_write16(USB_INDEX, val)
[all …]
DcdefBF522.h13 #define bfin_write_PLL_DIV(val) bfin_write16(PLL_DIV, val)
16 #define bfin_write_PLL_STAT(val) bfin_write16(PLL_STAT, val)
18 #define bfin_write_PLL_LOCKCNT(val) bfin_write16(PLL_LOCKCNT, val)
25 #define bfin_write_SWRST(val) bfin_write16(SWRST, val)
27 #define bfin_write_SYSCR(val) bfin_write16(SYSCR, val)
74 #define bfin_write_WDOG_CTL(val) bfin_write16(WDOG_CTL, val)
85 #define bfin_write_RTC_ICTL(val) bfin_write16(RTC_ICTL, val)
87 #define bfin_write_RTC_ISTAT(val) bfin_write16(RTC_ISTAT, val)
89 #define bfin_write_RTC_SWCNT(val) bfin_write16(RTC_SWCNT, val)
93 #define bfin_write_RTC_FAST(val) bfin_write16(RTC_FAST, val)
[all …]
/arch/blackfin/mach-bf537/include/mach/
DcdefBF534.h13 #define bfin_write_PLL_DIV(val) bfin_write16(PLL_DIV,val)
16 #define bfin_write_PLL_STAT(val) bfin_write16(PLL_STAT,val)
18 #define bfin_write_PLL_LOCKCNT(val) bfin_write16(PLL_LOCKCNT,val)
23 #define bfin_write_SWRST(val) bfin_write16(SWRST,val)
25 #define bfin_write_SYSCR(val) bfin_write16(SYSCR,val)
45 #define bfin_write_WDOG_CTL(val) bfin_write16(WDOG_CTL,val)
55 #define bfin_write_RTC_ICTL(val) bfin_write16(RTC_ICTL,val)
57 #define bfin_write_RTC_ISTAT(val) bfin_write16(RTC_ISTAT,val)
59 #define bfin_write_RTC_SWCNT(val) bfin_write16(RTC_SWCNT,val)
63 #define bfin_write_RTC_FAST(val) bfin_write16(RTC_FAST,val)
[all …]
/arch/blackfin/mach-bf538/include/mach/
DcdefBF538.h14 #define bfin_write_PLL_DIV(val) bfin_write16(PLL_DIV, val)
17 #define bfin_write_PLL_STAT(val) bfin_write16(PLL_STAT, val)
19 #define bfin_write_PLL_LOCKCNT(val) bfin_write16(PLL_LOCKCNT, val)
23 #define bfin_write_SWRST(val) bfin_write16(SWRST, val)
25 #define bfin_write_SYSCR(val) bfin_write16(SYSCR, val)
61 #define bfin_write_WDOG_CTL(val) bfin_write16(WDOG_CTL, val)
69 #define bfin_write_RTC_ICTL(val) bfin_write16(RTC_ICTL, val)
71 #define bfin_write_RTC_ISTAT(val) bfin_write16(RTC_ISTAT, val)
73 #define bfin_write_RTC_SWCNT(val) bfin_write16(RTC_SWCNT, val)
77 #define bfin_write_RTC_PREN(val) bfin_write16(RTC_PREN, val)
[all …]
DcdefBF539.h14 #define bfin_write_MXVR_CONFIG(val) bfin_write16(MXVR_CONFIG, val)
30 #define bfin_write_MXVR_POSITION(val) bfin_write16(MXVR_POSITION, val)
32 #define bfin_write_MXVR_MAX_POSITION(val) bfin_write16(MXVR_MAX_POSITION, val)
34 #define bfin_write_MXVR_DELAY(val) bfin_write16(MXVR_DELAY, val)
36 #define bfin_write_MXVR_MAX_DELAY(val) bfin_write16(MXVR_MAX_DELAY, val)
40 #define bfin_write_MXVR_GADDR(val) bfin_write16(MXVR_GADDR, val)
94 #define bfin_write_MXVR_DMA0_COUNT(val) bfin_write16(MXVR_DMA0_COUNT, val)
98 #define bfin_write_MXVR_DMA0_CURR_COUNT(val) bfin_write16(MXVR_DMA0_CURR_COUNT, val)
104 #define bfin_write_MXVR_DMA1_COUNT(val) bfin_write16(MXVR_DMA1_COUNT, val)
108 #define bfin_write_MXVR_DMA1_CURR_COUNT(val) bfin_write16(MXVR_DMA1_CURR_COUNT, val)
[all …]
/arch/blackfin/mach-bf561/include/mach/
DcdefBF561.h17 #define bfin_write_PLL_DIV(val) bfin_write16(PLL_DIV,val)
20 #define bfin_write_PLL_STAT(val) bfin_write16(PLL_STAT,val)
22 #define bfin_write_PLL_LOCKCNT(val) bfin_write16(PLL_LOCKCNT,val)
27 #define bfin_write_SWRST(val) bfin_write16(SWRST,val)
29 #define bfin_write_SYSCR(val) bfin_write16(SYSCR,val)
31 #define bfin_write_SIC_RVECT(val) bfin_write16(SIC_RVECT,val)
63 #define bfin_write_SICB_SWRST(val) bfin_write16(SICB_SWRST,val)
65 #define bfin_write_SICB_SYSCR(val) bfin_write16(SICB_SYSCR,val)
67 #define bfin_write_SICB_RVECT(val) bfin_write16(SICB_RVECT,val)
98 #define bfin_write_WDOGA_CTL(val) bfin_write16(WDOGA_CTL,val)
[all …]
/arch/blackfin/mach-bf518/include/mach/
DcdefBF512.h13 #define bfin_write_PLL_DIV(val) bfin_write16(PLL_DIV, val)
16 #define bfin_write_PLL_STAT(val) bfin_write16(PLL_STAT, val)
18 #define bfin_write_PLL_LOCKCNT(val) bfin_write16(PLL_LOCKCNT, val)
25 #define bfin_write_SWRST(val) bfin_write16(SWRST, val)
27 #define bfin_write_SYSCR(val) bfin_write16(SYSCR, val)
74 #define bfin_write_WDOG_CTL(val) bfin_write16(WDOG_CTL, val)
85 #define bfin_write_RTC_ICTL(val) bfin_write16(RTC_ICTL, val)
87 #define bfin_write_RTC_ISTAT(val) bfin_write16(RTC_ISTAT, val)
89 #define bfin_write_RTC_SWCNT(val) bfin_write16(RTC_SWCNT, val)
93 #define bfin_write_RTC_FAST(val) bfin_write16(RTC_FAST, val)
[all …]
DcdefBF514.h16 #define bfin_write_RSI_PWR_CTL(val) bfin_write16(RSI_PWR_CONTROL, val)
18 #define bfin_write_RSI_CLK_CTL(val) bfin_write16(RSI_CLK_CONTROL, val)
22 #define bfin_write_RSI_COMMAND(val) bfin_write16(RSI_COMMAND, val)
24 #define bfin_write_RSI_RESP_CMD(val) bfin_write16(RSI_RESP_CMD, val)
36 #define bfin_write_RSI_DATA_LGTH(val) bfin_write16(RSI_DATA_LGTH, val)
38 #define bfin_write_RSI_DATA_CTL(val) bfin_write16(RSI_DATA_CONTROL, val)
40 #define bfin_write_RSI_DATA_CNT(val) bfin_write16(RSI_DATA_CNT, val)
44 #define bfin_write_RSI_STATUS_CLR(val) bfin_write16(RSI_STATUSCL, val)
50 #define bfin_write_RSI_FIFO_CNT(val) bfin_write16(RSI_FIFO_CNT, val)
52 #define bfin_write_RSI_CEATA_CTL(val) bfin_write16(RSI_CEATA_CONTROL, val)
[all …]
DcdefBF518.h16 #define bfin_write_EMAC_PTP_CTL(val) bfin_write16(EMAC_PTP_CTL, val)
18 #define bfin_write_EMAC_PTP_IE(val) bfin_write16(EMAC_PTP_IE, val)
20 #define bfin_write_EMAC_PTP_ISTAT(val) bfin_write16(EMAC_PTP_ISTAT, val)
48 #define bfin_write_EMAC_PTP_ID_OFF(val) bfin_write16(EMAC_PTP_ID_OFF, val)
/arch/blackfin/mach-bf533/include/mach/
DcdefBF532.h13 #define bfin_write_PLL_STAT(val) bfin_write16(PLL_STAT,val)
15 #define bfin_write_PLL_LOCKCNT(val) bfin_write16(PLL_LOCKCNT,val)
18 #define bfin_write_PLL_DIV(val) bfin_write16(PLL_DIV,val)
23 #define bfin_write_SWRST(val) bfin_write16(SWRST,val)
25 #define bfin_write_SYSCR(val) bfin_write16(SYSCR,val)
43 #define bfin_write_WDOG_CTL(val) bfin_write16(WDOG_CTL,val)
53 #define bfin_write_RTC_ICTL(val) bfin_write16(RTC_ICTL,val)
55 #define bfin_write_RTC_ISTAT(val) bfin_write16(RTC_ISTAT,val)
57 #define bfin_write_RTC_SWCNT(val) bfin_write16(RTC_SWCNT,val)
61 #define bfin_write_RTC_FAST(val) bfin_write16(RTC_FAST,val)
[all …]
/arch/blackfin/include/asm/
Dbfin_serial.h197 #define UART_PUT_CHAR(p, v) bfin_write16(port_membase(p) + OFFSET_THR, v)
198 #define UART_PUT_DLL(p, v) bfin_write16(port_membase(p) + OFFSET_DLL, v)
199 #define UART_PUT_DLH(p, v) bfin_write16(port_membase(p) + OFFSET_DLH, v)
200 #define UART_PUT_GCTL(p, v) bfin_write16(port_membase(p) + OFFSET_GCTL, v)
201 #define UART_PUT_LCR(p, v) bfin_write16(port_membase(p) + OFFSET_LCR, v)
202 #define UART_PUT_MCR(p, v) bfin_write16(port_membase(p) + OFFSET_MCR, v)
206 #define UART_CLEAR_IER(p, v) bfin_write16(port_membase(p) + OFFSET_IER_CLEAR, v)
208 #define UART_SET_IER(p, v) bfin_write16(port_membase(p) + OFFSET_IER_SET, v)
213 #define UART_CLEAR_LSR(p) bfin_write16(port_membase(p) + OFFSET_LSR, -1)
215 #define UART_PUT_LSR(p, v) bfin_write16(port_membase(p) + OFFSET_LSR, v)
[all …]
Ddef_LPBlackfin.h50 #define bfin_write16(addr, val) _bfin_writeX(addr, val, 16, w) macro
64 case 2: bfin_write16(addr, val); break; \
/arch/blackfin/kernel/
Dbfin_dma.c285 bfin_write16(&src_ch->cfg, 0); in early_dma_memcpy()
298 bfin_write16(&dst_ch->x_count, size >> 2); in early_dma_memcpy()
299 bfin_write16(&dst_ch->x_modify, 1 << 2); in early_dma_memcpy()
300 bfin_write16(&dst_ch->irq_status, DMA_DONE | DMA_ERR); in early_dma_memcpy()
304 bfin_write16(&src_ch->x_count, size >> 2); in early_dma_memcpy()
305 bfin_write16(&src_ch->x_modify, 1 << 2); in early_dma_memcpy()
306 bfin_write16(&src_ch->irq_status, DMA_DONE | DMA_ERR); in early_dma_memcpy()
309 bfin_write16(&src_ch->cfg, DMAEN | WDSIZE_32); in early_dma_memcpy()
310 bfin_write16(&dst_ch->cfg, WNR | DI_EN | DMAEN | WDSIZE_32); in early_dma_memcpy()
Ddebug-mmrs.c444 bfin_write16(mmr, val); in sport_set()
/arch/blackfin/mach-common/
Dclocks-init.c70 bfin_write16(VR_CTL, bfin_read_VR_CTL() | CLKBUFOE); in init_clocks()
77 bfin_write16(PLL_CTL, PLL_CTL_VAL); in init_clocks()
/arch/blackfin/include/mach-common/
Dpll.h64 bfin_write16(addr, val); in _bfin_write_pll_relock()
/arch/blackfin/mm/
Dmaccess.c71 bfin_write16(dst, mmr); in probe_kernel_write()
/arch/blackfin/mach-bf538/
Dext-gpio.c19 { bfin_write16(port + off, v); }