Searched refs:sc (Results 126 - 150 of 2317) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/arm/xilinx/
H A Dzy7_slcr.c69 #define ZSLCR_LOCK(sc) mtx_lock(&(sc)->sc_mtx)
70 #define ZSLCR_UNLOCK(sc) mtx_unlock(&(sc)->sc_mtx)
71 #define ZSLCR_LOCK_INIT(sc) \
72 mtx_init(&(sc)->sc_mtx, device_get_nameunit((sc)->dev), \
76 #define RD4(sc, off) (bus_read_4((sc)->mem_res, (off)))
77 #define WR4(sc, of
112 zy7_slcr_unlock(struct zy7_slcr_softc *sc) argument
120 zy7_slcr_lock(struct zy7_slcr_softc *sc) argument
130 struct zy7_slcr_softc *sc = zy7_slcr_softc_p; local
154 struct zy7_slcr_softc *sc = zy7_slcr_softc_p; local
184 struct zy7_slcr_softc *sc = zy7_slcr_softc_p; local
214 struct zy7_slcr_softc *sc = zy7_slcr_softc_p; local
261 struct zy7_slcr_softc *sc = zy7_slcr_softc_p; local
289 struct zy7_slcr_softc *sc = zy7_slcr_softc_p; local
315 struct zy7_slcr_softc *sc = zy7_slcr_softc_p; local
381 struct zy7_slcr_softc *sc = zy7_slcr_softc_p; local
437 struct zy7_slcr_softc *sc = zy7_slcr_softc_p; local
461 struct zy7_slcr_softc *sc = zy7_slcr_softc_p; local
485 struct zy7_slcr_softc *sc = zy7_slcr_softc_p; local
501 struct zy7_slcr_softc *sc = zy7_slcr_softc_p; local
518 struct zy7_slcr_softc *sc = zy7_slcr_softc_p; local
533 struct zy7_slcr_softc *sc = zy7_slcr_softc_p; local
562 struct zy7_slcr_softc *sc = device_get_softc(dev); local
677 struct zy7_slcr_softc *sc = device_get_softc(dev); local
[all...]
/freebsd-11-stable/sys/dev/gpio/
H A Dchvgpio.c120 chvgpio_read_pad_cfg0(struct chvgpio_softc *sc, int pin) argument
122 return bus_read_4(sc->sc_mem_res, chvgpio_pad_cfg0_offset(pin));
126 chvgpio_write_pad_cfg0(struct chvgpio_softc *sc, int pin, uint32_t val) argument
128 bus_write_4(sc->sc_mem_res, chvgpio_pad_cfg0_offset(pin), val);
132 chvgpio_read_pad_cfg1(struct chvgpio_softc *sc, int pin) argument
134 return bus_read_4(sc->sc_mem_res, chvgpio_pad_cfg0_offset(pin) + 4);
140 struct chvgpio_softc *sc; local
142 sc = device_get_softc(dev);
144 return (sc->sc_busdev);
150 struct chvgpio_softc *sc; local
160 chvgpio_valid_pin(struct chvgpio_softc *sc, int pin) argument
174 struct chvgpio_softc *sc; local
189 struct chvgpio_softc *sc; local
205 struct chvgpio_softc *sc; local
235 struct chvgpio_softc *sc; local
273 struct chvgpio_softc *sc; local
295 struct chvgpio_softc *sc; local
319 struct chvgpio_softc *sc; local
357 struct chvgpio_softc *sc; local
460 struct chvgpio_softc *sc = arg; local
475 struct chvgpio_softc *sc; local
[all...]
/freebsd-11-stable/sys/dev/tpm/
H A Dtpm_tis.c77 static int tpmtis_transmit(struct tpm_sc *sc, size_t length);
86 static bool tpmtis_setup_intr(struct tpm_sc *sc);
88 static bool tpmtis_read_bytes(struct tpm_sc *sc, size_t count, uint8_t *buf);
89 static bool tpmtis_write_bytes(struct tpm_sc *sc, size_t count, uint8_t *buf);
90 static bool tpmtis_request_locality(struct tpm_sc *sc, int locality);
91 static void tpmtis_relinquish_locality(struct tpm_sc *sc);
92 static bool tpmtis_go_ready(struct tpm_sc *sc);
94 static bool tpm_wait_for_u32(struct tpm_sc *sc, bus_size_t off,
97 static uint16_t tpmtis_wait_for_burst(struct tpm_sc *sc);
124 struct tpm_sc *sc; local
163 struct tpm_sc *sc; local
185 struct tpm_sc *sc; local
206 tpmtis_setup_intr(struct tpm_sc *sc) argument
236 struct tpm_sc *sc; local
248 tpm_wait_for_u32(struct tpm_sc *sc, bus_size_t off, uint32_t mask, uint32_t val, int32_t timeout) argument
276 tpmtis_wait_for_burst(struct tpm_sc *sc) argument
295 tpmtis_read_bytes(struct tpm_sc *sc, size_t count, uint8_t *buf) argument
315 tpmtis_write_bytes(struct tpm_sc *sc, size_t count, uint8_t *buf) argument
336 tpmtis_request_locality(struct tpm_sc *sc, int locality) argument
368 tpmtis_relinquish_locality(struct tpm_sc *sc) argument
382 tpmtis_go_ready(struct tpm_sc *sc) argument
399 tpmtis_transmit(struct tpm_sc *sc, size_t length) argument
[all...]
/freebsd-11-stable/sys/dev/cfi/
H A Dcfi_core.c67 cfi_read_raw(struct cfi_softc *sc, u_int ofs) argument
71 ofs &= ~(sc->sc_width - 1);
72 switch (sc->sc_width) {
74 val = bus_space_read_1(sc->sc_tag, sc->sc_handle, ofs);
77 val = bus_space_read_2(sc->sc_tag, sc->sc_handle, ofs);
80 val = bus_space_read_4(sc->sc_tag, sc->sc_handle, ofs);
90 cfi_read(struct cfi_softc *sc, u_in argument
122 cfi_write(struct cfi_softc *sc, u_int ofs, u_int val) argument
149 cfi_read_qry(struct cfi_softc *sc, u_int ofs) argument
160 cfi_amd_write(struct cfi_softc *sc, u_int ofs, u_int addr, u_int data) argument
189 struct cfi_softc *sc; local
285 struct cfi_softc *sc; local
439 cfi_add_sysctls(struct cfi_softc *sc) argument
480 struct cfi_softc *sc; local
491 cfi_wait_ready(struct cfi_softc *sc, u_int ofs, sbintime_t start, enum cfi_wait_cmd cmd) argument
563 cfi_write_block(struct cfi_softc *sc) argument
776 cfi_get16(struct cfi_softc *sc, int off) argument
784 cfi_put16(struct cfi_softc *sc, int off, uint16_t v) argument
794 cfi_intel_get_factory_pr(struct cfi_softc *sc, uint64_t *id) argument
813 cfi_intel_get_oem_pr(struct cfi_softc *sc, uint64_t *id) argument
833 cfi_intel_set_oem_pr(struct cfi_softc *sc, uint64_t id) argument
870 cfi_intel_get_plr(struct cfi_softc *sc, uint32_t *plr) argument
888 cfi_intel_set_plr(struct cfi_softc *sc) argument
[all...]
H A Dcfi_disk.c87 struct cfi_disk_softc *sc = device_get_softc(dev); local
89 sc->parent = device_get_softc(device_get_parent(dev));
91 if (sc->parent->sc_width != 1 &&
92 sc->parent->sc_width != 2 &&
93 sc->parent->sc_width != 4)
96 sc->disk = disk_alloc();
97 if (sc->disk == NULL)
99 sc->disk->d_name = "cfid";
100 sc->disk->d_unit = device_get_unit(dev);
101 sc
140 struct cfi_disk_softc *sc = device_get_softc(dev); local
154 struct cfi_disk_softc *sc = dp->d_drv1; local
164 struct cfi_disk_softc *sc = dp->d_drv1; local
171 cfi_disk_read(struct cfi_softc *sc, struct bio *bp) argument
216 cfi_disk_write(struct cfi_softc *sc, struct bio *bp) argument
265 struct cfi_disk_softc *sc = arg; local
291 struct cfi_softc *sc; local
314 struct cfi_disk_softc *sc = bp->bio_disk->d_drv1; local
[all...]
/freebsd-11-stable/sys/sparc64/sbus/
H A Dlsi64854.c123 lsi64854_attach(struct lsi64854_softc *sc) argument
133 sc->sc_maxdmasize = MAX_DMA_SZ;
135 switch (sc->sc_channel) {
137 nsc = sc->sc_client;
139 device_printf(sc->sc_dev, "mutex not initialized\n");
144 sc->sc_maxdmasize = nsc->sc_maxxfer;
145 sc->intr = lsi64854_scsi_intr;
146 sc->setup = lsi64854_setup;
149 sc->intr = lsi64854_enet_intr;
152 sc
220 lsi64854_detach(struct lsi64854_softc *sc) argument
297 lsi64854_reset(struct lsi64854_softc *sc) argument
374 struct lsi64854_softc *sc; local
392 lsi64854_setup(struct lsi64854_softc *sc, void **addr, size_t *len, int datain, size_t *dmasize) argument
473 struct lsi64854_softc *sc = arg; local
595 struct lsi64854_softc *sc = arg; local
632 struct lsi64854_softc *sc; local
652 lsi64854_setup_pp(struct lsi64854_softc *sc, void **addr, size_t *len, int datain, size_t *dmasize) argument
711 struct lsi64854_softc *sc = arg; local
[all...]
/freebsd-11-stable/sys/dev/iwm/
H A Dif_iwm_pcie_trans.c171 iwm_read_prph(struct iwm_softc *sc, uint32_t addr) argument
173 IWM_WRITE(sc,
175 IWM_BARRIER_READ_WRITE(sc);
176 return IWM_READ(sc, IWM_HBUS_TARG_PRPH_RDAT);
180 iwm_write_prph(struct iwm_softc *sc, uint32_t addr, uint32_t val) argument
182 IWM_WRITE(sc,
184 IWM_BARRIER_WRITE(sc);
185 IWM_WRITE(sc, IWM_HBUS_TARG_PRPH_WDAT, val);
191 iwm_read_mem(struct iwm_softc *sc, uint32_t addr, void *buf, int dwords) argument
196 if (iwm_nic_lock(sc)) {
210 iwm_write_mem(struct iwm_softc *sc, uint32_t addr, const void *buf, int dwords) argument
232 iwm_write_mem32(struct iwm_softc *sc, uint32_t addr, uint32_t val) argument
238 iwm_poll_bit(struct iwm_softc *sc, int reg, uint32_t bits, uint32_t mask, int timo) argument
254 iwm_nic_lock(struct iwm_softc *sc) argument
283 iwm_nic_unlock(struct iwm_softc *sc) argument
293 iwm_set_bits_mask_prph(struct iwm_softc *sc, uint32_t reg, uint32_t bits, uint32_t mask) argument
308 iwm_set_bits_prph(struct iwm_softc *sc, uint32_t reg, uint32_t bits) argument
314 iwm_clear_bits_prph(struct iwm_softc *sc, uint32_t reg, uint32_t bits) argument
324 iwm_enable_rfkill_int(struct iwm_softc *sc) argument
331 iwm_check_rfkill(struct iwm_softc *sc) argument
357 iwm_set_hw_ready(struct iwm_softc *sc) argument
377 iwm_prepare_card_hw(struct iwm_softc *sc) argument
407 iwm_apm_config(struct iwm_softc *sc) argument
429 iwm_apm_init(struct iwm_softc *sc) argument
549 iwm_apm_stop(struct iwm_softc *sc) argument
563 iwm_start_hw(struct iwm_softc *sc) argument
585 iwm_set_pwr(struct iwm_softc *sc) argument
593 iwm_pcie_rx_stop(struct iwm_softc *sc) argument
608 iwm_pcie_clear_cmd_in_flight(struct iwm_softc *sc) argument
625 iwm_pcie_set_cmd_in_flight(struct iwm_softc *sc) argument
[all...]
/freebsd-11-stable/sys/dev/sound/pci/
H A Datiixp.c218 atiixp_enable_interrupts(struct atiixp_info *sc) argument
223 atiixp_wr(sc, ATI_REG_ISR, 0xffffffff);
226 value = atiixp_rd(sc, ATI_REG_IER);
245 atiixp_wr(sc, ATI_REG_IER, value);
249 atiixp_disable_interrupts(struct atiixp_info *sc) argument
252 atiixp_wr(sc, ATI_REG_IER, 0);
255 atiixp_wr(sc, ATI_REG_ISR, 0xffffffff);
259 atiixp_reset_aclink(struct atiixp_info *sc) argument
264 value = atiixp_rd(sc, ATI_REG_CMD);
268 atiixp_wr(sc, ATI_REG_CM
361 atiixp_waitready_codec(struct atiixp_info *sc) argument
378 struct atiixp_info *sc = devinfo; local
410 struct atiixp_info *sc = devinfo; local
438 struct atiixp_info *sc = devinfo; local
489 struct atiixp_info *sc = ch->parent; local
534 struct atiixp_info *sc = ch->parent; local
572 struct atiixp_info *sc = ch->parent; local
582 struct atiixp_info *sc = ch->parent; local
608 struct atiixp_info *sc = ch->parent; local
690 struct atiixp_info *sc = arg; local
721 struct atiixp_info *sc = ch->parent; local
829 struct atiixp_info *sc = ch->parent; local
871 struct atiixp_info *sc = p; local
930 struct atiixp_info *sc = (struct atiixp_info *)p; local
935 atiixp_chip_pre_init(struct atiixp_info *sc) argument
964 struct atiixp_info *sc; local
1004 struct atiixp_info *sc = (struct atiixp_info *)arg; local
1118 atiixp_release_resource(struct atiixp_info *sc) argument
1190 struct atiixp_info *sc; local
1314 struct atiixp_info *sc; local
1334 struct atiixp_info *sc = pcm_getdevinfo(dev); local
1365 struct atiixp_info *sc = pcm_getdevinfo(dev); local
[all...]
/freebsd-11-stable/sys/dev/terasic/mtl/
H A Dterasic_mtl.c73 terasic_mtl_attach(struct terasic_mtl_softc *sc) argument
77 error = terasic_mtl_reg_attach(sc);
80 error = terasic_mtl_pixel_attach(sc);
83 error = terasic_mtl_text_attach(sc);
91 terasic_mtl_reg_pixel_endian_set(sc, BYTE_ORDER == BIG_ENDIAN);
92 error = terasic_mtl_fbd_attach(sc);
95 terasic_mtl_blend_pixel_set(sc, TERASIC_MTL_ALPHA_OPAQUE);
96 terasic_mtl_blend_textfg_set(sc, TERASIC_MTL_ALPHA_TRANSPARENT);
97 terasic_mtl_blend_textbg_set(sc, TERASIC_MTL_ALPHA_TRANSPARENT);
100 error = terasic_mtl_syscons_attach(sc);
117 terasic_mtl_detach(struct terasic_mtl_softc *sc) argument
[all...]
/freebsd-11-stable/sys/dev/usb/controller/
H A Dsaf1761_otg_boot.c78 struct saf1761_otg_softc *sc = device_get_softc(dev); local
82 sc->sc_hw_mode |= SOTG_HW_MODE_CTRL_DATA_BUS_WIDTH;
85 sc->sc_bus.parent = dev;
86 sc->sc_bus.devices = sc->sc_devices;
87 sc->sc_bus.devices_max = SOTG_MAX_DEVICES;
88 sc->sc_bus.dma_bits = 32;
91 if (usb_bus_mem_alloc_all(&sc->sc_bus, USB_GET_DMA_TAG(dev), NULL))
94 sc->sc_io_res = (void *)1;
95 sc
126 struct saf1761_otg_softc *sc = device_get_softc(dev); local
[all...]
/freebsd-11-stable/sys/geom/eli/
H A Dg_eli_key_cache.c75 g_eli_key_fill(struct g_eli_softc *sc, struct g_eli_key *key, uint64_t keyno) argument
83 if ((sc->sc_flags & G_ELI_FLAG_ENC_IVKEY) != 0)
84 ekey = sc->sc_mkey;
86 ekey = sc->sc_ekey;
102 g_eli_key_allocate(struct g_eli_softc *sc, uint64_t keyno) argument
106 mtx_assert(&sc->sc_ekeys_lock, MA_OWNED);
107 mtx_unlock(&sc->sc_ekeys_lock);
110 g_eli_key_fill(sc, key, keyno);
112 mtx_lock(&sc->sc_ekeys_lock);
117 ekey = RB_FIND(g_eli_key_tree, &sc
133 g_eli_key_find_last(struct g_eli_softc *sc) argument
148 g_eli_key_replace(struct g_eli_softc *sc, struct g_eli_key *key, uint64_t keyno) argument
166 g_eli_key_remove(struct g_eli_softc *sc, struct g_eli_key *key) argument
181 g_eli_key_init(struct g_eli_softc *sc) argument
236 g_eli_key_destroy(struct g_eli_softc *sc) argument
259 g_eli_key_hold(struct g_eli_softc *sc, off_t offset, size_t blocksize) argument
318 g_eli_key_drop(struct g_eli_softc *sc, uint8_t *rawkey) argument
[all...]
/freebsd-11-stable/sys/dev/bfe/
H A Dif_bfe.c114 static void bfe_get_config (struct bfe_softc *sc);
127 static void bfe_dma_free (struct bfe_softc *sc);
187 bfe_dma_alloc(struct bfe_softc *sc) argument
198 error = bus_dma_tag_create(bus_get_dma_tag(sc->bfe_dev), /* parent */
208 &sc->bfe_parent_tag);
210 device_printf(sc->bfe_dev, "cannot create parent DMA tag.\n");
215 error = bus_dma_tag_create(sc->bfe_parent_tag, /* parent */
225 &sc->bfe_tx_tag);
227 device_printf(sc->bfe_dev, "cannot create Tx ring DMA tag.\n");
232 error = bus_dma_tag_create(sc
359 bfe_dma_free(struct bfe_softc *sc) argument
434 struct bfe_softc *sc; local
540 struct bfe_softc *sc; local
579 struct bfe_softc *sc; local
593 struct bfe_softc *sc; local
606 struct bfe_softc *sc; local
627 struct bfe_softc *sc; local
639 struct bfe_softc *sc; local
650 struct bfe_softc *sc; local
696 bfe_tx_ring_free(struct bfe_softc *sc) argument
716 bfe_rx_ring_free(struct bfe_softc *sc) argument
736 bfe_list_rx_init(struct bfe_softc *sc) argument
759 bfe_list_tx_init(struct bfe_softc *sc) argument
773 bfe_discard_buf(struct bfe_softc *sc, int c) argument
784 bfe_list_newbuf(struct bfe_softc *sc, int c) argument
837 bfe_get_config(struct bfe_softc *sc) argument
858 bfe_pci_setup(struct bfe_softc *sc, u_int32_t cores) argument
878 bfe_clear_stats(struct bfe_softc *sc) argument
892 bfe_resetphy(struct bfe_softc *sc) argument
907 bfe_chip_halt(struct bfe_softc *sc) argument
923 bfe_chip_reset(struct bfe_softc *sc) argument
1006 bfe_core_disable(struct bfe_softc *sc) argument
1028 bfe_core_reset(struct bfe_softc *sc) argument
1059 bfe_cam_write(struct bfe_softc *sc, u_char *data, int index) argument
1078 bfe_set_rx_mode(struct bfe_softc *sc) argument
1136 bfe_release_resources(struct bfe_softc *sc) argument
1154 bfe_read_eeprom(struct bfe_softc *sc, u_int8_t *data) argument
1164 bfe_wait_bit(struct bfe_softc *sc, u_int32_t reg, u_int32_t bit, u_long timeout, const int clear) argument
1188 bfe_readphy(struct bfe_softc *sc, u_int32_t reg, u_int32_t *val) argument
1206 bfe_writephy(struct bfe_softc *sc, u_int32_t reg, u_int32_t val) argument
1227 bfe_setupphy(struct bfe_softc *sc) argument
1244 bfe_stats_update(struct bfe_softc *sc) argument
1332 bfe_txeof(struct bfe_softc *sc) argument
1376 bfe_rxeof(struct bfe_softc *sc) argument
1443 struct bfe_softc *sc = xsc; local
1504 bfe_encap(struct bfe_softc *sc, struct mbuf **m_head) argument
1607 struct bfe_softc *sc; local
1688 struct bfe_softc *sc = (struct bfe_softc*)xsc; local
1733 struct bfe_softc *sc; local
1756 struct bfe_softc *sc = ifp->if_softc; local
1770 struct bfe_softc *sc = ifp->if_softc; local
1808 bfe_watchdog(struct bfe_softc *sc) argument
1832 struct bfe_softc *sc = xsc; local
1849 bfe_stop(struct bfe_softc *sc) argument
1869 struct bfe_softc *sc; local
[all...]
/freebsd-11-stable/sys/arm/ti/
H A Dti_i2c.c159 * @sc: I2C device context
170 ti_i2c_read_2(struct ti_i2c_softc *sc, bus_size_t off) argument
173 return (bus_read_2(sc->sc_mem_res, off));
178 * @sc: I2C device context
189 ti_i2c_write_2(struct ti_i2c_softc *sc, bus_size_t off, uint16_t val) argument
192 bus_write_2(sc->sc_mem_res, off, val);
196 ti_i2c_transfer_intr(struct ti_i2c_softc* sc, uint16_t status) argument
205 ti_i2c_dbg(sc, "NACK\n");
206 ti_i2c_write_2(sc, I2C_REG_STATUS, I2C_STAT_NACK);
207 sc
320 struct ti_i2c_softc *sc; local
374 struct ti_i2c_softc *sc; local
474 ti_i2c_reset(struct ti_i2c_softc *sc, u_char speed) argument
676 struct ti_i2c_softc *sc; local
693 struct ti_i2c_softc *sc; local
723 struct ti_i2c_softc *sc = device_get_softc(dev); local
758 struct ti_i2c_softc *sc; local
779 struct ti_i2c_softc *sc; local
822 struct ti_i2c_softc *sc; local
922 struct ti_i2c_softc *sc; local
[all...]
H A Dti_adc.c93 ti_adc_ev_report(struct ti_adc_softc *sc) argument
96 evdev_push_event(sc->sc_evdev, EV_ABS, ABS_X, sc->sc_x);
97 evdev_push_event(sc->sc_evdev, EV_ABS, ABS_Y, sc->sc_y);
98 evdev_push_event(sc->sc_evdev, EV_KEY, BTN_TOUCH, sc->sc_pen_down);
99 evdev_sync(sc->sc_evdev);
104 ti_adc_enable(struct ti_adc_softc *sc) argument
108 TI_ADC_LOCK_ASSERT(sc);
142 ti_adc_disable(struct ti_adc_softc *sc) argument
182 ti_adc_setup(struct ti_adc_softc *sc) argument
210 ti_adc_input_setup(struct ti_adc_softc *sc, int32_t ain) argument
245 ti_adc_reset(struct ti_adc_softc *sc) argument
262 struct ti_adc_softc *sc; local
302 struct ti_adc_softc *sc; local
334 struct ti_adc_softc *sc; local
362 struct ti_adc_softc *sc; local
390 ti_adc_read_data(struct ti_adc_softc *sc) argument
427 ti_adc_tsc_read_data(struct ti_adc_softc *sc) argument
484 ti_adc_intr_locked(struct ti_adc_softc *sc, uint32_t status) argument
492 ti_adc_tsc_intr_locked(struct ti_adc_softc *sc, uint32_t status) argument
503 struct ti_adc_softc *sc; local
550 ti_adc_sysctl_init(struct ti_adc_softc *sc) argument
595 ti_adc_inputs_init(struct ti_adc_softc *sc) argument
615 ti_adc_tsc_init(struct ti_adc_softc *sc) argument
691 ti_adc_idlestep_init(struct ti_adc_softc *sc) argument
701 ti_adc_config_wires(struct ti_adc_softc *sc, int *wire_configs, int nwire_configs) argument
749 struct ti_adc_softc *sc; local
917 struct ti_adc_softc *sc; local
[all...]
/freebsd-11-stable/sys/dev/acpica/
H A Dacpi_thermal.c131 static int acpi_tz_establish(struct acpi_tz_softc *sc);
135 static void acpi_tz_getparam(struct acpi_tz_softc *sc, char *node,
137 static void acpi_tz_sanity(struct acpi_tz_softc *sc, int *val, char *what);
144 static void acpi_tz_signal(struct acpi_tz_softc *sc, int flags);
145 static void acpi_tz_timeout(struct acpi_tz_softc *sc, int flags);
148 static int acpi_tz_cooling_is_available(struct acpi_tz_softc *sc);
149 static int acpi_tz_cooling_thread_start(struct acpi_tz_softc *sc);
201 struct acpi_tz_softc *sc; local
208 sc = device_get_softc(dev);
209 sc
333 struct acpi_tz_softc *sc; local
384 acpi_tz_establish(struct acpi_tz_softc *sc) argument
469 acpi_tz_get_temperature(struct acpi_tz_softc *sc) argument
501 struct acpi_tz_softc *sc; local
661 struct acpi_tz_softc *sc = (struct acpi_tz_softc *)arg; local
689 acpi_tz_getparam(struct acpi_tz_softc *sc, char *node, int *data) argument
709 acpi_tz_sanity(struct acpi_tz_softc *sc, int *val, char *what) argument
743 struct acpi_tz_softc *sc; local
766 struct acpi_tz_softc *sc; local
794 struct acpi_tz_softc *sc; local
823 struct acpi_tz_softc *sc; local
847 struct acpi_tz_softc *sc = (struct acpi_tz_softc *)context; local
873 acpi_tz_signal(struct acpi_tz_softc *sc, int flags) argument
890 acpi_tz_timeout(struct acpi_tz_softc *sc, int flags) argument
923 struct acpi_tz_softc *sc = (struct acpi_tz_softc *)arg; local
960 struct acpi_tz_softc **sc; local
1012 acpi_tz_cpufreq_restore(struct acpi_tz_softc *sc) argument
1031 acpi_tz_cpufreq_update(struct acpi_tz_softc *sc, int req) argument
1139 struct acpi_tz_softc *sc; local
1193 acpi_tz_cooling_is_available(struct acpi_tz_softc *sc) argument
1201 acpi_tz_cooling_thread_start(struct acpi_tz_softc *sc) argument
[all...]
/freebsd-11-stable/sys/dev/dc/
H A Dif_dc.c362 #define DC_SETBIT(sc, reg, x) \
363 CSR_WRITE_4(sc, reg, CSR_READ_4(sc, reg) | (x))
365 #define DC_CLRBIT(sc, reg, x) \
366 CSR_WRITE_4(sc, reg, CSR_READ_4(sc, reg) & ~(x))
368 #define SIO_SET(x) DC_SETBIT(sc, DC_SIO, (x))
369 #define SIO_CLR(x) DC_CLRBIT(sc, DC_SIO, (x))
372 dc_delay(struct dc_softc *sc) argument
377 CSR_READ_4(sc, DC_BUSCT
381 dc_eeprom_width(struct dc_softc *sc) argument
445 dc_eeprom_idle(struct dc_softc *sc) argument
476 dc_eeprom_putbyte(struct dc_softc *sc, int addr) argument
516 dc_eeprom_getword_pnic(struct dc_softc *sc, int addr, uint16_t *dest) argument
539 dc_eeprom_getword_xircom(struct dc_softc *sc, int addr, uint16_t *dest) argument
558 dc_eeprom_getword(struct dc_softc *sc, int addr, uint16_t *dest) argument
604 dc_read_eeprom(struct dc_softc *sc, caddr_t dest, int off, int cnt, int be) argument
630 struct dc_softc *sc; local
645 struct dc_softc *sc; local
660 struct dc_softc *sc; local
769 struct dc_softc *sc; local
842 struct dc_softc *sc; local
885 struct dc_softc *sc; local
905 dc_mchash_le(struct dc_softc *sc, const uint8_t *addr) argument
962 dc_setfilt_21143(struct dc_softc *sc) argument
1036 dc_setfilt_admtek(struct dc_softc *sc) argument
1097 dc_setfilt_asix(struct dc_softc *sc) argument
1167 dc_setfilt_uli(struct dc_softc *sc) argument
1258 dc_setfilt_xircom(struct dc_softc *sc) argument
1332 dc_setfilt(struct dc_softc *sc) argument
1353 dc_netcfg_wait(struct dc_softc *sc) argument
1384 dc_setcfg(struct dc_softc *sc, int media) argument
1503 dc_reset(struct dc_softc *sc) argument
1590 dc_apply_fixup(struct dc_softc *sc, int media) argument
1620 dc_decode_leaf_sia(struct dc_softc *sc, struct dc_eblock_sia *l) argument
1669 dc_decode_leaf_sym(struct dc_softc *sc, struct dc_eblock_sym *l) argument
1695 dc_decode_leaf_mii(struct dc_softc *sc, struct dc_eblock_mii *l) argument
1723 dc_read_srom(struct dc_softc *sc, int bits) argument
1738 dc_parse_21143_srom(struct dc_softc *sc) argument
1808 dc_dma_alloc(struct dc_softc *sc) argument
1952 dc_dma_free(struct dc_softc *sc) argument
2018 struct dc_softc *sc; local
2523 struct dc_softc *sc; local
2580 dc_list_tx_init(struct dc_softc *sc) argument
2613 dc_list_rx_init(struct dc_softc *sc) argument
2642 dc_newbuf(struct dc_softc *sc, int i) argument
2744 dc_pnic_rx_bug_war(struct dc_softc *sc, int idx) argument
2809 dc_rx_resync(struct dc_softc *sc) argument
2834 dc_discard_rxbuf(struct dc_softc *sc, int i) argument
2854 dc_rxeof(struct dc_softc *sc) argument
2976 dc_txeof(struct dc_softc *sc) argument
3087 struct dc_softc *sc; local
3165 dc_tx_underrun(struct dc_softc *sc) argument
3226 struct dc_softc *sc = ifp->if_softc; local
3285 struct dc_softc *sc; local
3374 dc_encap(struct dc_softc *sc, struct mbuf **m_head) argument
3507 struct dc_softc *sc; local
3525 struct dc_softc *sc; local
3582 struct dc_softc *sc = xsc; local
3590 dc_init_locked(struct dc_softc *sc) argument
3788 struct dc_softc *sc; local
3799 dc_ifmedia_upd_locked(struct dc_softc *sc) argument
3828 struct dc_softc *sc; local
3853 struct dc_softc *sc = ifp->if_softc; local
3928 struct dc_softc *sc = xsc; local
3954 dc_stop(struct dc_softc *sc) argument
4036 struct dc_softc *sc; local
4055 struct dc_softc *sc; local
4079 struct dc_softc *sc; local
4091 dc_check_multiport(struct dc_softc *sc) argument
[all...]
/freebsd-11-stable/sys/dev/ed/
H A Dif_ed_3c503.c64 static void ed_3c503_mediachg(struct ed_softc *sc);
72 struct ed_softc *sc = device_get_softc(dev); local
83 sc->asic_offset = ED_3COM_ASIC_OFFSET;
84 sc->nic_offset = ED_3COM_NIC_OFFSET;
90 switch (ed_asic_inb(sc, ED_3COM_BCFR)) {
92 if (rman_get_start(sc->port_res) != 0x300)
96 if (rman_get_start(sc->port_res) != 0x310)
100 if (rman_get_start(sc->port_res) != 0x330)
104 if (rman_get_start(sc->port_res) != 0x350)
108 if (rman_get_start(sc
358 ed_3c503_mediachg(struct ed_softc *sc) argument
[all...]
/freebsd-11-stable/sys/dev/lmc/
H A Dif_lmc.c148 shift_srom_bits(softc_t *sc, u_int32_t data, u_int32_t len) argument
167 read_srom(softc_t *sc, u_int8_t addr) argument
179 shift_srom_bits(sc, 6, 4); /* issue read cmd */
180 shift_srom_bits(sc, addr, 6); /* issue address */
200 write_srom(softc_t *sc, u_int8_t addr, u_int16_t data) argument
212 shift_srom_bits(sc, 4, 4); /* issue write enable cmd */
213 shift_srom_bits(sc, 63, 6); /* issue address */
220 shift_srom_bits(sc, 7, 4); /* issue erase cmd */
221 shift_srom_bits(sc, addr, 6); /* issue address */
230 shift_srom_bits(sc,
253 read_bios(softc_t *sc, u_int32_t addr) argument
277 write_bios_phys(softc_t *sc, u_int32_t addr, u_int8_t data) argument
300 write_bios(softc_t *sc, u_int32_t addr, u_int8_t data) argument
334 erase_bios(softc_t *sc) argument
370 shift_mii_bits(softc_t *sc, u_int32_t data, u_int32_t len) argument
390 read_mii(softc_t *sc, u_int8_t regad) argument
421 write_mii(softc_t *sc, u_int8_t regad, u_int16_t data) argument
437 set_mii16_bits(softc_t *sc, u_int16_t bits) argument
445 clr_mii16_bits(softc_t *sc, u_int16_t bits) argument
453 set_mii17_bits(softc_t *sc, u_int16_t bits) argument
461 clr_mii17_bits(softc_t *sc, u_int16_t bits) argument
476 led_off(softc_t *sc, u_int16_t led) argument
483 led_on(softc_t *sc, u_int16_t led) argument
490 led_inv(softc_t *sc, u_int16_t led) argument
503 write_framer(softc_t *sc, u_int16_t addr, u_int8_t data) argument
510 read_framer(softc_t *sc, u_int16_t addr) argument
530 make_gpio_input(softc_t *sc, u_int32_t bits) argument
537 make_gpio_output(softc_t *sc, u_int32_t bits) argument
544 read_gpio(softc_t *sc) argument
550 set_gpio_bits(softc_t *sc, u_int32_t bits) argument
556 clr_gpio_bits(softc_t *sc, u_int32_t bits) argument
565 reset_xilinx(softc_t *sc) argument
582 load_xilinx_from_rom(softc_t *sc) argument
612 load_xilinx_from_file(softc_t *sc, char *addr, u_int32_t len) argument
676 shift_synth_bits(softc_t *sc, u_int32_t data, u_int32_t len) argument
693 write_synth(softc_t *sc, struct synth *synth) argument
735 write_dac(softc_t *sc, u_int16_t data) argument
771 hssi_config(softc_t *sc) argument
842 hssi_ident(softc_t *sc) argument
848 hssi_watchdog(softc_t *sc) argument
902 hssi_ioctl(softc_t *sc, struct ioctl *ioctl) argument
930 t3_config(softc_t *sc) argument
1008 t3_ident(softc_t *sc) argument
1015 t3_watchdog(softc_t *sc) argument
1254 t3_send_dbl_feac(softc_t *sc, int feac1, int feac2) argument
1281 t3_ioctl(softc_t *sc, struct ioctl *ioctl) argument
1357 ssi_config(softc_t *sc) argument
1419 ssi_ident(softc_t *sc) argument
1426 ssi_watchdog(softc_t *sc) argument
1505 ssi_ioctl(softc_t *sc, struct ioctl *ioctl) argument
1533 t1_config(softc_t *sc) argument
1867 t1_ident(softc_t *sc) argument
1876 t1_watchdog(softc_t *sc) argument
2144 t1_send_bop(softc_t *sc, int bop_code) argument
2168 t1_ioctl(softc_t *sc, struct ioctl *ioctl) argument
2312 softc_t *sc = IFP2SC(ifp); local
2381 create_ring(softc_t *sc, struct desc_ring *ring, int num_descs) argument
2450 destroy_ring(softc_t *sc, struct desc_ring *ring) argument
2493 rxintr_cleanup(softc_t *sc) argument
2675 rxintr_setup(softc_t *sc) argument
2742 txintr_cleanup(softc_t *sc) argument
2787 txintr_setup_mbuf(softc_t *sc, struct mbuf *m) argument
2871 txintr_setup(softc_t *sc) argument
2950 check_intr_status(softc_t *sc) argument
3033 softc_t *sc = arg; local
3083 user_interrupt(softc_t *sc, int check_status) argument
3097 softc_t *sc = IFP2SC(ifp); local
3111 softc_t *sc = arg; local
3147 set_status(softc_t *sc, int status) argument
3164 softc_t *sc = IFP2SC(&p2p->p2p_if); local
3177 softc_t *sc = IFP2SC(&p2p->p2p_if); local
3218 config_proto(softc_t *sc, struct config *config) argument
3375 core_ioctl(softc_t *sc, u_long cmd, caddr_t data) argument
3524 core_watchdog(softc_t *sc) argument
3592 softc_t *sc = IFP2SC(ifp); local
3632 softc_t *sc = IFP2SC(ifp); local
3645 softc_t *sc = IFP2SC(ifp); local
3700 softc_t *sc = IFP2SC(ifp); local
3780 softc_t *sc; local
3809 softc_t *sc = ifp->if_softc; local
3831 lmc_ifnet_attach(softc_t *sc) argument
3862 lmc_ifnet_detach(softc_t *sc) argument
3902 softc_t *sc = NG_NODE_PRIVATE(node); local
3991 softc_t *sc = NG_NODE_PRIVATE(node); local
4022 softc_t *sc = NG_NODE_PRIVATE(NG_HOOK_NODE(hook)); local
4075 softc_t *sc = NG_NODE_PRIVATE(NG_HOOK_NODE(hook)); local
4106 ng_attach(softc_t *sc) argument
4157 ng_detach(softc_t *sc) argument
4173 startup_card(softc_t *sc) argument
4293 softc_t *sc = arg; local
4313 attach_card(softc_t *sc, const char *intrstr) argument
4373 detach_card(softc_t *sc) argument
4445 softc_t *sc = device_get_softc(dev); local
4482 softc_t *sc = device_get_softc(dev); local
[all...]
/freebsd-11-stable/sys/dev/etherswitch/arswitch/
H A Darswitch_8316.c70 ar8316_hw_setup(struct arswitch_softc *sc) argument
79 if (sc->is_rgmii && sc->phy4cpu) {
80 arswitch_writereg(sc->sc_dev, AR8X16_REG_MODE,
82 device_printf(sc->sc_dev,
85 } else if (sc->is_rgmii) {
86 arswitch_writereg(sc->sc_dev, AR8X16_REG_MODE,
88 device_printf(sc->sc_dev,
91 } else if (sc->is_gmii) {
92 arswitch_writereg(sc
127 ar8316_hw_global_setup(struct arswitch_softc *sc) argument
163 ar8316_attach(struct arswitch_softc *sc) argument
[all...]
/freebsd-11-stable/sys/dev/rt/
H A Dif_rt.c133 static void rt_tx_coherent_intr(struct rt_softc *sc);
134 static void rt_rx_coherent_intr(struct rt_softc *sc);
135 static void rt_rx_delay_intr(struct rt_softc *sc);
136 static void rt_tx_delay_intr(struct rt_softc *sc);
137 static void rt_rx_intr(struct rt_softc *sc, int qid);
138 static void rt_tx_intr(struct rt_softc *sc, int qid);
142 static int rt_rx_eof(struct rt_softc *sc,
144 static void rt_tx_eof(struct rt_softc *sc,
146 static void rt_update_stats(struct rt_softc *sc);
147 static void rt_watchdog(struct rt_softc *sc);
185 struct rt_softc *sc = device_get_softc(dev); local
333 reset_freng(struct rt_softc *sc) argument
342 struct rt_softc *sc; local
595 struct rt_softc *sc; local
644 struct rt_softc *sc; local
667 struct rt_softc *sc; local
718 struct rt_softc *sc; local
730 struct rt_softc *sc; local
742 struct rt_softc *sc; local
762 struct rt_softc *sc; local
924 struct rt_softc *sc; local
938 struct rt_softc *sc; local
992 struct rt_softc *sc; local
1004 rt_tx_data(struct rt_softc *sc, struct mbuf *m, int qid) argument
1159 struct rt_softc *sc; local
1215 struct rt_softc *sc; local
1229 struct rt_softc *sc; local
1283 struct rt_softc *sc; local
1296 struct rt_softc *sc; local
1324 rt_cnt_ppe_af(struct rt_softc *sc) argument
1334 rt_cnt_gdm_af(struct rt_softc *sc) argument
1345 rt_pse_p2_fc(struct rt_softc *sc) argument
1357 rt_gdm_crc_drop(struct rt_softc *sc) argument
1368 rt_pse_buf_drop(struct rt_softc *sc) argument
1379 rt_gdm_other_drop(struct rt_softc *sc) argument
1390 rt_pse_p1_fc(struct rt_softc *sc) argument
1401 rt_pse_p0_fc(struct rt_softc *sc) argument
1412 rt_pse_fq_empty(struct rt_softc *sc) argument
1426 struct rt_softc *sc; local
1509 struct rt_softc *sc; local
1554 rt_tx_coherent_intr(struct rt_softc *sc) argument
1586 rt_rx_coherent_intr(struct rt_softc *sc) argument
1620 rt_rx_intr(struct rt_softc *sc, int qid) argument
1640 rt_rx_delay_intr(struct rt_softc *sc) argument
1648 rt_tx_delay_intr(struct rt_softc *sc) argument
1659 rt_tx_intr(struct rt_softc *sc, int qid) argument
1686 struct rt_softc *sc; local
1721 struct rt_softc *sc; local
1783 struct rt_softc *sc; local
1813 rt_rx_eof(struct rt_softc *sc, struct rt_softc_rx_ring *ring, int limit) argument
1972 rt_tx_eof(struct rt_softc *sc, struct rt_softc_tx_ring *ring) argument
2041 rt_update_stats(struct rt_softc *sc) argument
2054 rt_watchdog(struct rt_softc *sc) argument
2100 rt_update_raw_counters(struct rt_softc *sc) argument
2118 rt_intr_enable(struct rt_softc *sc, uint32_t intr_mask) argument
2128 rt_intr_disable(struct rt_softc *sc, uint32_t intr_mask) argument
2141 rt_txrx_enable(struct rt_softc *sc) argument
2176 rt_alloc_rx_ring(struct rt_softc *sc, struct rt_softc_rx_ring *ring, int qid) argument
2281 rt_reset_rx_ring(struct rt_softc *sc, struct rt_softc_rx_ring *ring) argument
2300 rt_free_rx_ring(struct rt_softc *sc, struct rt_softc_rx_ring *ring) argument
2341 rt_alloc_tx_ring(struct rt_softc *sc, struct rt_softc_tx_ring *ring, int qid) argument
2446 rt_reset_tx_ring(struct rt_softc *sc, struct rt_softc_tx_ring *ring) argument
2490 rt_free_tx_ring(struct rt_softc *sc, struct rt_softc_tx_ring *ring) argument
2555 rt_sysctl_attach(struct rt_softc *sc) argument
2737 struct rt_softc *sc = device_get_softc(dev); local
2769 struct rt_softc *sc = device_get_softc(dev); local
2786 struct rt_softc *sc = device_get_softc(dev); local
[all...]
/freebsd-11-stable/sys/dev/stg/
H A Dtmc18c30.c136 static int stghw_start_selection(struct stg_softc *sc, struct slccb *);
170 stghw_bcr_write_1(struct stg_softc *sc, u_int8_t bcv) argument
173 bus_write_1(sc->port_res, tmc_bctl, bcv);
174 sc->sc_busimg = bcv;
178 stghw_check(sc)
179 struct stg_softc *sc;
181 struct scsi_low_softc *slp = &sc->sc_sclow;
185 lsb = bus_read_1(sc->port_res, tmc_idlsb);
186 msb = bus_read_1(sc->port_res, tmc_idmsb);
191 sc
658 stg_negate_signal(struct stg_softc *sc, u_int8_t mask, u_char *s) argument
680 stg_expect_signal(struct stg_softc *sc, u_int8_t phase, u_int8_t mask) argument
935 struct stg_softc *sc = arg; local
[all...]
/freebsd-11-stable/sys/dev/mfi/
H A Dmfi_tbolt.c58 struct mfi_cmd_tbolt *mfi_tbolt_get_cmd(struct mfi_softc *sc, struct mfi_command *);
60 mfi_tbolt_get_request_descriptor(struct mfi_softc *sc, uint16_t index);
61 void mfi_tbolt_complete_cmd(struct mfi_softc *sc);
62 int mfi_tbolt_build_io(struct mfi_softc *sc, struct mfi_command *mfi_cmd,
65 *sc, struct mfi_command *cmd);
67 mfi_build_mpt_pass_thru(struct mfi_softc *sc, struct mfi_command *mfi_cmd);
69 *sc, struct mfi_command *mfi_cmd);
70 void mfi_tbolt_build_ldio(struct mfi_softc *sc, struct mfi_command *mfi_cmd,
72 static int mfi_tbolt_make_sgl(struct mfi_softc *sc, struct mfi_command
77 static void mfi_issue_pending_cmds_again (struct mfi_softc *sc);
94 mfi_tbolt_enable_intr_ppc(struct mfi_softc *sc) argument
101 mfi_tbolt_disable_intr_ppc(struct mfi_softc *sc) argument
108 mfi_tbolt_read_fw_status_ppc(struct mfi_softc *sc) argument
114 mfi_tbolt_check_clear_intr_ppc(struct mfi_softc *sc) argument
138 mfi_tbolt_issue_cmd_ppc(struct mfi_softc *sc, bus_addr_t bus_add, uint32_t frame_cnt) argument
152 mfi_tbolt_adp_reset(struct mfi_softc *sc) argument
203 mfi_tbolt_init_globals(struct mfi_softc *sc) argument
250 mfi_tbolt_get_memory_requirement(struct mfi_softc *sc) argument
272 mfi_tbolt_init_desc_pool(struct mfi_softc *sc, uint8_t* mem_location, uint32_t tbolt_contg_length) argument
335 mfi_tbolt_init_MFI_queue(struct mfi_softc *sc) argument
451 mfi_tbolt_alloc_cmd(struct mfi_softc *sc) argument
538 mfi_tbolt_reset(struct mfi_softc *sc) argument
577 struct mfi_softc *sc = (struct mfi_softc *)arg; local
644 mfi_tbolt_return_cmd(struct mfi_softc *sc, struct mfi_cmd_tbolt *tbolt_cmd, struct mfi_command *mfi_cmd) argument
657 mfi_tbolt_complete_cmd(struct mfi_softc *sc) argument
769 mfi_tbolt_get_cmd(struct mfi_softc *sc, struct mfi_command *mfi_cmd) argument
790 mfi_tbolt_get_request_descriptor(struct mfi_softc *sc, uint16_t index) argument
808 mfi_build_mpt_pass_thru(struct mfi_softc *sc, struct mfi_command *mfi_cmd) argument
841 mfi_tbolt_build_ldio(struct mfi_softc *sc, struct mfi_command *mfi_cmd, struct mfi_cmd_tbolt *cmd) argument
880 mfi_tbolt_build_io(struct mfi_softc *sc, struct mfi_command *mfi_cmd, struct mfi_cmd_tbolt *cmd) argument
942 mfi_tbolt_make_sgl(struct mfi_softc *sc, struct mfi_command *mfi_cmd, pMpi25IeeeSgeChain64_t sgl_ptr, struct mfi_cmd_tbolt *cmd) argument
1040 mfi_build_and_issue_cmd(struct mfi_softc *sc, struct mfi_command *mfi_cmd) argument
1065 mfi_tbolt_build_mpt_cmd(struct mfi_softc *sc, struct mfi_command *cmd) argument
1089 mfi_tbolt_send_frame(struct mfi_softc *sc, struct mfi_command *cm) argument
1180 mfi_issue_pending_cmds_again(struct mfi_softc *sc) argument
1229 mfi_kill_hba(struct mfi_softc *sc) argument
1240 struct mfi_softc *sc= (struct mfi_softc *)arg; local
1359 mfi_tbolt_sync_map_info(struct mfi_softc *sc) argument
1455 struct mfi_softc *sc; local
1483 mfi_queue_map_sync(struct mfi_softc *sc) argument
1492 struct mfi_softc *sc; local
[all...]
/freebsd-11-stable/sys/dev/sfxge/
H A Dsfxge.c121 sfxge_estimate_rsrc_limits(struct sfxge_softc *sc) argument
145 if (sc->max_rss_channels > 0)
146 evq_max = MIN(evq_max, sc->max_rss_channels);
152 limits.edl_min_txq_count = SFXGE_EVQ0_N_TXQ(sc);
153 limits.edl_max_txq_count = evq_max + SFXGE_EVQ0_N_TXQ(sc) - 1;
157 efx_nic_set_drv_limits(sc->enp, &limits);
159 if ((rc = efx_nic_init(sc->enp)) != 0)
162 rc = efx_nic_get_vi_pool(sc->enp, &evq_allocated, &rxq_allocated,
165 efx_nic_fini(sc->enp);
169 KASSERT(txq_allocated >= SFXGE_EVQ0_N_TXQ(sc),
196 sfxge_set_drv_limits(struct sfxge_softc *sc) argument
214 sfxge_start(struct sfxge_softc *sc) argument
287 struct sfxge_softc *sc; local
297 sfxge_stop(struct sfxge_softc *sc) argument
328 sfxge_vpd_ioctl(struct sfxge_softc *sc, sfxge_ioc_t *ioc) argument
372 sfxge_private_ioctl(struct sfxge_softc *sc, sfxge_ioc_t *ioc) argument
390 struct sfxge_softc *sc; local
573 struct sfxge_softc *sc = ifp->if_softc; local
585 sfxge_ifnet_init(struct ifnet *ifp, struct sfxge_softc *sc) argument
637 sfxge_sram_buf_tbl_alloc(struct sfxge_softc *sc, size_t n, uint32_t *idp) argument
648 sfxge_bar_init(struct sfxge_softc *sc) argument
668 sfxge_bar_fini(struct sfxge_softc *sc) argument
678 sfxge_create(struct sfxge_softc *sc) argument
895 sfxge_destroy(struct sfxge_softc *sc) argument
945 struct sfxge_softc *sc = arg1; local
959 sfxge_vpd_try_add(struct sfxge_softc *sc, struct sysctl_oid_list *list, efx_vpd_tag_t tag, const char *keyword) argument
978 sfxge_vpd_init(struct sfxge_softc *sc) argument
1034 sfxge_vpd_fini(struct sfxge_softc *sc) argument
1042 struct sfxge_softc *sc; local
1072 sfxge_schedule_reset(struct sfxge_softc *sc) argument
1080 struct sfxge_softc *sc; local
1139 struct sfxge_softc *sc; local
[all...]
/freebsd-11-stable/sys/dev/adb/
H A Dadb_mouse.c148 struct adb_mouse_softc *sc; local
154 sc = device_get_softc(dev);
155 sc->sc_dev = dev;
157 mtx_init(&sc->sc_mtx, "ams", NULL, MTX_DEF);
158 cv_init(&sc->sc_cv,"ams");
160 sc->flags = 0;
162 sc->hw.buttons = 2;
163 sc->hw.iftype = MOUSE_IF_UNKNOWN;
164 sc->hw.type = MOUSE_UNKNOWN;
165 sc
257 struct adb_mouse_softc *sc; local
273 struct adb_mouse_softc *sc; local
338 struct adb_mouse_softc *sc; local
433 struct adb_mouse_softc *sc; local
452 struct adb_mouse_softc *sc; local
464 struct adb_mouse_softc *sc; local
491 struct adb_mouse_softc *sc; local
583 struct adb_mouse_softc *sc; local
657 struct adb_mouse_softc *sc = arg1; local
[all...]
/freebsd-11-stable/sys/dev/nctgpio/
H A Dnctgpio.c150 write_cfg_reg_1(struct nct_softc *sc, uint8_t reg, uint8_t value) argument
152 GPIO_ASSERT_LOCKED(sc);
153 bus_write_1(sc->portres, 0, reg);
154 NCT_BARRIER_WRITE(sc);
155 bus_write_1(sc->portres, 1, value);
156 NCT_BARRIER_WRITE(sc);
160 read_cfg_reg_1(struct nct_softc *sc, uint8_t reg) argument
164 GPIO_ASSERT_LOCKED(sc);
165 bus_write_1(sc->portres, 0, reg);
166 NCT_BARRIER_READ_WRITE(sc);
174 read_cfg_reg_2(struct nct_softc *sc, uint8_t reg) argument
189 ext_cfg_enter(struct nct_softc *sc) argument
203 ext_cfg_exit(struct nct_softc *sc) argument
214 select_ldn(struct nct_softc *sc, uint8_t ldn) argument
286 nct_set_pin_is_output(struct nct_softc *sc, uint32_t pin_num) argument
302 nct_set_pin_is_input(struct nct_softc *sc, uint32_t pin_num) argument
318 nct_pin_is_input(struct nct_softc *sc, uint32_t pin_num) argument
334 nct_write_pin(struct nct_softc *sc, uint32_t pin_num, uint8_t data) argument
351 nct_read_pin(struct nct_softc *sc, uint32_t pin_num) argument
362 nct_set_pin_is_inverted(struct nct_softc *sc, uint32_t pin_num) argument
375 nct_set_pin_not_inverted(struct nct_softc *sc, uint32_t pin_num) argument
388 nct_pin_is_inverted(struct nct_softc *sc, uint32_t pin_num) argument
401 nct_set_pin_opendrain(struct nct_softc *sc, uint32_t pin_num) argument
414 nct_set_pin_pushpull(struct nct_softc *sc, uint32_t pin_num) argument
427 nct_pin_is_opendrain(struct nct_softc *sc, uint32_t pin_num) argument
453 struct nct_softc *sc; local
501 struct nct_softc *sc; local
568 struct nct_softc *sc; local
589 struct nct_softc *sc; local
607 struct nct_softc *sc; local
624 struct nct_softc *sc; local
641 struct nct_softc *sc; local
662 struct nct_softc *sc; local
679 struct nct_softc *sc; local
696 struct nct_softc *sc; local
713 struct nct_softc *sc; local
[all...]

Completed in 205 milliseconds

1234567891011>>