Home
last modified time | relevance | path

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

/freebsd/sys/dev/flash/
H A Dn25q.c139 static struct n25q_flash_ident flash_devices[] = { variable
175 for (i = 0; i < nitems(flash_devices); i++) { in n25q_get_device_ident()
176 if ((flash_devices[i].manufacturer_id == manufacturer_id) && in n25q_get_device_ident()
177 (flash_devices[i].device_id == dev_id)) in n25q_get_device_ident()
178 return &flash_devices[i]; in n25q_get_device_ident()
264 for (i = 0; i < nitems(flash_devices); i++) in n25q_probe()
265 if (ofw_bus_is_compatible(dev, flash_devices[i].name)) in n25q_probe()
H A Dw25n.c107 static struct w25n_flash_ident flash_devices[] = { variable
195 for (i = 0; i < nitems(flash_devices); i++) { in w25n_get_device_ident()
196 if ((flash_devices[i].manufacturer_id == manufacturer_id) && in w25n_get_device_ident()
197 (flash_devices[i].device_id == dev_id)) in w25n_get_device_ident()
198 return &flash_devices[i]; in w25n_get_device_ident()
353 for (i = 0; i < nitems(flash_devices); i++) in w25n_probe()
354 if (ofw_bus_is_compatible(dev, flash_devices[i].name)) in w25n_probe()
H A Dmx25l.c117 static struct mx25l_flash_ident flash_devices[] = { variable
209 for (i = 0; i < nitems(flash_devices); i++) { in mx25l_get_device_ident()
210 if ((flash_devices[i].manufacturer_id == manufacturer_id) && in mx25l_get_device_ident()
211 (flash_devices[i].device_id == dev_id)) in mx25l_get_device_ident()
212 return &flash_devices[i]; in mx25l_get_device_ident()
462 for (i = 0; i < nitems(flash_devices); i++) in mx25l_probe()
463 if (ofw_bus_is_compatible(dev, flash_devices[i].name)) in mx25l_probe()