Lines Matching refs:slot
1336 /* Must have at least one usable slot */
1337 if (!data->slot[0].bus_width && !data->slot[1].bus_width)
1368 switch (data->slot[0].bus_width) {
1378 if (gpio_is_valid(data->slot[0].detect_pin))
1379 at32_select_gpio(data->slot[0].detect_pin, 0);
1380 if (gpio_is_valid(data->slot[0].wp_pin))
1381 at32_select_gpio(data->slot[0].wp_pin, 0);
1393 switch (data->slot[1].bus_width) {
1404 if (gpio_is_valid(data->slot[1].detect_pin))
1405 at32_select_gpio(data->slot[1].detect_pin, 0);
1406 if (gpio_is_valid(data->slot[1].wp_pin))
1407 at32_select_gpio(data->slot[1].wp_pin, 0);
1413 if (!data->slot[0].bus_width)
1416 data->slot[1].bus_width = 0;