Home
last modified time | relevance | path

Searched refs:cnfg (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/net/caif/
H A Dcfcnfg.c133 static struct cfcnfg_phyinfo *cfcnfg_get_phyinfo_rcu(struct cfcnfg *cnfg, in cfcnfg_get_phyinfo_rcu() argument
138 list_for_each_entry_rcu(phy, &cnfg->phys, node) in cfcnfg_get_phyinfo_rcu()
148 static struct dev_info *cfcnfg_get_phyid(struct cfcnfg *cnfg, in cfcnfg_get_phyid() argument
154 list_for_each_entry_rcu(phy, &cnfg->phys, node) { in cfcnfg_get_phyid()
162 list_for_each_entry_rcu(phy, &cnfg->phys, node) in cfcnfg_get_phyid()
169 static int cfcnfg_get_id_from_ifi(struct cfcnfg *cnfg, int ifi) in cfcnfg_get_id_from_ifi() argument
173 list_for_each_entry_rcu(phy, &cnfg->phys, node) in cfcnfg_get_id_from_ifi()
218 static int caif_connect_req_to_link_param(struct cfcnfg *cnfg, in caif_connect_req_to_link_param() argument
231 res = cfcnfg_get_id_from_ifi(cnfg, s->ifindex); in caif_connect_req_to_link_param()
246 dev_info = cfcnfg_get_phyid(cnfg, pre in caif_connect_req_to_link_param()
375 struct cfcnfg *cnfg = container_obj(layer); cfcnfg_linkup_rsp() local
454 cfcnfg_add_phy_layer(struct cfcnfg *cnfg, struct net_device *dev, struct cflayer *phy_layer, enum cfcnfg_phy_preference pref, struct cflayer *link_support, bool fcs, int head_room) cfcnfg_add_phy_layer() argument
528 cfcnfg_set_phy_state(struct cfcnfg *cnfg, struct cflayer *phy_layer, bool up) cfcnfg_set_phy_state() argument
560 cfcnfg_del_phy_layer(struct cfcnfg *cnfg, struct cflayer *phy_layer) cfcnfg_del_phy_layer() argument
[all...]
/kernel/linux/linux-6.6/net/caif/
H A Dcfcnfg.c133 static struct cfcnfg_phyinfo *cfcnfg_get_phyinfo_rcu(struct cfcnfg *cnfg, in cfcnfg_get_phyinfo_rcu() argument
138 list_for_each_entry_rcu(phy, &cnfg->phys, node) in cfcnfg_get_phyinfo_rcu()
148 static struct dev_info *cfcnfg_get_phyid(struct cfcnfg *cnfg, in cfcnfg_get_phyid() argument
154 list_for_each_entry_rcu(phy, &cnfg->phys, node) { in cfcnfg_get_phyid()
162 list_for_each_entry_rcu(phy, &cnfg->phys, node) in cfcnfg_get_phyid()
169 static int cfcnfg_get_id_from_ifi(struct cfcnfg *cnfg, int ifi) in cfcnfg_get_id_from_ifi() argument
173 list_for_each_entry_rcu(phy, &cnfg->phys, node) in cfcnfg_get_id_from_ifi()
218 static int caif_connect_req_to_link_param(struct cfcnfg *cnfg, in caif_connect_req_to_link_param() argument
231 res = cfcnfg_get_id_from_ifi(cnfg, s->ifindex); in caif_connect_req_to_link_param()
246 dev_info = cfcnfg_get_phyid(cnfg, pre in caif_connect_req_to_link_param()
375 struct cfcnfg *cnfg = container_obj(layer); cfcnfg_linkup_rsp() local
454 cfcnfg_add_phy_layer(struct cfcnfg *cnfg, struct net_device *dev, struct cflayer *phy_layer, enum cfcnfg_phy_preference pref, struct cflayer *link_support, bool fcs, int head_room) cfcnfg_add_phy_layer() argument
528 cfcnfg_set_phy_state(struct cfcnfg *cnfg, struct cflayer *phy_layer, bool up) cfcnfg_set_phy_state() argument
560 cfcnfg_del_phy_layer(struct cfcnfg *cnfg, struct cflayer *phy_layer) cfcnfg_del_phy_layer() argument
[all...]
/kernel/linux/linux-5.10/include/net/caif/
H A Dcfcnfg.h55 * @cnfg: Pointer to a CAIF configuration object, created by
66 cfcnfg_add_phy_layer(struct cfcnfg *cnfg,
75 * @cnfg: Pointer to a CAIF configuration object, created by
79 int cfcnfg_del_phy_layer(struct cfcnfg *cnfg, struct cflayer *phy_layer);
83 * @cnfg: Configuration object
87 int cfcnfg_set_phy_state(struct cfcnfg *cnfg, struct cflayer *phy_layer,
/kernel/linux/linux-6.6/include/net/caif/
H A Dcfcnfg.h55 * @cnfg: Pointer to a CAIF configuration object, created by
66 cfcnfg_add_phy_layer(struct cfcnfg *cnfg,
75 * @cnfg: Pointer to a CAIF configuration object, created by
79 int cfcnfg_del_phy_layer(struct cfcnfg *cnfg, struct cflayer *phy_layer);
83 * @cnfg: Configuration object
87 int cfcnfg_set_phy_state(struct cfcnfg *cnfg, struct cflayer *phy_layer,
/kernel/linux/linux-5.10/drivers/spmi/
H A Dspmi-pmic-arb.c128 * @cnfg: address of the PMIC Arbiter configuration registers.
145 void __iomem *cnfg; member
793 mapping_table[index] = readl_relaxed(pmic_arb->cnfg + in pmic_arb_ppid_to_apid_v1()
842 regval = readl_relaxed(pmic_arb->cnfg + in pmic_arb_find_apid()
904 regval = readl_relaxed(pmic_arb->cnfg + in pmic_arb_read_apid_map_v5()
1233 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "cnfg"); in spmi_pmic_arb_probe()
1234 pmic_arb->cnfg = devm_ioremap_resource(&ctrl->dev, res); in spmi_pmic_arb_probe()
1235 if (IS_ERR(pmic_arb->cnfg)) { in spmi_pmic_arb_probe()
1236 err = PTR_ERR(pmic_arb->cnfg); in spmi_pmic_arb_probe()
/kernel/linux/linux-6.6/drivers/spmi/
H A Dspmi-pmic-arb.c134 * @cnfg: address of the PMIC Arbiter configuration registers.
159 void __iomem *cnfg; member
961 mapping_table[index] = readl_relaxed(pmic_arb->cnfg + in pmic_arb_ppid_to_apid_v1()
1345 return pmic_arb->cnfg + 0x700 + 0x4 * n; in pmic_arb_apid_owner_v2()
1356 return pmic_arb->cnfg + 0x4 * (n - pmic_arb->base_apid); in pmic_arb_apid_owner_v7()
1582 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "cnfg"); in spmi_pmic_arb_probe()
1583 pmic_arb->cnfg = devm_ioremap_resource(&ctrl->dev, res); in spmi_pmic_arb_probe()
1584 if (IS_ERR(pmic_arb->cnfg)) { in spmi_pmic_arb_probe()
1585 err = PTR_ERR(pmic_arb->cnfg); in spmi_pmic_arb_probe()
/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-tegra.c717 u32 cnfg; in tegra_i2c_disable_packet_mode() local
727 cnfg = i2c_readl(i2c_dev, I2C_CNFG); in tegra_i2c_disable_packet_mode()
728 if (cnfg & I2C_CNFG_PACKET_MODE_EN) in tegra_i2c_disable_packet_mode()
729 i2c_writel(i2c_dev, cnfg & ~I2C_CNFG_PACKET_MODE_EN, I2C_CNFG); in tegra_i2c_disable_packet_mode()
/kernel/linux/linux-6.6/drivers/i2c/busses/
H A Di2c-tegra.c718 u32 cnfg; in tegra_i2c_disable_packet_mode() local
728 cnfg = i2c_readl(i2c_dev, I2C_CNFG); in tegra_i2c_disable_packet_mode()
729 if (cnfg & I2C_CNFG_PACKET_MODE_EN) in tegra_i2c_disable_packet_mode()
730 i2c_writel(i2c_dev, cnfg & ~I2C_CNFG_PACKET_MODE_EN, I2C_CNFG); in tegra_i2c_disable_packet_mode()

Completed in 11 milliseconds