Home
last modified time | relevance | path

Searched refs:scode (Results 1 – 25 of 57) sorted by relevance

123

/netbsd-src/sys/arch/hp300/dev/
H A Ddioreg.h93 #define DIO_INHOLE(scode) ((scode) >= 32 && (scode) < 132) argument
98 #define DIO_ISDIO(scode) ((scode) >= 0 && (scode) < 32) argument
99 #define DIO_ISDIOII(scode) ((scode) >= DIOII_SCBASE && (scode) < 256) argument
137 #define DIO_SIZE(scode, base) \ argument
138 (DIO_ISDIOII((scode)) ? DIOII_SIZE((base)) : DIO_DEVSIZE)
H A Ddio.c106 int scode, scmax, scodesize; in dioattach() local
116 for (scode = 0; scode < scmax; ) { in dioattach()
117 if (DIO_INHOLE(scode)) { in dioattach()
118 scode++; in dioattach()
126 pa = (bus_addr_t)dio_scodetopa(scode); in dioattach()
128 aprint_error_dev(self, "can't map scode %d\n", scode); in dioattach()
129 scode++; in dioattach()
137 scode++; in dioattach()
144 da.da_scode = scode; in dioattach()
150 da.da_size = DIO_SIZE(scode, va); in dioattach()
[all …]
H A Dtvrx.c136 tvrx_reset(struct diofb *fb, int scode, struct diofbreg *fbr) in tvrx_reset() argument
140 if ((rc = diofb_fbinquire(fb, scode, fbr)) != 0) in tvrx_reset()
200 tvrxcnattach(bus_space_tag_t bst, bus_addr_t addr, int scode) in tvrxcnattach() argument
219 size = DIO_SIZE(scode, va); in tvrxcnattach()
229 conscode = scode; in tvrxcnattach()
H A Dhyper.c203 hyper_reset(struct diofb *fb, int scode, struct diofbreg *fbr) in hyper_reset() argument
208 if ((rc = diofb_fbinquire(fb, scode, fbr)) != 0) in hyper_reset()
261 hypercnattach(bus_space_tag_t bst, bus_addr_t addr, int scode) in hypercnattach() argument
280 size = DIO_SIZE(scode, va); in hypercnattach()
290 conscode = scode; in hypercnattach()
H A Dgendiofb.c144 gendiofb_reset(struct diofb *fb, int scode, struct diofbreg *fbr) in gendiofb_reset() argument
149 if ((rc = diofb_fbinquire(fb, scode, fbr)) != 0) in gendiofb_reset()
236 gendiofbcnattach(bus_space_tag_t bst, bus_addr_t addr, int scode) in gendiofbcnattach() argument
256 size = DIO_SIZE(scode, va); in gendiofbcnattach()
268 conscode = scode; in gendiofbcnattach()
H A Drbox.c251 rbox_reset(struct diofb *fb, int scode, struct diofbreg *fbr) in rbox_reset() argument
255 if ((rc = diofb_fbinquire(fb, scode, fbr)) != 0) in rbox_reset()
401 rboxcnattach(bus_space_tag_t bst, bus_addr_t addr, int scode) in rboxcnattach() argument
420 size = DIO_SIZE(scode, va); in rboxcnattach()
430 conscode = scode; in rboxcnattach()
H A Ddvbox.c251 dvbox_reset(struct diofb *fb, int scode, struct diofbreg *fbr) in dvbox_reset() argument
255 if ((rc = diofb_fbinquire(fb, scode, fbr)) != 0) in dvbox_reset()
441 dvboxcnattach(bus_space_tag_t bst, bus_addr_t addr, int scode) in dvboxcnattach() argument
460 size = DIO_SIZE(scode, va); in dvboxcnattach()
470 conscode = scode; in dvboxcnattach()
H A Dgbox.c266 gbox_reset(struct diofb *fb, int scode, struct diofbreg *fbr) in gbox_reset() argument
276 if ((rc = diofb_fbinquire(fb, scode, fbr)) != 0) in gbox_reset()
462 gboxcnattach(bus_space_tag_t bst, bus_addr_t addr, int scode) in gboxcnattach() argument
481 size = DIO_SIZE(scode, va); in gboxcnattach()
491 conscode = scode; in gboxcnattach()
H A Dtopcat.c314 topcat_reset(struct diofb *fb, int scode, struct diofbreg *fbr) in topcat_reset() argument
322 if ((rc = diofb_fbinquire(fb, scode, fbr)) != 0) in topcat_reset()
686 topcatcnattach(bus_space_tag_t bst, bus_addr_t addr, int scode) in topcatcnattach() argument
716 size = DIO_SIZE(scode, va); in topcatcnattach()
726 conscode = scode; in topcatcnattach()
/netbsd-src/sys/arch/hp300/conf/
H A DINSTALL205 dvbox* at dio? scode ?
210 gbox* at dio? scode ?
214 hyper* at dio? scode ?
219 rbox* at dio? scode ?
224 topcat* at dio? scode ?
228 tvrx* at dio? scode ?
232 gendiofb* at dio? scode ?
239 com* at dio0 scode 9 # DCA serial interfaces
240 com* at dio? scode ?
242 dcm* at dio? scode ? flags 0xe # DCM 4- or 8-port serial interfaces
[all …]
H A DGENERIC211 dvbox* at dio? scode ?
216 gbox* at dio? scode ?
220 hyper* at dio? scode ?
225 rbox* at dio? scode ?
230 topcat* at dio? scode ?
234 tvrx* at dio? scode ?
238 gendiofb* at dio? scode ?
245 com0 at dio0 scode 9 # DCA serial interfaces
246 com* at dio? scode ?
248 dcm* at dio? scode
[all...]
/netbsd-src/sys/arch/hp300/hp300/
H A Dautoconf.c518 * always starts at scode 0 and works its way up. in findbootdev()
927 int scode, sctop; in dio_scan() local
930 for (scode = 0; scode < sctop; ++scode) { in dio_scan()
931 if (DIO_INHOLE(scode) || ((scode == 7) && internalhpib)) in dio_scan()
933 if (!dio_scode_probe(scode, func)) in dio_scan()
945 dio_scode_probe(int scode, int (*func)(bus_space_tag_t, bus_addr_t, int)) in dio_scode_probe() argument
954 pa = dio_scodetopa(scode); in dio_scode_probe()
[all...]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Doptabs-query.h40 unsigned scode = (op << 16) | mode; in optab_handler() local
42 return raw_optab_handler (scode); in optab_handler()
53 unsigned scode = (op << 16) | (from_mode << 8) | to_mode; in convert_optab_handler() local
55 return raw_optab_handler (scode); in convert_optab_handler()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Doptabs-query.h40 unsigned scode = (op << 16) | mode; in optab_handler() local
42 return raw_optab_handler (scode); in optab_handler()
53 unsigned scode = (op << 16) | (from_mode << 8) | to_mode; in convert_optab_handler() local
55 return raw_optab_handler (scode); in convert_optab_handler()
/netbsd-src/usr.sbin/sesd/srcs/
H A Deltsub.c163 static char ebuf[256], *scode; in stat2ascii() local
165 scode = scode2ascii(cstat[0]); in stat2ascii()
167 scode, cstat[0], cstat[1], cstat[2], cstat[3]); in stat2ascii()
/netbsd-src/sys/arch/hp300/stand/common/
H A Dite_sti.c74 int scode = ip->scode;
77 id_reg = (uint8_t *)sctoaddr(scode);
81 id_reg = (uint8_t *)sctoaddr(scode + STI_DIO_SCODE_OFFSET);
92 ip->fbbase = (caddr_t)sctoaddr(ip->scode + STI_DIO_SCODE_OFFSET);
101 ip->fbbase = (uint8_t *)IIOV(SGC_BASE + (ip->scode * SGC_DEVSIZE)); in sti_iteinit_sgc()
/netbsd-src/external/mpl/dhcp/dist/keama/
H A Doptions.c666 struct element *scode; in add_option_data() local
672 scode = mapGet(src, "code"); in add_option_data()
674 assert((scode != NULL) || (name != NULL)); in add_option_data()
677 if (scode == NULL) { in add_option_data()
681 scode = createInt(option->code); in add_option_data()
682 mapSet(src, scode, "code"); in add_option_data()
684 assert(intValue(scode) != 0); in add_option_data()
706 if (intValue(scode) == intValue(code)) in add_option_data()
/netbsd-src/sys/arch/hp300/include/
H A Dbootinfo.h55 int scode; member
73 int scode; member
/netbsd-src/sys/dev/i2c/
H A Dxc3028.c161 struct xc3028_fw *basefw, *stdfw, *scode; in xc3028_firmware_open() local
191 scode = xc3028_get_scode(xc); in xc3028_firmware_open()
202 if (scode) { in xc3028_firmware_open()
203 xc3028_dump_fw(xc, scode, "scode"); in xc3028_firmware_open()
204 error = xc3028_scode_upload(xc, scode); in xc3028_firmware_open()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c-family/
H A Dc-opts.c270 c_common_handle_option (size_t scode, const char *arg, HOST_WIDE_INT value, in c_common_handle_option() argument
274 const struct cl_option *option = &cl_options[scode]; in c_common_handle_option()
275 enum opt_code code = (enum opt_code) scode; in c_common_handle_option()
288 && ! targetcm.handle_c_option (scode, arg, value)) in c_common_handle_option()
721 scode, arg, value, in c_common_handle_option()
728 scode, arg, value, in c_common_handle_option()
735 scode, arg, value, in c_common_handle_option()
742 scode, arg, value, in c_common_handle_option()
751 cpp_handle_option_auto (&global_options, scode, cpp_opts); in c_common_handle_option()
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/src/
H A Dx-lisp.c275 enum syntax_code scode; /* syntax code */ member
285 p->scode = (c == EOF ? syntax_eof : syntax_code_of (c)); in read_char_syntax()
411 switch (curr.scode) in read_token()
421 if (curr.scode == syntax_eof) in read_token()
463 if (curr.scode != syntax_whitespace || read_preserve_whitespace) in read_token()
943 switch (curr.scode) in read_object()
1319 first.scode = syntax_single_esc; in read_object()
/netbsd-src/external/gpl3/gcc/dist/gcc/c-family/
H A Dc-opts.cc281 c_common_handle_option (size_t scode, const char *arg, HOST_WIDE_INT value, in c_common_handle_option() argument
285 const struct cl_option *option = &cl_options[scode]; in c_common_handle_option()
286 enum opt_code code = (enum opt_code) scode; in c_common_handle_option()
299 && ! targetcm.handle_c_option (scode, arg, value)) in c_common_handle_option()
744 scode, arg, value, in c_common_handle_option()
751 scode, arg, value, in c_common_handle_option()
758 scode, arg, value, in c_common_handle_option()
765 scode, arg, value, in c_common_handle_option()
774 cpp_handle_option_auto (&global_options, scode, cpp_opts); in c_common_handle_option()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/fortran/
H A Doptions.c636 gfc_handle_option (size_t scode, const char *arg, HOST_WIDE_INT value, in gfc_handle_option() argument
641 enum opt_code code = (enum opt_code) scode; in gfc_handle_option()
643 if (gfc_cpp_handle_option (scode, arg, value) == 1) in gfc_handle_option()
810 scode, arg, value, in gfc_handle_option()
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Dcp-objcp-common.cc603 cp_handle_option (size_t scode, const char *arg, HOST_WIDE_INT value, in cp_handle_option() argument
607 if (handle_module_option (unsigned (scode), arg, value)) in cp_handle_option()
609 return c_common_handle_option (scode, arg, value, kind, loc, handlers); in cp_handle_option()
/netbsd-src/external/gpl3/gcc/dist/gcc/fortran/
H A Doptions.cc650 gfc_handle_option (size_t scode, const char *arg, HOST_WIDE_INT value, in gfc_handle_option() argument
655 enum opt_code code = (enum opt_code) scode; in gfc_handle_option()
657 if (gfc_cpp_handle_option (scode, arg, value) == 1) in gfc_handle_option()
824 scode, arg, value, in gfc_handle_option()

123