HomeSort by: relevance | last modified time | path
    Searched refs:sc_ops (Results 1 - 25 of 54) sorted by relevancy

1 2 3

  /src/sys/arch/hpcmips/vr/
flashvar.h 52 } *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))
  /src/sys/dev/ic/
awivar.h 121 #define awi_read_1(sc, off) ((sc)->sc_chip.sc_ops->read_1)(&sc->sc_chip, off)
122 #define awi_read_2(sc, off) ((sc)->sc_chip.sc_ops->read_2)(&sc->sc_chip, off)
123 #define awi_read_4(sc, off) ((sc)->sc_chip.sc_ops->read_4)(&sc->sc_chip, off)
125 ((sc)->sc_chip.sc_ops->read_bytes)(&sc->sc_chip, off, ptr, len)
128 ((sc)->sc_chip.sc_ops->write_1)(&sc->sc_chip, off, val)
130 ((sc)->sc_chip.sc_ops->write_2)(&sc->sc_chip, off, val)
132 ((sc)->sc_chip.sc_ops->write_4)(&sc->sc_chip, off, val)
134 ((sc)->sc_chip.sc_ops->write_bytes)(&sc->sc_chip, off, ptr, len)
rs5c313var.h 43 struct rs5c313_ops *sc_ops; member in struct:rs5c313_softc
am79c930var.h 44 struct am79c930_ops *sc_ops; member in struct:am79c930_softc
rs5c313.c 48 #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))
arn9280.c 89 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.get_spur_chans(sc, IEEE80211_IS_CHAN_2GHZ(c))
    [all...]
arn9287.c 102 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;
  /src/sys/arch/hp300/dev/
hpib.c 141 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->hpib_intr)(arg)
    [all...]
hpibvar.h 196 struct hpib_controller *sc_ops; /* controller ops vector */ member in struct:hpibbus_softc
  /src/sys/dev/hpc/apm/
apmdev.c 308 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->aa_set_powstate)(sc->sc_cookie
    [all...]
  /src/sys/dev/adb/
adb_bus.c 52 struct adb_bus_accessops *sc_ops; member in struct:nadb_softc
86 sc->sc_ops = ops;
87 sc->sc_ops->set_handler(sc->sc_ops->cookie, nadb_handler, sc);
164 aaa.ops = sc->sc_ops;
182 sc->sc_ops->autopoll(sc->sc_ops->cookie, devmask);
253 sc->sc_ops->send(sc->sc_ops->cookie, 0, command, len, data);
adb_bt.c 65 struct adb_bus_accessops *sc_ops; member in struct:adbbt_softc
94 sc->sc_ops = aaa->ops;
adb_kbd.c 70 struct adb_bus_accessops *sc_ops; member in struct:adbkbd_softc
195 sc->sc_ops = aaa->ops;
253 sc->sc_ops->send(sc->sc_ops->cookie, sc->sc_poll, cmd, 0, NULL);
352 sc->sc_ops->send(sc->sc_ops->cookie, sc->sc_poll, cmd, 2, buffer);
357 sc->sc_ops->send(sc->sc_ops->cookie, sc->sc_poll, cmd, 0, NULL);
366 sc->sc_ops->send(sc->sc_ops->cookie, sc->sc_poll, cmd, 0, NULL)
    [all...]
adb_ktm.c 58 struct adb_bus_accessops *sc_ops; member in struct:ktm_softc
122 sc->sc_ops = aaa->ops;
383 sc->sc_ops->poll(sc->sc_ops->cookie);
406 sc->sc_ops->send(sc->sc_ops->cookie, sc->sc_poll, cmd, len, msg);
adb_ms.c 63 struct adb_bus_accessops *sc_ops; member in struct:adbms_softc
149 sc->sc_ops = aaa->ops;
859 sc->sc_ops->poll(sc->sc_ops->cookie);
882 sc->sc_ops->send(sc->sc_ops->cookie, sc->sc_poll, cmd, len, msg);
  /src/sys/dev/apm/
apm.c 298 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->aa_set_powstate)(sc->sc_cookie
    [all...]
apmvar.h 61 struct apm_accessops *sc_ops; member in struct:apm_softc
  /src/sys/dev/isa/
fdvar.h 85 int sc_ops; /* I/O ops since last switch */ member in struct:fd_softc
  /src/sys/arch/emips/ebus/
flash_ebus.c 221 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->write_uint16(sc,Offset,Value)
    [all...]
  /src/sys/dev/hpc/
apm_apmdevif.c 63 sc->sc_ops = aaa->accessops;
  /src/sys/dev/wsfb/
genfb.c 79 struct genfb_ops sc_ops; member in struct:genfb_private
343 memcpy(&scp->sc_ops, ops, sizeof(struct genfb_ops));
503 if (scp->sc_ops.genfb_ioctl) {
504 error = scp->sc_ops.genfb_ioctl(sc, vs,
586 if (scp->sc_ops.genfb_ioctl)
587 ret = scp->sc_ops.genfb_ioctl(sc, vs, cmd, data, flag, l);
618 if (scp->sc_ops.genfb_mmap)
619 return scp->sc_ops.genfb_mmap(sc, vs, offset, prot);
971 if (sc && sc->sc_private && sc->sc_private->sc_ops.genfb_borrow)
972 return sc->sc_private->sc_ops.genfb_borrow(sc, addr, hdlp)
    [all...]
  /src/sys/dev/cardbus/
if_athn_cardbus.c 151 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;
  /src/sys/dev/pci/
if_athn_pci.c 144 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;
virtio.c 85 sc->sc_ops->set_status(sc, status);
118 n = sc->sc_ops->read_queue_size(sc, vq->vq_index);
127 sc->sc_ops->setup_queue(sc, vq->vq_index,
131 r = sc->sc_ops->setup_interrupts(sc, 1);
158 sc->sc_ops->neg_features(sc, guest_features);
788 vq->vq_num = sc->sc_ops->read_queue_size(sc, index);
911 sc->sc_ops->setup_queue(sc, vq->vq_index, 0);
947 sc->sc_ops->setup_queue(sc, vq->vq_index, 0);
1273 sc->sc_ops->kick(sc, vq->vq_index);
1278 sc->sc_ops->kick(sc, vq->vq_index)
    [all...]
  /src/sys/arch/landisk/dev/
rs5c313_landisk.c 95 sc->sc_ops = &rs5c313_landisk_ops;

Completed in 83 milliseconds

1 2 3