/linux-2.4.37.9/arch/cris/mm/ |
D | fault.c | 147 page_id = IO_EXTRACT(R_MMU_CAUSE, page_id, cause); in handle_mmu_bus_fault() 148 acc = IO_EXTRACT(R_MMU_CAUSE, acc_excp, cause); in handle_mmu_bus_fault() 149 inv = IO_EXTRACT(R_MMU_CAUSE, inv_excp, cause); in handle_mmu_bus_fault() 150 index = IO_EXTRACT(R_TLB_SELECT, index, select); in handle_mmu_bus_fault() 152 miss = IO_EXTRACT(R_MMU_CAUSE, miss_excp, cause); in handle_mmu_bus_fault() 153 we = IO_EXTRACT(R_MMU_CAUSE, we_excp, cause); in handle_mmu_bus_fault() 154 writeac = IO_EXTRACT(R_MMU_CAUSE, wr_rd, cause); in handle_mmu_bus_fault()
|
D | tlb.c | 103 if (IO_EXTRACT(R_TLB_HI, page_id, *R_TLB_HI) == page_id) { in flush_tlb_mm() 144 if (IO_EXTRACT(R_TLB_HI, page_id, tlb_hi) == page_id && in flush_tlb_page() 189 if (IO_EXTRACT(R_TLB_HI, page_id, tlb_hi) == page_id && in flush_tlb_range()
|
/linux-2.4.37.9/arch/cris/drivers/ |
D | parport.c | 187 ret = IO_EXTRACT(R_PAR0_STATUS_DATA, data, *info->reg_status_data); in parport_etrax_read_data() 222 if (IO_EXTRACT(R_PAR0_CTRL_DATA, strb, info->reg_ctrl_data_shadow)) in parport_etrax_read_control() 224 if (IO_EXTRACT(R_PAR0_CTRL_DATA, autofd, info->reg_ctrl_data_shadow)) in parport_etrax_read_control() 226 if (!IO_EXTRACT(R_PAR0_CTRL_DATA, init, info->reg_ctrl_data_shadow)) in parport_etrax_read_control() 228 if (IO_EXTRACT(R_PAR0_CTRL_DATA, seli, info->reg_ctrl_data_shadow)) in parport_etrax_read_control() 257 if (IO_EXTRACT(R_PAR0_STATUS_DATA, fault, *info->reg_status_data)) in parport_etrax_read_status() 259 if (IO_EXTRACT(R_PAR0_STATUS_DATA, sel, *info->reg_status_data)) in parport_etrax_read_status() 261 if (IO_EXTRACT(R_PAR0_STATUS_DATA, perr, *info->reg_status_data)) in parport_etrax_read_status() 263 if (IO_EXTRACT(R_PAR0_STATUS_DATA, ack, *info->reg_status_data)) in parport_etrax_read_status() 265 if (!IO_EXTRACT(R_PAR0_STATUS_DATA, busy, *info->reg_status_data)) in parport_etrax_read_status()
|
D | ethernet.c | 1062 bit = IO_EXTRACT(R_NETWORK_STAT, mdio, *R_NETWORK_STAT); in e100_receive_mdio_bit() 1540 es->rx_fifo_errors += IO_EXTRACT(R_REC_COUNTERS, congestion, r); in update_rx_stats() 1541 es->rx_crc_errors += IO_EXTRACT(R_REC_COUNTERS, crc_error, r); in update_rx_stats() 1542 es->rx_frame_errors += IO_EXTRACT(R_REC_COUNTERS, alignment_error, r); in update_rx_stats() 1543 es->rx_length_errors += IO_EXTRACT(R_REC_COUNTERS, oversize, r); in update_rx_stats() 1552 IO_EXTRACT(R_TR_COUNTERS, single_col, r) + in update_tx_stats() 1553 IO_EXTRACT(R_TR_COUNTERS, multiple_col, r); in update_tx_stats() 1554 es->tx_errors += IO_EXTRACT(R_TR_COUNTERS, deferred, r); in update_tx_stats()
|
D | usb-host.c | 873 if (IO_EXTRACT(USB_EP_command, epid, next_ep->command) == epid) { in etrax_usb_unlink_intr_urb() 912 if (IO_EXTRACT(USB_EP_command, epid, tmp_ep->command) == epid && in etrax_usb_do_intr_recover() 1154 (IO_EXTRACT(R_USB_EPT_DATA_ISO, dev, data) == devnum) && in etrax_usb_lookup_epid() 1155 (IO_EXTRACT(R_USB_EPT_DATA_ISO, ep, data) == endpoint) && in etrax_usb_lookup_epid() 1156 (IO_EXTRACT(R_USB_EPT_DATA_ISO, max_len, data) == maxlen)) { in etrax_usb_lookup_epid() 1167 (IO_EXTRACT(R_USB_EPT_DATA, dev, data) == devnum) && in etrax_usb_lookup_epid() 1168 (IO_EXTRACT(R_USB_EPT_DATA, ep, data) == endpoint) && in etrax_usb_lookup_epid() 1169 (IO_EXTRACT(R_USB_EPT_DATA, low_speed, data) == slow) && in etrax_usb_lookup_epid() 1170 (IO_EXTRACT(R_USB_EPT_DATA, max_len, data) == maxlen)) { in etrax_usb_lookup_epid() 1528 epid = IO_EXTRACT(USB_IN_status, epid, myNextRxDesc->status); in etrax_usb_rx_interrupt() [all …]
|
D | serial.c | 2427 while (IO_EXTRACT(R_DMA_CH6_CMD, cmd, *info->icmdadr) == in start_receive() 2893 DINTR2(DEBUG_LOG(info->line, "ser_rx %c\n", IO_EXTRACT(R_SERIAL0_READ, data_in, data_read))); in handle_ser_rx_interrupt_no_dma() 2948 *tty->flip.char_buf_ptr = IO_EXTRACT(R_SERIAL0_READ, data_in, data_read); in handle_ser_rx_interrupt_no_dma() 2975 *tty->flip.char_buf_ptr = IO_EXTRACT(R_SERIAL0_READ, data_in, data_read); in handle_ser_rx_interrupt_no_dma() 2988 DEBUG_LOG(info->line, "ser_rx %c in loop\n", IO_EXTRACT(R_SERIAL0_READ, data_in, data_read)); in handle_ser_rx_interrupt_no_dma() 3397 while (IO_EXTRACT(R_DMA_CH6_CMD, cmd, *info->icmdadr) == in startup() 3413 while (IO_EXTRACT(R_DMA_CH6_CMD, cmd, *info->ocmdadr) == in startup() 3972 while (IO_EXTRACT(R_DMA_CH6_CMD, cmd, *info->ocmdadr) !=
|
D | sync_serial.c | 443 mode = IO_EXTRACT(R_SYNC_SERIAL1_CTRL, mode, port->ctrl_data_shadow); in sync_serial_open() 916 switch(IO_EXTRACT(R_SYNC_SERIAL1_CTRL, wordsize, port->ctrl_data_shadow)) in send_word()
|
/linux-2.4.37.9/include/asm-cris/ |
D | sv_addr_ag.h | 40 #define IO_EXTRACT(reg, field, val) IO_EXTRACT_ (reg##_, field##_, val) macro
|