Home
last modified time | relevance | path

Searched refs:cdevs (Results 1 – 9 of 9) sorted by relevance

/openbsd-src/sys/arch/i386/stand/pxeboot/
H A Ddevopen.c50 const char cdevs[][4] = { variable
54 const int ncdevs = nitems(cdevs);
153 cdevs[major(cn_tab->cn_dev)], minor(cn_tab->cn_dev)); in ttyname()
169 if (strncmp(name, cdevs[i], no - name + 1) == 0) in ttydev()
/openbsd-src/sys/arch/amd64/stand/pxeboot/
H A Ddevopen.c50 const char cdevs[][4] = { variable
54 const int ncdevs = nitems(cdevs);
153 cdevs[major(cn_tab->cn_dev)], minor(cn_tab->cn_dev)); in ttyname()
169 if (strncmp(name, cdevs[i], no - name + 1) == 0) in ttydev()
/openbsd-src/sys/arch/amd64/stand/efiboot/
H A Ddev_i386.c54 const char cdevs[][4] = { variable
58 const int ncdevs = nitems(cdevs);
178 cdevs[major(cn_tab->cn_dev)], minor(cn_tab->cn_dev)); in ttyname()
194 if (strncmp(name, cdevs[i], no - name + 1) == 0) in ttydev()
/openbsd-src/sys/arch/i386/stand/libsa/
H A Ddev_i386.c54 const char cdevs[][4] = { variable
58 const int ncdevs = nitems(cdevs);
161 cdevs[major(cn_tab->cn_dev)], minor(cn_tab->cn_dev)); in ttyname()
177 if (strncmp(name, cdevs[i], no - name + 1) == 0) in ttydev()
/openbsd-src/sys/arch/amd64/stand/libsa/
H A Ddev_i386.c54 const char cdevs[][4] = { variable
58 const int ncdevs = nitems(cdevs);
161 cdevs[major(cn_tab->cn_dev)], minor(cn_tab->cn_dev)); in ttyname()
177 if (strncmp(name, cdevs[i], no - name + 1) == 0) in ttydev()
/openbsd-src/sys/arch/hppa/stand/libsa/
H A Ddev_hppa.c41 const char cdevs[][4] = { variable
45 const int ncdevs = nitems(cdevs);
178 cdevs[major(cn_tab->cn_dev)],
195 if (strncmp(name, cdevs[i], no - name + 1) == 0)
/openbsd-src/sys/arch/armv7/stand/efiboot/
H A Defiboot.c774 const char cdevs[][4] = { "cons", "com", "fb" }; variable
775 const int ncdevs = nitems(cdevs);
789 cdevs[major(cn_tab->cn_dev)], minor(cn_tab->cn_dev)); in ttyname()
805 if (strncmp(name, cdevs[i], no - name + 1) == 0) in ttydev()
/openbsd-src/sys/arch/riscv64/stand/efiboot/
H A Defiboot.c775 const char cdevs[][4] = { "com", "fb" }; variable
776 const int ncdevs = nitems(cdevs);
790 cdevs[major(cn_tab->cn_dev)], minor(cn_tab->cn_dev)); in ttyname()
806 if (strncmp(name, cdevs[i], no - name + 1) == 0) in ttydev()
/openbsd-src/sys/arch/arm64/stand/efiboot/
H A Defiboot.c136 * kernel. That's fine. They're just used as an index into the cdevs
897 const char cdevs[][4] = { "cons", "com", "fb" }; in ttyname()
898 const int ncdevs = nitems(cdevs); in ttyname()
912 cdevs[major(cn_tab->cn_dev)], minor(cn_tab->cn_dev)); in ttydev()
928 if (strncmp(name, cdevs[i], no - name + 1) == 0) in devparse()
881 const char cdevs[][4] = { "cons", "com", "fb" }; global() variable