Home
last modified time | relevance | path

Searched defs:sc (Results 1 – 25 of 2905) sorted by relevance

12345678910>>...117

/netbsd-src/sys/arch/arm/broadcom/
H A Dbcm2835_bsc.c92 bsciic_attach(struct bsciic_softc *sc) in bsciic_attach()
111 struct bsciic_softc * const sc = v; in bsciic_acquire_bus() local
127 struct bsciic_softc * const sc = v; in bsciic_release_bus() local
133 bsciic_exec_lock(struct bsciic_softc * const sc) in bsciic_exec_lock()
141 bsciic_exec_unlock(struct bsciic_softc * const sc) in bsciic_exec_unlock()
149 bsciic_txfill(struct bsciic_softc * const sc) in bsciic_txfill()
163 bsciic_rxdrain(struct bsciic_softc * const sc) in bsciic_rxdrain()
177 bsciic_next_state(struct bsciic_softc * const sc) in bsciic_next_state()
215 #define BSC_EXEC_PHASE_COMPLETE(sc) \ argument
220 bsciic_signal(struct bsciic_softc * const sc) in bsciic_signal()
[all …]
/netbsd-src/sys/dev/ic/
H A Dtulip.c162 #define DPRINTF(sc, x) if ((sc)->sc_ethercom.ec_if.if_flags & IFF_DEBUG) \ argument
165 #define DPRINTF(sc, x) /* nothing */ argument
184 tlp_attach(struct tulip_softc *sc, const uint8_t *enaddr) in tlp_attach()
579 struct tulip_softc *sc = device_private(self); in tlp_activate() local
596 tlp_detach(struct tulip_softc *sc) in tlp_detach()
674 struct tulip_softc *sc = ifp->if_softc; in tlp_start() local
925 struct tulip_softc *sc = ifp->if_softc; in tlp_watchdog() local
958 struct tulip_softc *sc = ifp->if_softc; in tlp_ifflags_cb() local
976 struct tulip_softc *sc = ifp->if_softc; in tlp_ioctl() local
1014 struct tulip_softc *sc = arg; in tlp_intr() local
[all …]
H A Dathn.c143 athn_attach(struct athn_softc *sc) in athn_attach()
382 athn_detach(struct athn_softc *sc) in athn_detach()
423 athn_radiotap_attach(struct athn_softc *sc) in athn_radiotap_attach()
440 athn_get_chanlist(struct athn_softc *sc) in athn_get_chanlist()
467 athn_rx_start(struct athn_softc *sc) in athn_rx_start()
523 athn_set_rxfilter(struct athn_softc *sc, uint32_t rfilt) in athn_set_rxfilter()
546 struct athn_softc *sc = xsc; in athn_intr() local
574 struct athn_softc *sc = xsc; in athn_softintr() local
595 athn_get_chipid(struct athn_softc *sc) in athn_get_chipid()
614 athn_get_mac_name(struct athn_softc *sc) in athn_get_mac_name()
[all …]
H A Dam79c930.c144 io_write_1( struct am79c930_softc *sc, u_int32_t off, u_int8_t val) in io_write_1()
157 io_write_2(struct am79c930_softc *sc, u_int32_t off, u_int16_t val) in io_write_2()
172 io_write_4(struct am79c930_softc *sc, u_int32_t off, u_int32_t val) in io_write_4()
191 io_write_bytes(struct am79c930_softc *sc, u_int32_t off, u_int8_t *ptr, in io_write_bytes()
207 io_read_1(struct am79c930_softc *sc, u_int32_t off) in io_read_1()
222 io_read_2(struct am79c930_softc *sc, u_int32_t off) in io_read_2()
239 io_read_4(struct am79c930_softc *sc, u_int32_t off) in io_read_4()
260 io_read_bytes(struct am79c930_softc *sc, u_int32_t off, u_int8_t *ptr, in io_read_bytes()
276 mem_write_1(struct am79c930_softc *sc, u_int32_t off, u_int8_t val) in mem_write_1()
282 mem_write_2(struct am79c930_softc *sc, u_int32_t off, u_int16_t val) in mem_write_2()
[all …]
H A Dmtd803.c85 #define MTD_READ_1(sc, reg) \ argument
87 #define MTD_WRITE_1(sc, reg, data) \ argument
90 #define MTD_READ_2(sc, reg) \ argument
92 #define MTD_WRITE_2(sc, reg, data) \ argument
95 #define MTD_READ_4(sc, reg) \ argument
97 #define MTD_WRITE_4(sc, reg, data) \ argument
100 #define MTD_SETBIT(sc, reg, x) \ argument
102 #define MTD_CLRBIT(sc, reg, x) \ argument
130 mtd_config(struct mtd_softc *sc) in mtd_config()
193 struct mtd_softc *sc = ifp->if_softc; in mtd_init() local
[all …]
H A Dbcmgenet.c87 GENET_LOCK(sc) global() argument
88 GENET_UNLOCK(sc) global() argument
89 GENET_ASSERT_LOCKED(sc) global() argument
91 GENET_TXLOCK(sc) global() argument
92 GENET_TXUNLOCK(sc) global() argument
93 GENET_ASSERT_TXLOCKED(sc) global() argument
95 RD4(sc,reg) global() argument
97 WR4(sc,reg,val) global() argument
103 struct genet_softc *sc = device_private(dev); genet_mii_readreg() local
131 struct genet_softc *sc = device_private(dev); genet_mii_writereg() local
154 genet_update_link(struct genet_softc * sc) genet_update_link() argument
187 struct genet_softc * const sc = ifp->if_softc; genet_mii_statchg() local
193 genet_setup_txdesc(struct genet_softc * sc,int index,int flags,bus_addr_t paddr,u_int len) genet_setup_txdesc() argument
206 genet_setup_txbuf(struct genet_softc * sc,int index,struct mbuf * m) genet_setup_txbuf() argument
267 genet_setup_rxdesc(struct genet_softc * sc,int index,bus_addr_t paddr,bus_size_t len) genet_setup_rxdesc() argument
275 genet_setup_rxbuf(struct genet_softc * sc,int index,struct mbuf * m) genet_setup_rxbuf() argument
297 genet_alloc_mbufcl(struct genet_softc * sc) genet_alloc_mbufcl() argument
309 genet_enable_intr(struct genet_softc * sc) genet_enable_intr() argument
316 genet_disable_intr(struct genet_softc * sc) genet_disable_intr() argument
326 struct genet_softc *sc = softc; genet_tick() local
343 genet_setup_rxfilter_mdf(struct genet_softc * sc,u_int n,const uint8_t * ea) genet_setup_rxfilter_mdf() argument
353 genet_setup_rxfilter(struct genet_softc * sc) genet_setup_rxfilter() argument
405 genet_reset(struct genet_softc * sc) genet_reset() argument
443 genet_set_rxthresh(struct genet_softc * sc,int qid,int usecs,int count) genet_set_rxthresh() argument
469 genet_set_txthresh(struct genet_softc * sc,int qid,int count) genet_set_txthresh() argument
480 genet_init_rings(struct genet_softc * sc,int qid) genet_init_rings() argument
558 genet_init_locked(struct genet_softc * sc) genet_init_locked() argument
613 struct genet_softc *sc = ifp->if_softc; genet_init() local
626 genet_stop_locked(struct genet_softc * sc,int disable) genet_stop_locked() argument
671 struct genet_softc * const sc = ifp->if_softc; genet_stop() local
679 genet_rxintr(struct genet_softc * sc,int qid) genet_rxintr() argument
770 genet_txintr(struct genet_softc * sc,int qid) genet_txintr() argument
804 genet_start_locked(struct genet_softc * sc) genet_start_locked() argument
854 struct genet_softc *sc = ifp->if_softc; genet_start() local
864 struct genet_softc *sc = arg; genet_intr() local
893 struct genet_softc *sc = ifp->if_softc; genet_ioctl() local
934 genet_get_eaddr(struct genet_softc * sc,uint8_t * eaddr) genet_get_eaddr() argument
972 genet_setup_dma(struct genet_softc * sc,int qid) genet_setup_dma() argument
1016 genet_attach(struct genet_softc * sc) genet_attach() argument
1130 struct genet_softc * const sc = device_private(dev); genet_debug() local
[all...]
H A Dwd33c93reg.h379 #define wd33c93_read_reg(sc,regno,val) \ argument
385 #define wd33c93_write_reg(sc,regno,val) \ argument
391 #define SET_SBIC_myid(sc,val) wd33c93_write_reg(sc,SBIC_myid,val) argument
392 #define GET_SBIC_myid(sc,val) wd33c93_read_reg(sc,SBIC_myid,val) argument
393 #define SET_SBIC_cdbsize(sc,val) wd33c93_write_reg(sc,SBIC_cdbsize,val) argument
394 #define GET_SBIC_cdbsize(sc,val) wd33c93_read_reg(sc,SBIC_cdbsize,val) argument
395 #define SET_SBIC_control(sc,val) wd33c93_write_reg(sc,SBIC_control,val) argument
396 #define GET_SBIC_control(sc,val) wd33c93_read_reg(sc,SBIC_control,val) argument
397 #define SET_SBIC_timeo(sc,val) wd33c93_write_reg(sc,SBIC_timeo,val) argument
398 #define GET_SBIC_timeo(sc,val) wd33c93_read_reg(sc,SBIC_timeo,val) argument
[all …]
H A Datw.c154 #define DPRINTF(sc, x) if ((sc)->sc_if.if_flags & IFF_DEBUG) printf x argument
155 #define DPRINTF2(sc, x) if ((sc)->sc_if.if_flags & IFF_DEBUG) ATW_DPRINTF2(x) argument
156 #define DPRINTF3(sc, x) if ((sc)->sc_if.if_flags & IFF_DEBUG) ATW_DPRINTF3(x) argument
176 #define DPRINTF(sc, x) /* nothing */ argument
177 #define DPRINTF2(sc, x) /* nothing */ argument
178 #define DPRINTF3(sc, x) /* nothing */ argument
312 struct atw_softc *sc = device_private(self); in atw_activate() local
326 struct atw_softc *sc = device_private(self); in atw_suspend() local
336 atw_read_srom(struct atw_softc *sc) in atw_read_srom()
420 atw_print_regs(struct atw_softc *sc, const char *where) in atw_print_regs()
[all …]
H A Daic6915.c91 #define sf_funcreg_read(sc, reg) \ argument
93 #define sf_funcreg_write(sc, reg, val) \ argument
97 sf_reg_read(struct sf_softc *sc, bus_addr_t reg) in sf_reg_read()
111 sf_reg_write(struct sf_softc *sc, bus_addr_t reg, uint32_t val) in sf_reg_write()
125 #define sf_genreg_read(sc, reg) \ argument
127 #define sf_genreg_write(sc, reg, val) \ argument
136 sf_attach(struct sf_softc *sc) in sf_attach()
336 struct sf_softc *sc; in sf_shutdown() local
352 struct sf_softc *sc = ifp->if_softc; in sf_start() local
498 struct sf_softc *sc = ifp->if_softc; in sf_watchdog() local
[all …]
H A Di82586.c231 i82586_attach(struct ie_softc *sc, const char *name, uint8_t *etheraddr, in i82586_attach()
281 struct ie_softc *sc = ifp->if_softc; in i82586_watchdog() local
290 i82586_cmd_wait(struct ie_softc *sc) in i82586_cmd_wait()
325 i82586_start_cmd(struct ie_softc *sc, int cmd, int iecmdbuf, int mask, in i82586_start_cmd()
384 ie_ack(struct ie_softc *sc, u_int mask) in ie_ack()
400 i82586_count_errors(struct ie_softc *sc) in i82586_count_errors()
418 i82586_rx_errors(struct ie_softc *sc, int fn, int status) in i82586_rx_errors()
432 struct ie_softc *sc = v; in i82586_intr() local
507 i82586_rint(struct ie_softc *sc, int scbstatus) in i82586_rint()
660 i82586_tint(struct ie_softc *sc, int scbstatus) in i82586_tint()
[all …]
/netbsd-src/sys/dev/usb/
H A Dauvitek_dtv.c90 auvitek_dtv_attach(struct auvitek_softc *sc) in auvitek_dtv_attach()
99 auvitek_dtv_detach(struct auvitek_softc *sc, int flags) in auvitek_dtv_detach()
106 auvitek_dtv_rescan(struct auvitek_softc *sc, const char *ifattr, in auvitek_dtv_rescan()
120 auvitek_dtv_childdet(struct auvitek_softc *sc, device_t child) in auvitek_dtv_childdet()
129 struct auvitek_softc *sc = priv; in auvitek_dtv_get_devinfo() local
143 struct auvitek_softc *sc = priv; in auvitek_dtv_open() local
177 struct auvitek_softc *sc = priv; in auvitek_dtv_close() local
196 struct auvitek_softc *sc = priv; in auvitek_dtv_set_tuner() local
215 struct auvitek_softc *sc = priv; in auvitek_dtv_get_status() local
229 struct auvitek_softc *sc = priv; in auvitek_dtv_get_snr() local
[all …]
H A Demdtv_dtv.c84 emdtv_dtv_attach(struct emdtv_softc *sc) in emdtv_dtv_attach()
129 emdtv_dtv_free_xfers(struct emdtv_softc *sc) in emdtv_dtv_free_xfers()
143 emdtv_dtv_detach(struct emdtv_softc *sc, int flags) in emdtv_dtv_detach()
162 emdtv_dtv_rescan(struct emdtv_softc *sc, const char *ifattr, const int *locs) in emdtv_dtv_rescan()
177 struct emdtv_softc *sc = priv; in emdtv_dtv_get_devinfo() local
191 struct emdtv_softc *sc = priv; in emdtv_dtv_open() local
262 struct emdtv_softc *sc = priv; in emdtv_dtv_close() local
270 struct emdtv_softc *sc = priv; in emdtv_dtv_set_tuner() local
292 struct emdtv_softc *sc = priv; in emdtv_dtv_get_status() local
303 struct emdtv_softc *sc = priv; in emdtv_dtv_get_signal_strength() local
[all …]
/netbsd-src/sys/dev/pci/
H A Dif_rge.c189 struct rge_softc *sc = device_private(self); in rge_attach() local
376 struct rge_softc *sc = arg; rge_intr() local
452 rge_encap(struct rge_softc * sc,struct mbuf * m,int idx) rge_encap() argument
547 struct rge_softc *sc = ifp->if_softc; rge_ioctl() local
587 struct rge_softc *sc = ifp->if_softc; rge_start() local
648 struct rge_softc *sc = ifp->if_softc; rge_watchdog() local
659 struct rge_softc *sc = ifp->if_softc; rge_init() local
847 struct rge_softc *sc = ifp->if_softc; rge_stop() local
888 struct rge_softc *sc = ifp->if_softc; rge_ifmedia_upd() local
956 struct rge_softc *sc = ifp->if_softc; rge_ifmedia_sts() local
990 rge_allocmem(struct rge_softc * sc) rge_allocmem() argument
1104 rge_load_rxbuf(struct rge_softc * sc,int idx) rge_load_rxbuf() argument
1128 rge_newbuf(struct rge_softc * sc,int idx) rge_newbuf() argument
1163 rge_rx_list_init(struct rge_softc * sc) rge_rx_list_init() argument
1184 rge_rx_list_fini(struct rge_softc * sc) rge_rx_list_fini() argument
1200 rge_tx_list_init(struct rge_softc * sc) rge_tx_list_init() argument
1217 rge_tx_list_fini(struct rge_softc * sc) rge_tx_list_fini() argument
1233 rge_rxeof(struct rge_softc * sc) rge_rxeof() argument
1362 rge_txeof(struct rge_softc * sc) rge_txeof() argument
1429 rge_reset(struct rge_softc * sc) rge_reset() argument
1467 rge_iff(struct rge_softc * sc) rge_iff() argument
1526 rge_set_phy_power(struct rge_softc * sc,int on) rge_set_phy_power() argument
1548 rge_phy_config(struct rge_softc * sc) rge_phy_config() argument
1594 rge_phy_config_mac_cfg2(struct rge_softc * sc) rge_phy_config_mac_cfg2() argument
1668 rge_phy_config_mac_cfg3(struct rge_softc * sc) rge_phy_config_mac_cfg3() argument
1773 rge_phy_config_mac_cfg4(struct rge_softc * sc) rge_phy_config_mac_cfg4() argument
1963 rge_phy_config_mac_cfg5(struct rge_softc * sc) rge_phy_config_mac_cfg5() argument
2008 rge_phy_config_mcu(struct rge_softc * sc,uint16_t mcode_version) rge_phy_config_mcu() argument
2072 rge_set_macaddr(struct rge_softc * sc,const uint8_t * addr) rge_set_macaddr() argument
2083 rge_get_macaddr(struct rge_softc * sc,uint8_t * addr) rge_get_macaddr() argument
2092 rge_hw_init(struct rge_softc * sc) rge_hw_init() argument
2135 rge_disable_phy_ocp_pwrsave(struct rge_softc * sc) rge_disable_phy_ocp_pwrsave() argument
2146 rge_patch_phy_mcu(struct rge_softc * sc,int set) rge_patch_phy_mcu() argument
2167 rge_add_media_types(struct rge_softc * sc) rge_add_media_types() argument
2180 rge_config_imtype(struct rge_softc * sc,int imtype) rge_config_imtype() argument
2200 rge_disable_hw_im(struct rge_softc * sc) rge_disable_hw_im() argument
2206 rge_disable_sim_im(struct rge_softc * sc) rge_disable_sim_im() argument
2213 rge_setup_sim_im(struct rge_softc * sc) rge_setup_sim_im() argument
2221 rge_setup_intr(struct rge_softc * sc,int imtype) rge_setup_intr() argument
2243 rge_exit_oob(struct rge_softc * sc) rge_exit_oob() argument
2293 rge_write_csi(struct rge_softc * sc,uint32_t reg,uint32_t val) rge_write_csi() argument
2311 rge_read_csi(struct rge_softc * sc,uint32_t reg) rge_read_csi() argument
2330 rge_write_mac_ocp(struct rge_softc * sc,uint16_t reg,uint16_t val) rge_write_mac_ocp() argument
2341 rge_read_mac_ocp(struct rge_softc * sc,uint16_t reg) rge_read_mac_ocp() argument
2352 rge_write_ephy(struct rge_softc * sc,uint16_t reg,uint16_t val) rge_write_ephy() argument
2371 rge_read_ephy(struct rge_softc * sc,uint16_t reg) rge_read_ephy() argument
2392 rge_write_phy(struct rge_softc * sc,uint16_t addr,uint16_t reg,uint16_t val) rge_write_phy() argument
2407 rge_read_phy(struct rge_softc * sc,uint16_t addr,uint16_t reg) rge_read_phy() argument
2422 rge_write_phy_ocp(struct rge_softc * sc,uint16_t reg,uint16_t val) rge_write_phy_ocp() argument
2439 rge_read_phy_ocp(struct rge_softc * sc,uint16_t reg) rge_read_phy_ocp() argument
2458 rge_get_link_status(struct rge_softc * sc) rge_get_link_status() argument
2466 struct rge_softc *sc = arg; rge_txstart() local
2474 struct rge_softc *sc = arg; rge_tick() local
2485 rge_link_state(struct rge_softc * sc) rge_link_state() argument
[all...]
H A Daac_pci.c476 aac_pci_intr_set(struct aac_softc *sc, int (*hand)(void*), void *arg) in aac_pci_intr_set()
510 struct aac_softc *sc; in aac_pci_attach() local
632 aac_sa_get_fwstatus(struct aac_softc *sc) in aac_sa_get_fwstatus()
639 aac_rx_get_fwstatus(struct aac_softc *sc) in aac_rx_get_fwstatus()
646 aac_rkt_get_fwstatus(struct aac_softc *sc) in aac_rkt_get_fwstatus()
657 aac_sa_qnotify(struct aac_softc *sc, int qbit) in aac_sa_qnotify()
664 aac_rx_qnotify(struct aac_softc *sc, int qbit) in aac_rx_qnotify()
671 aac_rkt_qnotify(struct aac_softc *sc, int qbit) in aac_rkt_qnotify()
681 aac_sa_get_istatus(struct aac_softc *sc) in aac_sa_get_istatus()
688 aac_rx_get_istatus(struct aac_softc *sc) in aac_rx_get_istatus()
[all …]
H A Dvirtio.c75 virtio_set_status(struct virtio_softc *sc, int status) in virtio_set_status() argument
95 virtio_reset(struct virtio_softc *sc) in virtio_reset() argument
101 virtio_reinit_start(struct virtio_softc *sc) in virtio_reinit_start() argument
136 virtio_reinit_end(struct virtio_softc * sc) virtio_reinit_end() argument
145 virtio_negotiate_features(struct virtio_softc * sc,uint64_t guest_features) virtio_negotiate_features() argument
177 virtio_read_device_config_1(struct virtio_softc * sc,int index) virtio_read_device_config_1() argument
190 virtio_read_device_config_2(struct virtio_softc * sc,int index) virtio_read_device_config_2() argument
209 virtio_read_device_config_4(struct virtio_softc * sc,int index) virtio_read_device_config_4() argument
233 virtio_read_device_config_8(struct virtio_softc * sc,int index) virtio_read_device_config_8() argument
272 virtio_read_device_config_le_2(struct virtio_softc * sc,int index) virtio_read_device_config_le_2() argument
297 virtio_read_device_config_le_4(struct virtio_softc * sc,int index) virtio_read_device_config_le_4() argument
318 virtio_write_device_config_1(struct virtio_softc * sc,int index,uint8_t value) virtio_write_device_config_1() argument
327 virtio_write_device_config_2(struct virtio_softc * sc,int index,uint16_t value) virtio_write_device_config_2() argument
339 virtio_write_device_config_4(struct virtio_softc * sc,int index,uint32_t value) virtio_write_device_config_4() argument
358 virtio_write_device_config_8(struct virtio_softc * sc,int index,uint64_t value) virtio_write_device_config_8() argument
392 virtio_write_device_config_le_2(struct virtio_softc * sc,int index,uint16_t value) virtio_write_device_config_le_2() argument
404 virtio_write_device_config_le_4(struct virtio_softc * sc,int index,uint32_t value) virtio_write_device_config_le_4() argument
420 virtio_rw16(struct virtio_softc * sc,uint16_t val) virtio_rw16() argument
427 virtio_rw32(struct virtio_softc * sc,uint32_t val) virtio_rw32() argument
434 virtio_rw64(struct virtio_softc * sc,uint64_t val) virtio_rw64() argument
447 struct virtio_softc *sc = arg; virtio_soft_intr() local
464 virtio_vq_intr(struct virtio_softc * sc) virtio_vq_intr() argument
483 vq_sync_descs(struct virtio_softc * sc,struct virtqueue * vq,int ops) vq_sync_descs() argument
492 vq_sync_aring_all(struct virtio_softc * sc,struct virtqueue * vq,int ops) vq_sync_aring_all() argument
505 vq_sync_aring_header(struct virtio_softc * sc,struct virtqueue * vq,int ops) vq_sync_aring_header() argument
514 vq_sync_aring_payload(struct virtio_softc * sc,struct virtqueue * vq,int ops) vq_sync_aring_payload() argument
524 vq_sync_aring_used(struct virtio_softc * sc,struct virtqueue * vq,int ops) vq_sync_aring_used() argument
537 vq_sync_uring_all(struct virtio_softc * sc,struct virtqueue * vq,int ops) vq_sync_uring_all() argument
550 vq_sync_uring_header(struct virtio_softc * sc,struct virtqueue * vq,int ops) vq_sync_uring_header() argument
559 vq_sync_uring_payload(struct virtio_softc * sc,struct virtqueue * vq,int ops) vq_sync_uring_payload() argument
569 vq_sync_uring_avail(struct virtio_softc * sc,struct virtqueue * vq,int ops) vq_sync_uring_avail() argument
582 vq_sync_indirect(struct virtio_softc * sc,struct virtqueue * vq,int slot,int ops) vq_sync_indirect() argument
593 virtio_vq_is_enqueued(struct virtio_softc * sc,struct virtqueue * vq) virtio_vq_is_enqueued() argument
612 virtio_postpone_intr(struct virtio_softc * sc,struct virtqueue * vq,uint16_t nslots) virtio_postpone_intr() argument
636 virtio_postpone_intr_smart(struct virtio_softc * sc,struct virtqueue * vq) virtio_postpone_intr_smart() argument
651 virtio_postpone_intr_far(struct virtio_softc * sc,struct virtqueue * vq) virtio_postpone_intr_far() argument
665 virtio_stop_vq_intr(struct virtio_softc * sc,struct virtqueue * vq) virtio_stop_vq_intr() argument
686 virtio_start_vq_intr(struct virtio_softc * sc,struct virtqueue * vq) virtio_start_vq_intr() argument
718 virtio_reset_vq(struct virtio_softc * sc,struct virtqueue * vq) virtio_reset_vq() argument
757 virtio_init_vq_vqdone(struct virtio_softc * sc,struct virtqueue * vq,int index,int (* vq_done)(struct virtqueue *)) virtio_init_vq_vqdone() argument
766 virtio_init_vq(struct virtio_softc * sc,struct virtqueue * vq,int index,int (* func)(void *),void * arg) virtio_init_vq() argument
783 virtio_alloc_vq(struct virtio_softc * sc,struct virtqueue * vq,int maxsegsize,int maxnsegs,const char * name) virtio_alloc_vq() argument
909 virtio_free_vq(struct virtio_softc * sc,struct virtqueue * vq) virtio_free_vq() argument
953 vq_alloc_slot_locked(struct virtio_softc * sc,struct virtqueue * vq,size_t nslots) vq_alloc_slot_locked() argument
982 vq_alloc_slot(struct virtio_softc * sc,struct virtqueue * vq,size_t nslots) vq_alloc_slot() argument
994 vq_free_slot(struct virtio_softc * sc,struct virtqueue * vq,uint16_t slot) vq_free_slot() argument
1046 virtio_enqueue_prep(struct virtio_softc * sc,struct virtqueue * vq,int * slotp) virtio_enqueue_prep() argument
1065 virtio_enqueue_reserve(struct virtio_softc * sc,struct virtqueue * vq,int slot,int nsegs) virtio_enqueue_reserve() argument
1131 virtio_enqueue(struct virtio_softc * sc,struct virtqueue * vq,int slot,bus_dmamap_t dmamap,bool write) virtio_enqueue() argument
1168 virtio_enqueue_p(struct virtio_softc * sc,struct virtqueue * vq,int slot,bus_dmamap_t dmamap,bus_addr_t start,bus_size_t len,bool write) virtio_enqueue_p() argument
1206 virtio_enqueue_commit(struct virtio_softc * sc,struct virtqueue * vq,int slot,bool notifynow) virtio_enqueue_commit() argument
1268 virtio_enqueue_abort(struct virtio_softc * sc,struct virtqueue * vq,int slot) virtio_enqueue_abort() argument
1289 virtio_dequeue(struct virtio_softc * sc,struct virtqueue * vq,int * slotp,int * lenp) virtio_dequeue() argument
1318 virtio_dequeue_commit(struct virtio_softc * sc,struct virtqueue * vq,int slot) virtio_dequeue_commit() argument
1335 virtio_child_attach_start(struct virtio_softc * sc,device_t child,int ipl,uint64_t req_features,const char * feat_bits) virtio_child_attach_start() argument
1353 virtio_child_attach_finish(struct virtio_softc * sc,struct virtqueue * vqs,size_t nvqs,virtio_callback config_change,int req_flags) virtio_child_attach_finish() argument
1434 virtio_child_detach(struct virtio_softc * sc) virtio_child_detach() argument
1456 virtio_child_attach_failed(struct virtio_softc * sc) virtio_child_attach_failed() argument
1466 virtio_dmat(struct virtio_softc * sc) virtio_dmat() argument
1472 virtio_child(struct virtio_softc * sc) virtio_child() argument
1478 virtio_intrhand(struct virtio_softc * sc) virtio_intrhand() argument
1484 virtio_features(struct virtio_softc * sc) virtio_features() argument
1490 virtio_attach_failed(struct virtio_softc * sc) virtio_attach_failed() argument
[all...]
H A Dif_alc.c188 struct alc_softc *sc = device_private(dev); in alc_miibus_readreg() local
199 alc_mii_readreg_813x(struct alc_softc *sc, int phy, int reg, uint16_t *val) in alc_mii_readreg_813x()
238 alc_mii_readreg_816x(struct alc_softc *sc, int phy, int reg, uint16_t *val) in alc_mii_readreg_816x()
272 struct alc_softc *sc = device_private(dev); in alc_miibus_writereg() local
284 alc_mii_writereg_813x(struct alc_softc *sc, int phy, int reg, uint16_t val) in alc_mii_writereg_813x()
309 alc_mii_writereg_816x(struct alc_softc *sc, int phy, int reg, uint16_t val) in alc_mii_writereg_816x()
340 struct alc_softc *sc = ifp->if_softc; in alc_miibus_statchg() local
380 alc_miidbg_readreg(struct alc_softc *sc, int reg, uint16_t *val) in alc_miidbg_readreg()
394 alc_miidbg_writereg(struct alc_softc *sc, int reg, uint16_t val) in alc_miidbg_writereg()
410 alc_miiext_readreg(struct alc_softc *sc, int devaddr, int reg, uint16_t *val) in alc_miiext_readreg()
[all …]
/netbsd-src/sys/net/
H A Dbridgestp.c179 bstp_transmit_config(struct bridge_softc *sc, struct bridge_iflist *bif) in bstp_transmit_config()
215 bstp_send_config_bpdu(struct bridge_softc *sc, struct bridge_iflist *bif, in bstp_send_config_bpdu()
284 bstp_root_bridge(struct bridge_softc *sc) in bstp_root_bridge()
290 bstp_supersedes_port_info(struct bridge_softc *sc, struct bridge_iflist *bif, in bstp_supersedes_port_info()
316 bstp_record_config_information(struct bridge_softc *sc, in bstp_record_config_information()
327 bstp_record_config_timeout_values(struct bridge_softc *sc, in bstp_record_config_timeout_values()
337 bstp_config_bpdu_generation(struct bridge_softc *sc) in bstp_config_bpdu_generation()
351 bstp_designated_port(struct bridge_softc *sc, struct bridge_iflist *bif) in bstp_designated_port()
358 bstp_transmit_tcn(struct bridge_softc *sc) in bstp_transmit_tcn()
401 bstp_configuration_update(struct bridge_softc *sc) in bstp_configuration_update()
[all …]
/netbsd-src/sys/arch/sgimips/stand/common/
H A Diris_scsireg.h398 #define wd33c93_read_reg(sc, regno, val) \ argument
404 #define wd33c93_write_reg(sc, regno, val) \ argument
410 #define SET_SBIC_myid(sc,val) wd33c93_write_reg(sc,SBIC_myid,val) argument
411 #define GET_SBIC_myid(sc,val) wd33c93_read_reg(sc,SBIC_myid,val) argument
412 #define SET_SBIC_cdbsize(sc,val) wd33c93_write_reg(sc,SBIC_cdbsize,val) argument
413 #define GET_SBIC_cdbsize(sc,val) wd33c93_read_reg(sc,SBIC_cdbsize,val) argument
414 #define SET_SBIC_control(sc,val) wd33c93_write_reg(sc,SBIC_control,val) argument
415 #define GET_SBIC_control(sc,val) wd33c93_read_reg(sc,SBIC_control,val) argument
416 #define SET_SBIC_timeo(sc,val) wd33c93_write_reg(sc,SBIC_timeo,val) argument
417 #define GET_SBIC_timeo(sc,val) wd33c93_read_reg(sc,SBIC_timeo,val) argument
[all …]
/netbsd-src/sys/arch/mac68k/nubus/
H A Dgrf_nubus.c134 struct grfbus_softc *sc = device_private(self); in grfmv_attach() local
388 struct grfbus_softc *sc = (struct grfbus_softc *)vsc; in grfmv_intr_generic_write1() local
403 struct grfbus_softc *sc = (struct grfbus_softc *)vsc; in grfmv_intr_generic_write4() local
418 struct grfbus_softc *sc = (struct grfbus_softc *)vsc; in grfmv_intr_generic_or4() local
433 struct grfbus_softc *sc = (struct grfbus_softc *)vsc; in grfmv_intr_radius() local
452 struct grfbus_softc *sc = (struct grfbus_softc *)vsc; in grfmv_intr_radius24() local
474 struct grfbus_softc *sc = (struct grfbus_softc *)vsc; in grfmv_intr_cti() local
488 struct grfbus_softc *sc; in grfmv_intr_cb264() local
542 struct grfbus_softc *sc; in grfmv_intr_cb364() local
630 struct grfbus_softc *sc = (struct grfbus_softc *)vsc; in grfmv_intr_supermacgfx() local
[all …]
/netbsd-src/sys/arch/mips/cavium/dev/
H A Docteon_twsi.c102 #define _CONTROL_READ(sc, reg) \ argument
104 #define _CONTROL_WRITE(sc, reg, value) \ argument
159 struct octeon_twsi_softc *sc = device_private(self); in octeon_twsi_attach() local
187 octeon_twsi_wait(struct octeon_twsi_softc *sc) in octeon_twsi_wait()
192 octeon_twsi_intr(struct octeon_twsi_softc *sc) in octeon_twsi_intr()
197 octeon_twsi_lock(struct octeon_twsi_softc *sc) in octeon_twsi_lock()
202 octeon_twsi_unlock(struct octeon_twsi_softc *sc) in octeon_twsi_unlock()
227 octeon_twsi_hlcm_read(struct octeon_twsi_softc *sc, int addr, char *buf, in octeon_twsi_hlcm_read()
271 octeon_twsi_hlcm_write(struct octeon_twsi_softc *sc, int addr, char *buf, in octeon_twsi_hlcm_write()
317 octeon_twsi_hlcm_setup(struct octeon_twsi_softc *sc, ...) in octeon_twsi_hlcm_setup()
[all …]
H A Docteon_gmx.c91 #define _GMX_RD8(sc, off) \ argument
93 #define _GMX_WR8(sc, off, v) \ argument
95 #define _GMX_PORT_RD8(sc, off) \ argument
97 #define _GMX_PORT_WR8(sc, off, v) \ argument
100 #define PCS_READ_8(sc, reg) \ argument
102 #define PCS_WRITE_8(sc, reg, val) \ argument
200 struct octgmx_softc *sc = device_private(self); in octgmx_attach() local
288 octgmx_init(struct octgmx_softc *sc) in octgmx_init()
379 octgmx_link_enable(struct octgmx_port_softc *sc, int enable) in octgmx_link_enable()
403 octgmx_stats_init(struct octgmx_port_softc *sc) in octgmx_stats_init()
[all …]
/netbsd-src/sys/arch/arm/xscale/
H A Dpxa2x0_mci.c145 #define CSR_READ_1(sc, reg) \ argument
147 #define CSR_WRITE_1(sc, reg, val) \ argument
149 #define CSR_READ_4(sc, reg) \ argument
151 #define CSR_WRITE_4(sc, reg, val) \ argument
153 #define CSR_SET_4(sc, reg, val) \ argument
155 #define CSR_CLR_4(sc, reg, val) \ argument
167 pxamci_enable_intr(struct pxamci_softc *sc, uint32_t mask) in pxamci_enable_intr()
178 pxamci_disable_intr(struct pxamci_softc *sc, uint32_t mask) in pxamci_disable_intr()
191 struct pxamci_softc *sc = device_private(self); in pxamci_attach_sub() local
340 pxamci_card_detect_event(struct pxamci_softc *sc) in pxamci_card_detect_event()
[all …]
/netbsd-src/external/mit/isl/dist/
H A Disl_schedule_constraints.c49 __isl_keep isl_schedule_constraints *sc) in isl_schedule_constraints_copy()
88 __isl_take isl_schedule_constraints *sc) in isl_schedule_constraints_init()
124 isl_schedule_constraints *sc; in isl_schedule_constraints_on_domain() local
144 __isl_take isl_schedule_constraints *sc, in isl_schedule_constraints_set_domain()
163 __isl_take isl_schedule_constraints *sc, __isl_take isl_set *context) in isl_schedule_constraints_set_context()
186 __isl_take isl_schedule_constraints *sc, enum isl_edge_type type, in isl_schedule_constraints_set()
206 __isl_take isl_schedule_constraints *sc, in isl_schedule_constraints_set_validity()
215 __isl_take isl_schedule_constraints *sc, in isl_schedule_constraints_set_coincidence()
225 __isl_take isl_schedule_constraints *sc, in isl_schedule_constraints_set_proximity()
236 __isl_take isl_schedule_constraints *sc, in isl_schedule_constraints_set_conditional_validity()
[all …]
/netbsd-src/sys/dev/vmt/
H A Dvmt_subr.c169 vmt_common_attach(struct vmt_softc *sc) in vmt_common_attach()
284 vmt_common_detach(struct vmt_softc *sc) in vmt_common_detach()
319 struct vmt_softc *sc = device_private(self); in vmt_sysctl_setup_root() local
357 struct vmt_softc *sc = device_private(self); in vmt_sysctl_setup_clock_sync() local
380 struct vmt_softc *sc; in vmt_sysctl_update_clock_sync_period() local
404 struct vmt_softc *sc = xarg; in vmt_clock_sync_tick() local
413 vmt_update_guest_uptime(struct vmt_softc *sc) in vmt_update_guest_uptime()
424 vmt_update_guest_info(struct vmt_softc *sc) in vmt_update_guest_info()
465 vmt_sync_guest_clock(struct vmt_softc *sc) in vmt_sync_guest_clock()
488 struct vmt_softc *sc = xarg; in vmt_tick() local
[all …]
/netbsd-src/sys/dev/isa/
H A Dess.c274 ess_printsc(struct ess_softc *sc) in ess_printsc()
299 ess_dump_mixer(struct ess_softc *sc) in ess_dump_mixer()
350 ess_config_addr(struct ess_softc *sc) in ess_config_addr()
443 ess_config_irq(struct ess_softc *sc) in ess_config_irq()
532 ess_config_drq(struct ess_softc *sc) in ess_config_drq()
595 ess_setup(struct ess_softc *sc) in ess_setup()
613 ess_identify(struct ess_softc *sc) in ess_identify()
783 ess_setup_sc(struct ess_softc *sc, int doinit) in ess_setup_sc()
805 essmatch(struct ess_softc *sc) in essmatch()
883 essattach(struct ess_softc *sc, int enablejoy) in essattach()
[all …]

12345678910>>...117