Home
last modified time | relevance | path

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

/freebsd-12.1/sys/dev/flash/
H A Dn25q.c142 static struct n25q_flash_ident flash_devices[] = { variable
178 for (i = 0; i < nitems(flash_devices); i++) { in n25q_get_device_ident()
179 if ((flash_devices[i].manufacturer_id == manufacturer_id) && in n25q_get_device_ident()
180 (flash_devices[i].device_id == dev_id)) in n25q_get_device_ident()
181 return &flash_devices[i]; in n25q_get_device_ident()
271 for (i = 0; i < nitems(flash_devices); i++) in n25q_probe()
272 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
205 for (i = 0; i < nitems(flash_devices); i++) { in mx25l_get_device_ident()
206 if ((flash_devices[i].manufacturer_id == manufacturer_id) && in mx25l_get_device_ident()
207 (flash_devices[i].device_id == dev_id)) in mx25l_get_device_ident()
208 return &flash_devices[i]; in mx25l_get_device_ident()
458 for (i = 0; i < nitems(flash_devices); i++) in mx25l_probe()
459 if (ofw_bus_is_compatible(dev, flash_devices[i].name)) in mx25l_probe()