Lines Matching refs:sbus_writeb
385 sbus_writeb(cmd, esp->eregs + ESP_CMD); in esp_cmd()
389 sbus_writeb((__cmd), ((__esp)->eregs) + ESP_CMD)
575 sbus_writeb(esp->cfact, esp->eregs + ESP_CFACT); in esp_reset_esp()
577 sbus_writeb(esp->prev_stp, esp->eregs + ESP_STP); in esp_reset_esp()
579 sbus_writeb(esp->prev_soff, esp->eregs + ESP_SOFF); in esp_reset_esp()
580 sbus_writeb(esp->neg_defp, esp->eregs + ESP_TIMEO); in esp_reset_esp()
608 sbus_writeb(esp->config1, esp->eregs + ESP_CFG1); in esp_reset_esp()
614 sbus_writeb(esp->config2, esp->eregs + ESP_CFG2); in esp_reset_esp()
618 sbus_writeb(esp->config2, esp->eregs + ESP_CFG2); in esp_reset_esp()
620 sbus_writeb(esp->prev_cfg3, esp->eregs + ESP_CFG3); in esp_reset_esp()
627 sbus_writeb(esp->config2, esp->eregs + ESP_CFG2); in esp_reset_esp()
641 sbus_writeb(esp->prev_cfg3, esp->eregs + ESP_CFG3); in esp_reset_esp()
653 sbus_writeb(esp->config2, esp->eregs + ESP_CFG2); in esp_reset_esp()
657 sbus_writeb(esp->prev_cfg3, esp->eregs + ESP_CFG3); in esp_reset_esp()
684 sbus_writeb(tmp, esp->eregs + ESP_CFG1); in esp_bootup_reset()
689 sbus_writeb(esp->config1, esp->eregs + ESP_CFG1); in esp_bootup_reset()
984 sbus_writeb(esp->config2, esp->eregs + ESP_CFG2); in esp_get_revision()
998 sbus_writeb(esp->config2, esp->eregs + ESP_CFG2); in esp_get_revision()
999 sbus_writeb(0, esp->eregs + ESP_CFG3); in esp_get_revision()
1000 sbus_writeb(esp->prev_cfg3, esp->eregs + ESP_CFG3); in esp_get_revision()
1015 sbus_writeb(esp->prev_cfg3, esp->eregs + ESP_CFG3); in esp_get_revision()
1029 sbus_writeb(esp->config2, esp->eregs + ESP_CFG2); in esp_get_revision()
1758 sbus_writeb((target & 0xf) | (ESP_BUSID_RESELID | ESP_BUSID_CTR32BIT), in esp_exec_cmd()
1761 sbus_writeb(target & 7, esp->eregs + ESP_BUSID); in esp_exec_cmd()
1768 sbus_writeb(esp->prev_soff, esp->eregs + ESP_SOFF); in esp_exec_cmd()
1769 sbus_writeb(esp->prev_stp, esp->eregs + ESP_STP); in esp_exec_cmd()
1772 sbus_writeb(esp->prev_cfg3, esp->eregs + ESP_CFG3); in esp_exec_cmd()
1781 sbus_writeb(i, esp->eregs + ESP_TCLOW); in esp_exec_cmd()
1782 sbus_writeb(0, esp->eregs + ESP_TCMED); in esp_exec_cmd()
1783 sbus_writeb(0, esp->eregs + FAS_RLO); in esp_exec_cmd()
1784 sbus_writeb(0, esp->eregs + FAS_RHI); in esp_exec_cmd()
1798 sbus_writeb(i, esp->eregs + ESP_TCLOW); in esp_exec_cmd()
1799 sbus_writeb(0, esp->eregs + ESP_TCMED); in esp_exec_cmd()
2151 sbus_writeb(0, esp->eregs + ESP_FDATA); in hme_fifo_read()
2170 sbus_writeb(tmp, esp->eregs + ESP_FDATA); in hme_fifo_push()
2171 sbus_writeb(0, esp->eregs + ESP_FDATA); in hme_fifo_push()
2350 sbus_writeb(((__cnt)&0xff), (__eregs) + ESP_TCLOW); \
2351 sbus_writeb((((__cnt)>>8)&0xff), (__eregs) + ESP_TCMED); \
2353 sbus_writeb((((__cnt)>>16)&0xff), (__eregs) + FAS_RLO); \
2354 sbus_writeb(0, (__eregs) + FAS_RHI); \
2500 sbus_writeb(esp->prev_soff, esp->eregs + ESP_SOFF); in esp_connect()
2501 sbus_writeb(esp->prev_stp, esp->eregs + ESP_STP); in esp_connect()
2504 sbus_writeb(esp->prev_cfg3, esp->eregs + ESP_CFG3); in esp_connect()
2980 sbus_writeb(((SCptr->target & 0xf) | in esp_do_reconnect()
3124 sbus_writeb(2, esp->eregs + ESP_TCLOW); in esp_enter_status()
3125 sbus_writeb(0, esp->eregs + ESP_TCMED); in esp_enter_status()
3733 sbus_writeb(esp->prev_cfg3, esp->eregs + ESP_CFG3); in check_multibyte_msg()
3737 sbus_writeb(esp->prev_soff, esp->eregs + ESP_SOFF); in check_multibyte_msg()
3738 sbus_writeb(esp->prev_stp, esp->eregs + ESP_STP); in check_multibyte_msg()
3754 sbus_writeb(esp->prev_soff, esp->eregs + ESP_SOFF); in check_multibyte_msg()
3755 sbus_writeb(esp->prev_stp, esp->eregs + ESP_STP); in check_multibyte_msg()
3763 sbus_writeb(esp->prev_cfg3, esp->eregs + ESP_CFG3); in check_multibyte_msg()
3812 sbus_writeb(esp->prev_cfg3, esp->eregs + ESP_CFG3); in check_multibyte_msg()
3937 sbus_writeb(tmp, esp->eregs + ESP_FDATA); in esp_do_cmdbegin()
3968 sbus_writeb(esp->cur_msgout[0], esp->eregs + ESP_FDATA); in esp_do_msgout()
4030 sbus_writeb(esp->cur_msgout[0], esp->eregs + ESP_FDATA); in esp_do_msgout()