Searched refs:sc_ops (Results 1 - 25 of 54) sorted by relevance

123

/netbsd-current/sys/arch/hpcmips/vr/
H A Dflashvar.h52 } *sc_ops; member in struct:flash_softc
64 #define flash_block_erase(sc, off) (sc)->sc_ops->fo_erase((sc), (off))
65 #define flash_block_write(sc, off) (sc)->sc_ops->fo_write((sc), (off))
/netbsd-current/sys/dev/ic/
H A Dawivar.h122 #define awi_read_1(sc, off) ((sc)->sc_chip.sc_ops->read_1)(&sc->sc_chip, off)
123 #define awi_read_2(sc, off) ((sc)->sc_chip.sc_ops->read_2)(&sc->sc_chip, off)
124 #define awi_read_4(sc, off) ((sc)->sc_chip.sc_ops->read_4)(&sc->sc_chip, off)
126 ((sc)->sc_chip.sc_ops->read_bytes)(&sc->sc_chip, off, ptr, len)
129 ((sc)->sc_chip.sc_ops->write_1)(&sc->sc_chip, off, val)
131 ((sc)->sc_chip.sc_ops->write_2)(&sc->sc_chip, off, val)
133 ((sc)->sc_chip.sc_ops->write_4)(&sc->sc_chip, off, val)
135 ((sc)->sc_chip.sc_ops->write_bytes)(&sc->sc_chip, off, ptr, len)
H A Drs5c313var.h43 struct rs5c313_ops *sc_ops; member in struct:rs5c313_softc
H A Dam79c930var.h44 struct am79c930_ops *sc_ops; member in struct:am79c930_softc
H A Drs5c313.c48 #define rtc_begin(sc) ((*sc->sc_ops->rs5c313_op_begin)(sc))
49 #define rtc_ce(sc, onoff) ((*sc->sc_ops->rs5c313_op_ce)(sc, onoff))
50 #define rtc_clk(sc, onoff) ((*sc->sc_ops->rs5c313_op_clk)(sc, onoff))
51 #define rtc_dir(sc, output) ((*sc->sc_ops->rs5c313_op_dir)(sc, output))
52 #define rtc_di(sc) ((*sc->sc_ops->rs5c313_op_read)(sc))
53 #define rtc_do(sc, bit) ((*sc->sc_ops->rs5c313_op_write)(sc, bit))
H A Darn9280.c89 sc->sc_ops.setup = ar9280_setup;
90 sc->sc_ops.swap_rom = ar5416_swap_rom;
91 sc->sc_ops.init_from_rom = ar9280_init_from_rom;
92 sc->sc_ops.set_txpower = ar5416_set_txpower;
93 sc->sc_ops.set_synth = ar9280_set_synth;
94 sc->sc_ops.spur_mitigate = ar9280_spur_mitigate;
95 sc->sc_ops.get_spur_chans = ar5416_get_spur_chans;
96 sc->sc_ops.olpc_init = ar9280_olpc_init;
97 sc->sc_ops.olpc_temp_compensation = ar9280_olpc_temp_compensation;
477 spurchans = sc->sc_ops
[all...]
H A Darn9287.c102 sc->sc_ops.setup = ar9287_setup;
103 sc->sc_ops.swap_rom = ar9287_swap_rom;
104 sc->sc_ops.init_from_rom = ar9287_init_from_rom;
105 sc->sc_ops.set_txpower = ar9287_set_txpower;
106 sc->sc_ops.set_synth = ar9280_set_synth;
107 sc->sc_ops.spur_mitigate = ar9280_spur_mitigate;
108 sc->sc_ops.get_spur_chans = ar9287_get_spur_chans;
109 sc->sc_ops.olpc_init = ar9287_olpc_init;
110 sc->sc_ops.olpc_temp_compensation = ar9287_olpc_temp_compensation;
/netbsd-current/sys/arch/hp300/dev/
H A Dhpib.c141 sc->sc_ops = ha->ha_ops;
242 (*sc->sc_ops->hpib_reset)(sc);
298 return (*sc->sc_ops->hpib_send)(sc, slave, sec, addr, cnt);
306 return (*sc->sc_ops->hpib_recv)(sc, slave, sec, addr, cnt);
314 return (*sc->sc_ops->hpib_ppoll)(sc) & (0x80 >> slave);
331 (*sc->sc_ops->hpib_ppwatch)(sc);
341 ppoll = sc->sc_ops->hpib_ppoll;
381 (*sc->sc_ops->hpib_go)(sc, slave, sec, vbuf, count, rw, timo);
389 (*sc->sc_ops->hpib_done)(sc);
397 return (sc->sc_ops
[all...]
H A Dhpibvar.h196 struct hpib_controller *sc_ops; /* controller ops vector */ member in struct:hpibbus_softc
/netbsd-current/sys/dev/hpc/apm/
H A Dapmdev.c308 error = (*sc->sc_ops->aa_set_powstate)(sc->sc_cookie, APM_DEV_ALLDEVS,
336 error = (*sc->sc_ops->aa_set_powstate)(sc->sc_cookie, APM_DEV_ALLDEVS,
408 (void)(*sc->sc_ops->aa_set_powstate)(sc->sc_cookie,
411 (void)(*sc->sc_ops->aa_set_powstate)(sc->sc_cookie,
414 (*sc->sc_ops->aa_enable)(sc->sc_cookie, 1);
431 (void)(*sc->sc_ops->aa_set_powstate)(sc->sc_cookie,
434 (void)(*sc->sc_ops->aa_set_powstate)(sc->sc_cookie,
437 (*sc->sc_ops->aa_enable)(sc->sc_cookie, 1);
446 (void)(*sc->sc_ops->aa_set_powstate)(sc->sc_cookie,
461 (void)(*sc->sc_ops
[all...]
/netbsd-current/sys/dev/adb/
H A Dadb_bus.c55 struct adb_bus_accessops *sc_ops; member in struct:nadb_softc
88 sc->sc_ops = ops;
89 sc->sc_ops->set_handler(sc->sc_ops->cookie, nadb_handler, sc);
163 aaa.ops = sc->sc_ops;
181 sc->sc_ops->autopoll(sc->sc_ops->cookie, devmask);
251 sc->sc_ops->send(sc->sc_ops->cookie, 0, command, len, data);
H A Dadb_bt.c70 struct adb_bus_accessops *sc_ops; member in struct:adbbt_softc
102 sc->sc_ops = aaa->ops;
H A Dadb_kbd.c77 struct adb_bus_accessops *sc_ops; member in struct:adbkbd_softc
201 sc->sc_ops = aaa->ops;
257 sc->sc_ops->send(sc->sc_ops->cookie, sc->sc_poll, cmd, 0, NULL);
356 sc->sc_ops->send(sc->sc_ops->cookie, sc->sc_poll, cmd, 2, buffer);
361 sc->sc_ops->send(sc->sc_ops->cookie, sc->sc_poll, cmd, 0, NULL);
370 sc->sc_ops->send(sc->sc_ops
[all...]
H A Dadb_ktm.c61 struct adb_bus_accessops *sc_ops; member in struct:ktm_softc
124 sc->sc_ops = aaa->ops;
383 sc->sc_ops->poll(sc->sc_ops->cookie);
404 sc->sc_ops->send(sc->sc_ops->cookie, sc->sc_poll, cmd, len, msg);
H A Dadb_ms.c70 struct adb_bus_accessops *sc_ops; member in struct:adbms_softc
161 sc->sc_ops = aaa->ops;
840 sc->sc_ops->poll(sc->sc_ops->cookie);
861 sc->sc_ops->send(sc->sc_ops->cookie, sc->sc_poll, cmd, len, msg);
/netbsd-current/sys/dev/apm/
H A Dapm.c298 error = (*sc->sc_ops->aa_set_powstate)(sc->sc_cookie, APM_DEV_ALLDEVS,
325 error = (*sc->sc_ops->aa_set_powstate)(sc->sc_cookie, APM_DEV_ALLDEVS,
397 (void)(*sc->sc_ops->aa_set_powstate)(sc->sc_cookie,
400 (void)(*sc->sc_ops->aa_set_powstate)(sc->sc_cookie,
403 (*sc->sc_ops->aa_enable)(sc->sc_cookie, 1);
420 (void)(*sc->sc_ops->aa_set_powstate)(sc->sc_cookie,
423 (void)(*sc->sc_ops->aa_set_powstate)(sc->sc_cookie,
426 (*sc->sc_ops->aa_enable)(sc->sc_cookie, 1);
435 (void)(*sc->sc_ops->aa_set_powstate)(sc->sc_cookie,
450 (void)(*sc->sc_ops
[all...]
H A Dapmvar.h61 struct apm_accessops *sc_ops; member in struct:apm_softc
/netbsd-current/sys/dev/isa/
H A Dfdvar.h85 int sc_ops; /* I/O ops since last switch */ member in struct:fd_softc
/netbsd-current/sys/arch/emips/ebus/
H A Dflash_ebus.c221 const struct flash_ops *sc_ops; member in struct:eflash_softc
532 sc->sc_ops->write_uint8(sc,sc->sc_page0,CMD_READ_ID);
539 sc->sc_ops->write_uint8(sc,sc->sc_page0,CMD_READ_ARRAY);
548 sc->sc_ops->write_uint8(sc,sc->sc_page0,CMD_READ_STATUS);
549 sc->sc_ops->read_uint8(sc,sc->sc_page0,&Status);
550 sc->sc_ops->write_uint8(sc,sc->sc_page0,CMD_READ_ARRAY);
558 sc->sc_ops->write_uint8(sc,sc->sc_page0,CMD_CLEAR_STATUS);
640 sc->sc_ops->read_uint16(sc,Offset,&Data16);
651 sc->sc_ops->write_uint8(sc,sc->sc_page0,CMD_WRITE_WORD);
652 sc->sc_ops
[all...]
/netbsd-current/sys/dev/hpc/
H A Dapm_apmdevif.c63 sc->sc_ops = aaa->accessops;
/netbsd-current/sys/dev/wsfb/
H A Dgenfb.c79 struct genfb_ops sc_ops; member in struct:genfb_private
342 memcpy(&scp->sc_ops, ops, sizeof(struct genfb_ops));
504 if (scp->sc_ops.genfb_ioctl) {
505 error = scp->sc_ops.genfb_ioctl(sc, vs,
584 if (scp->sc_ops.genfb_ioctl)
585 ret = scp->sc_ops.genfb_ioctl(sc, vs, cmd, data, flag, l);
614 if (scp->sc_ops.genfb_mmap)
615 return scp->sc_ops.genfb_mmap(sc, vs, offset, prot);
963 if (sc && sc->sc_private && sc->sc_private->sc_ops.genfb_borrow)
964 return sc->sc_private->sc_ops
[all...]
/netbsd-current/sys/dev/cardbus/
H A Dif_athn_cardbus.c151 sc->sc_ops.read = athn_cardbus_read;
152 sc->sc_ops.write = athn_cardbus_write;
153 sc->sc_ops.write_barrier = athn_cardbus_write_barrier;
/netbsd-current/sys/dev/pci/
H A Dif_athn_pci.c144 sc->sc_ops.read = athn_pci_read;
145 sc->sc_ops.write = athn_pci_write;
146 sc->sc_ops.write_barrier = athn_pci_write_barrier;
H A Dvirtio.c77 sc->sc_ops->set_status(sc, status);
110 n = sc->sc_ops->read_queue_size(sc, vq->vq_index);
119 sc->sc_ops->setup_queue(sc, vq->vq_index,
123 r = sc->sc_ops->setup_interrupts(sc, 1);
150 sc->sc_ops->neg_features(sc, guest_features);
773 vq->vq_num = sc->sc_ops->read_queue_size(sc, index);
896 sc->sc_ops->setup_queue(sc, vq->vq_index, 0);
932 sc->sc_ops->setup_queue(sc, vq->vq_index, 0);
1251 sc->sc_ops->kick(sc, vq->vq_index);
1256 sc->sc_ops
[all...]
/netbsd-current/sys/arch/landisk/dev/
H A Drs5c313_landisk.c95 sc->sc_ops = &rs5c313_landisk_ops;

Completed in 780 milliseconds

123