Lines Matching refs:fas216_writeb

147 static inline void fas216_writeb(FAS216_Info *info, unsigned int reg, unsigned int val)  in fas216_writeb()  function
372 fas216_writeb(info, REG_CMD, command); in fas216_cmd()
472 fas216_writeb(info, REG_SOF, info->device[target].sof); in fas216_set_sync()
473 fas216_writeb(info, REG_STP, info->device[target].stp); in fas216_set_sync()
479 fas216_writeb(info, REG_CNTL3, cntl3); in fas216_set_sync()
674 fas216_writeb(info, REG_FF, get_next_SCp_byte(SCp)); in fas216_pio()
684 fas216_writeb(info, REG_STCL, length); in fas216_set_stc()
685 fas216_writeb(info, REG_STCM, length >> 8); in fas216_set_stc()
686 fas216_writeb(info, REG_STCH, length >> 16); in fas216_set_stc()
793 fas216_writeb(info, REG_SOF, 0); in fas216_transfer()
794 fas216_writeb(info, REG_STP, info->scsi.async_stp); in fas216_transfer()
982 fas216_writeb(info, REG_SDID, target); in fas216_reselected_intr()
1298 fas216_writeb(info, REG_FF, info->SCpnt->cmnd[i]); in fas216_send_command()
1328 fas216_writeb(info, REG_FF, msg->msg[i]); in fas216_send_messageout()
1334 fas216_writeb(info, REG_FF, NOP); in fas216_send_messageout()
1477 fas216_writeb(info, REG_CNTL1, info->scsi.cfg[0]); in fas216_busservice_intr()
1681 fas216_writeb(info, REG_SDID, BUSID(SCpnt->device->id)); in __fas216_start_command()
1682 fas216_writeb(info, REG_STIM, info->ifcfg.select_timeout); in __fas216_start_command()
1718 fas216_writeb(info, REG_FF, msg->msg[i]); in __fas216_start_command()
1724 fas216_writeb(info, REG_FF, SCpnt->cmnd[i]); in __fas216_start_command()
1738 fas216_writeb(info, REG_FF, msg->msg[0]); in __fas216_start_command()
1774 fas216_writeb(info, REG_CNTL1, info->scsi.cfg[0] | CNTL1_PTE); in fas216_start_command()
1776 fas216_writeb(info, REG_CNTL1, info->scsi.cfg[0]); in fas216_start_command()
1876 fas216_writeb(info, REG_SDID, BUSID(SCpnt->device->id)); in fas216_do_bus_device_reset()
1877 fas216_writeb(info, REG_STIM, info->ifcfg.select_timeout); in fas216_do_bus_device_reset()
1884 fas216_writeb(info, REG_FF, BUS_DEVICE_RESET); in fas216_do_bus_device_reset()
2575 fas216_writeb(info, REG_CNTL3, info->scsi.cfg[2]); in fas216_eh_bus_reset()
2640 fas216_writeb(info, REG_CLKF, clock); in fas216_init_chip()
2641 fas216_writeb(info, REG_CNTL1, info->scsi.cfg[0]); in fas216_init_chip()
2642 fas216_writeb(info, REG_CNTL2, info->scsi.cfg[1]); in fas216_init_chip()
2643 fas216_writeb(info, REG_CNTL3, info->scsi.cfg[2]); in fas216_init_chip()
2644 fas216_writeb(info, REG_STIM, info->ifcfg.select_timeout); in fas216_init_chip()
2645 fas216_writeb(info, REG_SOF, 0); in fas216_init_chip()
2646 fas216_writeb(info, REG_STP, info->scsi.async_stp); in fas216_init_chip()
2647 fas216_writeb(info, REG_CNTL1, info->scsi.cfg[0]); in fas216_init_chip()
2719 fas216_writeb(info, REG_CMD, CMD_RESETCHIP); in fas216_detect_type()
2721 fas216_writeb(info, REG_CMD, CMD_NOP); in fas216_detect_type()
2726 fas216_writeb(info, REG_CNTL3, 0); in fas216_detect_type()
2727 fas216_writeb(info, REG_CNTL2, CNTL2_S2FE); in fas216_detect_type()
2740 fas216_writeb(info, REG_CNTL2, 0); in fas216_detect_type()
2741 fas216_writeb(info, REG_CNTL3, 0); in fas216_detect_type()
2742 fas216_writeb(info, REG_CNTL3, 5); in fas216_detect_type()
2754 fas216_writeb(info, REG_CNTL3, 0); in fas216_detect_type()
2756 fas216_writeb(info, REG_CNTL3, CNTL3_ADIDCHK); in fas216_detect_type()
2757 fas216_writeb(info, REG_CNTL3, 0); in fas216_detect_type()
2759 fas216_writeb(info, REG_CMD, CMD_RESETCHIP); in fas216_detect_type()
2761 fas216_writeb(info, REG_CMD, CMD_WITHDMA | CMD_NOP); in fas216_detect_type()
2763 fas216_writeb(info, REG_CNTL2, CNTL2_ENF); in fas216_detect_type()
2764 fas216_writeb(info, REG_CMD, CMD_RESETCHIP); in fas216_detect_type()
2766 fas216_writeb(info, REG_CMD, CMD_NOP); in fas216_detect_type()
2911 fas216_writeb(info, REG_CNTL1, info->scsi.cfg[0] | CNTL1_DISR); in fas216_add()
2912 fas216_writeb(info, REG_CMD, CMD_RESETSCSI); in fas216_add()
2921 fas216_writeb(info, REG_CNTL1, info->scsi.cfg[0]); in fas216_add()
2928 fas216_writeb(info, REG_CMD, CMD_RESETCHIP); in fas216_add()
2942 fas216_writeb(info, REG_CMD, CMD_RESETCHIP); in fas216_remove()