Home
last modified time | relevance | path

Searched refs:psec (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/net/pse-pd/
H A Dpse_core.c547 struct pse_control *psec = container_of(kref, struct pse_control, in __pse_control_release() local
552 if (psec->pcdev->pi[psec->id].admin_state_enabled) in __pse_control_release()
553 regulator_disable(psec->ps); in __pse_control_release()
554 devm_regulator_put(psec->ps); in __pse_control_release()
556 module_put(psec->pcdev->owner); in __pse_control_release()
558 list_del(&psec->list); in __pse_control_release()
559 kfree(psec); in __pse_control_release()
562 static void __pse_control_put_internal(struct pse_control *psec) in __pse_control_put_internal() argument
566 kref_put(&psec->refcnt, __pse_control_release); in __pse_control_put_internal()
573 void pse_control_put(struct pse_control *psec) in pse_control_put() argument
[all …]
/linux/include/linux/pse-pd/
H A Dpse.h176 void pse_control_put(struct pse_control *psec);
178 int pse_ethtool_get_status(struct pse_control *psec,
181 int pse_ethtool_set_config(struct pse_control *psec,
184 int pse_ethtool_set_pw_limit(struct pse_control *psec,
187 int pse_ethtool_get_pw_limit(struct pse_control *psec,
190 bool pse_has_podl(struct pse_control *psec);
191 bool pse_has_c33(struct pse_control *psec);
200 static inline void pse_control_put(struct pse_control *psec) in pse_control_put() argument
204 static inline int pse_ethtool_get_status(struct pse_control *psec, in pse_ethtool_get_status() argument
211 static inline int pse_ethtool_set_config(struct pse_control *psec, in pse_ethtool_set_config() argument
[all …]
/linux/drivers/net/mdio/
H A Dfwnode_mdio.c23 struct pse_control *psec; in fwnode_find_pse_control() local
33 psec = of_pse_control_get(np); in fwnode_find_pse_control()
34 if (PTR_ERR(psec) == -ENOENT) in fwnode_find_pse_control()
37 return psec; in fwnode_find_pse_control()
118 struct pse_control *psec = NULL; in fwnode_mdiobus_register_phy() local
124 psec = fwnode_find_pse_control(child); in fwnode_mdiobus_register_phy()
125 if (IS_ERR(psec)) in fwnode_mdiobus_register_phy()
126 return PTR_ERR(psec); in fwnode_mdiobus_register_phy()
165 phy->psec = psec; in fwnode_mdiobus_register_phy()
181 pse_control_put(psec); in fwnode_mdiobus_register_phy()
/linux/security/selinux/
H A Dnetport.c44 struct netport_security_struct psec; member
90 if (port->psec.port == pnum && port->psec.protocol == protocol) in sel_netport_find()
110 idx = sel_netport_hashfn(port->psec.port); in sel_netport_insert()
146 *sid = port->psec.sid; in sel_netport_sid_slow()
156 new->psec.port = pnum; in sel_netport_sid_slow()
157 new->psec.protocol = protocol; in sel_netport_sid_slow()
158 new->psec.sid = *sid; in sel_netport_sid_slow()
190 *sid = port->psec.sid; in sel_netport_sid()
H A Dibpkey.c38 struct pkey_security_struct psec; member
77 if (pkey->psec.pkey == pkey_num && in sel_ib_pkey_find()
78 pkey->psec.subnet_prefix == subnet_prefix) in sel_ib_pkey_find()
100 idx = sel_ib_pkey_hashfn(pkey->psec.pkey); in sel_ib_pkey_insert()
139 *sid = pkey->psec.sid; in sel_ib_pkey_sid_slow()
158 new->psec.subnet_prefix = subnet_prefix; in sel_ib_pkey_sid_slow()
159 new->psec.pkey = pkey_num; in sel_ib_pkey_sid_slow()
160 new->psec.sid = *sid; in sel_ib_pkey_sid_slow()
188 *sid = pkey->psec.sid; in sel_ib_pkey_sid()
/linux/Documentation/devicetree/bindings/net/
H A Dmicrel-ksz90x1.txt165 A negative value can be assigned as rxc-skew-psec = <(-100)>;.
171 - rxc-skew-psec : Skew control of RX clock pad
172 - txc-skew-psec : Skew control of TX clock pad
176 - rxdv-skew-psec : Skew control of RX CTL pad
177 - txen-skew-psec : Skew control of TX CTL pad
178 - rxd0-skew-psec : Skew control of RX data 0 pad
179 - rxd1-skew-psec : Skew control of RX data 1 pad
180 - rxd2-skew-psec : Skew control of RX data 2 pad
181 - rxd3-skew-psec : Skew control of RX data 3 pad
182 - txd0-skew-psec : Skew control of TX data 0 pad
[all …]
/linux/net/ethtool/
H A Dpse-pd.c43 if (!phydev->psec) { in pse_get_pse_attributes()
50 return pse_ethtool_get_status(phydev->psec, extack, &data->status); in pse_get_pse_attributes()
234 if (!phydev->psec) { in ethnl_set_pse_validate()
240 !pse_has_podl(phydev->psec)) { in ethnl_set_pse_validate()
247 !pse_has_c33(phydev->psec)) { in ethnl_set_pse_validate()
274 ret = pse_ethtool_set_pw_limit(phydev->psec, info->extack, in ethnl_set_pse()
293 ret = pse_ethtool_set_config(phydev->psec, info->extack, in ethnl_set_pse()
/linux/drivers/net/ieee802154/
H A Dca8210.c1442 struct secspec *psec; in mcps_data_request() local
1470 psec = (struct secspec *)(command.pdata.data_req.msdu + msdu_length); in mcps_data_request()
1474 psec->security_level = 0; in mcps_data_request()
1477 *psec = *security; in mcps_data_request()
/linux/include/linux/
H A Dphy.h773 struct pse_control *psec; member
/linux/drivers/net/phy/
H A Dphy_device.c1061 pse_control_put(phydev->psec); in phy_device_remove()