Lines Matching refs:bus_write_1

163 	bus_write_1(res, cr0_cfg4, hw->hw_cfg4);
170 bus_write_1(res, cr1_cfg5, hw->hw_cfg5);
179 bus_write_1(res, cr0_sfifo, buf[ptr]);
186 bus_write_1(res, cr0_tclsb, (u_int8_t) count);
187 bus_write_1(res, cr0_tcmsb, (u_int8_t) (count >> NBBY));
188 bus_write_1(res, cr0_tchsb, (u_int8_t) (count >> (NBBY * 2)));
208 bus_write_1(res, cr0_cmd, CMD_NOP | CMD_DMA);
217 bus_write_1(res, cr0_cmd, CMD_NOP);
232 bus_write_1(res, cr0_cmd, CMD_FLUSH);
233 bus_write_1(res, cr0_cmd, CMD_RSTSCSI);
234 bus_write_1(res, cr0_cmd, CMD_NOP | CMD_DMA);
261 bus_write_1(res, cr0_cmd, CMD_NOP);
262 bus_write_1(res, cr0_cmd, CMD_NOP);
265 bus_write_1(res, cr0_cmd, CMD_RSTCHIP);
268 bus_write_1(res, cr0_cmd, CMD_NOP);
269 bus_write_1(res, cr0_cmd, CMD_NOP);
277 bus_write_1(res, cr0_clk, hw->hw_clk);
278 bus_write_1(res, cr0_srtout, SEL_TOUT);
279 bus_write_1(res, cr0_period, 0);
280 bus_write_1(res, cr0_offs, 0);
282 bus_write_1(res, cr0_cfg1, hw->hw_cfg1);
283 bus_write_1(res, cr0_cfg2, hw->hw_cfg2);
284 bus_write_1(res, cr0_cfg3, hw->hw_cfg3);
285 bus_write_1(res, cr0_tchsb, 0);
288 bus_write_1(res, cr1_fstat, 0x0);
289 bus_write_1(res, cr1_pflag, 0x0);
290 bus_write_1(res, cr1_atacmd, ATACMD_ENGAGE);
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);