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 | ti,tps23881.yaml | 100 pairset-names = "alternative-a", "alternative-b"; 109 pairset-names = "alternative-a";
|
/linux/drivers/net/pse-pd/ |
H A D | pse_core.c | 42 ret = of_property_read_string_index(node, "pairset-names", in of_load_single_pse_pi_pairset() 48 pi->pairset[pairset_num].pinout = ALTERNATIVE_A; in of_load_single_pse_pi_pairset() 50 pi->pairset[pairset_num].pinout = ALTERNATIVE_B; in of_load_single_pse_pi_pairset() 52 pr_err("pse: wrong pairset-names value %s (%pOF)\n", in of_load_single_pse_pi_pairset() 61 pi->pairset[pairset_num].np = pairset_np; in of_load_single_pse_pi_pairset() 80 ret = of_property_count_strings(node, "pairset-names"); in of_load_pse_pi_pairsets() 82 pr_err("pse: amount of pairsets and pairset-names is not equal %d != %d (%pOF)\n", in of_load_pse_pi_pairsets() 94 pi->pairset[0].pinout == pi->pairset[1].pinout) { in of_load_pse_pi_pairsets() 101 /* If an error appears, release all the pairset device node kref */ in of_load_pse_pi_pairsets() 103 of_node_put(pi->pairset[0].np); in of_load_pse_pi_pairsets() [all …]
|
H A D | tps23881.c | 261 tps23881_match_channel(const struct pse_pi_pairset *pairset, in tps23881_match_channel() argument 268 if (pairset->np == chan_node[i]) in tps23881_match_channel() 299 if (!pi->pairset[0].np) in tps23881_match_port_matrix() 302 ret = tps23881_match_channel(&pi->pairset[0], chan_node); in tps23881_match_port_matrix() 314 if (!pi->pairset[1].np) in tps23881_match_port_matrix() 317 ret = tps23881_match_channel(&pi->pairset[1], chan_node); in tps23881_match_port_matrix()
|
H A D | pd692x0.c | 845 pd692x0_set_port_matrix(const struct pse_pi_pairset *pairset, in pd692x0_set_port_matrix() argument 852 if (!pairset->np) in pd692x0_set_port_matrix() 860 if (pairset->np == manager[i].port_node[j]) { in pd692x0_set_port_matrix() 874 if (pairset->pinout == ALTERNATIVE_A) in pd692x0_set_port_matrix() 876 else if (pairset->pinout == ALTERNATIVE_B) in pd692x0_set_port_matrix() 899 ret = pd692x0_set_port_matrix(&pcdev->pi[i].pairset[0], in pd692x0_set_ports_matrix() 904 "unable to configure pi %d pairset 0", i); in pd692x0_set_ports_matrix() 908 ret = pd692x0_set_port_matrix(&pcdev->pi[i].pairset[1], in pd692x0_set_ports_matrix() 913 "unable to configure pi %d pairset 1", i); in pd692x0_set_ports_matrix()
|
/linux/include/linux/pse-pd/ |
H A D | pse.h | 105 /* PSE PI pairset pinout can either be Alternative A or Alternative B */ 112 * struct pse_pi_pairset - PSE PI pairset entity describing the pinout 116 * @np: device node pointer describing the pairset phandle 127 * @pairset: table of the PSE PI pinout alternative for the two pairset 133 struct pse_pi_pairset pairset[2]; member
|