Lines Matching refs:cs_array
201 * @cs_array: CS array. Native CS are left empty, the other cells are
203 * @ncs: Size of @cs_array
204 * @cur_cs: Index in @cs_array of the currently in use CS
217 struct gpio_desc **cs_array;
306 return nfc_cs >= 0 && nfc->cs_array[nfc_cs];
322 gpiod_set_value_cansleep(nfc->cs_array[nfc->cur_cs], 1);
327 gpiod_set_value_cansleep(nfc->cs_array[nfc_cs_idx], 0);
1401 ret = rawnand_dt_parse_gpio_cs(nfc->dev, &nfc->cs_array, &nfc->ncs);
1413 if (nfc->cs_array && nfc->ncs > 2) {
1414 if (!nfc->cs_array[0] && !nfc->cs_array[1]) {
1420 if (nfc->cs_array[0])
1426 if (!nfc->cs_array) {
1427 nfc->cs_array = anfc_default_cs_array;