/linux-6.3-rc2/drivers/net/ethernet/qualcomm/emac/ |
A D | emac.c | 87 emac_mac_down(adpt); in emac_reinit_locked() 88 emac_sgmii_reset(adpt); in emac_reinit_locked() 123 return emac_mac_tx_buf_send(adpt, &adpt->tx_q, skb); in emac_start_xmit() 161 emac_mac_tx_process(adpt, &adpt->tx_q); in emac_isr() 217 netif_dbg(adpt, hw, adpt->netdev, in emac_change_mtu() 275 emac_mac_down(adpt); in emac_close() 278 free_irq(adpt->irq.irq, &adpt->irq); in emac_close() 421 adpt->irq_mod = reg; in emac_init_adapter() 450 adpt->clk[i] = clk; in emac_clks_get() 558 adpt->irq.irq = ret; in emac_probe_resources() [all …]
|
A D | emac-mac.c | 757 adpt->tx_q.tpd.count = adpt->tx_desc_cnt; in emac_mac_rx_tx_rings_alloc_all() 759 adpt->rx_q.rrd.count = adpt->rx_desc_cnt; in emac_mac_rx_tx_rings_alloc_all() 760 adpt->rx_q.rfd.count = adpt->rx_desc_cnt; in emac_mac_rx_tx_rings_alloc_all() 780 ret = emac_tx_q_desc_alloc(adpt, &adpt->tx_q); in emac_mac_rx_tx_rings_alloc_all() 938 emac_mac_rx_descs_refill(adpt, &adpt->rx_q); in emac_mac_up() 952 writel(adpt->irq.mask, adpt->base + EMAC_INT_MASK); in emac_mac_up() 1134 netif_dbg(adpt, rx_status, adpt->netdev, in emac_mac_rx_process() 1218 adpt->rx_q.netdev = adpt->netdev; in emac_mac_rx_tx_ring_init_all() 1232 adpt->rx_q.irq = &adpt->irq; in emac_mac_rx_tx_ring_init_all() 1233 adpt->rx_q.intr = adpt->irq.mask & ISR_RX_PKT; in emac_mac_rx_tx_ring_init_all() [all …]
|
A D | emac-sgmii.c | 50 if (!(adpt->phy.sgmii_ops && adpt->phy.sgmii_ops->init)) in emac_sgmii_init() 53 return adpt->phy.sgmii_ops->init(adpt); in emac_sgmii_init() 58 if (!(adpt->phy.sgmii_ops && adpt->phy.sgmii_ops->open)) in emac_sgmii_open() 61 return adpt->phy.sgmii_ops->open(adpt); in emac_sgmii_open() 66 if (!(adpt->phy.sgmii_ops && adpt->phy.sgmii_ops->close)) in emac_sgmii_close() 69 adpt->phy.sgmii_ops->close(adpt); in emac_sgmii_close() 74 if (!(adpt->phy.sgmii_ops && adpt->phy.sgmii_ops->link_change)) in emac_sgmii_link_change() 77 return adpt->phy.sgmii_ops->link_change(adpt, link_state); in emac_sgmii_link_change() 82 if (!(adpt->phy.sgmii_ops && adpt->phy.sgmii_ops->reset)) in emac_sgmii_reset() 85 adpt->phy.sgmii_ops->reset(adpt); in emac_sgmii_reset() [all …]
|
A D | emac-ethtool.c | 70 return adpt->msg_enable; in emac_get_msglevel() 77 adpt->msg_enable = data; in emac_set_msglevel() 117 spin_lock(&adpt->stats.lock); in emac_get_ethtool_stats() 119 emac_update_hw_stats(adpt); in emac_get_ethtool_stats() 122 spin_unlock(&adpt->stats.lock); in emac_get_ethtool_stats() 144 ring->rx_pending = adpt->rx_desc_cnt; in emac_get_ringparam() 161 adpt->tx_desc_cnt = in emac_set_ringparam() 164 adpt->rx_desc_cnt = in emac_set_ringparam() 168 return emac_reinit_locked(adpt); in emac_set_ringparam() 193 return emac_reinit_locked(adpt); in emac_set_pauseparam() [all …]
|
A D | emac-sgmii.h | 18 int (*init)(struct emac_adapter *adpt); 19 int (*open)(struct emac_adapter *adpt); 20 void (*close)(struct emac_adapter *adpt); 22 void (*reset)(struct emac_adapter *adpt); 42 int emac_sgmii_init_fsm9900(struct emac_adapter *adpt); 43 int emac_sgmii_init_qdf2432(struct emac_adapter *adpt); 44 int emac_sgmii_init_qdf2400(struct emac_adapter *adpt); 46 int emac_sgmii_init(struct emac_adapter *adpt); 47 int emac_sgmii_open(struct emac_adapter *adpt); 48 void emac_sgmii_close(struct emac_adapter *adpt); [all …]
|
A D | emac-phy.c | 46 struct emac_adapter *adpt = bus->priv; in emac_mdio_read() local 57 writel(reg, adpt->base + EMAC_MDIO_CTRL); in emac_mdio_read() 69 struct emac_adapter *adpt = bus->priv; in emac_mdio_write() local 81 writel(reg, adpt->base + EMAC_MDIO_CTRL); in emac_mdio_write() 108 mii_bus->priv = adpt; in emac_phy_config() 124 adpt->phydev = phy_find_first(mii_bus); in emac_phy_config() 126 adpt->phydev = mdiobus_get_phy(mii_bus, phy_addr); in emac_phy_config() 133 if (adpt->phydev) in emac_phy_config() 134 get_device(&adpt->phydev->mdio.dev); in emac_phy_config() 145 adpt->phydev = of_phy_find_device(phy_np); in emac_phy_config() [all …]
|
A D | emac-mac.h | 223 int emac_mac_up(struct emac_adapter *adpt); 224 void emac_mac_down(struct emac_adapter *adpt); 225 void emac_mac_reset(struct emac_adapter *adpt); 226 void emac_mac_stop(struct emac_adapter *adpt); 227 void emac_mac_mode_config(struct emac_adapter *adpt); 230 netdev_tx_t emac_mac_tx_buf_send(struct emac_adapter *adpt, 235 struct emac_adapter *adpt); 236 int emac_mac_rx_tx_rings_alloc_all(struct emac_adapter *adpt); 237 void emac_mac_rx_tx_rings_free_all(struct emac_adapter *adpt); 238 void emac_mac_multicast_addr_clear(struct emac_adapter *adpt); [all …]
|
A D | emac-sgmii-qdf2432.c | 160 int emac_sgmii_init_qdf2432(struct emac_adapter *adpt) in emac_sgmii_init_qdf2432() argument 162 struct emac_sgmii *phy = &adpt->phy; in emac_sgmii_init_qdf2432() 189 netdev_err(adpt->netdev, "SGMII failed to start\n"); in emac_sgmii_init_qdf2432()
|
A D | emac-sgmii-qdf2400.c | 173 int emac_sgmii_init_qdf2400(struct emac_adapter *adpt) in emac_sgmii_init_qdf2400() argument 175 struct emac_sgmii *phy = &adpt->phy; in emac_sgmii_init_qdf2400() 202 netdev_err(adpt->netdev, "SGMII failed to start\n"); in emac_sgmii_init_qdf2400()
|
A D | emac-sgmii-fsm9900.c | 207 int emac_sgmii_init_fsm9900(struct emac_adapter *adpt) in emac_sgmii_init_fsm9900() argument 209 struct emac_sgmii *phy = &adpt->phy; in emac_sgmii_init_fsm9900() 230 netdev_err(adpt->netdev, "error: ser/des failed to start\n"); in emac_sgmii_init_fsm9900()
|
A D | emac-phy.h | 10 int emac_phy_config(struct platform_device *pdev, struct emac_adapter *adpt);
|
A D | emac.h | 380 int emac_reinit_locked(struct emac_adapter *adpt); 384 void emac_update_hw_stats(struct emac_adapter *adpt);
|
/linux-6.3-rc2/drivers/most/ |
A D | most_snd.c | 495 if (adpt->card) in release_adapter() 498 kfree(adpt); in release_adapter() 542 adpt->pcm_dev_idx++; in audio_probe_channel() 545 adpt = kzalloc(sizeof(*adpt), GFP_KERNEL); in audio_probe_channel() 546 if (!adpt) in audio_probe_channel() 549 adpt->iface = iface; in audio_probe_channel() 551 iface->priv = adpt; in audio_probe_channel() 557 snprintf(adpt->card->driver, sizeof(adpt->card->driver), in audio_probe_channel() 559 snprintf(adpt->card->shortname, sizeof(adpt->card->shortname), in audio_probe_channel() 561 snprintf(adpt->card->longname, sizeof(adpt->card->longname), in audio_probe_channel() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/emulex/benet/ |
A D | be.h | 787 #define default_rxo(adpt) (&adpt->rx_obj[adpt->num_rx_qs - 1]) argument
|
/linux-6.3-rc2/drivers/gpu/drm/exynos/ |
A D | exynos_hdmi.c | 1890 struct i2c_adapter *adpt; in hdmi_get_ddc_adapter() local 1904 adpt = of_find_i2c_adapter_by_node(np); in hdmi_get_ddc_adapter() 1907 if (!adpt) { in hdmi_get_ddc_adapter() 1912 hdata->ddc_adpt = adpt; in hdmi_get_ddc_adapter()
|
/linux-6.3-rc2/drivers/net/ethernet/atheros/atl1c/ |
A D | atl1c_main.c | 2182 static void atl1c_tx_rollback(struct atl1c_adapter *adpt, in atl1c_tx_rollback() argument 2186 struct atl1c_tpd_ring *tpd_ring = &adpt->tpd_ring[queue]; in atl1c_tx_rollback() 2196 atl1c_clean_buffer(adpt->pdev, buffer_info); in atl1c_tx_rollback()
|