Lines Matching refs:hwpath
190 First case, we don't have a preset hwpath... */
196 /* else, we expect the provided hwpath to be valid. */
218 * We will call this function to format the output of the hwpath attribute file.
266 struct hardware_path hwpath;
280 memset(&hwpath, 0xff, sizeof(hwpath));
286 hwpath.mod = simple_strtoul(temp+1, NULL, 10);
288 DPRINTK("%s: mod: %d\n", __func__, hwpath.mod);
294 check the consistency of the given hwpath. */
296 hwpath.bc[i] = simple_strtoul(temp+1, NULL, 10);
298 DPRINTK("%s: bc[%d]: %d\n", __func__, i, hwpath.path.bc[i]);
302 hwpath.bc[i] = simple_strtoul(in, NULL, 10);
303 DPRINTK("%s: bc[%d]: %d\n", __func__, i, hwpath.path.bc[i]);
306 if (!(dev = hwpath_to_device((struct hardware_path *)&hwpath))) {
374 * XXX beware we are far less checky WRT input data provided than for hwpath.
475 static PATHS_ATTR(hwpath, 0644, pdcspath_hwpath_read, pdcspath_hwpath_write);