Home
last modified time | relevance | path

Searched refs:prueth (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/net/ethernet/ti/icssg/
H A Dicssg_prueth.c234 struct prueth *prueth = emac->prueth; in prueth_ndev_add_tx_napi() local
246 dev_err(prueth->dev, "unable to request TX IRQ %d\n", in prueth_ndev_add_tx_napi()
267 struct device *dev = emac->prueth->dev; in prueth_init_tx_chns()
344 struct device *dev = emac->prueth->dev; in prueth_init_rx_chns()
413 rx_flow_cfg.rxfdq_cfg.mode = emac->prueth->pdata.fdqring_mode; in prueth_init_rx_chns()
500 u32 hi_sw = readl(emac->prueth->shram.va + in emac_rx_timestamp()
605 struct prueth *prueth = emac->prueth; in emac_get_tx_ts() local
609 addr = icssg_queue_pop(prueth, slice == 0 ? in emac_get_tx_ts()
614 memcpy_fromio(rsp, prueth->shram.va + addr, sizeof(*rsp)); in emac_get_tx_ts()
616 icssg_queue_push(prueth, slice == 0 ? in emac_get_tx_ts()
[all …]
H A Dicssg_config.c111 struct prueth *prueth = emac->prueth; in icssg_config_mii_init() local
115 mii_rt = prueth->mii_rt; in icssg_config_mii_init()
143 static void icssg_miig_queues_init(struct prueth *prueth, int slice) in icssg_miig_queues_init() argument
145 struct regmap *miig_rt = prueth->miig_rt; in icssg_miig_queues_init()
146 void __iomem *smem = prueth->shram.va; in icssg_miig_queues_init()
203 struct prueth *prueth = emac->prueth; in icssg_config_ipg() local
208 icssg_mii_update_ipg(prueth->mii_rt, slice, MII_RT_TX_IPG_1G); in icssg_config_ipg()
211 icssg_mii_update_ipg(prueth->mii_rt, slice, MII_RT_TX_IPG_100M); in icssg_config_ipg()
215 icssg_mii_update_ipg(prueth->mii_rt, slice, MII_RT_TX_IPG_100M); in icssg_config_ipg()
256 struct prueth *prueth = emac->prueth; in prueth_emac_buffer_setup() local
[all …]
H A Dicssg_queues.c16 int icssg_queue_pop(struct prueth *prueth, u8 queue) in icssg_queue_pop() argument
23 regmap_read(prueth->miig_rt, ICSSG_QUEUE_CNT_OFFSET + 4 * queue, &cnt); in icssg_queue_pop()
27 regmap_read(prueth->miig_rt, ICSSG_QUEUE_OFFSET + 4 * queue, &val); in icssg_queue_pop()
32 void icssg_queue_push(struct prueth *prueth, int queue, u16 addr) in icssg_queue_push() argument
37 regmap_write(prueth->miig_rt, ICSSG_QUEUE_OFFSET + 4 * queue, addr); in icssg_queue_push()
40 u32 icssg_queue_level(struct prueth *prueth, int queue) in icssg_queue_level() argument
47 regmap_read(prueth->miig_rt, ICSSG_QUEUE_CNT_OFFSET + 4 * queue, &reg); in icssg_queue_level()
H A Dicssg_prueth.h131 struct prueth *prueth; member
213 struct prueth { struct
281 int icssg_config(struct prueth *prueth, struct prueth_emac *emac,
288 int icssg_queue_pop(struct prueth *prueth, u8 queue);
289 void icssg_queue_push(struct prueth *prueth, int queue, u16 addr);
290 u32 icssg_queue_level(struct prueth *prueth, int queue);
H A Dicssg_stats.c21 struct prueth *prueth = emac->prueth; in emac_update_hardware_stats() local
29 regmap_read(prueth->miig_rt, in emac_update_hardware_stats()
32 regmap_write(prueth->miig_rt, in emac_update_hardware_stats()
H A Dicssg_ethtool.c15 struct prueth *prueth = emac->prueth; in emac_get_drvinfo() local
17 strscpy(info->driver, dev_driver_string(prueth->dev), in emac_get_drvinfo()
19 strscpy(info->bus_info, dev_name(prueth->dev), sizeof(info->bus_info)); in emac_get_drvinfo()
/openbmc/linux/drivers/net/ethernet/ti/
H A DMakefile34 obj-$(CONFIG_TI_ICSSG_PRUETH) += icssg-prueth.o
35 icssg-prueth-y := icssg/icssg_prueth.o \
/openbmc/linux/
H A Dopengrok1.0.log[all...]