| /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_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.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.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);
|
| 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...] |
| 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...] |
| 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/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...] |
| 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...] |
| 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...] |
| /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...] |
| 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...] |
| /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...] |
| 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...] |
| 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...] |
| 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
|