Lines Matching refs:msnd_write_cfg
1463 static int __init msnd_write_cfg(int cfg, int reg, int value)
1468 printk(KERN_ERR LOGNAME ": msnd_write_cfg: I/O error\n");
1476 if (msnd_write_cfg(cfg, IREG_LOGDEVICE, num))
1478 if (msnd_write_cfg(cfg, IREG_IO0_BASEHI, HIBYTE(io)))
1480 if (msnd_write_cfg(cfg, IREG_IO0_BASELO, LOBYTE(io)))
1487 if (msnd_write_cfg(cfg, IREG_LOGDEVICE, num))
1489 if (msnd_write_cfg(cfg, IREG_IO1_BASEHI, HIBYTE(io)))
1491 if (msnd_write_cfg(cfg, IREG_IO1_BASELO, LOBYTE(io)))
1498 if (msnd_write_cfg(cfg, IREG_LOGDEVICE, num))
1500 if (msnd_write_cfg(cfg, IREG_IRQ_NUMBER, LOBYTE(irq)))
1502 if (msnd_write_cfg(cfg, IREG_IRQ_TYPE, IRQTYPE_EDGE))
1514 if (msnd_write_cfg(cfg, IREG_LOGDEVICE, num))
1516 if (msnd_write_cfg(cfg, IREG_MEMBASEHI, HIBYTE(wmem)))
1518 if (msnd_write_cfg(cfg, IREG_MEMBASELO, LOBYTE(wmem)))
1520 if (wmem && msnd_write_cfg(cfg, IREG_MEMCONTROL, (MEMTYPE_HIADDR | MEMTYPE_16BIT)))
1527 if (msnd_write_cfg(cfg, IREG_LOGDEVICE, num))
1529 if (msnd_write_cfg(cfg, IREG_ACTIVATE, LD_ACTIVATE))
1536 if (msnd_write_cfg(cfg, IREG_LOGDEVICE, num))