HomeSort by: relevance | last modified time | path
    Searched defs:msc (Results 1 - 25 of 32) sorted by relevancy

1 2

  /src/sys/arch/sgimips/mace/
lpt_mace.c 85 struct lpt_mace_softc *msc = device_private(self); local in function:lpt_mace_attach
86 struct lpt_softc *sc = &msc->sc_lpt;
com_mace.c 87 struct com_mace_softc *msc = device_private(self); local in function:com_mace_attach
88 struct com_softc *sc = &msc->sc_com;
  /src/sys/arch/alpha/gbus/
mcclock_gbus.c 77 struct mcclock_softc *msc = device_private(self); local in function:mcclock_gbus_attach
78 struct mc146818_softc *sc = &msc->sc_mc146818;
90 msc->sc_primary_only = true;
95 mcclock_attach(msc);
  /src/sys/arch/algor/dev/
com_mainbus.c 86 struct com_mainbus_softc *msc = device_private(self); local in function:com_mainbus_attach
87 struct com_softc *sc = &msc->sc_com;
102 msc->sc_ih = (*algor_intr_establish)(ma->ma_irq, comintr, sc);
103 if (msc->sc_ih == NULL) {
lpt_mainbus.c 77 struct lpt_mainbus_softc *msc = device_private(self); local in function:lpt_mainbus_attach
78 struct lpt_softc *sc = &msc->sc_lpt;
96 if (msc->sc_ih == NULL) {
  /src/sys/arch/amiga/dev/
a2kbbc.c 104 struct msm6242b_softc *msc; local in function:a2kbbc_attach
107 msc = &sc->sc_msm6242b;
108 msc->sc_dev = self;
113 msc->sc_iot = &sc->sc_bst;
115 if (bus_space_map(msc->sc_iot, 0, MSM6242B_SIZE, 0, &msc->sc_ioh)) {
116 aprint_error_dev(msc->sc_dev, "couldn't map registers\n");
120 msm6242b_attach(msc);
msc.c 1 /* $NetBSD: msc.c,v 1.48 2022/10/26 23:55:40 riastradh Exp $ */
96 __KERNEL_RCSID(0, "$NetBSD: msc.c,v 1.48 2022/10/26 23:55:40 riastradh Exp $");
98 #include "msc.h"
129 * of msc devices and the specification of the number of serial
213 #define SWFLAGS(dev) (msc->openflags | (MSCDIALIN(dev) ? 0 : TIOCFLAG_SOFTCAR))
216 CFATTACH_DECL_NEW(msc, 0,
259 struct mscdevice *msc; local in function:mscattach
273 printf("msc%d: Board initialize failed, bad download code.\n", unit);
277 printf("msc%d: Board successfully initialized.\n", unit);
282 printf("msc%d: Unable to detect crystal frequency.\n", unit)
331 struct mscdevice *msc; local in function:mscopen
487 struct mscdevice *msc; local in function:mscclose
575 struct mscdevice *msc; local in function:mscmint
794 struct mscdevice *msc; local in function:mscioctl
894 struct mscdevice *msc; local in function:mscparam
990 struct mscdevice *msc; local in function:mscstart
1111 struct mscdevice *msc; local in function:mscmctl
    [all...]
  /src/sys/arch/evbmips/mipssim/
com_mainbus.c 76 struct com_mainbus_softc *msc = device_private(self); local in function:com_mainbus_attach
77 struct com_softc *sc = &msc->sc_com;
92 msc->sc_ih = evbmips_intr_establish(ma->ma_irq, comintr, sc);
93 if (msc->sc_ih == NULL) {
virtio_mainbus.c 85 struct virtio_mmio_softc *msc = &sc->sc_msc; local in function:virtio_mainbus_attach
86 struct virtio_softc *vsc = &msc->sc_sc;
100 msc->sc_iot = ma->ma_iot;
101 msc->sc_ioh = ioh;
102 msc->sc_iosize = VIRTIO_STRIDE;
103 msc->sc_alloc_interrupts = virtio_mainbus_alloc_interrupts;
104 msc->sc_free_interrupts = virtio_mainbus_free_interrupts;
108 if (virtio_mmio_common_probe_present(msc))
109 virtio_mmio_common_attach(msc);
120 struct virtio_mmio_softc *msc = &sc->sc_msc local in function:virtio_mainbus_rescan
142 struct virtio_mmio_softc * const msc = &sc->sc_msc; local in function:virtio_mainbus_detach
    [all...]
  /src/sys/arch/evbppc/explora/dev/
com_elb.c 73 struct com_elb_softc *msc = device_private(self); local in function:com_elb_attach
74 struct com_softc *sc = &msc->sc_com;
pckbc_elb.c 74 struct pckbc_elb_softc *msc = device_private(self); local in function:pckbc_elb_attach
75 struct pckbc_softc *sc = &msc->sc_pckbc;
84 msc->sc_irq = eaa->elb_irq;
115 struct pckbc_elb_softc *msc = (void *)sc; local in function:pckbc_elb_intr_establish
116 int irq = msc->sc_irq;
126 msc->sc_irq = -1;
le_elb.c 96 struct le_elb_softc *msc = device_private(self); local in function:le_elb_attach
97 struct lance_softc *sc = &msc->sc_am79900.lsc;
108 msc->sc_iot = eaa->elb_bt;
109 msc->sc_dmat = eaa->elb_dmat;
111 bus_space_map(msc->sc_iot, eaa->elb_base, LE_NPORTS, 0, &msc->sc_ioh);
116 if (bus_dmamem_alloc(msc->sc_dmat, LE_MEMSIZE, PAGE_SIZE, 0,
121 if (bus_dmamem_map(msc->sc_dmat, &seg, rseg, LE_MEMSIZE,
131 if (bus_dmamap_create(msc->sc_dmat, LE_MEMSIZE, 1,
132 LE_MEMSIZE, 0, BUS_DMA_NOWAIT, &msc->sc_dmam))
223 struct le_elb_softc *msc = (struct le_elb_softc *)sc; local in function:le_copytodesc
251 struct le_elb_softc *msc = (struct le_elb_softc *)sc; local in function:le_copyfromdesc
269 struct le_elb_softc *msc = (struct le_elb_softc *)sc; local in function:le_copytobuf
284 struct le_elb_softc *msc = (struct le_elb_softc *)sc; local in function:le_copyfrombuf
299 struct le_elb_softc *msc = (struct le_elb_softc *)sc; local in function:le_zerobuf
    [all...]
  /src/sys/arch/alpha/isa/
mcclock_isa.c 100 struct mcclock_softc *msc = device_private(self); local in function:mcclock_isa_attach
101 struct mc146818_softc *sc = &msc->sc_mc146818;
113 mcclock_attach(msc);
  /src/sys/arch/cobalt/dev/
com_mainbus.c 78 struct com_mainbus_softc *msc = device_private(self); local in function:com_mainbus_attach
79 struct com_softc *sc = &msc->sc_com;
  /src/sys/arch/evbsh3/t_sh7706lan/
if_ne_mainbus.c 111 struct ne_mainbus_softc *msc = device_private(self); local in function:ne_mainbus_attach
112 struct ne2000_softc *nsc = &msc->sc_ne2000;
184 msc->sc_ih = intc_intr_establish(SH7709_INTEVT2_IRQ2, IST_LEVEL,
186 if (msc->sc_ih == NULL)
  /src/sys/arch/macppc/dev/
com_mainbus.c 84 struct com_mainbus_softc *msc = device_private(self); local in function:com_mainbus_attach
85 struct com_softc *sc = &msc->sc_com;
110 msc->sc_ih =
114 if (msc->sc_ih == NULL)
  /src/sys/arch/powerpc/ibm4xx/dev/
com_opb.c 112 struct com_opb_softc *msc = device_private(self); local in function:com_opb_attach
113 struct com_softc *sc = &msc->sc_com;
  /src/sys/arch/sgimips/hpc/
pckbc_hpc.c 85 struct pckbc_hpc_softc *msc = device_private(self); local in function:pckbc_hpc_attach
86 struct pckbc_softc *sc = &msc->sc_pckbc;
93 msc->sc_irq = haa->ha_irq;
95 msc->sc_hasintr = 0;
133 struct pckbc_hpc_softc *msc = (void *) sc; local in function:pckbc_hpc_intr_establish
135 if (msc->sc_hasintr)
138 if (cpu_intr_establish(msc->sc_irq, IPL_TTY, pckbcintr, sc) == NULL) {
143 msc->sc_hasintr = 1;
  /src/sys/arch/evbppc/walnut/dev/
pckbc_pbus.c 91 struct pckbc_pbus_softc *msc = device_private(self); local in function:pckbc_pbus_attach
92 struct pckbc_softc *sc = &msc->sc_pckbc;
103 msc->sc_irq[PCKBC_KBD_SLOT] = paa->pb_irq;
104 msc->sc_irq[PCKBC_AUX_SLOT] = paa->pb_irq + 1; /* XXX */
141 struct pckbc_pbus_softc *msc = (void *)sc; local in function:pckbc_pbus_intr_establish
142 int irq = msc->sc_irq[slot];
  /src/sys/arch/virt68k/dev/
virtio_mainbus.c 86 struct virtio_mmio_softc *msc = &sc->sc_msc; local in function:virtio_mainbus_attach
87 struct virtio_softc *vsc = &msc->sc_sc;
101 msc->sc_iot = ma->ma_st;
102 msc->sc_ioh = bsh;
103 msc->sc_iosize = ma->ma_size;
104 msc->sc_alloc_interrupts = virtio_mainbus_alloc_interrupts;
105 msc->sc_free_interrupts = virtio_mainbus_free_interrupts;
109 virtio_mmio_common_attach(msc);
120 struct virtio_mmio_softc *msc = &sc->sc_msc; local in function:virtio_mainbus_rescan
121 struct virtio_softc *vsc = &msc->sc_sc
142 struct virtio_mmio_softc * const msc = &sc->sc_msc; local in function:virtio_mainbus_detach
    [all...]
  /src/sys/netbt/
rfcomm_dlc.c 301 struct rfcomm_mcc_msc msc; local in function:rfcomm_dlc_open
307 memset(&msc, 0, sizeof(msc));
308 msc.address = RFCOMM_MKADDRESS(1, dlc->rd_dlci);
309 msc.modem = dlc->rd_lmodem & 0xfe; /* EA = 0 */
310 msc.brk = 0x00 | 0x01; /* EA = 1 */
313 RFCOMM_MCC_MSC, &msc, sizeof(msc));
  /src/sys/dev/acpi/
virtio_acpi.c 83 struct virtio_mmio_softc * const msc = &sc->sc_msc; local in function:virtio_acpi_attach
84 struct virtio_softc * const vsc = &msc->sc_sc;
93 msc->sc_iot = aa->aa_memt;
123 error = bus_space_map(msc->sc_iot, mem->ar_base, mem->ar_length, 0, &msc->sc_ioh);
128 msc->sc_iosize = mem->ar_length;
130 msc->sc_alloc_interrupts = virtio_acpi_alloc_interrupts;
131 msc->sc_free_interrupts = virtio_acpi_free_interrupts;
133 virtio_mmio_common_attach(msc);
144 struct virtio_mmio_softc * const msc = &sc->sc_msc local in function:virtio_acpi_detach
153 struct virtio_mmio_softc * const msc = &sc->sc_msc; local in function:virtio_acpi_rescan
    [all...]
  /src/sys/dev/fdt/
virtio_mmio_fdt.c 76 struct virtio_mmio_softc * const msc = &fsc->sc_msc; local in function:virtio_mmio_fdt_attach
77 struct virtio_softc * const vsc = &msc->sc_sc;
92 msc->sc_iot = faa->faa_bst;
96 error = bus_space_map(msc->sc_iot, addr, size, 0, &msc->sc_ioh);
102 msc->sc_iosize = size;
104 msc->sc_alloc_interrupts = virtio_mmio_fdt_alloc_interrupts;
105 msc->sc_free_interrupts = virtio_mmio_fdt_free_interrupts;
107 virtio_mmio_common_attach(msc);
116 struct virtio_mmio_softc * const msc = &fsc->sc_msc local in function:virtio_mmio_fdt_rescan
138 struct virtio_mmio_softc * const msc = &fsc->sc_msc; local in function:virtio_mmio_fdt_detach
    [all...]
  /src/sys/arch/arm/sunxi/
sunxi_musb.c 303 struct sunxi_musb_softc * const msc = device_private(self); local in function:sunxi_musb_attach
304 struct motg_softc * const sc = &msc->sc_otg;
350 msc->sc_bs.bs_cookie = faa->faa_bst;
351 msc->sc_bs.bs_r_1 = sunxi_musb_bs_r_1;
352 msc->sc_bs.bs_r_2 = sunxi_musb_bs_r_2;
353 msc->sc_bs.bs_w_1 = sunxi_musb_bs_w_1;
354 msc->sc_bs.bs_w_2 = sunxi_musb_bs_w_2;
355 msc->sc_bs.bs_rm_1 = sunxi_musb_bs_rm_1;
356 msc->sc_bs.bs_rm_4 = sunxi_musb_bs_rm_4;
357 msc->sc_bs.bs_wm_1 = sunxi_musb_bs_wm_1
    [all...]
  /src/sys/dev/virtio/arch/x86/
virtio_mmio_cmdline.c 241 struct virtio_mmio_softc *const msc = &sc->sc_msc; local in function:virtio_mmio_cmdline_do_attach
242 struct virtio_softc *const vsc = &msc->sc_sc;
245 msc->sc_iot = pvaa->pvaa_memt;
247 msc->sc_iosize = margs->sz;
250 error = bus_space_map(msc->sc_iot, margs->baseaddr, margs->sz, 0,
251 &msc->sc_ioh);
258 msc->sc_alloc_interrupts = virtio_mmio_cmdline_alloc_interrupts;
259 msc->sc_free_interrupts = virtio_mmio_cmdline_free_interrupts;
261 virtio_mmio_common_attach(msc);
271 struct virtio_mmio_softc * const msc = &sc->sc_msc local in function:virtio_mmio_cmdline_detach
280 struct virtio_mmio_softc *const msc = &sc->sc_msc; local in function:virtio_mmio_cmdline_rescan
    [all...]

Completed in 24 milliseconds

1 2