/linux-3.4.99/arch/cris/include/arch-v10/arch/ |
D | sv_addr_ag.h | 28 #define IO_MASK(reg, field) IO_MASK_ (reg##_, field##_) macro 121 IO_MASK( R_WAITSTATES , SRAM_WS ) 122 IO_MASK( R_TEST , W32 ) 129 IO_MASK( R_DRAM_TIMING, REF ) 131 IO_MASK( R_EXT_DMA_0_STAT, TFR_COUNT ) >> IO_BITNR( R_EXT_DMA_0_STAT, TFR_COUNT ) 133 IO_RD(R_EXT_DMA_0_STAT) & IO_MASK( R_EXT_DMA_0_STAT, S )
|
D | svinto.h | 53 while( (*R_DMA_CH##n##_CMD & IO_MASK( R_DMA_CH0_CMD, cmd )) != \
|
/linux-3.4.99/arch/cris/arch-v10/kernel/ |
D | debugport.c | 147 genconfig_shadow &= ~IO_MASK(R_GEN_CONFIG, dma6); in start_port() 152 genconfig_shadow &= ~IO_MASK(R_GEN_CONFIG, dma8); in start_port() 157 genconfig_shadow &= ~IO_MASK(R_GEN_CONFIG, dma2); in start_port() 159 genconfig_shadow &= ~IO_MASK(R_GEN_CONFIG, dma3); in start_port() 165 genconfig_shadow &= ~IO_MASK(R_GEN_CONFIG, dma4); in start_port() 167 genconfig_shadow &= ~IO_MASK(R_GEN_CONFIG, dma5); in start_port() 294 while (!(*port->read & IO_MASK(R_SERIAL0_READ, tr_ready))) in console_write_direct() 299 while (!(*port->read & IO_MASK(R_SERIAL0_READ, tr_ready))) in console_write_direct() 350 } while (!(readval & IO_MASK(R_SERIAL0_READ, data_avail))); in getDebugChar() 352 return (readval & IO_MASK(R_SERIAL0_READ, data_in)); in getDebugChar() [all …]
|
D | irq.c | 146 mask &= ~(IO_MASK(R_VECT_MASK_RD, timer0)); in do_multiple_IRQ() 155 ethmask = (IO_MASK(R_VECT_MASK_RD, dma0) | in do_multiple_IRQ() 156 IO_MASK(R_VECT_MASK_RD, dma1)); in do_multiple_IRQ()
|
D | fasttimer.c | 187 ~IO_MASK(R_TIMER_CTRL, timerdiv1) & in start_timer1() 188 ~IO_MASK(R_TIMER_CTRL, tm1) & in start_timer1() 189 ~IO_MASK(R_TIMER_CTRL, clksel1)) | in start_timer1() 200 (r_timer_ctrl_shadow & ~IO_MASK(R_TIMER_CTRL, tm1)) | in start_timer1() 355 (r_timer_ctrl_shadow & ~IO_MASK(R_TIMER_CTRL, tm1)) | in timer1_handler()
|
D | head.S | 402 and.b IO_MASK (R_DMA_CH4_CMD, cmd),$r0 412 and.b IO_MASK (R_DMA_CH5_CMD, cmd),$r0 494 andq IO_MASK (R_DMA_CH8_CMD, cmd),$r0 499 andq IO_MASK (R_DMA_CH9_CMD, cmd),$r0
|
/linux-3.4.99/drivers/tty/serial/ |
D | crisv10.c | 189 #define SER_RXD_MASK IO_MASK(R_SERIAL0_STATUS, rxd) 190 #define SER_DATA_AVAIL_MASK IO_MASK(R_SERIAL0_STATUS, data_avail) 191 #define SER_FRAMING_ERR_MASK IO_MASK(R_SERIAL0_STATUS, framing_err) 192 #define SER_PAR_ERR_MASK IO_MASK(R_SERIAL0_STATUS, par_err) 193 #define SER_OVERRUN_MASK IO_MASK(R_SERIAL0_STATUS, overrun) 219 | IO_MASK(R_IRQ_MASK1_RD, ser0_data) | IO_MASK(R_IRQ_MASK1_RD, ser0_ready) 222 | IO_MASK(R_IRQ_MASK1_RD, ser1_data) | IO_MASK(R_IRQ_MASK1_RD, ser1_ready) 225 | IO_MASK(R_IRQ_MASK1_RD, ser2_data) | IO_MASK(R_IRQ_MASK1_RD, ser2_ready) 228 | IO_MASK(R_IRQ_MASK1_RD, ser3_data) | IO_MASK(R_IRQ_MASK1_RD, ser3_ready) 1146 (info->rx_ctrl &= ~IO_MASK(R_SERIAL0_REC_CTRL, rec_enable)); in e100_disable_rx() [all …]
|
/linux-3.4.99/arch/cris/arch-v10/drivers/ |
D | i2c.c | 85 #define i2c_enable() *R_PORT_PB_I2C = (port_pb_i2c_shadow |= IO_MASK(R_PORT_PB_I2C, i2c_en)) 86 #define i2c_disable() *R_PORT_PB_I2C = (port_pb_i2c_shadow &= ~IO_MASK(R_PORT_PB_I2C, i2c_en)) 91 *R_PORT_PB_I2C = (port_pb_i2c_shadow &= ~IO_MASK(R_PORT_PB_I2C, i2c_oe_)); \ 94 *R_PORT_PB_I2C = (port_pb_i2c_shadow |= IO_MASK(R_PORT_PB_I2C, i2c_oe_)); \ 101 ~IO_MASK(R_PORT_PB_I2C, i2c_clk)) | IO_FIELD(R_PORT_PB_I2C, i2c_clk, (x))); \ 106 ~IO_MASK(R_PORT_PB_I2C, i2c_d)) | IO_FIELD(R_PORT_PB_I2C, i2c_d, (x))); \ 647 port_pb_dir_shadow &= ~IO_MASK(R_PORT_PB_DIR, dir0); in i2c_init() 648 port_pb_dir_shadow &= ~IO_MASK(R_PORT_PB_DIR, dir1); in i2c_init()
|
D | gpio.c | 421 genconfig_shadow &= ~IO_MASK(R_GEN_CONFIG, g0dir); in setget_input() 426 genconfig_shadow &= ~IO_MASK(R_GEN_CONFIG, g8_15dir); in setget_input() 431 genconfig_shadow &= ~IO_MASK(R_GEN_CONFIG, g16_23dir); in setget_input() 436 genconfig_shadow &= ~IO_MASK(R_GEN_CONFIG, g24dir); in setget_input() 468 genconfig_shadow |= IO_MASK(R_GEN_CONFIG, g0dir); in setget_output() 473 genconfig_shadow |= IO_MASK(R_GEN_CONFIG, g8_15dir); in setget_output() 478 genconfig_shadow |= IO_MASK(R_GEN_CONFIG, g16_23dir); in setget_output() 483 genconfig_shadow |= IO_MASK(R_GEN_CONFIG, g24dir); in setget_output()
|
D | ds1302.c | 482 ~IO_MASK(R_GEN_CONFIG, g0dir)) | in ds1302_init()
|
D | sync_serial.c | 1397 IO_MASK(R_SYNC_SERIAL1_CTRL, wordsize)) { in manual_interrupt()
|
/linux-3.4.99/drivers/net/cris/ |
D | eth_v10.c | 1005 IO_MASK(R_NETWORK_MGM_CTRL, mdck) | in e100_send_mdio_bit() 1017 *R_NETWORK_MGM_CTRL = IO_MASK(R_NETWORK_MGM_CTRL, mdck); in e100_receive_mdio_bit()
|
/linux-3.4.99/sound/pci/ |
D | es1968.c | 2549 #define IO_MASK 4 /* mask register offset from GPIO_DATA macro 2589 outw(~(STR_DATA | STR_CLK | STR_WREN), io + IO_MASK); in snd_es1968_tea575x_set_direction() 2592 outw(~(STR_CLK | STR_WREN | STR_DATA | STR_MOST), io + IO_MASK); in snd_es1968_tea575x_set_direction()
|