Lines Matching defs:pins
2198 unsigned int pins[9];
2206 * Unlike channels which are restricted to a select range of CRx pins
2208 * CTx pins (CTx0-8).
2215 dev_err(&client->dev, "Failed to count %s CTx pins: %d\n",
2218 } else if (count > ARRAY_SIZE(pins)) {
2219 dev_err(&client->dev, "Invalid number of %s CTx pins\n",
2225 pins, count);
2227 dev_err(&client->dev, "Failed to read %s CTx pins: %d\n",
2232 cycle_setup[1] &= ~GENMASK(7 + ARRAY_SIZE(pins) - 1, 7);
2235 if (pins[i] > 8) {
2237 fwnode_get_name(cycle_node), pins[i]);
2241 cycle_setup[1] |= BIT(pins[i] + 7);
2338 * Each channel can claim up to 4 CRx pins. The first half of
2342 unsigned int pins[4];
2349 "Failed to count %s CRx pins: %d\n",
2352 } else if (count > ARRAY_SIZE(pins)) {
2354 "Invalid number of %s CRx pins\n",
2361 pins, count);
2364 "Failed to read %s CRx pins: %d\n",
2369 chan_setup[0] &= ~GENMASK(4 + ARRAY_SIZE(pins) - 1, 4);
2374 if (pins[i] < min_crx || pins[i] > min_crx + 3) {
2377 fwnode_get_name(chan_node), pins[i]);
2381 chan_setup[0] |= BIT(pins[i] + 4 - min_crx);