/drivers/net/wan/lmc/ |
D | lmc_media.c | 157 lmc_dummy_set_1 (lmc_softc_t * const sc, int a) in lmc_dummy_set_1() argument 162 lmc_dummy_set2_1 (lmc_softc_t * const sc, lmc_ctl_t * a) in lmc_dummy_set2_1() argument 171 lmc_hssi_init (lmc_softc_t * const sc) in lmc_hssi_init() argument 173 sc->ictl.cardtype = LMC_CTL_CARDTYPE_LMC5200; in lmc_hssi_init() 175 lmc_gpio_mkoutput (sc, LMC_GEP_HSSI_CLOCK); in lmc_hssi_init() 179 lmc_hssi_default (lmc_softc_t * const sc) in lmc_hssi_default() argument 181 sc->lmc_miireg16 = LMC_MII16_LED_ALL; in lmc_hssi_default() 183 sc->lmc_media->set_link_status (sc, LMC_LINK_DOWN); in lmc_hssi_default() 184 sc->lmc_media->set_clock_source (sc, LMC_CTL_CLOCK_SOURCE_EXT); in lmc_hssi_default() 185 sc->lmc_media->set_crc_length (sc, LMC_CTL_CRC_LENGTH_16); in lmc_hssi_default() [all …]
|
D | lmc_main.c | 98 static void lmc_initcsrs(lmc_softc_t * const sc, lmc_csrptr_t csr_base, size_t csr_size); 103 static void lmc_reset(lmc_softc_t * const sc); 104 static void lmc_dec_reset(lmc_softc_t * const sc); 113 lmc_softc_t *sc = dev_to_sc(dev); in lmc_ioctl() local 132 if (copy_to_user(ifr->ifr_data, &sc->ictl, sizeof(lmc_ctl_t))) in lmc_ioctl() 154 spin_lock_irqsave(&sc->lmc_lock, flags); in lmc_ioctl() 155 sc->lmc_media->set_status (sc, &ctl); in lmc_ioctl() 157 if(ctl.crc_length != sc->ictl.crc_length) { in lmc_ioctl() 158 sc->lmc_media->set_crc_length(sc, ctl.crc_length); in lmc_ioctl() 159 if (sc->ictl.crc_length == LMC_CTL_CRC_LENGTH_16) in lmc_ioctl() [all …]
|
D | lmc_proto.c | 50 void lmc_proto_attach(lmc_softc_t *sc) /*FOLD00*/ in lmc_proto_attach() argument 52 lmc_trace(sc->lmc_device, "lmc_proto_attach in"); in lmc_proto_attach() 53 if (sc->if_type == LMC_NET) { in lmc_proto_attach() 54 struct net_device *dev = sc->lmc_device; in lmc_proto_attach() 62 lmc_trace(sc->lmc_device, "lmc_proto_attach out"); in lmc_proto_attach() 65 int lmc_proto_ioctl(lmc_softc_t *sc, struct ifreq *ifr, int cmd) in lmc_proto_ioctl() argument 67 lmc_trace(sc->lmc_device, "lmc_proto_ioctl"); in lmc_proto_ioctl() 68 if (sc->if_type == LMC_PPP) in lmc_proto_ioctl() 69 return hdlc_ioctl(sc->lmc_device, ifr, cmd); in lmc_proto_ioctl() 73 int lmc_proto_open(lmc_softc_t *sc) in lmc_proto_open() argument [all …]
|
/drivers/net/wireless/ath/ath9k/ |
D | channel.c | 23 static int ath_set_channel(struct ath_softc *sc) in ath_set_channel() argument 25 struct ath_hw *ah = sc->sc_ah; in ath_set_channel() 27 struct ieee80211_hw *hw = sc->hw; in ath_set_channel() 29 struct cfg80211_chan_def *chandef = &sc->cur_chan->chandef; in ath_set_channel() 46 ath_update_survey_stats(sc); in ath_set_channel() 56 if (!sc->cur_chan->offchannel && sc->cur_survey != &sc->survey[pos]) { in ath_set_channel() 57 if (sc->cur_survey) in ath_set_channel() 58 sc->cur_survey->filled &= ~SURVEY_INFO_IN_USE; in ath_set_channel() 60 sc->cur_survey = &sc->survey[pos]; in ath_set_channel() 62 memset(sc->cur_survey, 0, sizeof(struct survey_info)); in ath_set_channel() [all …]
|
D | main.c | 57 static bool ath9k_has_pending_frames(struct ath_softc *sc, struct ath_txq *txq, in ath9k_has_pending_frames() argument 75 list = &sc->cur_chan->acq[txq->mac80211_qnum]; in ath9k_has_pending_frames() 84 static bool ath9k_setpower(struct ath_softc *sc, enum ath9k_power_mode mode) in ath9k_setpower() argument 89 spin_lock_irqsave(&sc->sc_pm_lock, flags); in ath9k_setpower() 90 ret = ath9k_hw_setpower(sc->sc_ah, mode); in ath9k_setpower() 91 spin_unlock_irqrestore(&sc->sc_pm_lock, flags); in ath9k_setpower() 98 struct ath_softc *sc = (struct ath_softc *) data; in ath_ps_full_sleep() local 99 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_ps_full_sleep() 106 ath9k_hw_setrxabort(sc->sc_ah, 1); in ath_ps_full_sleep() 107 ath9k_hw_stopdmarecv(sc->sc_ah, &reset); in ath_ps_full_sleep() [all …]
|
D | recv.c | 23 static inline bool ath9k_check_auto_sleep(struct ath_softc *sc) in ath9k_check_auto_sleep() argument 25 return sc->ps_enabled && in ath9k_check_auto_sleep() 26 (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_AUTOSLEEP); in ath9k_check_auto_sleep() 37 static void ath_rx_buf_link(struct ath_softc *sc, struct ath_rxbuf *bf, in ath_rx_buf_link() argument 40 struct ath_hw *ah = sc->sc_ah; in ath_rx_buf_link() 63 if (sc->rx.rxlink) in ath_rx_buf_link() 64 *sc->rx.rxlink = bf->bf_daddr; in ath_rx_buf_link() 68 sc->rx.rxlink = &ds->ds_link; in ath_rx_buf_link() 71 static void ath_rx_buf_relink(struct ath_softc *sc, struct ath_rxbuf *bf, in ath_rx_buf_relink() argument 74 if (sc->rx.buf_hold) in ath_rx_buf_relink() [all …]
|
D | beacon.c | 22 static void ath9k_reset_beacon_status(struct ath_softc *sc) in ath9k_reset_beacon_status() argument 24 sc->beacon.tx_processed = false; in ath9k_reset_beacon_status() 25 sc->beacon.tx_last = false; in ath9k_reset_beacon_status() 33 static void ath9k_beaconq_config(struct ath_softc *sc) in ath9k_beaconq_config() argument 35 struct ath_hw *ah = sc->sc_ah; in ath9k_beaconq_config() 40 ath9k_hw_get_txq_props(ah, sc->beacon.beaconq, &qi); in ath9k_beaconq_config() 42 if (sc->sc_ah->opmode == NL80211_IFTYPE_AP || in ath9k_beaconq_config() 43 sc->sc_ah->opmode == NL80211_IFTYPE_MESH_POINT) { in ath9k_beaconq_config() 50 txq = sc->tx.txq_map[IEEE80211_AC_BE]; in ath9k_beaconq_config() 60 if (!ath9k_hw_set_txq_props(ah, sc->beacon.beaconq, &qi)) { in ath9k_beaconq_config() [all …]
|
D | gpio.c | 25 static void ath_fill_led_pin(struct ath_softc *sc) in ath_fill_led_pin() argument 27 struct ath_hw *ah = sc->sc_ah; in ath_fill_led_pin() 54 struct ath_softc *sc = container_of(led_cdev, struct ath_softc, led_cdev); in ath_led_brightness() local 57 if (sc->sc_ah->config.led_active_high) in ath_led_brightness() 60 ath9k_hw_set_gpio(sc->sc_ah, sc->sc_ah->led_pin, val); in ath_led_brightness() 63 void ath_deinit_leds(struct ath_softc *sc) in ath_deinit_leds() argument 65 if (!sc->led_registered) in ath_deinit_leds() 68 ath_led_brightness(&sc->led_cdev, LED_OFF); in ath_deinit_leds() 69 led_classdev_unregister(&sc->led_cdev); in ath_deinit_leds() 71 ath9k_hw_gpio_free(sc->sc_ah, sc->sc_ah->led_pin); in ath_deinit_leds() [all …]
|
D | init.c | 93 static void ath9k_deinit_softc(struct ath_softc *sc); 120 struct ath_softc *sc = (struct ath_softc *) common->priv; in ath9k_iowrite32() local 124 spin_lock_irqsave(&sc->sc_serial_rw, flags); in ath9k_iowrite32() 125 iowrite32(val, sc->mem + reg_offset); in ath9k_iowrite32() 126 spin_unlock_irqrestore(&sc->sc_serial_rw, flags); in ath9k_iowrite32() 128 iowrite32(val, sc->mem + reg_offset); in ath9k_iowrite32() 135 struct ath_softc *sc = (struct ath_softc *) common->priv; in ath9k_ioread32() local 140 spin_lock_irqsave(&sc->sc_serial_rw, flags); in ath9k_ioread32() 141 val = ioread32(sc->mem + reg_offset); in ath9k_ioread32() 142 spin_unlock_irqrestore(&sc->sc_serial_rw, flags); in ath9k_ioread32() [all …]
|
D | tx99.c | 19 static void ath9k_tx99_stop(struct ath_softc *sc) in ath9k_tx99_stop() argument 21 struct ath_hw *ah = sc->sc_ah; in ath9k_tx99_stop() 24 ath_drain_all_txq(sc); in ath9k_tx99_stop() 25 ath_startrecv(sc); in ath9k_tx99_stop() 30 ieee80211_wake_queues(sc->hw); in ath9k_tx99_stop() 32 kfree_skb(sc->tx99_skb); in ath9k_tx99_stop() 33 sc->tx99_skb = NULL; in ath9k_tx99_stop() 34 sc->tx99_state = false; in ath9k_tx99_stop() 36 ath9k_hw_tx99_stop(sc->sc_ah); in ath9k_tx99_stop() 40 static struct sk_buff *ath9k_build_tx99_skb(struct ath_softc *sc) in ath9k_build_tx99_skb() argument [all …]
|
D | ath9k.h | 75 int ath_descdma_setup(struct ath_softc *sc, struct ath_descdma *dd, 83 #define ATH_TXQ_SETUP(sc, i) ((sc)->tx.txqsetup & (1<<i)) argument 253 struct ath_softc *sc; member 427 for (ctx = &sc->chanctx[0]; \ 428 ctx <= &sc->chanctx[ARRAY_SIZE(sc->chanctx) - 1]; \ 431 void ath_chanctx_init(struct ath_softc *sc); 432 void ath_chanctx_set_channel(struct ath_softc *sc, struct ath_chanctx *ctx, 446 void ath9k_init_channel_context(struct ath_softc *sc); 447 void ath9k_offchannel_init(struct ath_softc *sc); 448 void ath9k_deinit_channel_context(struct ath_softc *sc); [all …]
|
D | debug.c | 29 void ath9k_debug_sync_cause(struct ath_softc *sc, u32 sync_cause) in ath9k_debug_sync_cause() argument 32 sc->debug.stats.istats.sync_cause_all++; in ath9k_debug_sync_cause() 34 sc->debug.stats.istats.sync_rtc_irq++; in ath9k_debug_sync_cause() 36 sc->debug.stats.istats.sync_mac_irq++; in ath9k_debug_sync_cause() 38 sc->debug.stats.istats.eeprom_illegal_access++; in ath9k_debug_sync_cause() 40 sc->debug.stats.istats.apb_timeout++; in ath9k_debug_sync_cause() 42 sc->debug.stats.istats.pci_mode_conflict++; in ath9k_debug_sync_cause() 44 sc->debug.stats.istats.host1_fatal++; in ath9k_debug_sync_cause() 46 sc->debug.stats.istats.host1_perr++; in ath9k_debug_sync_cause() 48 sc->debug.stats.istats.trcv_fifo_perr++; in ath9k_debug_sync_cause() [all …]
|
D | link.c | 25 struct ath_softc *sc = container_of(work, struct ath_softc, in ath_tx_complete_poll_work() local 32 if (sc->tx99_state) { in ath_tx_complete_poll_work() 33 ath_dbg(ath9k_hw_common(sc->sc_ah), RESET, in ath_tx_complete_poll_work() 39 txq = sc->tx.txq_map[i]; in ath_tx_complete_poll_work() 41 ath_txq_lock(sc, txq); in ath_tx_complete_poll_work() 45 ath_txq_unlock(sc, txq); in ath_tx_complete_poll_work() 51 ath_txq_unlock(sc, txq); in ath_tx_complete_poll_work() 55 ath_dbg(ath9k_hw_common(sc->sc_ah), RESET, in ath_tx_complete_poll_work() 57 ath9k_queue_reset(sc, RESET_TYPE_TX_HANG); in ath_tx_complete_poll_work() 61 ieee80211_queue_delayed_work(sc->hw, &sc->tx_complete_work, in ath_tx_complete_poll_work() [all …]
|
D | wow.c | 33 static u8 ath9k_wow_map_triggers(struct ath_softc *sc, in ath9k_wow_map_triggers() argument 50 static int ath9k_wow_add_disassoc_deauth_pattern(struct ath_softc *sc) in ath9k_wow_add_disassoc_deauth_pattern() argument 52 struct ath_hw *ah = sc->sc_ah; in ath9k_wow_add_disassoc_deauth_pattern() 138 static int ath9k_wow_add_pattern(struct ath_softc *sc, in ath9k_wow_add_pattern() argument 141 struct ath_hw *ah = sc->sc_ah; in ath9k_wow_add_pattern() 170 struct ath_softc *sc = hw->priv; in ath9k_suspend() local 171 struct ath_hw *ah = sc->sc_ah; in ath9k_suspend() 176 ath9k_deinit_channel_context(sc); in ath9k_suspend() 178 mutex_lock(&sc->mutex); in ath9k_suspend() 192 if (sc->cur_chan->nvifs > 1) { in ath9k_suspend() [all …]
|
D | xmit.c | 50 static void ath_tx_send_normal(struct ath_softc *sc, struct ath_txq *txq, 52 static void ath_tx_complete(struct ath_softc *sc, struct sk_buff *skb, 55 static void ath_tx_complete_buf(struct ath_softc *sc, struct ath_buf *bf, 59 static void ath_tx_txqaddbuf(struct ath_softc *sc, struct ath_txq *txq, 61 static void ath_tx_rc_status(struct ath_softc *sc, struct ath_buf *bf, 64 static void ath_tx_update_baw(struct ath_softc *sc, struct ath_atx_tid *tid, 66 static struct ath_buf *ath_tx_setup_buffer(struct ath_softc *sc, 98 void ath_txq_lock(struct ath_softc *sc, struct ath_txq *txq) in ath_txq_lock() argument 104 void ath_txq_unlock(struct ath_softc *sc, struct ath_txq *txq) in ath_txq_unlock() argument 110 void ath_txq_unlock_complete(struct ath_softc *sc, struct ath_txq *txq) in ath_txq_unlock_complete() argument [all …]
|
/drivers/hid/ |
D | hid-sony.c | 1064 static inline void sony_schedule_work(struct sony_sc *sc) in sony_schedule_work() argument 1066 if (!sc->defer_initialization) in sony_schedule_work() 1067 schedule_work(&sc->state_worker); in sony_schedule_work() 1135 struct sony_sc *sc = hid_get_drvdata(hdev); in sony_report_fixup() local 1137 if (sc->quirks & (SINO_LITE_CONTROLLER | FUTUREMAX_DANCE_MAT)) in sony_report_fixup() 1144 if ((sc->quirks & VAIO_RDESC_CONSTANT) && *rsize >= 56 && in sony_report_fixup() 1161 if (sc->quirks & DUALSHOCK4_CONTROLLER_USB) { in sony_report_fixup() 1165 } else if (sc->quirks & DUALSHOCK4_CONTROLLER_BT) { in sony_report_fixup() 1171 if (sc->quirks & SIXAXIS_CONTROLLER) in sony_report_fixup() 1174 if (sc->quirks & MOTION_CONTROLLER) in sony_report_fixup() [all …]
|
/drivers/scsi/snic/ |
D | snic_scsi.c | 36 #define snic_cmd_tag(sc) (((struct scsi_cmnd *) sc)->request->tag) argument 112 snic_io_lock_hash(struct snic *snic, struct scsi_cmnd *sc) in snic_io_lock_hash() argument 114 u32 hash = snic_cmd_tag(sc) & (SNIC_IO_LOCKS - 1); in snic_io_lock_hash() 129 struct scsi_cmnd *sc) in snic_release_req_buf() argument 134 SNIC_BUG_ON(!((CMD_STATE(sc) == SNIC_IOREQ_COMPLETE) || in snic_release_req_buf() 135 (CMD_STATE(sc) == SNIC_IOREQ_ABTS_COMPLETE) || in snic_release_req_buf() 136 (CMD_FLAGS(sc) & SNIC_DEV_RST_NOTSUP) || in snic_release_req_buf() 137 (CMD_FLAGS(sc) & SNIC_IO_INTERNAL_TERM_ISSUED) || in snic_release_req_buf() 138 (CMD_FLAGS(sc) & SNIC_DEV_RST_TERM_ISSUED) || in snic_release_req_buf() 139 (CMD_FLAGS(sc) & SNIC_SCSI_CLEANUP) || in snic_release_req_buf() [all …]
|
/drivers/usb/atm/ |
D | ueagle-atm.c | 296 #define IS_OPERATIONAL(sc) \ argument 297 ((UEA_CHIP_VERSION(sc) != EAGLE_IV) ? \ 298 (GET_STATUS(sc->stats.phy.state) == 2) : \ 299 (sc->stats.phy.state == 7)) 590 #define uea_wait(sc, cond, timeo) \ argument 592 int _r = wait_event_interruptible_timeout(sc->sync_q, \ 601 if (sc->usbatm->atm_dev) \ 602 sc->usbatm->atm_dev->type = val; \ 607 if (sc->usbatm->atm_dev) \ 608 atm_dev_signal_change(sc->usbatm->atm_dev, val); \ [all …]
|
/drivers/infiniband/hw/hfi1/ |
D | pio.c | 59 static void sc_wait_for_packet_egress(struct send_context *sc, int pause); 566 static void cr_group_addresses(struct send_context *sc, dma_addr_t *dma) in cr_group_addresses() argument 568 u32 gc = group_context(sc->hw_context, sc->group); in cr_group_addresses() 569 u32 index = sc->hw_context & 0x7; in cr_group_addresses() 571 sc->hw_free = &sc->dd->cr_base[sc->node].va[gc].cr[index]; in cr_group_addresses() 573 &((struct credit_return *)sc->dd->cr_base[sc->node].dma)[gc]; in cr_group_addresses() 582 struct send_context *sc; in sc_halted() local 584 sc = container_of(work, struct send_context, halt_work); in sc_halted() 585 sc_restart(sc); in sc_halted() 598 u32 sc_mtu_to_threshold(struct send_context *sc, u32 mtu, u32 hdrqentsize) in sc_mtu_to_threshold() argument [all …]
|
/drivers/md/ |
D | dm-stripe.c | 52 struct stripe_c *sc = container_of(work, struct stripe_c, in trigger_event() local 54 dm_table_event(sc->ti->table); in trigger_event() 73 static int get_stripe(struct dm_target *ti, struct stripe_c *sc, in get_stripe() argument 84 &sc->stripe[stripe].dev); in get_stripe() 88 sc->stripe[stripe].physical_start = start; in get_stripe() 99 struct stripe_c *sc; in stripe_ctr() local 144 sc = alloc_context(stripes); in stripe_ctr() 145 if (!sc) { in stripe_ctr() 151 INIT_WORK(&sc->trigger_event, trigger_event); in stripe_ctr() 154 sc->ti = ti; in stripe_ctr() [all …]
|
/drivers/clk/qcom/ |
D | gdsc.c | 46 static int gdsc_is_enabled(struct gdsc *sc, unsigned int reg) in gdsc_is_enabled() argument 51 ret = regmap_read(sc->regmap, reg, &val); in gdsc_is_enabled() 58 static int gdsc_toggle_logic(struct gdsc *sc, bool en) in gdsc_toggle_logic() argument 63 unsigned int status_reg = sc->gdscr; in gdsc_toggle_logic() 65 ret = regmap_update_bits(sc->regmap, sc->gdscr, SW_COLLAPSE_MASK, val); in gdsc_toggle_logic() 70 if ((sc->flags & VOTABLE) && !en) { in gdsc_toggle_logic() 80 if (sc->gds_hw_ctrl) { in gdsc_toggle_logic() 81 status_reg = sc->gds_hw_ctrl; in gdsc_toggle_logic() 97 if (gdsc_is_enabled(sc, status_reg) == en) in gdsc_toggle_logic() 101 if (gdsc_is_enabled(sc, status_reg) == en) in gdsc_toggle_logic() [all …]
|
/drivers/scsi/fnic/ |
D | fnic_scsi.c | 107 struct scsi_cmnd *sc) in fnic_io_lock_hash() argument 109 u32 hash = sc->request->tag & (FNIC_IO_LOCKS - 1); in fnic_io_lock_hash() 126 struct scsi_cmnd *sc) in fnic_release_ioreq_buf() argument 132 scsi_dma_unmap(sc); in fnic_release_ioreq_buf() 320 struct scsi_cmnd *sc, in fnic_queue_wq_copy_desc() argument 324 struct fc_rport *rport = starget_to_rport(scsi_target(sc->device)); in fnic_queue_wq_copy_desc() 338 for_each_sg(scsi_sglist(sc), sg, sg_count, i) { in fnic_queue_wq_copy_desc() 359 sc->sense_buffer, in fnic_queue_wq_copy_desc() 372 int_to_scsilun(sc->device->lun, &fc_lun); in fnic_queue_wq_copy_desc() 389 if (sc->sc_data_direction == DMA_FROM_DEVICE) in fnic_queue_wq_copy_desc() [all …]
|
/drivers/dma/sh/ |
D | sudmac.c | 54 #define to_sdev(sc) container_of(sc->shdma_chan.dma_chan.device, \ argument 82 static void sudmac_writel(struct sudmac_chan *sc, u32 data, u32 reg) in sudmac_writel() argument 84 iowrite32(data, sc->base + reg); in sudmac_writel() 87 static u32 sudmac_readl(struct sudmac_chan *sc, u32 reg) in sudmac_readl() argument 89 return ioread32(sc->base + reg); in sudmac_readl() 92 static bool sudmac_is_busy(struct sudmac_chan *sc) in sudmac_is_busy() argument 94 u32 den = sudmac_readl(sc, SUDMAC_CH0DEN + sc->offset); in sudmac_is_busy() 102 static void sudmac_set_reg(struct sudmac_chan *sc, struct sudmac_regs *hw, in sudmac_set_reg() argument 105 sudmac_writel(sc, sc->cfg, SUDMAC_CH0CFG + sc->offset); in sudmac_set_reg() 106 sudmac_writel(sc, hw->base_addr, SUDMAC_CH0BA + sc->offset); in sudmac_set_reg() [all …]
|
/drivers/net/ethernet/cavium/liquidio/ |
D | octeon_nic.c | 37 struct octeon_soft_command *sc; in octeon_alloc_soft_command_resp() local 43 sc = (struct octeon_soft_command *) in octeon_alloc_soft_command_resp() 46 if (!sc) in octeon_alloc_soft_command_resp() 50 memcpy(&sc->cmd, cmd, sizeof(union octeon_instr_64B)); in octeon_alloc_soft_command_resp() 56 ih3 = (struct octeon_instr_ih3 *)&sc->cmd.cmd3.ih3; in octeon_alloc_soft_command_resp() 57 rdp = (struct octeon_instr_rdp *)&sc->cmd.cmd3.rdp; in octeon_alloc_soft_command_resp() 58 irh = (struct octeon_instr_irh *)&sc->cmd.cmd3.irh; in octeon_alloc_soft_command_resp() 62 ih2 = (struct octeon_instr_ih2 *)&sc->cmd.cmd2.ih2; in octeon_alloc_soft_command_resp() 63 rdp = (struct octeon_instr_rdp *)&sc->cmd.cmd2.rdp; in octeon_alloc_soft_command_resp() 64 irh = (struct octeon_instr_irh *)&sc->cmd.cmd2.irh; in octeon_alloc_soft_command_resp() [all …]
|
/drivers/net/ethernet/broadcom/ |
D | sb1250-mac.c | 285 static int sbdma_add_rcvbuffer(struct sbmac_softc *sc, struct sbmacdma *d, 289 static void sbdma_fillring(struct sbmac_softc *sc, struct sbmacdma *d); 290 static int sbdma_rx_process(struct sbmac_softc *sc, struct sbmacdma *d, 292 static void sbdma_tx_process(struct sbmac_softc *sc, struct sbmacdma *d, 299 static void sbmac_promiscuous_mode(struct sbmac_softc *sc, int onoff); 303 static void sbmac_setmulti(struct sbmac_softc *sc); 436 struct sbmac_softc *sc = (struct sbmac_softc *)bus->priv; in sbmac_mii_read() local 437 void __iomem *sbm_mdio = sc->sbm_mdio; in sbmac_mii_read() 530 struct sbmac_softc *sc = (struct sbmac_softc *)bus->priv; in sbmac_mii_write() local 531 void __iomem *sbm_mdio = sc->sbm_mdio; in sbmac_mii_write() [all …]
|