Searched refs:this_part (Results 1 – 2 of 2) sorted by relevance
/drivers/mtd/ |
D | cmdlinepart.c | 99 int this_part, in newpart() argument 177 parts = newpart(s + 1, &s, num_parts, this_part + 1, in newpart() 185 *num_parts = this_part + 1; in newpart() 196 parts[this_part].size = size; in newpart() 197 parts[this_part].offset = offset; in newpart() 198 parts[this_part].mask_flags = mask_flags; in newpart() 202 sprintf(extra_mem, "Partition_%03d", this_part); in newpart() 203 parts[this_part].name = extra_mem; in newpart() 207 this_part, parts[this_part].name, parts[this_part].offset, in newpart() 208 parts[this_part].size, parts[this_part].mask_flags)); in newpart()
|
/drivers/usb/class/ |
D | usbtmc.c | 375 size_t this_part; in usbtmc_read() local 396 this_part = USBTMC_SIZE_IOBUFFER - 12 - 3; in usbtmc_read() 398 this_part = remaining; in usbtmc_read() 407 buffer[4] = (this_part) & 255; in usbtmc_read() 408 buffer[5] = ((this_part) >> 8) & 255; in usbtmc_read() 409 buffer[6] = ((this_part) >> 16) & 255; in usbtmc_read() 410 buffer[7] = ((this_part) >> 24) & 255; in usbtmc_read() 468 if(n_characters > this_part) { in usbtmc_read() 469 …err(dev, "Device returns more than requested: %zu > %zu\n", done + n_characters, done + this_part); in usbtmc_read() 470 n_characters = this_part; in usbtmc_read() [all …]
|