Searched full:pairset (Results 1 – 6 of 6) sorted by relevance
| /linux/Documentation/devicetree/bindings/net/pse-pd/ |
| H A D | pse-controller.yaml | 51 802.3-2022, Section 145.2.4. Each pairset comprises a positive and 65 pairset-names: 69 Each name should correspond to a phandle in the 'pairset' 70 property pointing to the power supply for that pairset. 82 corresponding pairset named in 'pairset-names'. This property
|
| H A D | microchip,pd692x0.yaml | 181 pairset-names = "alternative-a", "alternative-b"; 189 pairset-names = "alternative-a";
|
| /linux/include/linux/pse-pd/ |
| H A D | pse.h | 164 * of_load_pse_pis() and the pcdev->pi[x]->pairset[y].np 223 /* PSE PI pairset pinout can either be Alternative A or Alternative B */ 230 * struct pse_pi_pairset - PSE PI pairset entity describing the pinout 234 * @np: device node pointer describing the pairset phandle 245 * @pairset: table of the PSE PI pinout alternative for the two pairset 259 struct pse_pi_pairset pairset[2]; member
|
| /linux/drivers/net/pse-pd/ |
| H A D | pse_core.c | 68 ret = of_property_read_string_index(node, "pairset-names", in of_load_single_pse_pi_pairset() 74 pi->pairset[pairset_num].pinout = ALTERNATIVE_A; in of_load_single_pse_pi_pairset() 76 pi->pairset[pairset_num].pinout = ALTERNATIVE_B; in of_load_single_pse_pi_pairset() 78 pr_err("pse: wrong pairset-names value %s (%pOF)\n", in of_load_single_pse_pi_pairset() 87 pi->pairset[pairset_num].np = pairset_np; in of_load_single_pse_pi_pairset() 106 ret = of_property_count_strings(node, "pairset-names"); in of_load_pse_pi_pairsets() 108 pr_err("pse: amount of pairsets and pairset-names is not equal %d != %d (%pOF)\n", in of_load_pse_pi_pairsets() 120 pi->pairset[0].pinout == pi->pairset[1].pinout) { in of_load_pse_pi_pairsets() 127 /* If an error appears, release all the pairset device node kref */ in of_load_pse_pi_pairsets() 129 of_node_put(pi->pairset[0].np); in of_load_pse_pi_pairsets() [all …]
|
| H A D | pd692x0.c | 1092 pd692x0_set_port_matrix(const struct pse_pi_pairset *pairset, in pd692x0_set_port_matrix() 1099 if (!pairset->np) in pd692x0_set_port_matrix() 1107 if (pairset->np == manager[i].port_node[j]) { in pd692x0_set_port_matrix() 1121 if (pairset->pinout == ALTERNATIVE_A) in pd692x0_set_port_matrix() 1123 else if (pairset->pinout == ALTERNATIVE_B) in pd692x0_set_port_matrix() 1145 ret = pd692x0_set_port_matrix(&pcdev->pi[i].pairset[0], in pd692x0_set_ports_matrix() 1150 "unable to configure pi %d pairset 0", i); in pd692x0_set_ports_matrix() 1154 ret = pd692x0_set_port_matrix(&pcdev->pi[i].pairset[1], in pd692x0_set_ports_matrix() 1159 "unable to configure pi %d pairset 1", i); in pd692x0_set_ports_matrix() 1091 pd692x0_set_port_matrix(const struct pse_pi_pairset * pairset,const struct pd692x0_manager * manager,int nmanagers,struct pd692x0_matrix * port_matrix) pd692x0_set_port_matrix() argument
|
| H A D | tps23881.c | 599 tps23881_match_channel(const struct pse_pi_pairset *pairset, in tps23881_match_channel() argument 606 if (pairset->np == chan_node[i]) in tps23881_match_channel() 637 if (!pi->pairset[0].np) in tps23881_match_port_matrix() 640 ret = tps23881_match_channel(&pi->pairset[0], chan_node); in tps23881_match_port_matrix() 652 if (!pi->pairset[1].np) in tps23881_match_port_matrix() 655 ret = tps23881_match_channel(&pi->pairset[1], chan_node); in tps23881_match_port_matrix()
|