Lines Matching defs:ghd
243 struct gpiohandle_data ghd;
260 memset(&ghd, 0, sizeof(ghd));
262 ghd.values[i] = test_bit(i, vals);
264 if (copy_to_user(ip, &ghd, sizeof(ghd)))
276 if (copy_from_user(&ghd, ip, sizeof(ghd)))
281 __assign_bit(i, vals, ghd.values[i]);
1965 struct gpiohandle_data ghd;
1977 memset(&ghd, 0, sizeof(ghd));
1982 ghd.values[0] = val;
1984 if (copy_to_user(ip, &ghd, sizeof(ghd)))