Lines Matching refs:len
123 calculate_checksum(const u8 *bytes, int len) in calculate_checksum() argument
127 while (len-- > 0) in calculate_checksum()
236 size_t len; in find_rsdp_address() local
249 len = strlen(buf); in find_rsdp_address()
250 while (len > 0 && buf[len-1] == '\n') in find_rsdp_address()
251 buf[--len] = '\0'; in find_rsdp_address()
293 len = sizeof(ulnum); in find_rsdp_address()
294 if (sysctlbyname("machdep.acpi_root", &ulnum, &len, NULL, 0) == 0) in find_rsdp_address()
304 len = sizeof(ulnum); in find_rsdp_address()
305 if (sysctlbyname("hw.acpi.root", &ulnum, &len, NULL, 0) == 0) in find_rsdp_address()
1136 ecam_read(struct pci_dev *d, int pos, byte *buf, int len) argument
1143 if (len != 1 && len != 2 && len != 4)
1144 return pci_generic_block_read(d, pos, buf, len);
1149 switch (len)
1166 ecam_write(struct pci_dev *d, int pos, byte *buf, int len) argument
1173 if (len != 1 && len != 2 && len != 4)
1174 return pci_generic_block_read(d, pos, buf, len);
1179 switch (len)