Home
last modified time | relevance | path

Searched refs:IO_STATE (Results 1 – 22 of 22) sorted by relevance

/linux-2.4.37.9/arch/cris/mm/
Dinit.c246 *R_MMU_KSEG = ( IO_STATE(R_MMU_KSEG, seg_f, seg ) | /* cached flash */ in paging_init()
247 IO_STATE(R_MMU_KSEG, seg_e, seg ) | /* uncached flash */ in paging_init()
248 IO_STATE(R_MMU_KSEG, seg_d, page ) | /* vmalloc area */ in paging_init()
249 IO_STATE(R_MMU_KSEG, seg_c, seg ) | /* kernel area */ in paging_init()
250 IO_STATE(R_MMU_KSEG, seg_b, seg ) | /* kernel reg area */ in paging_init()
251 IO_STATE(R_MMU_KSEG, seg_a, seg ) | /* bootrom/regs cached */ in paging_init()
252 IO_STATE(R_MMU_KSEG, seg_9, page ) | /* user area */ in paging_init()
253 IO_STATE(R_MMU_KSEG, seg_8, page ) | in paging_init()
254 IO_STATE(R_MMU_KSEG, seg_7, page ) | in paging_init()
255 IO_STATE(R_MMU_KSEG, seg_6, page ) | in paging_init()
[all …]
Dtlb.c71 *R_TLB_LO = ( IO_STATE(R_TLB_LO, global,no ) | in flush_tlb_all()
72 IO_STATE(R_TLB_LO, valid, no ) | in flush_tlb_all()
73 IO_STATE(R_TLB_LO, kernel,no ) | in flush_tlb_all()
74 IO_STATE(R_TLB_LO, we, no ) | in flush_tlb_all()
107 *R_TLB_LO = ( IO_STATE(R_TLB_LO, global,no ) | in flush_tlb_mm()
108 IO_STATE(R_TLB_LO, valid, no ) | in flush_tlb_mm()
109 IO_STATE(R_TLB_LO, kernel,no ) | in flush_tlb_mm()
110 IO_STATE(R_TLB_LO, we, no ) | in flush_tlb_mm()
149 *R_TLB_LO = ( IO_STATE(R_TLB_LO, global,no ) | in flush_tlb_page()
150 IO_STATE(R_TLB_LO, valid, no ) | in flush_tlb_page()
[all …]
/linux-2.4.37.9/arch/cris/kernel/
Dhead.S178 #define START_ETHERNET_CLOCK IO_STATE(R_NETWORK_GEN_CONFIG, enable, on) |\
179 IO_STATE(R_NETWORK_GEN_CONFIG, phy, mii_clk)
518 move.d IO_STATE (R_EXT_DMA_0_CMD, cnt, enable) \
519 | IO_STATE (R_EXT_DMA_0_CMD, rqpol, ahigh) \
520 | IO_STATE (R_EXT_DMA_0_CMD, apol, ahigh) \
521 | IO_STATE (R_EXT_DMA_0_CMD, rq_ack, burst) \
522 | IO_STATE (R_EXT_DMA_0_CMD, wid, word) \
523 | IO_STATE (R_EXT_DMA_0_CMD, dir, output) \
524 | IO_STATE (R_EXT_DMA_0_CMD, run, stop) \
530 moveq IO_STATE (R_DMA_CH4_CMD, cmd, reset),$r0
[all …]
Dtime.c413 IO_STATE(R_WATCHDOG, enable, start); in reset_watchdog()
426 IO_STATE(R_WATCHDOG, enable, stop); in stop_watchdog()
449 IO_STATE( R_TIMER_CTRL, i1, clr) | in timer_interrupt()
450 IO_STATE( R_TIMER_CTRL, tm1, run) | in timer_interrupt()
451 IO_STATE( R_TIMER_CTRL, clksel1, cascade0) | in timer_interrupt()
452 IO_STATE( R_TIMER_CTRL, i0, clr) | in timer_interrupt()
453 IO_STATE( R_TIMER_CTRL, tm0, run) | in timer_interrupt()
454 IO_STATE( R_TIMER_CTRL, clksel0, c6250kHz); in timer_interrupt()
457 IO_STATE(R_TIMER_CTRL, i0, clr); in timer_interrupt()
588 IO_STATE( R_TIMER_CTRL, i1, nop) | in time_init()
[all …]
Ddebugport.c63 #define DEBUG_IRQ IO_STATE(R_IRQ_MASK1_SET, ser0_data, set)
64 #define DEBUG_DMA_IRQ_CLR IO_STATE(R_IRQ_MASK2_CLR, dma6_descr, clr)
77 #define DEBUG_IRQ IO_STATE(R_IRQ_MASK1_SET, ser1_data, set)
78 #define DEBUG_DMA_IRQ_CLR IO_STATE(R_IRQ_MASK2_CLR, dma8_descr, clr)
91 #define DEBUG_IRQ IO_STATE(R_IRQ_MASK1_SET, ser2_data, set)
92 #define DEBUG_DMA_IRQ_CLR IO_STATE(R_IRQ_MASK2_CLR, dma2_descr, clr)
105 #define DEBUG_IRQ IO_STATE(R_IRQ_MASK1_SET, ser3_data, set)
106 #define DEBUG_DMA_IRQ_CLR IO_STATE(R_IRQ_MASK2_CLR, dma4_descr, clr)
259 *R_VECT_MASK_SET = IO_STATE(R_VECT_MASK_SET, serial, set); in enableDebugIRQ()
261 *DEBUG_REC_CTRL = IO_STATE(R_SERIAL0_REC_CTRL, rec_enable, enable); in enableDebugIRQ()
Dfasttimer.c272 *R_IRQ_MASK0_CLR = IO_STATE(R_IRQ_MASK0_CLR, timer1, clr); in start_timer1()
281 IO_STATE(R_TIMER_CTRL, tm1, stop_ld) | in start_timer1()
286 IO_STATE(R_TIMER_CTRL, i1, clr); in start_timer1()
291 IO_STATE(R_TIMER_CTRL, tm1, run); in start_timer1()
294 *R_IRQ_MASK0_SET = IO_STATE(R_IRQ_MASK0_SET, timer1, set); in start_timer1()
434 *R_IRQ_MASK0_CLR = IO_STATE(R_IRQ_MASK0_CLR, timer1, clr); in timer1_handler()
440 IO_STATE(R_TIMER_CTRL, tm1, stop_ld); in timer1_handler()
443 *R_TIMER_CTRL = r_timer_ctrl_shadow | IO_STATE(R_TIMER_CTRL, i1, clr); in timer1_handler()
Dprocess.c205 IO_STATE(R_WATCHDOG, enable, start); in hard_reset_now()
/linux-2.4.37.9/arch/cris/drivers/lpslave/
De100lpslavenet.c312 IO_STATE(R_PAR0_CONFIG, ioe, noninv) | in e100_open()
314 IO_STATE(R_PAR0_CONFIG, iseli, noninv) | in e100_open()
316 IO_STATE(R_PAR0_CONFIG, iautofd, noninv) | in e100_open()
318 IO_STATE(R_PAR0_CONFIG, istrb, noninv) | in e100_open()
320 IO_STATE(R_PAR0_CONFIG, iinit, noninv) | in e100_open()
322 IO_STATE(R_PAR0_CONFIG, iperr, noninv) | in e100_open()
324 IO_STATE(R_PAR0_CONFIG, iack, noninv) | in e100_open()
326 IO_STATE(R_PAR0_CONFIG, ibusy, noninv) | in e100_open()
328 IO_STATE(R_PAR0_CONFIG, ifault, noninv) | in e100_open()
330 IO_STATE(R_PAR0_CONFIG, isel, noninv) | in e100_open()
[all …]
De100lpslave.S49 moveq IO_STATE(R_NETWORK_MGM_CTRL, mdoe, enable), r0
53 moveq IO_STATE(R_NETWORK_REC_CONFIG, broadcast, receive) | \
54 IO_STATE(R_NETWORK_REC_CONFIG, ma0, enable), r0
58 moveq IO_STATE(R_NETWORK_GEN_CONFIG, phy, mii_clk) | \
59 IO_STATE(R_NETWORK_GEN_CONFIG, enable, on), r0
62 move.d IO_STATE(R_PAR0_CONFIG, ioe, noninv) | \
63 IO_STATE(R_PAR0_CONFIG, iseli, noninv) | \
64 IO_STATE(R_PAR0_CONFIG, iautofd, noninv) | \
65 IO_STATE(R_PAR0_CONFIG, istrb, noninv) | \
66 IO_STATE(R_PAR0_CONFIG, iinit, noninv) | \
[all …]
/linux-2.4.37.9/arch/cris/drivers/
Dide.c237 *R_ATA_CTRL_DATA = reg | IO_STATE(R_ATA_CTRL_DATA, rw, read); /* read data */ in IN_BYTE()
412 ( IO_STATE( R_GEN_CONFIG, dma3, ata ) | in init_e100_ide()
413 IO_STATE( R_GEN_CONFIG, dma2, ata ) | in init_e100_ide()
414 IO_STATE( R_GEN_CONFIG, ata, select ) ); in init_e100_ide()
431 IO_STATE(R_PORT_PB_DIR, dir7, output); in init_e100_ide()
462 *R_ATA_CTRL_DATA = ( IO_STATE( R_ATA_CTRL_DATA, rw, read) | in init_e100_ide()
467 *R_IRQ_MASK0_SET = ( IO_STATE( R_IRQ_MASK0_SET, ata_irq0, set ) | in init_e100_ide()
468 IO_STATE( R_IRQ_MASK0_SET, ata_irq1, set ) | in init_e100_ide()
469 IO_STATE( R_IRQ_MASK0_SET, ata_irq2, set ) | in init_e100_ide()
470 IO_STATE( R_IRQ_MASK0_SET, ata_irq3, set ) ); in init_e100_ide()
[all …]
Dusb-host.c662 RxDescList[i].command = IO_STATE(USB_IN_command, eol, yes); in init_rx_buffers()
673 *R_DMA_CH9_CMD = IO_STATE(R_DMA_CH9_CMD, cmd, start); in init_rx_buffers()
699 IO_STATE(USB_EP_command, eol, yes) | in init_tx_bulk_ep()
700 IO_STATE(USB_EP_command, intr, yes)); in init_tx_bulk_ep()
708 IO_STATE(USB_EP_command, eol, yes)); in init_tx_bulk_ep()
717 TxBulkEPList[i].command = (IO_STATE(USB_EP_command, eol, yes) | in init_tx_bulk_ep()
750 TxCtrlEPList[i].command = (IO_STATE(USB_EP_command, eol, yes) | in init_tx_ctrl_ep()
757 *R_DMA_CH8_SUB1_CMD = IO_STATE(R_DMA_CH8_SUB1_CMD, cmd, start); in init_tx_ctrl_ep()
774 IO_STATE(USB_SB_command, tt, zout) | in init_tx_intr_ep()
775 IO_STATE(USB_SB_command, full, yes) | in init_tx_intr_ep()
[all …]
Dethernet.c633 *R_NETWORK_MGM_CTRL = IO_STATE(R_NETWORK_MGM_CTRL, mdoe, enable); in e100_open()
636 IO_STATE(R_IRQ_MASK0_CLR, overrun, clr) | in e100_open()
637 IO_STATE(R_IRQ_MASK0_CLR, underrun, clr) | in e100_open()
638 IO_STATE(R_IRQ_MASK0_CLR, excessive_col, clr); in e100_open()
642 IO_STATE(R_IRQ_MASK2_CLR, dma0_descr, clr) | in e100_open()
643 IO_STATE(R_IRQ_MASK2_CLR, dma0_eop, clr) | in e100_open()
644 IO_STATE(R_IRQ_MASK2_CLR, dma1_descr, clr) | in e100_open()
645 IO_STATE(R_IRQ_MASK2_CLR, dma1_eop, clr); in e100_open()
711 IO_STATE(R_NETWORK_GEN_CONFIG, phy, mii_clk) | in e100_open()
712 IO_STATE(R_NETWORK_GEN_CONFIG, enable, on); in e100_open()
[all …]
Dparport.c440 IO_STATE(R_PAR0_CONFIG, iseli, inv) | in parport_etrax_init_registers()
441 IO_STATE(R_PAR0_CONFIG, iautofd, inv) | in parport_etrax_init_registers()
442 IO_STATE(R_PAR0_CONFIG, istrb, inv) | in parport_etrax_init_registers()
443 IO_STATE(R_PAR0_CONFIG, iinit, inv) | in parport_etrax_init_registers()
444 IO_STATE(R_PAR0_CONFIG, rle_in, disable) | in parport_etrax_init_registers()
445 IO_STATE(R_PAR0_CONFIG, rle_out, disable) | in parport_etrax_init_registers()
446 IO_STATE(R_PAR0_CONFIG, enable, on) | in parport_etrax_init_registers()
447 IO_STATE(R_PAR0_CONFIG, force, off) | in parport_etrax_init_registers()
448 IO_STATE(R_PAR0_CONFIG, ign_ack, wait) | in parport_etrax_init_registers()
449 IO_STATE(R_PAR0_CONFIG, oe_ack, wait_oe) | in parport_etrax_init_registers()
[all …]
Dsync_serial.c257 *R_DMA_CH8_CLR_INTR = IO_STATE(R_DMA_CH8_CLR_INTR, clr_eop, do) | in etrax_sync_serial_init()
258 IO_STATE(R_DMA_CH8_CLR_INTR, clr_descr, do); in etrax_sync_serial_init()
259 *R_DMA_CH9_CLR_INTR = IO_STATE(R_DMA_CH9_CLR_INTR, clr_eop, do) | in etrax_sync_serial_init()
260 IO_STATE(R_DMA_CH9_CLR_INTR, clr_descr, do); in etrax_sync_serial_init()
262 IO_STATE(R_IRQ_MASK2_SET, dma8_eop, set) | in etrax_sync_serial_init()
263 IO_STATE(R_IRQ_MASK2_SET, dma9_descr, set); in etrax_sync_serial_init()
286 *R_DMA_CH4_CLR_INTR = IO_STATE(R_DMA_CH4_CLR_INTR, clr_eop, do) | in etrax_sync_serial_init()
287 IO_STATE(R_DMA_CH4_CLR_INTR, clr_descr, do); in etrax_sync_serial_init()
288 *R_DMA_CH5_CLR_INTR = IO_STATE(R_DMA_CH5_CLR_INTR, clr_eop, do) | in etrax_sync_serial_init()
289 IO_STATE(R_DMA_CH5_CLR_INTR, clr_descr, do); in etrax_sync_serial_init()
[all …]
Dserial.c1398 IO_STATE(R_TIMER_CTRL, tm1, stop_ld) | in start_flush_timer()
1403 IO_STATE(R_TIMER_CTRL, tm1, run); in start_flush_timer()
1407 *R_IRQ_MASK0_SET = IO_STATE(R_IRQ_MASK0_SET, timer1, set); in start_flush_timer()
1665 IO_STATE(R_GEN_CONFIG, dma6, serial0)) { in e100_disable_txdma_channel()
1667 genconfig_shadow |= IO_STATE(R_GEN_CONFIG, dma6, unused); in e100_disable_txdma_channel()
1671 IO_STATE(R_GEN_CONFIG, dma8, serial1)) { in e100_disable_txdma_channel()
1673 genconfig_shadow |= IO_STATE(R_GEN_CONFIG, dma8, usb); in e100_disable_txdma_channel()
1677 IO_STATE(R_GEN_CONFIG, dma2, serial2)) { in e100_disable_txdma_channel()
1679 genconfig_shadow |= IO_STATE(R_GEN_CONFIG, dma2, par0); in e100_disable_txdma_channel()
1683 IO_STATE(R_GEN_CONFIG, dma4, serial3)) { in e100_disable_txdma_channel()
[all …]
Dgpio.c801 if (genconfig_shadow & IO_STATE(R_GEN_CONFIG, scsi0, select)){ in gpio_init_port_g()
805 if (genconfig_shadow & IO_STATE(R_GEN_CONFIG, ata, select)) { in gpio_init_port_g()
810 if (genconfig_shadow & IO_STATE(R_GEN_CONFIG, par0, select)) { in gpio_init_port_g()
814 if (genconfig_shadow & IO_STATE(R_GEN_CONFIG, ser2, select)) { in gpio_init_port_g()
819 if (genconfig_shadow & IO_STATE(R_GEN_CONFIG, mio, select)) { in gpio_init_port_g()
823 if (genconfig_shadow & IO_STATE(R_GEN_CONFIG, scsi1, select)) { in gpio_init_port_g()
827 if (genconfig_shadow & IO_STATE(R_GEN_CONFIG, scsi0w, select)) { in gpio_init_port_g()
832 if (genconfig_shadow & IO_STATE(R_GEN_CONFIG, par1, select)) { in gpio_init_port_g()
836 if (genconfig_shadow & IO_STATE(R_GEN_CONFIG, ser3, select)) { in gpio_init_port_g()
841 if (genconfig_shadow & IO_STATE(R_GEN_CONFIG, mio_w, select)) { in gpio_init_port_g()
[all …]
Di2c.c700 IO_STATE(R_PORT_PB_I2C, i2c_en, on) | in i2c_init()
703 IO_STATE(R_PORT_PB_I2C, i2c_oe_, enable); in i2c_init()
710 IO_STATE(R_PORT_PB_DIR, dir0, input) | in i2c_init()
711 IO_STATE(R_PORT_PB_DIR, dir1, output)); in i2c_init()
Dds1302.c543 (IO_STATE(R_GEN_CONFIG, ata, select))); in ds1302_init()
550 (IO_STATE(R_GEN_CONFIG, g0dir, out))); in ds1302_init()
/linux-2.4.37.9/arch/cris/lib/
Ddmacopy.c21 IO_STATE(R_GEN_CONFIG, dma6, intdma7) | in dma_memcpy()
22 IO_STATE(R_GEN_CONFIG, dma7, intdma6); in dma_memcpy()
32 *R_DMA_CH6_CMD = IO_STATE(R_DMA_CH6_CMD, cmd, start); in dma_memcpy()
33 *R_DMA_CH7_CMD = IO_STATE(R_DMA_CH7_CMD, cmd, start); in dma_memcpy()
/linux-2.4.37.9/include/asm-cris/
Dsv_addr_ag.h34 #define IO_STATE(reg, field, state) IO_STATE_ (reg##_, field##_, _##state) macro
124 IO_STATE( R_BUS_CONFIG, CE, DISABLE )
125 IO_STATE( R_BUS_CONFIG, CE, ENABLE )
127 IO_STATE( R_DRAM_TIMING, REF, IVAL2 )
134 == IO_STATE( R_EXT_DMA_0_STAT, S, STARTED )
Dsvinto.h43 *R_DMA_CH##n##_CMD = IO_STATE( R_DMA_CH0_CMD, cmd, reset )
54 IO_STATE( R_DMA_CH0_CMD, cmd, hold ) )
Dide.h66 IO_STATE(R_ATA_CTRL_DATA, cs0, active); in ide_init_hwif_ports()
73 IO_STATE(R_ATA_CTRL_DATA, cs1, active); in ide_init_hwif_ports()