| /f-stack/dpdk/drivers/net/bnx2x/ |
| H A D | bnx2x.c | 2166 struct bnx2x_softc *sc; in bnx2x_tx_encap() local 2377 int bnx2x_alloc_ilt_mem(struct bnx2x_softc *sc) in bnx2x_alloc_ilt_mem() 2393 void bnx2x_free_ilt_mem(struct bnx2x_softc *sc) in bnx2x_free_ilt_mem() 4565 struct bnx2x_softc *sc = fp->sc; in bnx2x_handle_fp_tq() local 4603 int bnx2x_intr_legacy(struct bnx2x_softc *sc) in bnx2x_intr_legacy() 4785 bnx2x_wr_sp_sb_data(struct bnx2x_softc *sc, in bnx2x_wr_sp_sb_data() 5283 storm_memset_func_cfg(struct bnx2x_softc *sc, in storm_memset_func_cfg() 7017 bnx2x_link_report(struct bnx2x_softc *sc) in bnx2x_link_report() 7212 int bnx2x_nic_load(struct bnx2x_softc *sc) in bnx2x_nic_load() 7469 int bnx2x_init(struct bnx2x_softc *sc) in bnx2x_init() [all …]
|
| H A D | bnx2x_ethdev.c | 87 struct bnx2x_softc *sc = dev->data->dev_private; in bnx2x_link_update() local 113 struct bnx2x_softc *sc = dev->data->dev_private; in bnx2x_interrupt_action() local 132 struct bnx2x_softc *sc = dev->data->dev_private; in bnx2x_interrupt_handler() local 143 struct bnx2x_softc *sc = dev->data->dev_private; in bnx2x_periodic_start() local 161 struct bnx2x_softc *sc = dev->data->dev_private; in bnx2x_periodic_stop() local 177 struct bnx2x_softc *sc = dev->data->dev_private; in bnx2x_dev_configure() local 216 struct bnx2x_softc *sc = dev->data->dev_private; in bnx2x_dev_start() local 257 struct bnx2x_softc *sc = dev->data->dev_private; in bnx2x_dev_stop() local 290 struct bnx2x_softc *sc = dev->data->dev_private; in bnx2x_dev_close() local 316 struct bnx2x_softc *sc = dev->data->dev_private; in bnx2x_promisc_enable() local [all …]
|
| H A D | bnx2x_stats.c | 24 bnx2x_get_port_stats_dma_len(struct bnx2x_softc *sc) in bnx2x_get_port_stats_dma_len() 73 bnx2x_storm_stats_post(struct bnx2x_softc *sc) in bnx2x_storm_stats_post() 103 bnx2x_hw_stats_post(struct bnx2x_softc *sc) in bnx2x_hw_stats_post() 150 bnx2x_stats_comp(struct bnx2x_softc *sc) in bnx2x_stats_comp() 173 bnx2x_stats_pmf_update(struct bnx2x_softc *sc) in bnx2x_stats_pmf_update() 231 bnx2x_port_stats_init(struct bnx2x_softc *sc) in bnx2x_port_stats_init() 488 bnx2x_stats_start(struct bnx2x_softc *sc) in bnx2x_stats_start() 519 bnx2x_stats_restart(struct bnx2x_softc *sc) in bnx2x_stats_restart() 1135 bnx2x_stats_update(struct bnx2x_softc *sc) in bnx2x_stats_update() 1231 bnx2x_stats_stop(struct bnx2x_softc *sc) in bnx2x_stats_stop() [all …]
|
| H A D | bnx2x.h | 222 #define NUM_BD_REQ(sc) \ argument 232 #define MIN_RX_AVAIL(sc) \ argument 245 #define NUM_RCQ_REQ(sc) \ argument 312 struct bnx2x_softc *sc; member 361 struct bnx2x_softc *sc; member 862 #define CHIP_REV_IS_SLOW(sc) \ argument 868 #define CHIP_REV_IS_ASIC(sc) \ argument 1111 #define PORT_ID(sc) SC_PORT(sc) argument 1113 #define VNIC_ID(sc) SC_VN(sc) argument 1584 #define DOORBELL(sc, cid, val) \ argument [all …]
|
| /f-stack/freebsd/arm/xilinx/ |
| H A D | zy7_slcr.c | 71 #define ZSLCR_LOCK(sc) mtx_lock(&(sc)->sc_mtx) argument 73 #define ZSLCR_LOCK_INIT(sc) \ argument 115 zy7_slcr_unlock(struct zy7_slcr_softc *sc) in zy7_slcr_unlock() 123 zy7_slcr_lock(struct zy7_slcr_softc *sc) in zy7_slcr_lock() 133 struct zy7_slcr_softc *sc = zy7_slcr_softc_p; in zy7_slcr_cpu_reset() local 157 struct zy7_slcr_softc *sc = zy7_slcr_softc_p; in zy7_slcr_preload_pl() local 187 struct zy7_slcr_softc *sc = zy7_slcr_softc_p; in zy7_slcr_postload_pl() local 217 struct zy7_slcr_softc *sc = zy7_slcr_softc_p; in cgem_set_ref_clk() local 264 struct zy7_slcr_softc *sc = zy7_slcr_softc_p; in zy7_pl_fclk_set_source() local 292 struct zy7_slcr_softc *sc = zy7_slcr_softc_p; in zy7_pl_fclk_get_source() local [all …]
|
| /f-stack/freebsd/arm/ti/cpsw/ |
| H A D | if_cpsw.c | 798 struct cpsw_softc *sc; in cpsw_attach() local 929 struct cpsw_softc *sc; in cpsw_detach() local 1005 struct cpswp_softc *sc; in cpswp_attach() local 1229 struct cpsw_softc *sc; in cpsw_shutdown() local 1343 struct cpsw_softc *sc; in cpsw_suspend() local 1364 struct cpsw_softc *sc; in cpsw_resume() local 1588 struct cpsw_softc *sc; in cpsw_intr_rx() local 1841 struct cpsw_softc *sc; in cpsw_intr_tx() local 2081 struct cpsw_softc *sc; in cpsw_intr_rx_thresh() local 2289 struct cpsw_softc *sc; in cpsw_tx_watchdog() local [all …]
|
| /f-stack/freebsd/arm64/iommu/ |
| H A D | smmu.c | 1053 struct smmu_softc *sc; in smmu_event_intr() local 1068 struct smmu_softc *sc; in smmu_sync_intr() local 1080 struct smmu_softc *sc; in smmu_gerr_intr() local 1529 struct smmu_softc *sc; in smmu_attach() local 1582 struct smmu_softc *sc; in smmu_detach() local 1594 struct smmu_softc *sc; in smmu_read_ivar() local 1608 struct smmu_softc *sc; in smmu_unmap() local 1642 struct smmu_softc *sc; in smmu_map() local 1673 struct smmu_softc *sc; in smmu_domain_alloc() local 1718 struct smmu_softc *sc; in smmu_domain_free() local [all …]
|
| /f-stack/freebsd/mips/atheros/ |
| H A D | ar71xx_gpio.c | 214 struct ar71xx_gpio_softc *sc; in ar71xx_gpio_get_bus() local 263 struct ar71xx_gpio_softc *sc = device_get_softc(dev); in ar71xx_gpio_pin_getcaps() local 284 struct ar71xx_gpio_softc *sc = device_get_softc(dev); in ar71xx_gpio_pin_getflags() local 305 struct ar71xx_gpio_softc *sc = device_get_softc(dev); in ar71xx_gpio_pin_getname() local 327 struct ar71xx_gpio_softc *sc = device_get_softc(dev); in ar71xx_gpio_pin_setflags() local 345 struct ar71xx_gpio_softc *sc = device_get_softc(dev); in ar71xx_gpio_pin_set() local 367 struct ar71xx_gpio_softc *sc = device_get_softc(dev); in ar71xx_gpio_pin_get() local 387 struct ar71xx_gpio_softc *sc = device_get_softc(dev); in ar71xx_gpio_pin_toggle() local 417 struct ar71xx_gpio_softc *sc = arg; in ar71xx_gpio_intr() local 434 struct ar71xx_gpio_softc *sc = device_get_softc(dev); in ar71xx_gpio_attach() local [all …]
|
| H A D | if_arge.c | 652 struct arge_softc *sc; in arge_attach() local 1092 struct arge_softc *sc; in arge_shutdown() local 1193 struct arge_softc *sc; in arge_miibus_statchg() local 1202 struct arge_softc *sc; in arge_link_task() local 1688 struct arge_softc *sc; in arge_start() local 1700 struct arge_softc *sc; in arge_start_locked() local 1870 struct arge_softc *sc; in arge_ifmedia_upd() local 2560 struct arge_softc *sc = arg; in arge_intr_filter() local 2588 struct arge_softc *sc = arg; in arge_intr() local 2697 struct arge_softc *sc = xsc; in arge_tick() local [all …]
|
| H A D | ar71xx_spi.c | 69 #define SPI_BARRIER_READ(sc) bus_barrier((sc)->sc_mem_res, 0, 0, \ argument 71 #define SPI_BARRIER_RW(sc) bus_barrier((sc)->sc_mem_res, 0, 0, \ argument 74 #define SPI_WRITE(sc, reg, val) do { \ argument 78 #define SPI_READ(sc, reg) bus_read_4(sc->sc_mem_res, (reg)) argument 80 #define SPI_SET_BITS(sc, reg, bits) \ argument 83 #define SPI_CLEAR_BITS(sc, reg, bits) \ argument 102 struct ar71xx_spi_softc *sc = device_get_softc(dev); in ar71xx_spi_attach() local 143 ar71xx_spi_chip_activate(struct ar71xx_spi_softc *sc, int cs) in ar71xx_spi_chip_activate() 163 ar71xx_spi_chip_deactivate(struct ar71xx_spi_softc *sc, int cs) in ar71xx_spi_chip_deactivate() 208 struct ar71xx_spi_softc *sc; in ar71xx_spi_transfer() local [all …]
|
| /f-stack/freebsd/arm/broadcom/bcm2835/ |
| H A D | bcm2835_bsc.c | 119 #define DEBUGF(sc, lvl, fmt, args...) \ argument 142 struct bcm_bsc_softc *sc; in bcm_bsc_clock_proc() local 160 struct bcm_bsc_softc *sc; in bcm_bsc_clkt_proc() local 184 struct bcm_bsc_softc *sc; in bcm_bsc_fall_proc() local 212 struct bcm_bsc_softc *sc; in bcm_bsc_rise_proc() local 272 bcm_bsc_reset(struct bcm_bsc_softc *sc) in bcm_bsc_reset() 303 struct bcm_bsc_softc *sc; in bcm_bsc_attach() local 360 struct bcm_bsc_softc *sc; in bcm_bsc_detach() local 451 struct bcm_bsc_softc *sc; in bcm_bsc_intr() local 495 struct bcm_bsc_softc *sc; in bcm_bsc_transfer() local [all …]
|
| /f-stack/freebsd/arm/ti/ |
| H A D | ti_adc.c | 104 ti_adc_enable(struct ti_adc_softc *sc) in ti_adc_enable() 142 ti_adc_disable(struct ti_adc_softc *sc) in ti_adc_disable() 182 ti_adc_setup(struct ti_adc_softc *sc) in ti_adc_setup() 245 ti_adc_reset(struct ti_adc_softc *sc) in ti_adc_reset() 262 struct ti_adc_softc *sc; in ti_adc_clockdiv_proc() local 302 struct ti_adc_softc *sc; in ti_adc_enable_proc() local 334 struct ti_adc_softc *sc; in ti_adc_open_delay_proc() local 362 struct ti_adc_softc *sc; in ti_adc_samples_avg_proc() local 503 struct ti_adc_softc *sc; in ti_adc_intr() local 751 struct ti_adc_softc *sc; in ti_adc_attach() local [all …]
|
| H A D | ti_gpio.c | 245 struct ti_gpio_softc *sc; in ti_gpio_get_bus() local 310 struct ti_gpio_softc *sc; in ti_gpio_pin_getcaps() local 343 struct ti_gpio_softc *sc; in ti_gpio_pin_getflags() local 375 struct ti_gpio_softc *sc; in ti_gpio_pin_getname() local 410 struct ti_gpio_softc *sc; in ti_gpio_pin_setflags() local 453 struct ti_gpio_softc *sc; in ti_gpio_pin_set() local 489 struct ti_gpio_softc *sc; in ti_gpio_pin_get() local 528 struct ti_gpio_softc *sc; in ti_gpio_pin_toggle() local 552 struct ti_gpio_softc *sc; in ti_gpio_bank_init() local 662 struct ti_gpio_softc *sc; in ti_gpio_attach() local [all …]
|
| /f-stack/freebsd/arm/allwinner/ |
| H A D | if_emac.c | 481 struct emac_softc *sc; in emac_tick() local 495 struct emac_softc *sc; in emac_init() local 608 struct emac_softc *sc; in emac_start() local 619 struct emac_softc *sc; in emac_start_locked() local 706 struct emac_softc *sc; in emac_intr() local 742 struct emac_softc *sc; in emac_ioctl() local 804 struct emac_softc *sc; in emac_detach() local 853 struct emac_softc *sc; in emac_suspend() local 870 struct emac_softc *sc; in emac_resume() local 889 struct emac_softc *sc; in emac_attach() local [all …]
|
| /f-stack/freebsd/mips/atheros/ar531x/ |
| H A D | if_are.c | 210 struct are_softc *sc; in are_attach() local 441 struct are_softc *sc; in are_shutdown() local 495 struct are_softc *sc; in are_miibus_statchg() local 505 struct are_softc *sc; in are_link_task() local 564 struct are_softc *sc = xsc; in are_init() local 670 struct are_softc *sc; in are_start() local 853 struct are_softc *sc; in are_start_locked() local 1019 struct are_softc *sc; in are_ifmedia_upd() local 1475 are_tx(struct are_softc *sc) in are_tx() 1540 are_rx(struct are_softc *sc) in are_rx() [all …]
|
| H A D | ar5315_gpio.c | 138 struct ar5315_gpio_softc *sc; in ar5315_gpio_get_bus() local 156 struct ar5315_gpio_softc *sc = device_get_softc(dev); in ar5315_gpio_pin_getcaps() local 177 struct ar5315_gpio_softc *sc = device_get_softc(dev); in ar5315_gpio_pin_getflags() local 205 struct ar5315_gpio_softc *sc = device_get_softc(dev); in ar5315_gpio_pin_getname() local 227 struct ar5315_gpio_softc *sc = device_get_softc(dev); in ar5315_gpio_pin_setflags() local 245 struct ar5315_gpio_softc *sc = device_get_softc(dev); in ar5315_gpio_pin_set() local 264 struct ar5315_gpio_softc *sc = device_get_softc(dev); in ar5315_gpio_pin_get() local 284 struct ar5315_gpio_softc *sc = device_get_softc(dev); in ar5315_gpio_pin_toggle() local 314 struct ar5315_gpio_softc *sc = arg; in ar5315_gpio_intr() local 331 struct ar5315_gpio_softc *sc = device_get_softc(dev); in ar5315_gpio_attach() local [all …]
|
| /f-stack/freebsd/arm/allwinner/clkng/ |
| H A D | aw_ccung.c | 78 #define CCU_READ4(sc, reg) bus_read_4((sc)->res, (reg)) argument 84 struct aw_ccung_softc *sc; in aw_ccung_write_4() local 95 struct aw_ccung_softc *sc; in aw_ccung_read_4() local 107 struct aw_ccung_softc *sc; in aw_ccung_modify_4() local 124 struct aw_ccung_softc *sc; in aw_ccung_reset_assert() local 150 struct aw_ccung_softc *sc; in aw_ccung_reset_is_asserted() local 170 struct aw_ccung_softc *sc; in aw_ccung_device_lock() local 179 struct aw_ccung_softc *sc; in aw_ccung_device_unlock() local 186 aw_ccung_register_gates(struct aw_ccung_softc *sc) in aw_ccung_register_gates() 211 aw_ccung_init_clocks(struct aw_ccung_softc *sc) in aw_ccung_init_clocks() [all …]
|
| /f-stack/freebsd/net/ |
| H A D | if_lagg.c | 428 lagg_proto_init(struct lagg_softc *sc) in lagg_proto_init() 436 lagg_proto_stop(struct lagg_softc *sc) in lagg_proto_stop() 509 struct lagg_softc *sc; in lagg_clone_create() local 1006 struct lagg_softc *sc; in lagg_port_ioctl() local 1091 struct lagg_softc *sc; in lagg_get_counter() local 1153 struct lagg_softc *sc; in lagg_port_ifdetach() local 1214 struct lagg_softc *sc; in lagg_watchdog_infiniband() local 1290 lagg_stop(struct lagg_softc *sc) in lagg_stop() 1758 struct lagg_softc *sc; in lookup_snd_tag_port() local 1796 struct lagg_softc *sc; in lagg_snd_tag_alloc() local [all …]
|
| /f-stack/freebsd/arm/mv/ |
| H A D | gpio.c | 301 struct mv_gpio_softc *sc; in mv_gpio_attach() local 363 struct mv_gpio_softc *sc; in mv_gpio_intr() local 415 struct mv_gpio_softc *sc; in mv_gpio_setup_intrhandler() local 452 struct mv_gpio_softc *sc; in mv_gpio_intr_mask() local 482 struct mv_gpio_softc *sc; in mv_gpio_intr_unmask() local 505 struct mv_gpio_softc *sc; in mv_gpio_exec_intr_handlers() local 531 struct mv_gpio_softc *sc; in mv_gpio_intr_handler() local 552 struct mv_gpio_softc *sc; in mv_gpio_configure() local 608 struct mv_gpio_softc *sc; in mv_gpio_double_edge_init() local 625 struct mv_gpio_softc *sc; in mv_gpio_debounce_setup() local [all …]
|
| /f-stack/freebsd/arm/ti/omap4/ |
| H A D | omap4_wugen.c | 63 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_activate_intr() local 71 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_disable_intr() local 79 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_enable_intr() local 88 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_map_intr() local 97 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_deactivate_intr() local 106 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_setup_intr() local 115 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_teardown_intr() local 123 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_pre_ithread() local 131 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_post_ithread() local 170 struct omap4_wugen_sc *sc; in omap4_wugen_detach() local [all …]
|
| /f-stack/freebsd/arm64/rockchip/clk/ |
| H A D | rk_cru.c | 72 #define CCU_READ4(sc, reg) bus_read_4((sc)->res, (reg)) argument 73 #define CCU_WRITE4(sc, reg, val) bus_write_4((sc)->res, (reg), (val)) argument 80 struct rk_cru_softc *sc; in rk_cru_write_4() local 90 struct rk_cru_softc *sc; in rk_cru_read_4() local 101 struct rk_cru_softc *sc; in rk_cru_modify_4() local 117 struct rk_cru_softc *sc; in rk_cru_reset_assert() local 143 struct rk_cru_softc *sc; in rk_cru_reset_is_asserted() local 169 struct rk_cru_softc *sc; in rk_cru_device_lock() local 178 struct rk_cru_softc *sc; in rk_cru_device_unlock() local 185 rk_cru_register_gates(struct rk_cru_softc *sc) in rk_cru_register_gates() [all …]
|
| /f-stack/freebsd/mips/ingenic/ |
| H A D | jz4780_gpio.c | 388 struct jz4780_gpio_softc *sc; in jz4780_gpio_configure_pin() local 406 struct jz4780_gpio_softc *sc; in jz4780_gpio_get_bus() local 424 struct jz4780_gpio_softc *sc; in jz4780_gpio_pin_getcaps() local 440 struct jz4780_gpio_softc *sc; in jz4780_gpio_pin_getflags() local 456 struct jz4780_gpio_softc *sc; in jz4780_gpio_pin_getname() local 471 struct jz4780_gpio_softc *sc; in jz4780_gpio_pin_setflags() local 492 struct jz4780_gpio_softc *sc; in jz4780_gpio_pin_set() local 515 struct jz4780_gpio_softc *sc; in jz4780_gpio_pin_get() local 534 struct jz4780_gpio_softc *sc; in jz4780_gpio_pin_toggle() local 562 struct jz4780_gpio_softc *sc; in jz_gpio_map_intr_fdt() local [all …]
|
| /f-stack/freebsd/mips/mediatek/ |
| H A D | mtk_gpio_v1.c | 260 struct mtk_gpio_softc *sc; in mtk_gpio_attach() local 416 struct mtk_gpio_softc *sc; in mtk_gpio_pin_setflags() local 438 struct mtk_gpio_softc *sc; in mtk_gpio_pin_set() local 460 struct mtk_gpio_softc *sc; in mtk_gpio_pin_get() local 481 struct mtk_gpio_softc *sc; in mtk_gpio_pin_toggle() local 553 struct mtk_gpio_softc *sc; in mtk_gpio_pic_map_intr() local 582 struct mtk_gpio_softc *sc; in mtk_gpio_pic_enable_intr() local 612 struct mtk_gpio_softc *sc; in mtk_gpio_pic_disable_intr() local 649 struct mtk_gpio_softc *sc; in mtk_gpio_pic_post_filter() local 663 struct mtk_gpio_softc *sc; in mtk_gpio_pic_setup_intr() local [all …]
|
| H A D | mtk_gpio_v2.c | 103 #define MTK_GPIO_LOCK_INIT(sc) \ argument 251 struct mtk_gpio_softc *sc; in mtk_gpio_attach() local 406 struct mtk_gpio_softc *sc; in mtk_gpio_pin_setflags() local 428 struct mtk_gpio_softc *sc; in mtk_gpio_pin_set() local 450 struct mtk_gpio_softc *sc; in mtk_gpio_pin_get() local 471 struct mtk_gpio_softc *sc; in mtk_gpio_pin_toggle() local 504 struct mtk_gpio_softc *sc; in mtk_gpio_pic_map_intr() local 522 struct mtk_gpio_softc *sc; in mtk_gpio_pic_enable_intr() local 552 struct mtk_gpio_softc *sc; in mtk_gpio_pic_disable_intr() local 589 struct mtk_gpio_softc *sc; in mtk_gpio_pic_post_filter() local [all …]
|
| /f-stack/freebsd/arm64/broadcom/genet/ |
| H A D | if_genet.c | 239 struct gen_softc *sc; in gen_attach() local 378 struct gen_softc *sc; in gen_get_phy_mode() local 407 struct gen_softc *sc; in gen_get_eaddr() local 969 struct gen_softc *sc; in gen_start() local 1476 struct gen_softc *sc; in gen_ioctl() local 1548 struct gen_softc *sc; in gen_tick() local 1575 struct gen_softc *sc; in gen_miibus_readreg() local 1606 struct gen_softc *sc; in gen_miibus_writereg() local 1687 struct gen_softc *sc; in gen_link_task() local 1699 struct gen_softc *sc; in gen_miibus_statchg() local [all …]
|