Home
last modified time | relevance | path

Searched refs:idt (Results 1 – 6 of 6) sorted by relevance

/drivers/acpi/nfit/
Dcore.c844 static size_t sizeof_idt(struct acpi_nfit_interleave *idt) in sizeof_idt() argument
846 if (idt->header.length < sizeof(*idt)) in sizeof_idt()
848 return sizeof(*idt) + sizeof(u32) * (idt->line_count - 1); in sizeof_idt()
853 struct acpi_nfit_interleave *idt) in add_idt() argument
858 if (!sizeof_idt(idt)) in add_idt()
862 if (sizeof_idt(nfit_idt->idt) != sizeof_idt(idt)) in add_idt()
865 if (memcmp(nfit_idt->idt, idt, sizeof_idt(idt)) == 0) { in add_idt()
871 nfit_idt = devm_kzalloc(dev, sizeof(*nfit_idt) + sizeof_idt(idt), in add_idt()
876 memcpy(nfit_idt->idt, idt, sizeof_idt(idt)); in add_idt()
879 idt->interleave_index, idt->line_count); in add_idt()
[all …]
Dnfit.h184 struct acpi_nfit_interleave idt[]; member
303 struct acpi_nfit_interleave *idt; member
/drivers/char/xillybus/
Dxillybus_core.c568 unsigned char *idt = endpoint->channels[1]->wr_buffers[0]->addr; in xilly_scan_idt() local
569 unsigned char *end_of_idt = idt + endpoint->idtlen - 4; in xilly_scan_idt()
573 scan = idt; in xilly_scan_idt()
574 idt_handle->idt = idt; in xilly_scan_idt()
593 len = endpoint->idtlen - (3 + ((int) (scan - idt))); in xilly_scan_idt()
1803 const unsigned char *idt) in xillybus_init_chrdev() argument
1831 idt++; in xillybus_init_chrdev()
1836 snprintf(devname, sizeof(devname)-1, "xillybus_%s", idt); in xillybus_init_chrdev()
1840 while (*idt++) in xillybus_init_chrdev()
2039 rc = xillybus_init_chrdev(endpoint, idt_handle.idt); in xillybus_endpoint_discovery()
Dxillybus.h33 unsigned char *idt; member
/drivers/ntb/hw/
DMakefile3 obj-$(CONFIG_NTB_IDT) += idt/
DKconfig3 source "drivers/ntb/hw/idt/Kconfig"