Home
last modified time | relevance | path

Searched refs:IO_FIELD (Results 1 – 17 of 17) sorted by relevance

/linux-2.4.37.9/arch/cris/mm/
Dinit.c263 *R_MMU_KBASE_HI = ( IO_FIELD(R_MMU_KBASE_HI, base_f, 0x0 ) | in paging_init()
264 IO_FIELD(R_MMU_KBASE_HI, base_e, 0x8 ) | in paging_init()
265 IO_FIELD(R_MMU_KBASE_HI, base_d, 0x0 ) | in paging_init()
266 IO_FIELD(R_MMU_KBASE_HI, base_c, 0x4 ) | in paging_init()
267 IO_FIELD(R_MMU_KBASE_HI, base_b, 0xb ) | in paging_init()
268 IO_FIELD(R_MMU_KBASE_HI, base_a, 0x3 ) | in paging_init()
269 IO_FIELD(R_MMU_KBASE_HI, base_9, 0x0 ) | in paging_init()
270 IO_FIELD(R_MMU_KBASE_HI, base_8, 0x0 ) ); in paging_init()
272 *R_MMU_KBASE_LO = ( IO_FIELD(R_MMU_KBASE_LO, base_7, 0x0 ) | in paging_init()
273 IO_FIELD(R_MMU_KBASE_LO, base_6, 0x0 ) | in paging_init()
[all …]
Dtlb.c67 *R_TLB_SELECT = ( IO_FIELD(R_TLB_SELECT, index, i) ); in flush_tlb_all()
68 *R_TLB_HI = ( IO_FIELD(R_TLB_HI, page_id, INVALID_PAGEID ) | in flush_tlb_all()
69 IO_FIELD(R_TLB_HI, vpn, i & 0xf ) ); in flush_tlb_all()
75 IO_FIELD(R_TLB_LO, pfn, 0 ) ); in flush_tlb_all()
102 *R_TLB_SELECT = IO_FIELD(R_TLB_SELECT, index, i); in flush_tlb_mm()
104 *R_TLB_HI = ( IO_FIELD(R_TLB_HI, page_id, INVALID_PAGEID ) | in flush_tlb_mm()
105 IO_FIELD(R_TLB_HI, vpn, i & 0xf ) ); in flush_tlb_mm()
111 IO_FIELD(R_TLB_LO, pfn, 0 ) ); in flush_tlb_mm()
142 *R_TLB_SELECT = IO_FIELD(R_TLB_SELECT, index, i); in flush_tlb_page()
146 *R_TLB_HI = IO_FIELD(R_TLB_HI, page_id, INVALID_PAGEID ) | in flush_tlb_page()
[all …]
/linux-2.4.37.9/arch/cris/drivers/
Dide.c230 == IO_FIELD (R_ATA_CTRL_DATA, addr, IDE_STATUS_OFFSET)) in IN_BYTE()
335 *R_ATA_CONFIG = ( IO_FIELD( R_ATA_CONFIG, enable, 1 ) | in tune_e100_ide()
336 IO_FIELD( R_ATA_CONFIG, dma_strobe, ATA_DMA2_STROBE ) | in tune_e100_ide()
337 IO_FIELD( R_ATA_CONFIG, dma_hold, ATA_DMA2_HOLD ) | in tune_e100_ide()
338 IO_FIELD( R_ATA_CONFIG, pio_setup, ATA_PIO0_SETUP ) | in tune_e100_ide()
339 IO_FIELD( R_ATA_CONFIG, pio_strobe, ATA_PIO0_STROBE ) | in tune_e100_ide()
340 IO_FIELD( R_ATA_CONFIG, pio_hold, ATA_PIO0_HOLD ) ); in tune_e100_ide()
343 *R_ATA_CONFIG = ( IO_FIELD( R_ATA_CONFIG, enable, 1 ) | in tune_e100_ide()
344 IO_FIELD( R_ATA_CONFIG, dma_strobe, ATA_DMA2_STROBE ) | in tune_e100_ide()
345 IO_FIELD( R_ATA_CONFIG, dma_hold, ATA_DMA2_HOLD ) | in tune_e100_ide()
[all …]
Dparport.c130 IO_FIELD(R_IRQ_MASK0_RD, par0_ready, 1U), /* tx (ready)*/
131 IO_FIELD(R_IRQ_MASK0_RD, par0_data, 1U), /* rx (data)*/
132 IO_FIELD(R_IRQ_MASK0_RD, par0_ecp_cmd, 1U), /* ecp_cmd */
133 IO_FIELD(R_IRQ_MASK0_RD, par0_peri, 1U), /* peri */
157 IO_FIELD(R_IRQ_MASK1_RD, par1_ready, 1U), /* tx (ready)*/
158 IO_FIELD(R_IRQ_MASK1_RD, par1_data, 1U), /* rx (data)*/
159 IO_FIELD(R_IRQ_MASK1_RD, par1_ecp_cmd, 1U), /* ecp_cmd */
160 IO_FIELD(R_IRQ_MASK1_RD, par1_peri, 1U), /* peri */
469 IO_FIELD(R_PAR0_CTRL_DATA, data, 0); in parport_etrax_init_registers()
477 IO_FIELD(R_PAR0_DELAY, setup, 5) | in parport_etrax_init_registers()
[all …]
Dusb-host.c591 *R_USB_EPT_INDEX = IO_FIELD(R_USB_EPT_INDEX, value, epid); in __dump_ept_data()
687 TxBulkEPList[i].command = IO_FIELD(USB_EP_command, epid, i); in init_tx_bulk_ep()
698 TxBulkDummyEPList[i][0].command = (IO_FIELD(USB_EP_command, epid, DUMMY_EPID) | in init_tx_bulk_ep()
707 TxBulkDummyEPList[i][1].command = (IO_FIELD(USB_EP_command, epid, DUMMY_EPID) | in init_tx_bulk_ep()
718 IO_FIELD(USB_EP_command, epid, i)); in init_tx_bulk_ep()
743 TxCtrlEPList[i].command = IO_FIELD(USB_EP_command, epid, i); in init_tx_ctrl_ep()
751 IO_FIELD(USB_EP_command, epid, i)); in init_tx_ctrl_ep()
773 TxIntrSB_zout.command = (IO_FIELD(USB_SB_command, rem, 0) | in init_tx_intr_ep()
785 IO_FIELD(USB_EP_command, epid, INVALID_EPID)); in init_tx_intr_ep()
796 IO_FIELD(USB_EP_command, epid, INVALID_EPID)); in init_tx_intr_ep()
[all …]
Di2c.c174 ~IO_MASK(R_PORT_PB_I2C, i2c_clk)) | IO_FIELD(R_PORT_PB_I2C, i2c_clk, (x))); \
179 ~IO_MASK(R_PORT_PB_I2C, i2c_d)) | IO_FIELD(R_PORT_PB_I2C, i2c_d, (x))); \
701 IO_FIELD(R_PORT_PB_I2C, i2c_d, 1) | in i2c_init()
702 IO_FIELD(R_PORT_PB_I2C, i2c_clk, 1) | in i2c_init()
Dethernet.c1048 IO_FIELD(R_NETWORK_MGM_CTRL, mdio, bit); in e100_send_mdio_bit()
1053 IO_FIELD(R_NETWORK_MGM_CTRL, mdio, bit); in e100_send_mdio_bit()
Dsync_serial.c314 IO_FIELD(R_SYNC_SERIAL_PRESCALE, frame_rate, DEFAULT_FRAME_RATE) | in etrax_sync_serial_init()
315 IO_FIELD(R_SYNC_SERIAL_PRESCALE, word_rate, DEFAULT_WORD_RATE) | in etrax_sync_serial_init()
Dserial.c1397 IO_FIELD(R_TIMER_CTRL, timerdiv1, FASTTIMER_DIV) | in start_flush_timer()
1399 IO_FIELD(R_TIMER_CTRL, clksel1, FASTTIMER_SELECT); in start_flush_timer()
1936 xoff = IO_FIELD(R_SERIAL0_XOFF, xoff_char, STOP_CHAR(info->tty)); in rs_stop()
1959 xoff = IO_FIELD(R_SERIAL0_XOFF, xoff_char, STOP_CHAR(tty)); in rs_start()
3701 xoff = IO_FIELD(R_SERIAL0_XOFF, xoff_char, STOP_CHAR(info->tty));
/linux-2.4.37.9/include/asm-cris/
Dide.h45 IO_FIELD(R_ATA_CTRL_DATA, sel, 0), in ide_default_io_base()
46 IO_FIELD(R_ATA_CTRL_DATA, sel, 1), in ide_default_io_base()
47 IO_FIELD(R_ATA_CTRL_DATA, sel, 2), in ide_default_io_base()
48 IO_FIELD(R_ATA_CTRL_DATA, sel, 3) in ide_default_io_base()
65 IO_FIELD(R_ATA_CTRL_DATA, addr, i) | in ide_init_hwif_ports()
72 IO_FIELD(R_ATA_CTRL_DATA, addr, 6) | in ide_init_hwif_ports()
Dsv_addr_ag.h52 #define IO_FIELD(reg, field, val) IO_FIELD_ (reg##_, field##_, val) macro
/linux-2.4.37.9/arch/cris/kernel/
Dtime.c412 *R_WATCHDOG = IO_FIELD(R_WATCHDOG, key, watchdog_key) | in reset_watchdog()
425 *R_WATCHDOG = IO_FIELD(R_WATCHDOG, key, watchdog_key) | in stop_watchdog()
447 IO_FIELD( R_TIMER_CTRL, timerdiv1, 0) | in timer_interrupt()
448 IO_FIELD( R_TIMER_CTRL, timerdiv0, 0) | in timer_interrupt()
586 IO_FIELD( R_TIMER_CTRL, timerdiv1, 0) | in time_init()
587 IO_FIELD( R_TIMER_CTRL, timerdiv0, 0) | in time_init()
596 IO_FIELD( R_TIMER_CTRL, timerdiv1, 0) | in time_init()
597 IO_FIELD( R_TIMER_CTRL, timerdiv0, 0) | in time_init()
607 IO_FIELD(R_TIMER_CTRL, timerdiv1, 192) | in time_init()
608 IO_FIELD(R_TIMER_CTRL, timerdiv0, TIMER0_DIV) | in time_init()
[all …]
Dhead.S525 | IO_FIELD (R_EXT_DMA_0_CMD, trf_count, 0),$r0
748 | IO_FIELD (R_SERIAL0_XOFF, xoff_char, 0),$r0
768 move.b IO_FIELD (R_SERIAL0_TR_CTRL, txd, 0) \
782 | IO_FIELD (R_SERIAL1_XOFF, xoff_char, 0),$r0
802 move.b IO_FIELD (R_SERIAL1_TR_CTRL, txd, 0) \
818 | IO_FIELD (R_SERIAL3_XOFF, xoff_char, 0),$r0
838 move.b IO_FIELD (R_SERIAL3_TR_CTRL, txd, 0) \
Dprocess.c204 *R_WATCHDOG = IO_FIELD(R_WATCHDOG, key, 3) | in hard_reset_now()
Dfasttimer.c280 IO_FIELD(R_TIMER_CTRL, timerdiv1, div) | in start_timer1()
282 IO_FIELD(R_TIMER_CTRL, clksel1, freq_index ); /* 6=c19k2Hz */ in start_timer1()
/linux-2.4.37.9/arch/cris/drivers/lpslave/
De100lpslavenet.c397 *R_PAR1_DELAY = IO_FIELD(R_PAR1_DELAY, setup, 0); in e100_open()
De100lpslave.S100 moveq IO_FIELD(R_PAR1_DELAY, setup, 0), r0 ; setup time of value * 160 + 20 == 20 ns