Searched refs:sc (Results 226 - 250 of 2317) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/dev/usb/controller/
H A Dat91dci_atmelarm.c90 at91_vbus_poll(struct at91_udp_softc *sc) argument
95 at91dci_vbus_interrupt(&sc->sc_dci, vbus_val);
97 callout_reset(&sc->sc_vbus, hz, (void *)&at91_vbus_poll, sc);
103 struct at91_udp_softc *sc = arg; local
105 at91_pmc_clock_enable(sc->sc_mclk);
106 at91_pmc_clock_enable(sc->sc_iclk);
107 at91_pmc_clock_enable(sc->sc_fclk);
113 struct at91_udp_softc *sc = arg; local
115 at91_pmc_clock_disable(sc
142 struct at91_udp_softc *sc = device_get_softc(dev); local
245 struct at91_udp_softc *sc = device_get_softc(dev); local
[all...]
H A Dat91dci_fdt.c94 at91_vbus_poll(struct at91_udp_softc *sc) argument
99 at91dci_vbus_interrupt(&sc->sc_dci, vbus_val);
101 callout_reset(&sc->sc_vbus, hz, (void *)&at91_vbus_poll, sc);
107 struct at91_udp_softc *sc = arg; local
109 at91_pmc_clock_enable(sc->sc_mclk);
110 at91_pmc_clock_enable(sc->sc_iclk);
111 at91_pmc_clock_enable(sc->sc_fclk);
117 struct at91_udp_softc *sc = arg; local
119 at91_pmc_clock_disable(sc
148 struct at91_udp_softc *sc = device_get_softc(dev); local
251 struct at91_udp_softc *sc = device_get_softc(dev); local
[all...]
/freebsd-11-stable/sys/dev/twe/
H A Dtwe_freebsd.c84 struct twe_softc *sc = (struct twe_softc *)dev->si_drv1; local
86 TWE_IO_LOCK(sc);
87 if (sc->twe_state & TWE_STATE_DETACHING) {
88 TWE_IO_UNLOCK(sc);
91 sc->twe_state |= TWE_STATE_OPEN;
92 TWE_IO_UNLOCK(sc);
102 struct twe_softc *sc = (struct twe_softc *)dev->si_drv1; local
104 TWE_IO_LOCK(sc);
105 sc->twe_state &= ~TWE_STATE_OPEN;
106 TWE_IO_UNLOCK(sc);
116 struct twe_softc *sc = (struct twe_softc *)dev->si_drv1; local
181 struct twe_softc *sc; local
386 twe_free(struct twe_softc *sc) argument
442 struct twe_softc *sc = device_get_softc(dev); local
478 struct twe_softc *sc = device_get_softc(dev); local
513 struct twe_softc *sc = device_get_softc(dev); local
532 struct twe_softc *sc = device_get_softc(dev); local
551 struct twe_softc *sc = arg; local
564 struct twe_softc *sc = (struct twe_softc *)arg; local
579 twe_attach_drive(struct twe_softc *sc, struct twe_drive *dr) argument
618 twe_detach_drive(struct twe_softc *sc, int unit) argument
638 twe_clear_pci_parity_error(struct twe_softc *sc) argument
648 twe_clear_pci_abort(struct twe_softc *sc) argument
707 struct twed_softc *sc = (struct twed_softc *)dp->d_drv1; local
727 struct twed_softc *sc = bp->bio_disk->d_drv1; local
809 struct twed_softc *sc; local
863 struct twed_softc *sc = (struct twed_softc *)device_get_softc(dev); local
887 twe_allocate_request(struct twe_softc *sc, int tag) argument
908 struct twe_softc *sc = tr->tr_sc; local
943 struct twe_softc *sc = tr->tr_sc; local
1037 struct twe_softc *sc = (struct twe_softc *)arg; local
1048 struct twe_softc *sc = tr->tr_sc; local
1108 struct twe_softc *sc = tr->tr_sc; local
1165 struct twe_softc *sc; local
[all...]
/freebsd-11-stable/stand/i386/libfirewire/
H A Dfwohci.c71 fwphy_wrdata( struct fwohci_softc *sc, uint32_t addr, uint32_t data) argument
79 OWRITE(sc, OHCI_PHYACCESS, fun);
82 return(fwphy_rddata( sc, addr));
86 fwphy_rddata(struct fwohci_softc *sc, u_int addr) argument
94 OWRITE(sc, FWOHCI_INTSTATCLR, OHCI_INT_REG_FAIL);
96 OWRITE(sc, OHCI_PHYACCESS, fun);
98 fun = OREAD(sc, OHCI_PHYACCESS);
105 device_printf(sc->fc.dev, "phy read failed(1).\n");
112 stat = OREAD(sc, FWOHCI_INTSTAT);
116 device_printf(sc
131 fwohci_probe_phy(struct fwohci_softc *sc, device_t dev) argument
207 fwohci_reset(struct fwohci_softc *sc, device_t dev) argument
265 fwohci_init(struct fwohci_softc *sc, device_t dev) argument
317 fwohci_ibr(struct fwohci_softc *sc) argument
347 fwohci_sid(struct fwohci_softc *sc) argument
395 fwohci_intr_body(struct fwohci_softc *sc, uint32_t stat, int count) argument
451 fwochi_check_stat(struct fwohci_softc *sc) argument
467 fwohci_poll(struct fwohci_softc *sc) argument
[all...]
/freebsd-11-stable/sys/dev/ed/
H A Dif_ed_rtl80x9.c70 ed_rtl80x9_media_ioctl(struct ed_softc *sc, struct ifreq *ifr, u_long command) argument
72 return (ifmedia_ioctl(sc->ifp, ifr, &sc->ifmedia, command));
78 struct ed_softc *sc = device_get_softc(dev); local
85 sc->asic_offset = ED_NOVELL_ASIC_OFFSET;
86 sc->nic_offset = ED_NOVELL_NIC_OFFSET;
88 if (ed_nic_inb(sc, ED_P0_CR) & (ED_CR_PS0 | ED_CR_PS1))
89 ed_nic_outb(sc, ED_P0_CR, ED_CR_RD2 | ED_CR_STP);
91 if (ed_nic_inb(sc, ED_RTL80X9_80X9ID0) != ED_RTL80X9_ID0)
94 switch (ed_nic_inb(sc, ED_RTL80X9_80X9ID
148 struct ed_softc *sc; local
193 struct ed_softc *sc; local
[all...]
/freebsd-11-stable/sys/dev/glxiic/
H A Dglxiic.c177 typedef int (glxiic_state_callback_t)(struct glxiic_softc *sc,
236 static uint8_t glxiic_read_status_locked(struct glxiic_softc *sc);
237 static void glxiic_stop_locked(struct glxiic_softc *sc);
239 static void glxiic_start_timeout_locked(struct glxiic_softc *sc);
240 static void glxiic_set_state_locked(struct glxiic_softc *sc,
242 static int glxiic_handle_slave_match_locked(struct glxiic_softc *sc,
252 static void glxiic_gpio_enable(struct glxiic_softc *sc);
253 static void glxiic_gpio_disable(struct glxiic_softc *sc);
254 static void glxiic_smb_enable(struct glxiic_softc *sc, uint8_t speed,
256 static void glxiic_smb_disable(struct glxiic_softc *sc);
312 struct glxiic_softc *sc; local
449 struct glxiic_softc *sc; local
488 glxiic_read_status_locked(struct glxiic_softc *sc) argument
505 glxiic_stop_locked(struct glxiic_softc *sc) argument
535 struct glxiic_softc *sc; local
556 glxiic_start_timeout_locked(struct glxiic_softc *sc) argument
566 glxiic_set_state_locked(struct glxiic_softc *sc, glxiic_state_t state) argument
580 glxiic_handle_slave_match_locked(struct glxiic_softc *sc, uint8_t status) argument
612 glxiic_state_idle_callback(struct glxiic_softc *sc, uint8_t status) argument
630 glxiic_state_slave_tx_callback(struct glxiic_softc *sc, uint8_t status) argument
671 glxiic_state_slave_rx_callback(struct glxiic_softc *sc, uint8_t status) argument
707 glxiic_state_master_addr_callback(struct glxiic_softc *sc, uint8_t status) argument
757 glxiic_state_master_tx_callback(struct glxiic_softc *sc, uint8_t status) argument
797 glxiic_state_master_rx_callback(struct glxiic_softc *sc, uint8_t status) argument
850 glxiic_state_master_stop_callback(struct glxiic_softc *sc, uint8_t status) argument
897 struct glxiic_softc *sc; local
933 struct glxiic_softc *sc; local
961 struct glxiic_softc *sc; local
1013 glxiic_gpio_enable(struct glxiic_softc *sc) argument
1023 glxiic_gpio_disable(struct glxiic_softc *sc) argument
1033 glxiic_smb_enable(struct glxiic_softc *sc, uint8_t speed, uint8_t addr) argument
1075 glxiic_smb_disable(struct glxiic_softc *sc) argument
[all...]
/freebsd-11-stable/sys/i386/bios/
H A Dapm.c142 apm_enable_smm(sc)
143 struct apm_softc *sc;
145 bus_space_tag_t iot = sc->sc_iot;
146 bus_space_handle_t ioh = sc->sc_ioh;
153 apm_disable_smm(sc)
154 struct apm_softc *sc;
156 bus_space_tag_t iot = sc->sc_iot;
157 bus_space_handle_t ioh = sc->sc_ioh;
172 struct apm_softc *sc = &apm_softc; local
174 u_int apm_func = sc
239 struct apm_softc *sc = &apm_softc; local
256 struct apm_softc *sc = &apm_softc; local
277 struct apm_softc *sc = &apm_softc; local
290 struct apm_softc *sc = &apm_softc; local
306 struct apm_softc *sc = &apm_softc; local
336 struct apm_softc *sc = &apm_softc; local
365 struct apm_softc *sc = &apm_softc; local
477 struct apm_softc *sc = &apm_softc; local
516 struct apm_softc *sc = &apm_softc; local
536 struct apm_softc *sc = &apm_softc; local
548 struct apm_softc *sc = &apm_softc; local
577 struct apm_softc *sc = &apm_softc; local
607 struct apm_softc *sc = &apm_softc; local
625 struct apm_softc *sc = &apm_softc; local
661 struct apm_softc *sc = &apm_softc; local
700 struct apm_softc *sc = &apm_softc; local
726 struct apm_softc *sc = &apm_softc; local
751 struct apm_softc *sc = &apm_softc; local
775 struct apm_softc *sc = &apm_softc; local
795 struct apm_softc *sc = &apm_softc; local
817 struct apm_softc *sc = &apm_softc; local
831 struct apm_softc *sc = &apm_softc; local
896 struct apm_softc *sc = &apm_softc; local
1013 apm_record_event(struct apm_softc *sc, u_int event_type) argument
1035 apm_power_profile(struct apm_softc *sc) argument
1056 struct apm_softc *sc = &apm_softc; local
1151 struct apm_softc *sc = &apm_softc; local
1263 struct apm_softc *sc = &apm_softc; local
1287 struct apm_softc *sc = &apm_softc; local
1309 struct apm_softc *sc = &apm_softc; local
1481 struct apm_softc *sc = &apm_softc; local
1511 struct apm_softc *sc = &apm_softc; local
[all...]
/freebsd-11-stable/sys/mips/mediatek/
H A Dmtk_gpio_v1.c103 #define PIC_INTR_ISRC(sc, irq) (&(sc)->pins[(irq)].pin_irqsrc.isrc)
116 #define MTK_GPIO_LOCK(sc) mtx_lock_spin(&(sc)->mtx)
117 #define MTK_GPIO_UNLOCK(sc) mtx_unlock_spin(&(sc)->mtx)
118 #define MTK_GPIO_LOCK_INIT(sc) \
119 mtx_init(&(sc)->mtx, device_get_nameunit((sc)->dev), \
121 #define MTK_GPIO_LOCK_DESTROY(sc) mtx_destro
159 mtk_pic_register_isrcs(struct mtk_gpio_softc *sc) argument
182 mtk_gpio_pin_set_direction(struct mtk_gpio_softc *sc, uint32_t pin, uint32_t dir) argument
204 mtk_gpio_pin_set_invert(struct mtk_gpio_softc *sc, uint32_t pin, uint32_t val) argument
221 mtk_gpio_pin_probe(struct mtk_gpio_softc *sc, uint32_t pin) argument
260 struct mtk_gpio_softc *sc; local
338 struct mtk_gpio_softc *sc = device_get_softc(dev); local
353 struct mtk_gpio_softc *sc = device_get_softc(dev); local
361 struct mtk_gpio_softc *sc = device_get_softc(dev); local
371 struct mtk_gpio_softc *sc = device_get_softc(dev); local
386 struct mtk_gpio_softc *sc = device_get_softc(dev); local
401 struct mtk_gpio_softc *sc = device_get_softc(dev); local
415 struct mtk_gpio_softc *sc; local
437 struct mtk_gpio_softc *sc; local
459 struct mtk_gpio_softc *sc; local
480 struct mtk_gpio_softc *sc; local
507 struct mtk_gpio_softc *sc; local
525 struct mtk_gpio_softc *sc; local
555 struct mtk_gpio_softc *sc; local
592 struct mtk_gpio_softc *sc; local
605 struct mtk_gpio_softc *sc; local
[all...]
/freebsd-11-stable/sys/dev/le/
H A Dam79900.c134 static void am79900_start_locked(struct lance_softc *sc);
142 am79900_config(struct am79900_softc *sc, const char* name, int unit) argument
146 sc->lsc.sc_meminit = am79900_meminit;
147 sc->lsc.sc_start_locked = am79900_start_locked;
149 error = lance_config(&sc->lsc, name, unit);
154 sc->lsc.sc_initaddr = mem;
156 sc->lsc.sc_rmdaddr = mem;
157 mem += sizeof(struct lermd) * sc->lsc.sc_nrbuf;
158 sc->lsc.sc_tmdaddr = mem;
159 mem += sizeof(struct letmd) * sc
174 am79900_detach(struct am79900_softc *sc) argument
184 am79900_meminit(struct lance_softc *sc) argument
250 am79900_rint(struct lance_softc *sc) argument
343 am79900_tint(struct lance_softc *sc) argument
428 struct lance_softc *sc = arg; local
531 am79900_start_locked(struct lance_softc *sc) argument
614 am79900_recv_print(struct lance_softc *sc, int no) argument
636 am79900_xmit_print(struct lance_softc *sc, int no) argument
[all...]
H A Dam7990.c96 static void am7990_start_locked(struct lance_softc *sc);
104 am7990_config(struct am7990_softc *sc, const char* name, int unit) argument
108 sc->lsc.sc_meminit = am7990_meminit;
109 sc->lsc.sc_start_locked = am7990_start_locked;
111 error = lance_config(&sc->lsc, name, unit);
116 sc->lsc.sc_initaddr = mem;
118 sc->lsc.sc_rmdaddr = mem;
119 mem += sizeof(struct lermd) * sc->lsc.sc_nrbuf;
120 sc->lsc.sc_tmdaddr = mem;
121 mem += sizeof(struct letmd) * sc
136 am7990_detach(struct am7990_softc *sc) argument
146 am7990_meminit(struct lance_softc *sc) argument
210 am7990_rint(struct lance_softc *sc) argument
306 am7990_tint(struct lance_softc *sc) argument
390 struct lance_softc *sc = arg; local
493 am7990_start_locked(struct lance_softc *sc) argument
575 am7990_recv_print(struct lance_softc *sc, int no) argument
598 am7990_xmit_print(struct lance_softc *sc, int no) argument
[all...]
/freebsd-11-stable/sys/dev/ae/
H A Dif_ae.c105 static void ae_pcie_init(ae_softc_t *sc);
106 static void ae_phy_reset(ae_softc_t *sc);
107 static void ae_phy_init(ae_softc_t *sc);
108 static int ae_reset(ae_softc_t *sc);
110 static int ae_init_locked(ae_softc_t *sc);
117 static void ae_retrieve_address(ae_softc_t *sc);
120 static int ae_alloc_rings(ae_softc_t *sc);
121 static void ae_dma_free(ae_softc_t *sc);
124 static void ae_powersave_disable(ae_softc_t *sc);
125 static void ae_powersave_enable(ae_softc_t *sc);
238 ae_softc_t *sc; local
406 ae_init_tunables(ae_softc_t *sc) argument
476 ae_pcie_init(ae_softc_t *sc) argument
484 ae_phy_reset(ae_softc_t *sc) argument
492 ae_reset(ae_softc_t *sc) argument
534 ae_softc_t *sc; local
543 ae_phy_init(ae_softc_t *sc) argument
556 ae_init_locked(ae_softc_t *sc) argument
757 struct ae_softc *sc; local
806 ae_softc_t *sc; local
841 ae_softc_t *sc; local
876 ae_softc_t *sc; local
885 ae_softc_t *sc; local
902 ae_softc_t *sc; local
921 ae_check_eeprom_present(ae_softc_t *sc, int *vpdc) argument
941 ae_vpd_read_word(ae_softc_t *sc, int reg, uint32_t *word) argument
970 ae_get_vpd_eaddr(ae_softc_t *sc, uint32_t *eaddr) argument
1033 ae_get_reg_eaddr(ae_softc_t *sc, uint32_t *eaddr) argument
1053 ae_retrieve_address(ae_softc_t *sc) argument
1102 ae_alloc_rings(ae_softc_t *sc) argument
1225 ae_dma_free(ae_softc_t *sc) argument
1270 ae_softc_t *sc; local
1284 ae_powersave_disable(ae_softc_t *sc) argument
1300 ae_powersave_enable(ae_softc_t *sc) argument
1319 ae_pm_init(ae_softc_t *sc) argument
1396 ae_softc_t *sc; local
1411 ae_softc_t *sc; local
1426 ae_tx_avail_size(ae_softc_t *sc) argument
1439 ae_encap(ae_softc_t *sc, struct mbuf **m_head) argument
1515 ae_softc_t *sc; local
1526 ae_softc_t *sc; local
1582 ae_softc_t *sc; local
1638 ae_stop_rxmac(ae_softc_t *sc) argument
1674 ae_stop_txmac(ae_softc_t *sc) argument
1710 ae_mac_config(ae_softc_t *sc) argument
1731 ae_softc_t *sc; local
1753 ae_softc_t *sc; local
1805 ae_tx_intr(ae_softc_t *sc) argument
1882 ae_rxeof(ae_softc_t *sc, ae_rxd_t *rxd) argument
1926 ae_rx_intr(ae_softc_t *sc) argument
1976 ae_watchdog(ae_softc_t *sc) argument
2002 ae_softc_t *sc; local
2016 ae_rxvlan(ae_softc_t *sc) argument
2031 ae_rxfilter(ae_softc_t *sc) argument
2088 struct ae_softc *sc; local
2160 ae_stop(ae_softc_t *sc) argument
[all...]
/freebsd-11-stable/sys/dev/mfi/
H A Dmfi_disk.c94 struct mfi_disk *sc; local
101 sc = device_get_softc(dev);
104 sc->ld_dev = dev;
105 sc->ld_id = ld_info->ld_config.properties.ld.v.target_id;
106 sc->ld_unit = device_get_unit(dev);
107 sc->ld_info = ld_info;
108 sc->ld_controller = device_get_softc(device_get_parent(dev));
109 sc->ld_flags = 0;
113 mtx_lock(&sc->ld_controller->mfi_io_lock);
114 TAILQ_INSERT_TAIL(&sc
181 struct mfi_disk *sc; local
206 struct mfi_disk *sc; local
225 struct mfi_disk *sc; local
236 mfi_disk_disable(struct mfi_disk *sc) argument
251 mfi_disk_enable(struct mfi_disk *sc) argument
261 struct mfi_disk *sc; local
303 struct mfi_disk *sc; local
323 struct mfi_disk *sc; local
[all...]
/freebsd-11-stable/sys/arm/ti/
H A Dti_gpio.c125 static int ti_gpio_pic_attach(struct ti_gpio_softc *sc);
126 static int ti_gpio_pic_detach(struct ti_gpio_softc *sc);
175 * @sc: GPIO device context
184 ti_gpio_read_4(struct ti_gpio_softc *sc, bus_size_t off) argument
186 return (bus_read_4(sc->sc_mem_res, off));
191 * @sc: GPIO device context
200 ti_gpio_write_4(struct ti_gpio_softc *sc, bus_size_t off, argument
203 bus_write_4(sc->sc_mem_res, off, val);
207 ti_gpio_intr_clr(struct ti_gpio_softc *sc, uint32_t mask) argument
211 ti_gpio_write_4(sc, TI_GPIO_IRQSTATUS_CLR_
216 ti_gpio_intr_set(struct ti_gpio_softc *sc, uint32_t mask) argument
227 ti_gpio_intr_ack(struct ti_gpio_softc *sc, uint32_t mask) argument
239 ti_gpio_intr_status(struct ti_gpio_softc *sc) argument
253 struct ti_gpio_softc *sc; local
283 ti_gpio_valid_pin(struct ti_gpio_softc *sc, int pin) argument
318 struct ti_gpio_softc *sc; local
356 struct ti_gpio_softc *sc; local
388 struct ti_gpio_softc *sc; local
423 struct ti_gpio_softc *sc; local
466 struct ti_gpio_softc *sc; local
502 struct ti_gpio_softc *sc; local
541 struct ti_gpio_softc *sc; local
575 struct ti_gpio_softc *sc; local
602 struct ti_gpio_softc *sc; local
669 struct ti_gpio_softc *sc; local
778 struct ti_gpio_softc *sc = device_get_softc(dev); local
818 ti_gpio_rwreg_modify(struct ti_gpio_softc *sc, uint32_t reg, uint32_t mask, bool set_bits) argument
828 ti_gpio_isrc_mask(struct ti_gpio_softc *sc, struct ti_gpio_irqsrc *tgi) argument
836 ti_gpio_isrc_unmask(struct ti_gpio_softc *sc, struct ti_gpio_irqsrc *tgi) argument
844 ti_gpio_isrc_eoi(struct ti_gpio_softc *sc, struct ti_gpio_irqsrc *tgi) argument
864 struct ti_gpio_softc *sc; local
890 ti_gpio_pic_attach(struct ti_gpio_softc *sc) argument
918 ti_gpio_pic_detach(struct ti_gpio_softc *sc) argument
930 ti_gpio_pic_config_intr(struct ti_gpio_softc *sc, struct ti_gpio_irqsrc *tgi, uint32_t mode) argument
950 struct ti_gpio_softc *sc = device_get_softc(dev); local
959 struct ti_gpio_softc *sc = device_get_softc(dev); local
967 ti_gpio_pic_map_fdt(struct ti_gpio_softc *sc, struct intr_map_data_fdt *daf, u_int *irqp, uint32_t *modep) argument
1005 ti_gpio_pic_map_gpio(struct ti_gpio_softc *sc, struct intr_map_data_gpio *dag, u_int *irqp, uint32_t *modep) argument
1026 ti_gpio_pic_map(struct ti_gpio_softc *sc, struct intr_map_data *data, u_int *irqp, uint32_t *modep) argument
1048 struct ti_gpio_softc *sc = device_get_softc(dev); local
1059 struct ti_gpio_softc *sc = device_get_softc(dev); local
1076 struct ti_gpio_softc *sc = device_get_softc(dev); local
1090 struct ti_gpio_softc *sc; local
1118 struct ti_gpio_softc *sc = device_get_softc(dev); local
1128 ti_gpio_intr_reg(struct ti_gpio_softc *sc, int irq) argument
1150 ti_gpio_mask_irq_internal(struct ti_gpio_softc *sc, int irq) argument
1169 ti_gpio_unmask_irq_internal(struct ti_gpio_softc *sc, int irq) argument
1241 struct ti_gpio_softc *sc; local
1283 struct ti_gpio_softc *sc; local
1313 struct ti_gpio_softc *sc; local
[all...]
/freebsd-11-stable/sys/dev/ral/
H A Drt2661.c72 #define DPRINTF(sc, fmt, ...) do { \
73 if (sc->sc_debug > 0) \
76 #define DPRINTFN(sc, n, fmt, ...) do { \
77 if (sc->sc_debug >= (n)) \
81 #define DPRINTF(sc, fmt, ...)
82 #define DPRINTFN(sc, n, fmt, ...)
206 struct rt2661_softc *sc = device_get_softc(dev); local
207 struct ieee80211com *ic = &sc->sc_ic;
211 sc->sc_id = id;
212 sc
333 struct rt2661_softc *sc = xsc; local
361 struct rt2661_softc *sc = ic->ic_softc; local
431 struct rt2661_softc *sc = xsc; local
439 struct rt2661_softc *sc = xsc; local
447 struct rt2661_softc *sc = xsc; local
465 rt2661_alloc_tx_ring(struct rt2661_softc *sc, struct rt2661_tx_ring *ring, int count) argument
530 rt2661_reset_tx_ring(struct rt2661_softc *sc, struct rt2661_tx_ring *ring) argument
563 rt2661_free_tx_ring(struct rt2661_softc *sc, struct rt2661_tx_ring *ring) argument
604 rt2661_alloc_rx_ring(struct rt2661_softc *sc, struct rt2661_rx_ring *ring, int count) argument
698 rt2661_reset_rx_ring(struct rt2661_softc *sc, struct rt2661_rx_ring *ring) argument
711 rt2661_free_rx_ring(struct rt2661_softc *sc, struct rt2661_rx_ring *ring) argument
753 struct rt2661_softc *sc = ic->ic_softc; local
796 rt2661_eeprom_read(struct rt2661_softc *sc, uint8_t addr) argument
850 rt2661_tx_intr(struct rt2661_softc *sc) argument
930 rt2661_tx_dma_intr(struct rt2661_softc *sc, struct rt2661_tx_ring *txq) argument
962 rt2661_rx_intr(struct rt2661_softc *sc) argument
1102 rt2661_mcu_beacon_expire(struct rt2661_softc *sc) argument
1108 rt2661_mcu_wakeup(struct rt2661_softc *sc) argument
1121 rt2661_mcu_cmd_intr(struct rt2661_softc *sc) argument
1130 struct rt2661_softc *sc = arg; local
1212 rt2661_setup_tx_desc(struct rt2661_softc *sc, struct rt2661_tx_desc *desc, uint32_t flags, uint16_t xflags, int len, int rate, const bus_dma_segment_t *segs, int nsegs, int ac) argument
1273 rt2661_tx_mgt(struct rt2661_softc *sc, struct mbuf *m0, struct ieee80211_node *ni) argument
1360 rt2661_sendprot(struct rt2661_softc *sc, int ac, const struct mbuf *m, struct ieee80211_node *ni, int prot, int rate) argument
1430 rt2661_tx_data(struct rt2661_softc *sc, struct mbuf *m0, struct ieee80211_node *ni, int ac) argument
1579 struct rt2661_softc *sc = ic->ic_softc; local
1599 rt2661_start(struct rt2661_softc *sc) argument
1634 struct rt2661_softc *sc = ic->ic_softc; local
1670 struct rt2661_softc *sc = (struct rt2661_softc *)arg; local
1692 struct rt2661_softc *sc = ic->ic_softc; local
1710 rt2661_bbp_write(struct rt2661_softc *sc, uint8_t reg, uint8_t val) argument
1732 rt2661_bbp_read(struct rt2661_softc *sc, uint8_t reg) argument
1762 rt2661_rf_write(struct rt2661_softc *sc, uint8_t reg, uint32_t val) argument
1788 rt2661_tx_cmd(struct rt2661_softc *sc, uint8_t cmd, uint16_t arg) argument
1802 rt2661_select_antenna(struct rt2661_softc *sc) argument
1828 rt2661_enable_mrr(struct rt2661_softc *sc) argument
1844 rt2661_set_txpreamble(struct rt2661_softc *sc) argument
1859 rt2661_set_basicrates(struct rt2661_softc *sc, const struct ieee80211_rateset *rs) argument
1887 rt2661_select_band(struct rt2661_softc *sc, struct ieee80211_channel *c) argument
1929 rt2661_set_chan(struct rt2661_softc *sc, struct ieee80211_channel *c) argument
2002 rt2661_set_bssid(struct rt2661_softc *sc, const uint8_t *bssid) argument
2014 rt2661_set_macaddr(struct rt2661_softc *sc, const uint8_t *addr) argument
2028 struct rt2661_softc *sc = ic->ic_softc; local
2049 struct rt2661_softc *sc = ic->ic_softc; local
2092 struct rt2661_softc *sc = ic->ic_softc; local
2116 rt2661_read_eeprom(struct rt2661_softc *sc, uint8_t macaddr[IEEE80211_ADDR_LEN]) argument
2208 rt2661_bbp_init(struct rt2661_softc *sc) argument
2242 rt2661_init_locked(struct rt2661_softc *sc) argument
2376 struct rt2661_softc *sc = priv; local
2388 rt2661_stop_locked(struct rt2661_softc *sc) argument
2434 struct rt2661_softc *sc = priv; local
2442 rt2661_load_microcode(struct rt2661_softc *sc) argument
2513 rt2661_rx_tune(struct rt2661_softc *sc) argument
2574 rt2661_radar_start(struct rt2661_softc *sc) argument
2606 rt2661_radar_stop(struct rt2661_softc *sc) argument
2626 rt2661_prepare_beacon(struct rt2661_softc *sc, struct ieee80211vap *vap) argument
2661 rt2661_enable_tsf_sync(struct rt2661_softc *sc) argument
2690 rt2661_enable_tsf(struct rt2661_softc *sc) argument
2703 rt2661_get_rssi(struct rt2661_softc *sc, uint8_t raw) argument
2747 struct rt2661_softc *sc = ic->ic_softc; local
2759 struct rt2661_softc *sc = ic->ic_softc; local
2771 struct rt2661_softc *sc = ic->ic_softc; local
2789 struct rt2661_softc *sc = ic->ic_softc; local
[all...]
/freebsd-11-stable/sys/mips/atheros/
H A Dar71xx_gpiovar.h42 #define GPIO_WRITE(sc, reg, val) do { \
43 bus_write_4(sc->gpio_mem_res, (reg), (val)); \
46 #define GPIO_READ(sc, reg) bus_read_4(sc->gpio_mem_res, (reg))
48 #define GPIO_SET_BITS(sc, reg, bits) \
49 GPIO_WRITE(sc, reg, GPIO_READ(sc, (reg)) | (bits))
51 #define GPIO_CLEAR_BITS(sc, reg, bits) \
52 GPIO_WRITE(sc, reg, GPIO_READ(sc, (re
[all...]
/freebsd-11-stable/sys/dev/sound/pci/
H A Dcmi.c149 cmi_rd(struct sc_info *sc, int regno, int size) argument
153 return bus_space_read_1(sc->st, sc->sh, regno);
155 return bus_space_read_2(sc->st, sc->sh, regno);
157 return bus_space_read_4(sc->st, sc->sh, regno);
165 cmi_wr(struct sc_info *sc, int regno, u_int32_t data, int size) argument
169 bus_space_write_1(sc->st, sc
181 cmi_partial_wr4(struct sc_info *sc, int reg, int shift, u_int32_t mask, u_int32_t val) argument
193 cmi_clr4(struct sc_info *sc, int reg, u_int32_t mask) argument
203 cmi_set4(struct sc_info *sc, int reg, u_int32_t mask) argument
254 cmi_dma_prog(struct sc_info *sc, struct sc_chinfo *ch, u_int32_t base) argument
272 cmi_ch0_start(struct sc_info *sc, struct sc_chinfo *ch) argument
284 cmi_ch0_stop(struct sc_info *sc, struct sc_chinfo *ch) argument
297 cmi_ch1_start(struct sc_info *sc, struct sc_chinfo *ch) argument
309 cmi_ch1_stop(struct sc_info *sc, struct sc_chinfo *ch) argument
322 cmi_spdif_speed(struct sc_info *sc, int speed) argument
349 struct sc_info *sc = devinfo; local
380 struct sc_info *sc = ch->parent; local
422 struct sc_info *sc = ch->parent; local
468 struct sc_info *sc = ch->parent; local
483 struct sc_info *sc = ch->parent; local
518 struct sc_info *sc = ch->parent; local
538 struct sc_info *sc = data; local
604 cmimix_wr(struct sc_info *sc, u_int8_t port, u_int8_t val) argument
611 cmimix_rd(struct sc_info *sc, u_int8_t port) argument
654 struct sc_info *sc = mix_getdevinfo(m); local
678 struct sc_info *sc = mix_getdevinfo(m); local
726 struct sc_info *sc = mix_getdevinfo(m); local
753 cmi_initsys(struct sc_info* sc) argument
783 cmi_mread(struct mpu401 *arg, void *sc, int reg) argument
794 cmi_mwrite(struct mpu401 *arg, void *sc, int reg, unsigned char b) argument
803 struct sc_info *sc = cookie; local
823 cmi_midiattach(struct sc_info *sc) argument
851 cmi_power(struct sc_info *sc, int state) argument
865 cmi_init(struct sc_info *sc) argument
893 cmi_uninit(struct sc_info *sc) argument
937 struct sc_info *sc; local
1025 struct sc_info *sc; local
1053 struct sc_info *sc = pcm_getdevinfo(dev); local
1066 struct sc_info *sc = pcm_getdevinfo(dev); local
[all...]
H A Dneomagic.c85 static int nm_loadcoeff(struct sc_info *sc, int dir, int num);
132 nm_rd(struct sc_info *sc, int regno, int size) argument
134 bus_space_tag_t st = rman_get_bustag(sc->reg);
135 bus_space_handle_t sh = rman_get_bushandle(sc->reg);
150 nm_wr(struct sc_info *sc, int regno, u_int32_t data, int size) argument
152 bus_space_tag_t st = rman_get_bustag(sc->reg);
153 bus_space_handle_t sh = rman_get_bushandle(sc->reg);
169 nm_rdbuf(struct sc_info *sc, int regno, int size) argument
171 bus_space_tag_t st = rman_get_bustag(sc->buf);
172 bus_space_handle_t sh = rman_get_bushandle(sc
187 nm_wrbuf(struct sc_info *sc, int regno, u_int32_t data, int size) argument
208 nm_waitcd(struct sc_info *sc) argument
227 struct sc_info *sc = (struct sc_info *)devinfo; local
248 struct sc_info *sc = (struct sc_info *)devinfo; local
264 struct sc_info *sc = (struct sc_info *)devinfo; local
291 nm_ackint(struct sc_info *sc, u_int32_t num) argument
301 nm_loadcoeff(struct sc_info *sc, int dir, int num) argument
325 struct sc_info *sc = ch->parent; local
352 struct sc_info *sc = devinfo; local
410 struct sc_info *sc = ch->parent; local
458 struct sc_info *sc = ch->parent; local
489 struct sc_info *sc = (struct sc_info *)p; local
541 nm_init(struct sc_info *sc) argument
600 struct sc_info *sc = NULL; local
666 struct sc_info *sc; local
730 struct sc_info *sc; local
749 struct sc_info *sc; local
768 struct sc_info *sc; local
[all...]
/freebsd-11-stable/sys/dev/sf/
H A Dif_sf.c234 #define SF_SETBIT(sc, reg, x) \
235 csr_write_4(sc, reg, csr_read_4(sc, reg) | (x))
237 #define SF_CLRBIT(sc, reg, x) \
238 csr_write_4(sc, reg, csr_read_4(sc, reg) & ~(x))
241 csr_read_4(struct sf_softc *sc, int reg) argument
245 if (sc->sf_restype == SYS_RES_MEMORY)
246 val = CSR_READ_4(sc, (reg + SF_RMAP_INTREG_BASE));
248 CSR_WRITE_4(sc, SF_INDIRECTIO_ADD
256 sf_read_eeprom(struct sf_softc *sc, int reg) argument
267 csr_write_4(struct sf_softc *sc, int reg, uint32_t val) argument
284 sf_setperf(struct sf_softc *sc, int idx, uint8_t *mac) argument
309 sf_sethash(struct sf_softc *sc, caddr_t mac, int prio) argument
334 sf_setvlan(struct sf_softc *sc, int idx, uint32_t vlan) argument
350 struct sf_softc *sc; local
375 struct sf_softc *sc; local
395 struct sf_softc *sc; local
453 sf_rxfilter(struct sf_softc *sc) argument
517 struct sf_softc *sc; local
530 struct sf_softc *sc; local
547 struct sf_softc *sc; local
567 struct sf_softc *sc; local
669 sf_reset(struct sf_softc *sc) argument
739 struct sf_softc *sc; local
936 struct sf_softc *sc; local
996 sf_dma_alloc(struct sf_softc *sc) argument
1289 sf_dma_free(struct sf_softc *sc) argument
1390 sf_init_rx_ring(struct sf_softc *sc) argument
1417 sf_init_tx_ring(struct sf_softc *sc) argument
1448 sf_newbuf(struct sf_softc *sc, int idx) argument
1524 sf_rxeof(struct sf_softc *sc) argument
1688 sf_txeof(struct sf_softc *sc) argument
1771 sf_txthresh_adjust(struct sf_softc *sc) argument
1795 struct sf_softc *sc; local
1854 struct sf_softc *sc; local
1935 sf_download_fw(struct sf_softc *sc) argument
1975 struct sf_softc *sc; local
1984 sf_init_locked(struct sf_softc *sc) argument
2155 sf_encap(struct sf_softc *sc, struct mbuf **m_head) argument
2248 struct sf_softc *sc; local
2259 struct sf_softc *sc; local
2315 sf_stop(struct sf_softc *sc) argument
2382 struct sf_softc *sc; local
2402 sf_stats_update(struct sf_softc *sc) argument
2544 sf_watchdog(struct sf_softc *sc) argument
2574 struct sf_softc *sc; local
2588 struct sf_softc *sc; local
2604 struct sf_softc *sc; local
2624 struct sf_softc *sc; local
[all...]
/freebsd-11-stable/sys/dev/tsec/
H A Dif_tsec_fdt.c74 static int tsec_setup_intr(struct tsec_softc *sc, struct resource **ires,
76 static void tsec_release_intr(struct tsec_softc *sc, struct resource *ires,
108 struct tsec_softc *sc; local
122 sc = device_get_softc(dev);
129 sc->is_etsec = 1;
131 sc->sc_rrid = 0;
132 sc->sc_rres = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &sc->sc_rrid,
134 if (sc->sc_rres == NULL)
137 sc
164 struct tsec_softc *sc; local
275 tsec_setup_intr(struct tsec_softc *sc, struct resource **ires, void **ihand, int *irid, driver_intr_t handler, const char *iname) argument
298 tsec_release_intr(struct tsec_softc *sc, struct resource *ires, void *ihand, int irid, const char *iname) argument
320 struct tsec_softc *sc; local
356 tsec_get_hwaddr(struct tsec_softc *sc, uint8_t *addr) argument
[all...]
/freebsd-11-stable/sys/dev/vr/
H A Dif_vr.c244 struct vr_softc *sc; local
247 sc = device_get_softc(dev);
250 CSR_WRITE_1(sc, VR_MIIADDR, reg);
251 VR_SETBIT(sc, VR_MIICMD, VR_MIICMD_READ_ENB);
255 if ((CSR_READ_1(sc, VR_MIICMD) & VR_MIICMD_READ_ENB) == 0)
259 device_printf(sc->vr_dev, "phy read timeout %d:%d\n", phy, reg);
261 return (CSR_READ_2(sc, VR_MIIDATA));
267 struct vr_softc *sc; local
270 sc = device_get_softc(dev);
273 CSR_WRITE_1(sc, VR_MIIADD
297 struct vr_softc *sc; local
383 vr_cam_mask(struct vr_softc *sc, uint32_t mask, int type) argument
395 vr_cam_data(struct vr_softc *sc, int type, int idx, uint8_t *mac) argument
437 vr_set_filter(struct vr_softc *sc) argument
520 vr_reset(const struct vr_softc *sc) argument
594 struct vr_softc *sc; local
816 struct vr_softc *sc = device_get_softc(dev); local
874 vr_dma_alloc(struct vr_softc *sc) argument
1055 vr_dma_free(struct vr_softc *sc) argument
1131 vr_tx_ring_init(struct vr_softc *sc) argument
1168 vr_rx_ring_init(struct vr_softc *sc) argument
1217 vr_newbuf(struct vr_softc *sc, int idx) argument
1281 vr_rxeof(struct vr_softc *sc) argument
1427 vr_txeof(struct vr_softc *sc) argument
1543 struct vr_softc *sc; local
1573 struct vr_softc *sc; local
1589 struct vr_softc *sc; local
1632 vr_tx_underrun(struct vr_softc *sc) argument
1662 struct vr_softc *sc; local
1682 struct vr_softc *sc; local
1742 vr_error(struct vr_softc *sc, uint16_t status) argument
1781 vr_encap(struct vr_softc *sc, struct mbuf **m_head) argument
1946 struct vr_softc *sc; local
1957 struct vr_softc *sc; local
2006 struct vr_softc *sc; local
2015 vr_init_locked(struct vr_softc *sc) argument
2169 struct vr_softc *sc; local
2192 struct vr_softc *sc; local
2211 struct vr_softc *sc; local
2300 vr_watchdog(struct vr_softc *sc) argument
2338 vr_tx_start(struct vr_softc *sc) argument
2357 vr_rx_start(struct vr_softc *sc) argument
2373 vr_tx_stop(struct vr_softc *sc) argument
2395 vr_rx_stop(struct vr_softc *sc) argument
2421 vr_stop(struct vr_softc *sc) argument
2488 struct vr_softc *sc; local
2504 struct vr_softc *sc; local
2523 vr_setwol(struct vr_softc *sc) argument
2580 vr_clrwol(struct vr_softc *sc) argument
2611 struct vr_softc *sc; local
[all...]
/freebsd-11-stable/sys/dev/virtio/pci/
H A Dvirtio_pci.c178 #define vtpci_read_config_1(sc, o) bus_read_1((sc)->vtpci_res, (o))
179 #define vtpci_read_config_2(sc, o) bus_read_2((sc)->vtpci_res, (o))
180 #define vtpci_read_config_4(sc, o) bus_read_4((sc)->vtpci_res, (o))
181 #define vtpci_write_config_1(sc, o, v) bus_write_1((sc)->vtpci_res, (o), (v))
182 #define vtpci_write_config_2(sc, o, v) bus_write_2((sc)
261 struct vtpci_softc *sc; local
311 struct vtpci_softc *sc; local
369 struct vtpci_softc *sc; local
379 struct vtpci_softc *sc; local
390 struct vtpci_softc *sc; local
421 struct vtpci_softc *sc; local
442 struct vtpci_softc *sc; local
467 struct vtpci_softc *sc; local
478 struct vtpci_softc *sc; local
530 struct vtpci_softc *sc; local
589 struct vtpci_softc *sc; local
642 struct vtpci_softc *sc; local
652 struct vtpci_softc *sc; local
662 struct vtpci_softc *sc; local
676 struct vtpci_softc *sc; local
702 struct vtpci_softc *sc; local
725 vtpci_describe_features(struct vtpci_softc *sc, const char *msg, uint64_t features) argument
740 vtpci_probe_and_attach_child(struct vtpci_softc *sc) argument
770 vtpci_alloc_msix(struct vtpci_softc *sc, int nvectors) argument
796 vtpci_alloc_msi(struct vtpci_softc *sc) argument
818 vtpci_alloc_intr_msix_pervq(struct vtpci_softc *sc) argument
841 vtpci_alloc_intr_msix_shared(struct vtpci_softc *sc) argument
859 vtpci_alloc_intr_msi(struct vtpci_softc *sc) argument
877 vtpci_alloc_intr_legacy(struct vtpci_softc *sc) argument
886 vtpci_alloc_interrupt(struct vtpci_softc *sc, int rid, int flags, struct vtpci_interrupt *intr) argument
902 vtpci_alloc_intr_resources(struct vtpci_softc *sc) argument
943 vtpci_setup_legacy_interrupt(struct vtpci_softc *sc, enum intr_type type) argument
956 vtpci_setup_pervq_msix_interrupts(struct vtpci_softc *sc, enum intr_type type) argument
983 vtpci_setup_msix_interrupts(struct vtpci_softc *sc, enum intr_type type) argument
1009 vtpci_setup_interrupts(struct vtpci_softc *sc, enum intr_type type) argument
1032 vtpci_register_msix_vector(struct vtpci_softc *sc, int offset, struct vtpci_interrupt *intr) argument
1059 vtpci_set_host_msix_vectors(struct vtpci_softc *sc) argument
1099 vtpci_reinit_virtqueue(struct vtpci_softc *sc, int idx) argument
1125 vtpci_free_interrupt(struct vtpci_softc *sc, struct vtpci_interrupt *intr) argument
1145 vtpci_free_interrupts(struct vtpci_softc *sc) argument
1173 vtpci_free_virtqueues(struct vtpci_softc *sc) argument
1194 vtpci_release_child_resources(struct vtpci_softc *sc) argument
1202 vtpci_cleanup_setup_intr_attempt(struct vtpci_softc *sc) argument
1221 vtpci_reset(struct vtpci_softc *sc) argument
1232 vtpci_select_virtqueue(struct vtpci_softc *sc, int idx) argument
1241 struct vtpci_softc *sc; local
1266 struct vtpci_softc *sc; local
1285 struct vtpci_softc *sc; local
1322 struct vtpci_softc *sc; local
[all...]
/freebsd-11-stable/sys/dev/rccgpio/
H A Drccgpio.c89 rcc_gpio_modify_bits(struct rcc_gpio_softc *sc, uint32_t reg, uint32_t mask, argument
94 RCC_GPIO_LOCK(sc);
95 value = RCC_READ(sc, reg);
98 RCC_WRITE(sc, reg, value);
99 RCC_GPIO_UNLOCK(sc);
105 struct rcc_gpio_softc *sc; local
107 sc = device_get_softc(dev);
109 return (sc->sc_busdev);
115 struct rcc_gpio_softc *sc; local
117 sc
126 struct rcc_gpio_softc *sc; local
140 struct rcc_gpio_softc *sc; local
155 struct rcc_gpio_softc *sc; local
169 struct rcc_gpio_softc *sc; local
183 struct rcc_gpio_softc *sc; local
206 struct rcc_gpio_softc *sc; local
227 struct rcc_gpio_softc *sc; local
280 struct rcc_gpio_softc *sc; local
328 struct rcc_gpio_softc *sc; local
[all...]
/freebsd-11-stable/sys/dev/tpm/
H A Dtpm_crb.c89 int tpmcrb_transmit(struct tpm_sc *sc, size_t size);
97 static bool tpm_wait_for_u32(struct tpm_sc *sc, bus_size_t off,
99 static bool tpmcrb_request_locality(struct tpm_sc *sc, int locality);
100 static void tpmcrb_relinquish_locality(struct tpm_sc *sc);
101 static bool tpmcrb_cancel_cmd(struct tpm_sc *sc);
152 struct tpm_sc *sc; local
158 sc = &crb_sc->base;
161 sc->dev = dev;
163 sc->mem_rid = 0;
164 sc
234 struct tpm_sc *sc; local
247 tpm_wait_for_u32(struct tpm_sc *sc, bus_size_t off, uint32_t mask, uint32_t val, int32_t timeout) argument
266 tpmcrb_request_locality(struct tpm_sc *sc, int locality) argument
284 tpmcrb_relinquish_locality(struct tpm_sc *sc) argument
291 tpmcrb_cancel_cmd(struct tpm_sc *sc) argument
308 tpmcrb_transmit(struct tpm_sc *sc, size_t length) argument
[all...]
/freebsd-11-stable/sys/dev/mlx/
H A Dmlx_disk.c81 struct mlxd_softc *sc = (struct mlxd_softc *)dp->d_drv1; local
85 if (sc == NULL)
89 MLX_CONFIG_LOCK(sc->mlxd_controller);
90 MLX_IO_LOCK(sc->mlxd_controller);
91 if (sc->mlxd_controller->mlx_state & MLX_STATE_SHUTDOWN) {
92 MLX_IO_UNLOCK(sc->mlxd_controller);
93 MLX_CONFIG_UNLOCK(sc->mlxd_controller);
97 sc->mlxd_flags |= MLXD_OPEN;
98 MLX_IO_UNLOCK(sc->mlxd_controller);
99 MLX_CONFIG_UNLOCK(sc
106 struct mlxd_softc *sc = (struct mlxd_softc *)dp->d_drv1; local
123 struct mlxd_softc *sc = (struct mlxd_softc *)dp->d_drv1; local
147 struct mlxd_softc *sc = bp->bio_disk->d_drv1; local
207 struct mlxd_softc *sc = (struct mlxd_softc *)device_get_softc(dev); local
271 struct mlxd_softc *sc = (struct mlxd_softc *)device_get_softc(dev); local
[all...]
/freebsd-11-stable/sys/dev/terasic/mtl/
H A Dterasic_mtl_reg.c71 struct terasic_mtl_softc *sc; local
79 sc = dev->si_drv1;
80 size = rman_get_size(sc->mtl_reg_res);
89 v = bus_read_4(sc->mtl_reg_res, offset);
100 struct terasic_mtl_softc *sc; local
108 sc = dev->si_drv1;
109 size = rman_get_size(sc->mtl_reg_res);
118 bus_write_4(sc->mtl_reg_res, offset, v);
127 struct terasic_mtl_softc *sc; local
130 sc
142 terasic_mtl_reg_blend_get(struct terasic_mtl_softc *sc, uint32_t *blendp) argument
149 terasic_mtl_reg_blend_set(struct terasic_mtl_softc *sc, uint32_t blend) argument
156 terasic_mtl_blend_default_set(struct terasic_mtl_softc *sc, uint8_t colour) argument
169 terasic_mtl_blend_pixel_set(struct terasic_mtl_softc *sc, uint8_t alpha) argument
182 terasic_mtl_blend_textfg_set(struct terasic_mtl_softc *sc, uint8_t alpha) argument
195 terasic_mtl_blend_textbg_set(struct terasic_mtl_softc *sc, uint8_t alpha) argument
208 terasic_mtl_reg_pixel_endian_set(struct terasic_mtl_softc *sc, int endian_swap) argument
223 terasic_mtl_reg_textcursor_get(struct terasic_mtl_softc *sc, uint8_t *colp, uint8_t *rowp) argument
236 terasic_mtl_reg_textcursor_set(struct terasic_mtl_softc *sc, uint8_t col, uint8_t row) argument
247 terasic_mtl_reg_blank(struct terasic_mtl_softc *sc) argument
254 terasic_mtl_reg_textframebufaddr_get(struct terasic_mtl_softc *sc, uint32_t *addrp) argument
264 terasic_mtl_reg_textframebufaddr_set(struct terasic_mtl_softc *sc, uint32_t addr) argument
273 terasic_mtl_reg_attach(struct terasic_mtl_softc *sc) argument
288 terasic_mtl_reg_detach(struct terasic_mtl_softc *sc) argument
[all...]

Completed in 156 milliseconds

1234567891011>>