Home
last modified time | relevance | path

Searched refs:flash_devices (Results 1 – 2 of 2) sorted by relevance

/freebsd-13.1/sys/dev/flash/
H A Dn25q.c141 static struct n25q_flash_ident flash_devices[] = { variable
177 for (i = 0; i < nitems(flash_devices); i++) { in n25q_get_device_ident()
178 if ((flash_devices[i].manufacturer_id == manufacturer_id) && in n25q_get_device_ident()
179 (flash_devices[i].device_id == dev_id)) in n25q_get_device_ident()
180 return &flash_devices[i]; in n25q_get_device_ident()
270 for (i = 0; i < nitems(flash_devices); i++) in n25q_probe()
271 if (ofw_bus_is_compatible(dev, flash_devices[i].name)) in n25q_probe()
H A Dmx25l.c119 static struct mx25l_flash_ident flash_devices[] = { variable
210 for (i = 0; i < nitems(flash_devices); i++) { in mx25l_get_device_ident()
211 if ((flash_devices[i].manufacturer_id == manufacturer_id) && in mx25l_get_device_ident()
212 (flash_devices[i].device_id == dev_id)) in mx25l_get_device_ident()
213 return &flash_devices[i]; in mx25l_get_device_ident()
463 for (i = 0; i < nitems(flash_devices); i++) in mx25l_probe()
464 if (ofw_bus_is_compatible(dev, flash_devices[i].name)) in mx25l_probe()