Lines Matching defs: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;
281 memset(&hwpath, 0xff, sizeof(hwpath));
287 hwpath.mod = simple_strtoul(temp+1, NULL, 10);
289 DPRINTK("%s: mod: %d\n", __func__, hwpath.mod);
295 check the consistency of the given hwpath. */
297 hwpath.bc[i] = simple_strtoul(temp+1, NULL, 10);
299 DPRINTK("%s: bc[%d]: %d\n", __func__, i, hwpath.bc[i]);
303 hwpath.bc[i] = simple_strtoul(in, NULL, 10);
304 DPRINTK("%s: bc[%d]: %d\n", __func__, i, hwpath.bc[i]);
307 if (!(dev = hwpath_to_device((struct hardware_path *)&hwpath))) {
375 * XXX beware we are far less checky WRT input data provided than for hwpath.
477 static PATHS_ATTR(hwpath, 0644, pdcspath_hwpath_read, pdcspath_hwpath_write);