Lines Matching refs:bus_write_1

163 	bus_write_1(res, cr0_cfg4, hw->hw_cfg4);  in ncvhw_select_register_0()
170 bus_write_1(res, cr1_cfg5, hw->hw_cfg5); in ncvhw_select_register_1()
179 bus_write_1(res, cr0_sfifo, buf[ptr]); in ncvhw_fpush()
186 bus_write_1(res, cr0_tclsb, (u_int8_t) count); in ncvhw_set_count()
187 bus_write_1(res, cr0_tcmsb, (u_int8_t) (count >> NBBY)); in ncvhw_set_count()
188 bus_write_1(res, cr0_tchsb, (u_int8_t) (count >> (NBBY * 2))); in ncvhw_set_count()
208 bus_write_1(res, cr0_cmd, CMD_NOP | CMD_DMA); in ncvhw_check()
217 bus_write_1(res, cr0_cmd, CMD_NOP); in ncvhw_check()
232 bus_write_1(res, cr0_cmd, CMD_FLUSH); in ncvhw_check()
233 bus_write_1(res, cr0_cmd, CMD_RSTSCSI); in ncvhw_check()
234 bus_write_1(res, cr0_cmd, CMD_NOP | CMD_DMA); in ncvhw_check()
261 bus_write_1(res, cr0_cmd, CMD_NOP); in ncvhw_reset()
262 bus_write_1(res, cr0_cmd, CMD_NOP); in ncvhw_reset()
265 bus_write_1(res, cr0_cmd, CMD_RSTCHIP); in ncvhw_reset()
268 bus_write_1(res, cr0_cmd, CMD_NOP); in ncvhw_reset()
269 bus_write_1(res, cr0_cmd, CMD_NOP); in ncvhw_reset()
277 bus_write_1(res, cr0_clk, hw->hw_clk); in ncvhw_init()
278 bus_write_1(res, cr0_srtout, SEL_TOUT); in ncvhw_init()
279 bus_write_1(res, cr0_period, 0); in ncvhw_init()
280 bus_write_1(res, cr0_offs, 0); in ncvhw_init()
282 bus_write_1(res, cr0_cfg1, hw->hw_cfg1); in ncvhw_init()
283 bus_write_1(res, cr0_cfg2, hw->hw_cfg2); in ncvhw_init()
284 bus_write_1(res, cr0_cfg3, hw->hw_cfg3); in ncvhw_init()
285 bus_write_1(res, cr0_tchsb, 0); in ncvhw_init()
288 bus_write_1(res, cr1_fstat, 0x0); in ncvhw_init()
289 bus_write_1(res, cr1_pflag, 0x0); in ncvhw_init()
290 bus_write_1(res, cr1_atacmd, ATACMD_ENGAGE); in ncvhw_init()
308 bus_write_1(res, cr1_atacmd, ATACMD_POWDOWN);
317 bus_write_1(res, cr1_atacmd, ATACMD_ENGAGE);
340 bus_write_1(sc->port_res, cr0_cmd, CMD_SETATN);
350 bus_write_1(sc->port_res, cr0_cmd, CMD_FLUSH);
351 bus_write_1(sc->port_res, cr0_cmd, CMD_RSTSCSI);
352 bus_write_1(sc->port_res, cr0_cmd, CMD_NOP | CMD_DMA);
402 bus_write_1(res, cr0_dstid, ti->ti_id);
403 bus_write_1(res, cr0_cmd, CMD_FLUSH);
410 bus_write_1(res, cr0_cmd, cmd);
483 bus_write_1(res, cr0_period, nti->nti_reg_period);
484 bus_write_1(res, cr0_offs, nti->nti_reg_offset);
485 bus_write_1(res, cr0_cfg3, nti->nti_reg_cfg3);
601 bus_write_1(res, cr0_cmd, CMD_TRANS | CMD_DMA);
604 bus_write_1(res, cr1_fstat, FIFO_EN);
664 bus_write_1(res, cr1_fstat, 0);
781 bus_write_1(res, cr1_fdata, *buf++);
823 bus_write_1(res, cr0_dstid, sid);
835 bus_write_1(res, cr0_cmd, CMD_FLUSH);
836 bus_write_1(res, cr0_cmd, CMD_ENSEL);
858 bus_write_1(res, cr0_period, nti->nti_reg_period);
859 bus_write_1(res, cr0_offs, nti->nti_reg_offset);
860 bus_write_1(res, cr0_cfg3, nti->nti_reg_cfg3);
934 bus_write_1(res, cr0_cfg1, val | C1_SRR);
1141 bus_write_1(res, cr0_cmd, CMD_FLUSH);
1144 bus_write_1(res, cr0_cmd, CMD_TRANS);
1149 bus_write_1(res, cr0_cmd, CMD_FLUSH);
1150 bus_write_1(res, cr0_cmd, CMD_ICCS);
1159 bus_write_1(res, cr0_cmd, CMD_FLUSH);
1172 bus_write_1(res, cr0_cmd, CMD_TRANS);
1194 bus_write_1(res, cr0_cmd, CMD_MSGOK);
1200 bus_write_1(res, cr0_cmd, CMD_FLUSH);
1201 bus_write_1(res, cr0_cmd, CMD_TRANS);
1220 bus_write_1(res, cr0_cmd, CMD_MSGOK);
1234 bus_write_1(res, cr0_cmd, CMD_MSGOK);