HomeSort by: relevance | last modified time | path
    Searched refs:cfi (Results 1 - 25 of 32) sorted by relevancy

1 2

  /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...]
cfi_0002.h 35 * CFI Primary Vendor-specific Extended Query structure
66 struct cfi;
70 extern void cfi_0002_init(struct nor_softc * const, struct cfi * const,
72 extern void cfi_0002_print(device_t, struct cfi * const);
  /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...]
local.mk 105 SIM_HW_DEVICES = cfi core pal glue
  /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...]
local.mk 105 SIM_HW_DEVICES = cfi core pal glue
  /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/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...]
dwarf2out.h 88 int dw_fde_switch_cfi_index; /* Last CFI before switching sections. */
362 extern void lookup_cfa_1 (dw_cfi_ref cfi, dw_cfa_location *loc,
372 (enum dwarf_call_frame_info cfi);
374 (enum dwarf_call_frame_info cfi);
376 extern void output_cfi_directive (FILE *f, struct dw_cfi_node *cfi);
378 extern void dwarf2out_emit_cfi (dw_cfi_ref cfi);
lower-subreg.cc 1671 bool cfi = control_flow_insn_p (insn); local
1684 gcc_assert (!cfi
1694 if (cfi)
  /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...]
dwarf2out.h 88 int dw_fde_switch_cfi_index; /* Last CFI before switching sections. */
333 extern void lookup_cfa_1 (dw_cfi_ref cfi, dw_cfa_location *loc,
343 (enum dwarf_call_frame_info cfi);
345 (enum dwarf_call_frame_info cfi);
347 extern void output_cfi_directive (FILE *f, struct dw_cfi_node *cfi);
349 extern void dwarf2out_emit_cfi (dw_cfi_ref cfi);
lower-subreg.cc 1642 bool cfi = control_flow_insn_p (insn); local
1655 gcc_assert (!cfi
1665 if (cfi)
  /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/external/bsd/compiler_rt/
prepare-import.sh 14 rm -rf lib/BlocksRuntime lib/dfsan lib/cfi
16 rm -rf test/BlocksRuntime test/asan test/cfi test/dfsan test/lit.* test/lsan
  /src/sys/dev/ic/
ndisreg.h 381 #define NDIS_VLAN_INFO_MAKE(id, pri, cfi) \
383 (((cfi) & 0x1) << 3) | (((id) & 0xfff) << 4))
  /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...]
  /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)
  /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)

Completed in 87 milliseconds

1 2