Lines Matching refs:fas216_writeb
150 static inline void fas216_writeb(FAS216_Info *info, unsigned int reg, unsigned int val) in fas216_writeb() function
375 fas216_writeb(info, REG_CMD, command); in fas216_cmd()
475 fas216_writeb(info, REG_SOF, info->device[target].sof); in fas216_set_sync()
476 fas216_writeb(info, REG_STP, info->device[target].stp); in fas216_set_sync()
482 fas216_writeb(info, REG_CNTL3, cntl3); in fas216_set_sync()
677 fas216_writeb(info, REG_FF, get_next_SCp_byte(SCp)); in fas216_pio()
687 fas216_writeb(info, REG_STCL, length); in fas216_set_stc()
688 fas216_writeb(info, REG_STCM, length >> 8); in fas216_set_stc()
689 fas216_writeb(info, REG_STCH, length >> 16); in fas216_set_stc()
796 fas216_writeb(info, REG_SOF, 0); in fas216_transfer()
797 fas216_writeb(info, REG_STP, info->scsi.async_stp); in fas216_transfer()
985 fas216_writeb(info, REG_SDID, target); in fas216_reselected_intr()
1303 fas216_writeb(info, REG_FF, info->SCpnt->cmnd[i]); in fas216_send_command()
1333 fas216_writeb(info, REG_FF, msg->msg[i]); in fas216_send_messageout()
1339 fas216_writeb(info, REG_FF, NOP); in fas216_send_messageout()
1483 fas216_writeb(info, REG_CNTL1, info->scsi.cfg[0]); in fas216_busservice_intr()
1687 fas216_writeb(info, REG_SDID, BUSID(SCpnt->device->id)); in __fas216_start_command()
1688 fas216_writeb(info, REG_STIM, info->ifcfg.select_timeout); in __fas216_start_command()
1724 fas216_writeb(info, REG_FF, msg->msg[i]); in __fas216_start_command()
1730 fas216_writeb(info, REG_FF, SCpnt->cmnd[i]); in __fas216_start_command()
1744 fas216_writeb(info, REG_FF, msg->msg[0]); in __fas216_start_command()
1780 fas216_writeb(info, REG_CNTL1, info->scsi.cfg[0] | CNTL1_PTE); in fas216_start_command()
1782 fas216_writeb(info, REG_CNTL1, info->scsi.cfg[0]); in fas216_start_command()
1871 fas216_writeb(info, REG_SDID, BUSID(SCpnt->device->id)); in fas216_do_bus_device_reset()
1872 fas216_writeb(info, REG_STIM, info->ifcfg.select_timeout); in fas216_do_bus_device_reset()
1879 fas216_writeb(info, REG_FF, BUS_DEVICE_RESET); in fas216_do_bus_device_reset()
2577 fas216_writeb(info, REG_CNTL3, info->scsi.cfg[2]); in fas216_eh_bus_reset()
2642 fas216_writeb(info, REG_CLKF, clock); in fas216_init_chip()
2643 fas216_writeb(info, REG_CNTL1, info->scsi.cfg[0]); in fas216_init_chip()
2644 fas216_writeb(info, REG_CNTL2, info->scsi.cfg[1]); in fas216_init_chip()
2645 fas216_writeb(info, REG_CNTL3, info->scsi.cfg[2]); in fas216_init_chip()
2646 fas216_writeb(info, REG_STIM, info->ifcfg.select_timeout); in fas216_init_chip()
2647 fas216_writeb(info, REG_SOF, 0); in fas216_init_chip()
2648 fas216_writeb(info, REG_STP, info->scsi.async_stp); in fas216_init_chip()
2649 fas216_writeb(info, REG_CNTL1, info->scsi.cfg[0]); in fas216_init_chip()
2721 fas216_writeb(info, REG_CMD, CMD_RESETCHIP); in fas216_detect_type()
2723 fas216_writeb(info, REG_CMD, CMD_NOP); in fas216_detect_type()
2728 fas216_writeb(info, REG_CNTL3, 0); in fas216_detect_type()
2729 fas216_writeb(info, REG_CNTL2, CNTL2_S2FE); in fas216_detect_type()
2742 fas216_writeb(info, REG_CNTL2, 0); in fas216_detect_type()
2743 fas216_writeb(info, REG_CNTL3, 0); in fas216_detect_type()
2744 fas216_writeb(info, REG_CNTL3, 5); in fas216_detect_type()
2756 fas216_writeb(info, REG_CNTL3, 0); in fas216_detect_type()
2758 fas216_writeb(info, REG_CNTL3, CNTL3_ADIDCHK); in fas216_detect_type()
2759 fas216_writeb(info, REG_CNTL3, 0); in fas216_detect_type()
2761 fas216_writeb(info, REG_CMD, CMD_RESETCHIP); in fas216_detect_type()
2763 fas216_writeb(info, REG_CMD, CMD_WITHDMA | CMD_NOP); in fas216_detect_type()
2765 fas216_writeb(info, REG_CNTL2, CNTL2_ENF); in fas216_detect_type()
2766 fas216_writeb(info, REG_CMD, CMD_RESETCHIP); in fas216_detect_type()
2768 fas216_writeb(info, REG_CMD, CMD_NOP); in fas216_detect_type()
2913 fas216_writeb(info, REG_CNTL1, info->scsi.cfg[0] | CNTL1_DISR); in fas216_add()
2914 fas216_writeb(info, REG_CMD, CMD_RESETSCSI); in fas216_add()
2923 fas216_writeb(info, REG_CNTL1, info->scsi.cfg[0]); in fas216_add()
2930 fas216_writeb(info, REG_CMD, CMD_RESETCHIP); in fas216_add()
2944 fas216_writeb(info, REG_CMD, CMD_RESETCHIP); in fas216_remove()