Home
last modified time | relevance | path

Searched refs:sbus_writeb (Results 1 – 24 of 24) sorted by relevance

/linux-2.4.37.9/drivers/sbus/audio/
Damd7930.c196 sbus_writeb(val & 0xff, regs + DR); in amd7930_out16()
197 sbus_writeb(val >> 8, regs + DR); in amd7930_out16()
272 sbus_writeb(AMR_INIT, info->regs + CR); in amd7930_enable_ints()
273 sbus_writeb(AM_INIT_ACTIVE, info->regs + DR); in amd7930_enable_ints()
286 sbus_writeb(AMR_INIT, info->regs + CR); in amd7930_disable_ints()
287 sbus_writeb(AM_INIT_ACTIVE | AM_INIT_DISABLE_INTS, in amd7930_disable_ints()
302 sbus_writeb(AMR_INIT, info->regs + CR); in amd7930_idle()
303 sbus_writeb(0, info->regs + DR); in amd7930_idle()
319 sbus_writeb(AMR_MAP_GX, regs + CR); in amd7930_write_map()
322 sbus_writeb(AMR_MAP_GR, regs + CR); in amd7930_write_map()
[all …]
Dcs4231.h80 sbus_writeb((__VAL), (__REG)))
86 #define CS4231_WRITE8(__C, __REG, __VAL) sbus_writeb((__VAL), (__REG))
/linux-2.4.37.9/drivers/sbus/char/
Daurora.c200 sbus_writeb(0, &bp->r[chip]->r[CD180_CAR]); in aurora_init_CD180()
201 sbus_writeb(0, &bp->r[chip]->r[CD180_GSVR]); in aurora_init_CD180()
207 sbus_writeb(CCR_HARDRESET, &bp->r[chip]->r[CD180_CCR]); in aurora_init_CD180()
220 sbus_writeb((board_No(bp)<<5)|((chip+1)<<3), in aurora_init_CD180()
222 sbus_writeb(0x80|bp->ACK_MINT, in aurora_init_CD180()
224 sbus_writeb(0x80|bp->ACK_TINT, in aurora_init_CD180()
226 sbus_writeb(0x80|bp->ACK_RINT, in aurora_init_CD180()
229 sbus_writeb((bp->oscfreq/(1000000/AURORA_TPS)) >> 8, in aurora_init_CD180()
231 sbus_writeb((bp->oscfreq/(1000000/AURORA_TPS)) & 0xff, in aurora_init_CD180()
234 sbus_writeb(SRCR_AUTOPRI|SRCR_GLOBPRI, in aurora_init_CD180()
[all …]
Dzs.h414 #define ZS_CLEARERR(channel) do { sbus_writeb(ERR_RES, &channel->control); \
417 #define ZS_CLEARSTAT(channel) do { sbus_writeb(RES_EXT_INT, &channel->control); \
Dzs.c261 sbus_writeb(reg, &channel->control); in read_zsreg()
273 sbus_writeb(reg, &channel->control); in write_zsreg()
275 sbus_writeb(value, &channel->control); in write_zsreg()
343 sbus_writeb(ch, &channel->data); in zs_put_char()
500 sbus_writeb(ERR_RES, &info->zs_channel->control); in receive_chars()
606 sbus_writeb(RES_Tx_P, &info->zs_channel->control); in transmit_chars()
622 sbus_writeb(RES_Tx_P, &info->zs_channel->control); in transmit_chars()
638 sbus_writeb(RES_EXT_INT, &info->zs_channel->control); in status_handle()
688 sbus_writeb(RES_H_IUS, &info->zs_channel->control); in zs_interrupt()
703 sbus_writeb(RES_H_IUS, &info->zs_channel->control); in zs_interrupt()
[all …]
Dbpp.c253 #define bpp_outb_p(data, base) sbus_writeb(data, (base) + BPP_DR)
269 sbus_writeb(bits_or, base + BPP_OR); in set_pins()
270 sbus_writeb(bits_tcr, base + BPP_TCR); in set_pins()
/linux-2.4.37.9/drivers/net/
Dsunqe.c85 sbus_writeb(MREGS_BCONFIG_RESET, mregs + MREGS_BCONFIG); in qe_stop()
176 sbus_writeb(MREGS_PHYCONFIG_AUTO, mregs + MREGS_PHYCONFIG); in qe_init()
177 sbus_writeb(MREGS_TXFCNTL_AUTOPAD, mregs + MREGS_TXFCNTL); in qe_init()
178 sbus_writeb(0, mregs + MREGS_RXFCNTL); in qe_init()
184 sbus_writeb(MREGS_IMASK_COLL | MREGS_IMASK_RXIRQ, mregs + MREGS_IMASK); in qe_init()
185 sbus_writeb(MREGS_BCONFIG_BSWAP | MREGS_BCONFIG_64TS, mregs + MREGS_BCONFIG); in qe_init()
186 sbus_writeb((MREGS_FCONFIG_TXF16 | MREGS_FCONFIG_RXF32 | in qe_init()
191 sbus_writeb(MREGS_PLSCONFIG_TP, mregs + MREGS_PLSCONFIG); in qe_init()
194 sbus_writeb(MREGS_IACONFIG_ACHNGE | MREGS_IACONFIG_PARESET, in qe_init()
198 sbus_writeb(e[0], mregs + MREGS_ETHADDR); in qe_init()
[all …]
Dsunlance.c391 sbus_writeb(dev->dev_addr[1], &ib->phys_addr[0]); in lance_init_ring_pio()
392 sbus_writeb(dev->dev_addr[0], &ib->phys_addr[1]); in lance_init_ring_pio()
393 sbus_writeb(dev->dev_addr[3], &ib->phys_addr[2]); in lance_init_ring_pio()
394 sbus_writeb(dev->dev_addr[2], &ib->phys_addr[3]); in lance_init_ring_pio()
395 sbus_writeb(dev->dev_addr[5], &ib->phys_addr[4]); in lance_init_ring_pio()
396 sbus_writeb(dev->dev_addr[4], &ib->phys_addr[5]); in lance_init_ring_pio()
402 sbus_writeb(leptr >> 16,&ib->btx_ring [i].tmd1_hadr); in lance_init_ring_pio()
403 sbus_writeb(0, &ib->btx_ring [i].tmd1_bits); in lance_init_ring_pio()
415 sbus_writeb(leptr >> 16,&ib->brx_ring [i].rmd1_hadr); in lance_init_ring_pio()
416 sbus_writeb(LE_R1_OWN, &ib->brx_ring [i].rmd1_bits); in lance_init_ring_pio()
[all …]
Dmyri_sbus.c195 sbus_writeb(0, &rptr[i]); in myri_load_lanai()
202 sbus_writeb(lanai4_code[i], &rptr[(lanai4_code_off * 2) + i]); in myri_load_lanai()
206 sbus_writeb(lanai4_data[i], &rptr[(lanai4_data_off * 2) + i]); in myri_load_lanai()
209 sbus_writeb(0, &shmem->addr[0]); in myri_load_lanai()
210 sbus_writeb(0, &shmem->addr[1]); in myri_load_lanai()
212 sbus_writeb(dev->dev_addr[i], in myri_load_lanai()
/linux-2.4.37.9/drivers/parport/
Dparport_sunbpp.c76 sbus_writeb(d, &regs->p_dr); in parport_sunbpp_write_data()
103 sbus_writeb(value_or, &regs->p_or);
104 sbus_writeb(value_tcr, &regs->p_tcr);
195 sbus_writeb(value_or, &regs->p_or); in parport_sunbpp_frob_control()
196 sbus_writeb(value_tcr, &regs->p_tcr); in parport_sunbpp_frob_control()
223 sbus_writeb(value_tcr, &regs->p_tcr); in parport_sunbpp_data_forward()
233 sbus_writeb(val, &regs->p_tcr); in parport_sunbpp_data_reverse()
358 sbus_writeb(value_tcr, &regs->p_tcr); in init_one_port()
/linux-2.4.37.9/drivers/video/
Dcgthreefb.c104 sbus_writeb(D4M4(index), regp); in cg3_loadcmap()
121 sbus_writeb(tmp, &fb->s.cg3.regs->control); in cg3_blank()
133 sbus_writeb(tmp, &fb->s.cg3.regs->control); in cg3_unblank()
271 sbus_writeb(p[1], regp); in cgthreefb_init()
277 sbus_writeb(p[0], regp); in cgthreefb_init()
279 sbus_writeb(p[1], regp); in cgthreefb_init()
Dcgfourteenfb.c247 sbus_writeb(tmp, &cur->ccr); in cg14_setcursor()
252 sbus_writeb(tmp, &cur->ccr); in cg14_setcursor()
273 sbus_writeb(tmp, mcr); in cg14_switch_from_graph()
287 sbus_writeb(tmp, mcr); in cg14_reset()
304 sbus_writeb(tmp, mcr); in cg14_ioctl()
339 sbus_writeb(tmp, mcr); in cg14_ioctl()
Dbwtwofb.c94 sbus_writeb(tmp, &fb->s.bw2.regs->control); in bw2_blank()
106 sbus_writeb(tmp, &fb->s.bw2.regs->control); in bw2_unblank()
226 sbus_writeb(p[1], regp); in bwtwofb_init()
/linux-2.4.37.9/drivers/scsi/
Desp.c385 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()
[all …]
/linux-2.4.37.9/arch/sparc/kernel/
Dauxio.c86 sbus_writeb(((regval | bits_on) & ~bits_off) | AUXIO_ORMEIN, in set_auxio()
93 sbus_writeb(((regval | bits_on) & ~bits_off) | AUXIO_ORMEIN4M, in set_auxio()
Dpmc.c37 #define pmc_writeb(val, offs) (sbus_writeb(val, regs+offs))
Dapc.c36 #define apc_writeb(val, offs) (sbus_writeb(val, regs+offs))
/linux-2.4.37.9/include/asm-m68k/
Dsbus.h40 #define sbus_writeb(v, a) _sbus_writeb(v, (unsigned long)a) macro
/linux-2.4.37.9/include/asm-sparc/
Dio.h173 #define sbus_writeb(v, a) _sbus_writeb(v, (unsigned long)(a)) macro
182 sbus_writeb(c, dst); in sbus_memset_io()
/linux-2.4.37.9/include/asm-sparc64/
Dfloppy.h141 sbus_writeb(value, &sun_fdc->dor_82077); in sun_82077_fd_outb()
144 sbus_writeb(value, &sun_fdc->data_82077); in sun_82077_fd_outb()
147 sbus_writeb(value, &sun_fdc->dcr_82077); in sun_82077_fd_outb()
150 sbus_writeb(value, &sun_fdc->status_82077); in sun_82077_fd_outb()
Dio.h329 #define sbus_writeb(__b, __addr) (_sbus_writeb((__b), (unsigned long)(__addr))) macro
336 sbus_writeb(c, dst); in _sbus_memset_io()
/linux-2.4.37.9/arch/sparc64/kernel/
Dauxio.c44 sbus_writeb(newval, auxio_register); in __auxio_sbus_set()
/linux-2.4.37.9/include/video/
Dfbcon.h204 #define fb_writeb sbus_writeb
/linux-2.4.37.9/Documentation/sparc/
Dsbus_drivers.txt130 void sbus_writeb(u8 value, unsigned long reg) /* write byte */