Home
last modified time | relevance | path

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

/openbsd/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/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/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/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/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/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/sys/arch/riscv64/stand/efiboot/
H A Defiboot.c762 const char cdevs[][4] = { "com", "fb" }; variable
763 const int ncdevs = nitems(cdevs);
777 cdevs[major(cn_tab->cn_dev)], minor(cn_tab->cn_dev)); in ttyname()
793 if (strncmp(name, cdevs[i], no - name + 1) == 0) in ttydev()
/openbsd/sys/arch/armv7/stand/efiboot/
H A Defiboot.c772 const char cdevs[][4] = { "cons", "com", "fb" }; variable
773 const int ncdevs = nitems(cdevs);
787 cdevs[major(cn_tab->cn_dev)], minor(cn_tab->cn_dev)); in ttyname()
803 if (strncmp(name, cdevs[i], no - name + 1) == 0) in ttydev()
/openbsd/sys/arch/arm64/stand/efiboot/
H A Defiboot.c879 const char cdevs[][4] = { "cons", "com", "fb" }; variable
880 const int ncdevs = nitems(cdevs);
894 cdevs[major(cn_tab->cn_dev)], minor(cn_tab->cn_dev)); in ttyname()
910 if (strncmp(name, cdevs[i], no - name + 1) == 0) in ttydev()