| /src/tests/net/can/ |
| t_canfilter.c | 74 struct can_filter cfi; local 85 cfi.can_id = MY_ID; 86 cfi.can_mask = CAN_SFF_MASK | CAN_EFF_FLAG; 88 &cfi, sizeof(cfi)) < 0) { 200 struct can_filter cfi[2]; local 215 cfilen = sizeof(cfi); 217 &cfi, &cfilen) < 0) { 273 struct can_filter cfi[2]; local 284 cfi[0].can_id = MY_ID 400 struct can_filter cfi[2]; local [all...] |
| /src/sys/arch/mips/ralink/ |
| ralink_cfi.c | 32 * NOR CFI driver support for ralink 53 #include <dev/nor/cfi.h> 63 struct cfi sc_cfi; 73 * ra_cfi_addr - return bus address for the CFI NOR flash 87 struct cfi cfi; local 100 cfi.cfi_bst = ma->ma_memt; 101 int error = bus_space_map(cfi.cfi_bst, addr, tmpsize, 0, &cfi.cfi_bsh); 108 if (! cfi_probe(&cfi)) { [all...] |
| /src/sys/arch/powerpc/booke/dev/ |
| pq3cfi.c | 32 * NOR CFI driver support for booke 51 #include <dev/nor/cfi.h> 61 struct cfi sc_cfi; 76 struct cfi cfi; local 87 cfi.cfi_bst = ga->ga_bst; 88 int error = bus_space_map(cfi.cfi_bst, addr, tmpsize, 0, &cfi.cfi_bsh); 94 if (! cfi_probe(&cfi)) { 95 aprint_debug("%s: probe addr %#x, CFI not found\n" [all...] |
| /src/sys/arch/sandpoint/sandpoint/ |
| flash_cfi.c | 32 * NOR CFI driver support for sandpoint 43 #include <dev/nor/cfi.h> 53 struct cfi sc_cfi; 67 struct cfi cfi; local 75 cfi.cfi_bst = ma->ma_bst; 78 error = bus_space_map(cfi.cfi_bst, 0xffe00000, qrysize, 0, 79 &cfi.cfi_bsh); 87 if (!cfi_probe(&cfi)) { 88 aprint_debug("%s: probe addr %#x, CFI not found\n" [all...] |
| /src/sys/dev/nor/ |
| cfi_0002.c | 47 #include <dev/nor/cfi.h> 51 static void cfi_0002_version_init(struct cfi * const); 57 static int cfi_0002_busy_wait(struct cfi * const, flash_off_t, u_long); 58 static int cfi_0002_busy_poll(struct cfi * const, flash_off_t, u_long); 59 static int cfi_0002_busy_yield(struct cfi * const, flash_off_t, u_long); 60 static int cfi_0002_busy_dq7(struct cfi * const , flash_off_t); 62 static int cfi_0002_busy_reg(struct cfi * const, flash_off_t); 105 cfi_0002_time_write_nbyte(struct cfi *cfi) 107 u_int shft = cfi->cfi_qry_data.write_nbyte_time_typ 238 struct cfi *cfi = (struct cfi * const)sc->sc_nor_if->private; local 282 struct cfi *cfi = (struct cfi * const)sc->sc_nor_if->private; local 338 struct cfi *cfi = (struct cfi * const)sc->sc_nor_if->private; local 365 struct cfi *cfi = (struct cfi * const)sc->sc_nor_if->private; local 397 struct cfi * const cfi = (struct cfi * const)sc->sc_nor_if->private; local [all...] |
| cfi.c | 1 /* $NetBSD: cfi.c,v 1.9 2019/02/06 04:20:40 mrg Exp $ */ 36 __KERNEL_RCSID(0, "$NetBSD: cfi.c,v 1.9 2019/02/06 04:20:40 mrg Exp $"); 47 #include <dev/nor/cfi.h> 66 static uint8_t cfi_read_qry(struct cfi * const, bus_size_t); 67 static bool cfi_jedec_id(struct cfi * const); 68 static bool cfi_emulate(struct cfi * const); 69 static const struct cfi_jedec_tab * cfi_jedec_search(struct cfi *); 70 static void cfi_jedec_fill(struct cfi * const, 252 #define CFI_QRY_UNPACK_COMMON(cfi, data, type) \ 254 struct cfi_query_data * const qryp = &cfi->cfi_qry_data; 461 struct cfi * const cfi = (struct cfi * const)sc->sc_nor_if->private; local [all...] |
| cfi.h | 1 /* $NetBSD: cfi.h,v 1.8 2022/01/05 16:01:54 andvar Exp $ */ 31 * CFI Query structure 94 * id_pri: CFI Command set and control assignments 123 struct cfi; /* fwd ref */ 126 void (*cfi_reset)(struct cfi *); 127 int (*cfi_busy)(struct cfi *, flash_off_t); 128 int (*cfi_program_word)(struct cfi *, flash_off_t); 129 int (*cfi_erase_sector)(struct cfi *, flash_off_t); 155 extern void cfi_0002_stats_reset(struct cfi *); 156 extern void cfi_0002_stats_print(struct cfi *); 171 struct cfi { struct [all...] |
| /src/external/gpl3/gdb/dist/sim/common/ |
| dv-cfi.c | 1 /* Common Flash Memory Interface (CFI) model. 40 #include "dv-cfi.h" 57 /* This is the structure that all CFI conforming devices must provided 62 CFI spec and review that (see top of this file for URIs). */ 124 it is dynamic, we'll provide that from "struct cfi" when requested. */ 138 struct cfi; 148 void (*setup) (struct hw *me, struct cfi *cfi); 149 bool (*write) (struct hw *me, struct cfi *cfi, const void *source 158 struct cfi struct 360 struct cfi *cfi = hw_data (me); local 445 struct cfi *cfi = hw_data (me); local 510 struct cfi *cfi = hw_data (me); local 782 struct cfi *cfi; local [all...] |
| /src/external/gpl3/gdb.old/dist/sim/common/ |
| dv-cfi.c | 1 /* Common Flash Memory Interface (CFI) model. 40 #include "dv-cfi.h" 57 /* This is the structure that all CFI conforming devices must provided 62 CFI spec and review that (see top of this file for URIs). */ 124 it is dynamic, we'll provide that from "struct cfi" when requested. */ 138 struct cfi; 148 void (*setup) (struct hw *me, struct cfi *cfi); 149 bool (*write) (struct hw *me, struct cfi *cfi, const void *source 158 struct cfi struct 360 struct cfi *cfi = hw_data (me); local 445 struct cfi *cfi = hw_data (me); local 510 struct cfi *cfi = hw_data (me); local 782 struct cfi *cfi; local [all...] |
| /src/external/gpl3/gdb/dist/gdb/ |
| ctfread.c | 686 ctf_funcinfo_t cfi; local 692 if (ctf_func_type_info (fp, tid, &cfi) < 0) 698 rettype = fetch_tid_type (ccp, cfi.ctc_return); 703 argc = cfi.ctc_argc; 705 if ((cfi.ctc_flags & CTF_FUNC_VARARG) != 0)
|
| windows-nat.c | 2178 CONSOLE_FONT_INFO cfi; local 2180 GetCurrentConsoleFont (hconsole, FALSE, &cfi); 2181 font_size = GetConsoleFontSize (hconsole, cfi.nFont);
|
| /src/external/gpl3/gdb.old/dist/gdb/ |
| ctfread.c | 687 ctf_funcinfo_t cfi; local 693 if (ctf_func_type_info (fp, tid, &cfi) < 0) 699 rettype = fetch_tid_type (ccp, cfi.ctc_return); 704 argc = cfi.ctc_argc; 706 if ((cfi.ctc_flags & CTF_FUNC_VARARG) != 0)
|
| windows-nat.c | 2296 CONSOLE_FONT_INFO cfi; local 2298 GetCurrentConsoleFont (hconsole, FALSE, &cfi); 2299 font_size = GetConsoleFontSize (hconsole, cfi.nFont);
|
| /src/external/gpl3/gcc/dist/gcc/ |
| dwarf2cfi.cc | 61 /* A collected description of an entire row of the abstract CFI table. */ 65 The CFA member for the simple cases, and the full CFI expression for 200 /* The insn after which a new CFI note should be emitted. */ 203 /* When non-null, add_cfi will add the CFI to this vector. */ 209 /* The current, i.e. most recently generated, row of the CFI table. */ 229 /* True if any CFI directives were emitted at the current insn. */ 421 dw_cfi_ref cfi = ggc_alloc<dw_cfi_node> (); 423 cfi->dw_cfi_oprnd1.dw_cfi_reg_num = 0; 424 cfi->dw_cfi_oprnd2.dw_cfi_reg_num = 0; 426 return cfi; 418 dw_cfi_ref cfi = ggc_alloc<dw_cfi_node> (); local 497 dw_cfi_ref cfi = new_cfi (); local 512 dw_cfi_ref cfi = new_cfi (); local 873 dw_cfi_ref cfi; local 956 dw_cfi_ref cfi; local 980 dw_cfi_ref cfi = new_cfi (); local 1450 dw_cfi_ref cfi = new_cfi (); local 1489 dw_cfi_ref cfi = new_cfi (); local 1543 dw_cfi_ref cfi = new_cfi (); local 1558 dw_cfi_ref cfi = new_cfi (); local 2383 dw_cfi_ref cfi; local 2417 dw_cfi_ref cfi = new_cfi (); local 2426 dw_cfi_ref cfi = new_cfi (); local 3013 dw_cfi_ref cfi; local 3668 dw_cfi_ref cfi; local [all...] |
| lower-subreg.cc | 1671 bool cfi = control_flow_insn_p (insn); local 1684 gcc_assert (!cfi 1694 if (cfi)
|
| tree-ssa-structalias.cc | 5402 varinfo_t cfi = NULL; local 5543 varinfo_t cfi = get_vi_for_tree (fndecl); local 5555 /* Handle parameters used by the call, but not used in cfi, as 5556 implicitly used by cfi. */ 5557 lhs = get_function_part_constraint (cfi, fi_uses); 5569 rhs = get_function_part_constraint (cfi, fi_clobbers); 5574 rhs = get_function_part_constraint (cfi, fi_uses); 5605 cfi = get_fi_for_callee (call_stmt); 5606 if (cfi->id == anything_id) 5618 if (cfi->dec [all...] |
| dwarf2out.cc | 43 CFI = Call Frame Instruction 289 personality CFI. */ 520 dw_cfi_oprnd1_desc (enum dwarf_call_frame_info cfi) 522 switch (cfi) 568 dw_cfi_oprnd2_desc (enum dwarf_call_frame_info cfi) 570 switch (cfi) 757 dw_cfi_ref cfi; 943 FOR_EACH_VEC_ELT (*cie_cfi_vec, i, cfi) 944 output_cfi (cfi, NULL, for_eh); 1136 /* We cannot keep a current personality per function as without CFI 755 dw_cfi_ref cfi; local 21123 dw_cfi_ref cfi; local [all...] |
| /src/external/gpl3/gcc.old/dist/gcc/ |
| dwarf2cfi.cc | 61 /* A collected description of an entire row of the abstract CFI table. */ 65 The CFA member for the simple cases, and the full CFI expression for 200 /* The insn after which a new CFI note should be emitted. */ 203 /* When non-null, add_cfi will add the CFI to this vector. */ 209 /* The current, i.e. most recently generated, row of the CFI table. */ 229 /* True if any CFI directives were emitted at the current insn. */ 421 dw_cfi_ref cfi = ggc_alloc<dw_cfi_node> (); 423 cfi->dw_cfi_oprnd1.dw_cfi_reg_num = 0; 424 cfi->dw_cfi_oprnd2.dw_cfi_reg_num = 0; 426 return cfi; 418 dw_cfi_ref cfi = ggc_alloc<dw_cfi_node> (); local 497 dw_cfi_ref cfi = new_cfi (); local 512 dw_cfi_ref cfi = new_cfi (); local 873 dw_cfi_ref cfi; local 956 dw_cfi_ref cfi; local 980 dw_cfi_ref cfi = new_cfi (); local 1450 dw_cfi_ref cfi = new_cfi (); local 1489 dw_cfi_ref cfi = new_cfi (); local 1539 dw_cfi_ref cfi = new_cfi (); local 1554 dw_cfi_ref cfi = new_cfi (); local 2378 dw_cfi_ref cfi; local 2412 dw_cfi_ref cfi = new_cfi (); local 2421 dw_cfi_ref cfi = new_cfi (); local 3008 dw_cfi_ref cfi; local 3665 dw_cfi_ref cfi; local [all...] |
| lower-subreg.cc | 1642 bool cfi = control_flow_insn_p (insn); local 1655 gcc_assert (!cfi 1665 if (cfi)
|
| tree-ssa-structalias.cc | 5375 varinfo_t cfi = NULL; local 5516 varinfo_t cfi = get_vi_for_tree (fndecl); local 5528 /* Handle parameters used by the call, but not used in cfi, as 5529 implicitly used by cfi. */ 5530 lhs = get_function_part_constraint (cfi, fi_uses); 5542 rhs = get_function_part_constraint (cfi, fi_clobbers); 5547 rhs = get_function_part_constraint (cfi, fi_uses); 5578 cfi = get_fi_for_callee (call_stmt); 5579 if (cfi->id == anything_id) 5591 if (cfi->dec [all...] |
| dwarf2out.cc | 43 CFI = Call Frame Instruction 289 personality CFI. */ 522 dw_cfi_oprnd1_desc (enum dwarf_call_frame_info cfi) 524 switch (cfi) 570 dw_cfi_oprnd2_desc (enum dwarf_call_frame_info cfi) 572 switch (cfi) 759 dw_cfi_ref cfi; 945 FOR_EACH_VEC_ELT (*cie_cfi_vec, i, cfi) 946 output_cfi (cfi, NULL, for_eh); 1138 /* We cannot keep a current personality per function as without CFI 757 dw_cfi_ref cfi; local 21026 dw_cfi_ref cfi; local [all...] |
| /src/external/gpl3/gcc/dist/gcc/fortran/ |
| trans-decl.cc | 6885 tree cfi = build_fold_indirect_ref_loc (input_location, cfi_desc); local 6889 /* When allocatable + intent out, free the cfi descriptor. */ 6892 tmp = gfc_get_cfi_desc_base_addr (cfi); 6905 msg = xasprintf ("Unexpected version %%d (expected %d) in CFI descriptor " 6907 tmp2 = gfc_get_cfi_desc_version (cfi); 6920 msg = xasprintf ("Invalid rank %%d (expected %d) in CFI descriptor " 6924 msg = xasprintf ("Invalid rank %%d (expected 0..%d) in CFI " 6928 tmp3 = tmp2 = tmp = gfc_get_cfi_desc_rank (cfi); 6949 tmp3 = tmp = gfc_get_cfi_desc_attribute (cfi); 6954 msg = xasprintf ("Invalid attribute %%d (expected %d) in CFI " [all...] |
| trans-expr.cc | 5650 tree cfi, gfc, tmp, tmp2; local 5722 cfi = gfc_create_var (gfc_get_cfi_type (e->rank < 0 5724 false), "cfi"); 5730 parmse->expr = cfi = gfc_build_addr_expr (tmp, cfi); 5731 cfi = build_fold_indirect_ref_loc (input_location, cfi); 5734 parmse->expr = gfc_build_addr_expr (NULL, cfi); 5736 tmp = gfc_get_cfi_desc_version (cfi); 5743 tmp = gfc_get_cfi_desc_rank (cfi); [all...] |
| /src/external/gpl3/gcc.old/dist/gcc/fortran/ |
| trans-decl.cc | 6669 tree cfi = build_fold_indirect_ref_loc (input_location, cfi_desc); local 6673 /* When allocatable + intent out, free the cfi descriptor. */ 6676 tmp = gfc_get_cfi_desc_base_addr (cfi); 6689 msg = xasprintf ("Unexpected version %%d (expected %d) in CFI descriptor " 6691 tmp2 = gfc_get_cfi_desc_version (cfi); 6704 msg = xasprintf ("Invalid rank %%d (expected %d) in CFI descriptor " 6708 msg = xasprintf ("Invalid rank %%d (expected 0..%d) in CFI " 6712 tmp3 = tmp2 = tmp = gfc_get_cfi_desc_rank (cfi); 6733 tmp3 = tmp = gfc_get_cfi_desc_attribute (cfi); 6738 msg = xasprintf ("Invalid attribute %%d (expected %d) in CFI " [all...] |
| trans-expr.cc | 5541 tree cfi, gfc, tmp, tmp2; local 5613 cfi = gfc_create_var (gfc_get_cfi_type (e->rank < 0 5615 false), "cfi"); 5621 parmse->expr = cfi = gfc_build_addr_expr (tmp, cfi); 5622 cfi = build_fold_indirect_ref_loc (input_location, cfi); 5625 parmse->expr = gfc_build_addr_expr (NULL, cfi); 5627 tmp = gfc_get_cfi_desc_version (cfi); 5634 tmp = gfc_get_cfi_desc_rank (cfi); [all...] |