Home
last modified time | relevance | path

Searched refs:mrc (Results 1 – 6 of 6) sorted by relevance

/drivers/soc/mediatek/
A Dmtk-regulator-coupler.c36 struct mediatek_regulator_coupler *mrc = to_mediatek_coupler(coupler); in mediatek_regulator_balance_voltage() local
38 int vsram_min_uV = mrc->vsram_rdev->constraints->min_uV; in mediatek_regulator_balance_voltage()
39 int vsram_max_uV = mrc->vsram_rdev->constraints->max_uV; in mediatek_regulator_balance_voltage()
54 if (rdev == mrc->vsram_rdev) { in mediatek_regulator_balance_voltage()
89 rdev_get_name(mrc->vsram_rdev), min_uV); in mediatek_regulator_balance_voltage()
91 ret = regulator_set_voltage_rdev(mrc->vsram_rdev, vsram_target_min_uV, in mediatek_regulator_balance_voltage()
103 struct mediatek_regulator_coupler *mrc = to_mediatek_coupler(coupler); in mediatek_regulator_attach() local
117 if (mrc->vsram_rdev) in mediatek_regulator_attach()
119 mrc->vsram_rdev = rdev; in mediatek_regulator_attach()
132 if (rdev == mrc->vsram_rdev) in mediatek_regulator_detach()
[all …]
/drivers/net/hyperv/
A Dnetvsc.c329 if (!nvchan->mrc.slots) in netvsc_alloc_recv_comp_ring()
1356 struct multi_recv_comp *mrc = &nvchan->mrc; in send_recv_completions() local
1366 while (mrc->first != mrc->next) { in send_recv_completions()
1368 = mrc->slots + mrc->first; in send_recv_completions()
1381 mrc->first = 0; in send_recv_completions()
1398 if (mrc->next >= mrc->first) in recv_comp_slot_avail()
1399 *filled = mrc->next - mrc->first; in recv_comp_slot_avail()
1401 *filled = (count - mrc->first) + mrc->next; in recv_comp_slot_avail()
1412 struct multi_recv_comp *mrc = &nvchan->mrc; in enq_receive_complete() local
1429 rcd = mrc->slots + mrc->next; in enq_receive_complete()
[all …]
A Drndis_filter.c1142 if (nvchan->mrc.first != nvchan->mrc.next) in netvsc_device_idle()
1577 vfree(net_device->chan_table[i].mrc.slots); in rndis_filter_device_add()
A Dhyperv_net.h1138 struct multi_recv_comp mrc; member
/drivers/net/ethernet/stmicro/stmmac/
A Ddwmac-socfpga.c389 struct mdio_regmap_config mrc; in socfpga_dwmac_pcs_init() local
402 memset(&mrc, 0, sizeof(mrc)); in socfpga_dwmac_pcs_init()
403 mrc.regmap = pcs_regmap; in socfpga_dwmac_pcs_init()
404 mrc.parent = priv->device; in socfpga_dwmac_pcs_init()
405 mrc.valid_addr = 0x0; in socfpga_dwmac_pcs_init()
406 mrc.autoscan = false; in socfpga_dwmac_pcs_init()
411 snprintf(mrc.name, MII_BUS_ID_SIZE, "%s-pcs-mii", in socfpga_dwmac_pcs_init()
413 pcs_bus = devm_mdio_regmap_register(priv->device, &mrc); in socfpga_dwmac_pcs_init()
/drivers/net/ethernet/altera/
A Daltera_tse_main.c1136 struct mdio_regmap_config mrc; in altera_tse_probe() local
1252 memset(&mrc, 0, sizeof(mrc)); in altera_tse_probe()
1281 mrc.regmap = pcs_regmap; in altera_tse_probe()
1282 mrc.parent = &pdev->dev; in altera_tse_probe()
1283 mrc.valid_addr = 0x0; in altera_tse_probe()
1284 mrc.autoscan = false; in altera_tse_probe()
1408 snprintf(mrc.name, MII_BUS_ID_SIZE, "%s-pcs-mii", ndev->name); in altera_tse_probe()
1409 pcs_bus = devm_mdio_regmap_register(&pdev->dev, &mrc); in altera_tse_probe()

Completed in 34 milliseconds