Home
last modified time | relevance | path

Searched refs:cookie (Results 1 – 25 of 113) sorted by relevance

12345

/openbmc/u-boot/drivers/fpga/
H A Dspartan3.c114 int cookie = desc->cookie; /* make a local copy */ in spartan3_sp_load() local
142 printf ("Loading FPGA Device %d...\n", cookie); in spartan3_sp_load()
148 (*fn->pre) (cookie); in spartan3_sp_load()
152 (*fn->pgm) (true, true, cookie); /* Assert the program, commit */ in spartan3_sp_load()
156 (*fn->pgm) (false, true, cookie); /* Deassert the program, commit */ in spartan3_sp_load()
164 (*fn->abort) (cookie); /* abort the burn */ in spartan3_sp_load()
167 } while ((*fn->init) (cookie) && (*fn->busy) (cookie)); in spartan3_sp_load()
169 (*fn->wr) (true, true, cookie); /* Assert write, commit */ in spartan3_sp_load()
170 (*fn->cs) (true, true, cookie); /* Assert chip select, commit */ in spartan3_sp_load()
171 (*fn->clk) (true, true, cookie); /* Assert the clock pin */ in spartan3_sp_load()
[all …]
H A Dspartan2.c110 int cookie = desc->cookie; /* make a local copy */ in spartan2_sp_load() local
138 printf ("Loading FPGA Device %d...\n", cookie); in spartan2_sp_load()
144 (*fn->pre) (cookie); in spartan2_sp_load()
148 (*fn->pgm) (true, true, cookie); /* Assert the program, commit */ in spartan2_sp_load()
152 (*fn->pgm) (false, true, cookie); /* Deassert the program, commit */ in spartan2_sp_load()
160 (*fn->abort) (cookie); /* abort the burn */ in spartan2_sp_load()
163 } while ((*fn->init) (cookie) && (*fn->busy) (cookie)); in spartan2_sp_load()
165 (*fn->wr) (true, true, cookie); /* Assert write, commit */ in spartan2_sp_load()
166 (*fn->cs) (true, true, cookie); /* Assert chip select, commit */ in spartan2_sp_load()
167 (*fn->clk) (true, true, cookie); /* Assert the clock pin */ in spartan2_sp_load()
[all …]
H A Dvirtex2.c168 int cookie = desc->cookie; in virtex2_ssm_load() local
193 printf ("Initializing FPGA Device %d...\n", cookie); in virtex2_ssm_load()
199 (*fn->pre) (cookie); in virtex2_ssm_load()
208 (*fn->pgm) (true, true, cookie); in virtex2_ssm_load()
216 (*fn->abort) (cookie); in virtex2_ssm_load()
219 } while (!(*fn->init) (cookie)); in virtex2_ssm_load()
221 (*fn->pgm) (false, true, cookie); in virtex2_ssm_load()
223 (*fn->clk) (true, true, cookie); in virtex2_ssm_load()
235 (*fn->abort) (cookie); in virtex2_ssm_load()
238 } while ((*fn->init) (cookie) && (*fn->busy) (cookie)); in virtex2_ssm_load()
[all …]
H A DACEX1K.c101 int cookie = desc->cookie; /* make a local copy */ in ACEX1K_ps_load() local
115 printf ("Loading FPGA Device %d...", cookie); in ACEX1K_ps_load()
122 (*fn->pre) (cookie); in ACEX1K_ps_load()
126 (*fn->config) (true, true, cookie); /* Assert nCONFIG */ in ACEX1K_ps_load()
131 (*fn->done) (cookie); in ACEX1K_ps_load()
132 if ( !(*fn->status) (cookie) ) { in ACEX1K_ps_load()
134 (*fn->abort) (cookie); in ACEX1K_ps_load()
138 (*fn->config) (false, true, cookie); /* Deassert nCONFIG */ in ACEX1K_ps_load()
147 (*fn->abort) (cookie); in ACEX1K_ps_load()
150 (*fn->done) (cookie); in ACEX1K_ps_load()
[all …]
H A DstratixII.c72 int cookie; in StratixII_ps_fpp_load() local
97 cookie = desc->cookie; in StratixII_ps_fpp_load()
110 if ((ret_val = fns->pre (cookie)) < 0) { in StratixII_ps_fpp_load()
118 fns->config (0, 1, cookie); in StratixII_ps_fpp_load()
120 fns->config (1, 1, cookie); in StratixII_ps_fpp_load()
125 fns->clk (0, 1, cookie); in StratixII_ps_fpp_load()
130 if (fns->status (cookie) != 1) { in StratixII_ps_fpp_load()
134 fns->abort (cookie); in StratixII_ps_fpp_load()
142 fns->data ((data >> i) & 1, 1, cookie); in StratixII_ps_fpp_load()
145 fns->clk (1, 1, cookie); in StratixII_ps_fpp_load()
[all …]
H A Dcyclon2.c105 int cookie = desc->cookie; /* make a local copy */ in CYC2_ps_load() local
118 printf ("Loading FPGA Device %d...", cookie); in CYC2_ps_load()
125 (*fn->pre) (cookie); in CYC2_ps_load()
129 (*fn->config) (false, true, cookie); /* De-assert nCONFIG */ in CYC2_ps_load()
131 (*fn->config) (true, true, cookie); /* Assert nCONFIG */ in CYC2_ps_load()
141 (*fn->abort) (cookie); in CYC2_ps_load()
144 } while (!(*fn->status) (cookie)); in CYC2_ps_load()
149 ret = (*fn->write) (buf, bsize, true, cookie); in CYC2_ps_load()
152 (*fn->abort) (cookie); in CYC2_ps_load()
169 if ( ! (*fn->done) (cookie) ) { in CYC2_ps_load()
[all …]
H A Dstratixv.c45 int cookie = desc->cookie; in stratixv_load() local
57 (pfns->pre)(cookie); in stratixv_load()
62 (pfns->config)(false, true, cookie); in stratixv_load()
68 (pfns->config)(true, true, cookie); in stratixv_load()
80 ret = (pfns->write)(rbf_data, rbf_size, true, cookie); in stratixv_load()
86 spi_bus = COOKIE2SPI_BUS(cookie); in stratixv_load()
87 spi_dev = COOKIE2SPI_DEV(cookie); in stratixv_load()
95 ret = (pfns->done)(cookie); in stratixv_load()
/openbmc/u-boot/include/
H A Dspartan3.h77 #define XILINX_XC3S50_DESC(iface, fn_table, cookie) \ argument
78 { xilinx_spartan3, iface, XILINX_XC3S50_SIZE, fn_table, cookie, \
81 #define XILINX_XC3S200_DESC(iface, fn_table, cookie) \ argument
82 { xilinx_spartan3, iface, XILINX_XC3S200_SIZE, fn_table, cookie, \
85 #define XILINX_XC3S400_DESC(iface, fn_table, cookie) \ argument
86 { xilinx_spartan3, iface, XILINX_XC3S400_SIZE, fn_table, cookie, \
89 #define XILINX_XC3S1000_DESC(iface, fn_table, cookie) \ argument
90 { xilinx_spartan3, iface, XILINX_XC3S1000_SIZE, fn_table, cookie, \
93 #define XILINX_XC3S1500_DESC(iface, fn_table, cookie) \ argument
94 { xilinx_spartan3, iface, XILINX_XC3S1500_SIZE, fn_table, cookie, \
[all …]
H A Dvirtex2.h64 #define XILINX_XC2V40_DESC(iface, fn_table, cookie) \ argument
65 { xilinx_virtex2, iface, XILINX_XC2V40_SIZE, fn_table, cookie, \
68 #define XILINX_XC2V80_DESC(iface, fn_table, cookie) \ argument
69 { xilinx_virtex2, iface, XILINX_XC2V80_SIZE, fn_table, cookie, \
72 #define XILINX_XC2V250_DESC(iface, fn_table, cookie) \ argument
73 { xilinx_virtex2, iface, XILINX_XC2V250_SIZE, fn_table, cookie, \
76 #define XILINX_XC2V500_DESC(iface, fn_table, cookie) \ argument
77 { xilinx_virtex2, iface, XILINX_XC2V500_SIZE, fn_table, cookie, \
80 #define XILINX_XC2V1000_DESC(iface, fn_table, cookie) \ argument
81 { xilinx_virtex2, iface, XILINX_XC2V1000_SIZE, fn_table, cookie, \
[all …]
H A Dspartan2.h67 #define XILINX_XC2S15_DESC(iface, fn_table, cookie) \ argument
68 { xilinx_spartan2, iface, XILINX_XC2S15_SIZE, fn_table, cookie, \
71 #define XILINX_XC2S30_DESC(iface, fn_table, cookie) \ argument
72 { xilinx_spartan2, iface, XILINX_XC2S30_SIZE, fn_table, cookie, \
75 #define XILINX_XC2S50_DESC(iface, fn_table, cookie) \ argument
76 { xilinx_spartan2, iface, XILINX_XC2S50_SIZE, fn_table, cookie, \
79 #define XILINX_XC2S100_DESC(iface, fn_table, cookie) \ argument
80 { xilinx_spartan2, iface, XILINX_XC2S100_SIZE, fn_table, cookie, \
83 #define XILINX_XC2S150_DESC(iface, fn_table, cookie) \ argument
84 { xilinx_spartan2, iface, XILINX_XC2S150_SIZE, fn_table, cookie, \
[all …]
H A Dxilinx.h43 int cookie; /* implementation specific cookie */ member
70 typedef int (*xilinx_pgm_fn)(int assert_pgm, int flush, int cookie);
71 typedef int (*xilinx_init_fn)(int cookie);
72 typedef int (*xilinx_err_fn)(int cookie);
73 typedef int (*xilinx_done_fn)(int cookie);
74 typedef int (*xilinx_clk_fn)(int assert_clk, int flush, int cookie);
75 typedef int (*xilinx_cs_fn)(int assert_cs, int flush, int cookie);
76 typedef int (*xilinx_wr_fn)(int assert_write, int flush, int cookie);
77 typedef int (*xilinx_rdata_fn)(unsigned char *data, int cookie);
78 typedef int (*xilinx_wdata_fn)(unsigned char data, int flush, int cookie);
[all …]
H A Daltera.h82 int cookie; member
93 typedef int (*Altera_pre_fn)( int cookie );
94 typedef int (*Altera_config_fn)( int assert_config, int flush, int cookie );
95 typedef int (*Altera_status_fn)( int cookie );
96 typedef int (*Altera_done_fn)( int cookie );
97 typedef int (*Altera_clk_fn)( int assert_clk, int flush, int cookie );
98 typedef int (*Altera_data_fn)( int assert_data, int flush, int cookie );
99 typedef int(*Altera_write_fn)(const void *buf, size_t len, int flush, int cookie);
100 typedef int (*Altera_abort_fn)( int cookie );
101 typedef int (*Altera_post_fn)( int cookie );
/openbmc/u-boot/board/armadeus/apf27/
H A Dfpga.h13 extern int fpga_pre_fn(int cookie);
14 extern int fpga_pgm_fn(int assert_pgm, int flush, int cookie);
15 extern int fpga_cs_fn(int assert_cs, int flush, int cookie);
16 extern int fpga_init_fn(int cookie);
17 extern int fpga_done_fn(int cookie);
18 extern int fpga_clk_fn(int assert_clk, int flush, int cookie);
19 extern int fpga_wr_fn(int assert_write, int flush, int cookie);
20 extern int fpga_rdata_fn(unsigned char *data, int cookie);
21 extern int fpga_wdata_fn(unsigned char data, int flush, int cookie);
22 extern int fpga_abort_fn(int cookie);
[all …]
H A Dfpga.c57 int fpga_pre_fn(int cookie) in fpga_pre_fn() argument
79 return cookie; in fpga_pre_fn()
85 int fpga_pgm_fn(int assert, int flush, int cookie) in fpga_pgm_fn() argument
96 int fpga_clk_fn(int assert_clk, int flush, int cookie) in fpga_clk_fn() argument
108 int fpga_init_fn(int cookie) in fpga_init_fn() argument
124 int fpga_done_fn(int cookie) in fpga_done_fn() argument
134 int fpga_wr_fn(int assert_write, int flush, int cookie) in fpga_wr_fn() argument
142 int fpga_cs_fn(int assert_cs, int flush, int cookie) in fpga_cs_fn() argument
150 int fpga_rdata_fn(unsigned char *data, int cookie) in fpga_rdata_fn() argument
159 int fpga_wdata_fn(unsigned char data, int flush, int cookie) in fpga_wdata_fn() argument
[all …]
/openbmc/u-boot/api/
H A Dapi_net.c27 static int dev_valid_net(void *cookie) in dev_valid_net() argument
29 return ((void *)eth_get_dev() == cookie) ? 1 : 0; in dev_valid_net()
32 int dev_open_net(void *cookie) in dev_open_net() argument
34 if (!dev_valid_net(cookie)) in dev_open_net()
43 int dev_close_net(void *cookie) in dev_close_net() argument
45 if (!dev_valid_net(cookie)) in dev_close_net()
61 di->cookie = (void *)eth_current; in dev_enum_net()
62 if (di->cookie == NULL) in dev_enum_net()
68 (u_int32_t)di->cookie); in dev_enum_net()
73 int dev_write_net(void *cookie, void *buf, int len) in dev_write_net() argument
[all …]
H A Dapi_storage.c109 if (di->cookie != NULL) { in dev_stor_get()
112 if (di->cookie == in dev_stor_get()
125 di->cookie = (void *)blk_get_dev(specs[type].name, i); in dev_stor_get()
127 if (di->cookie != NULL) { in dev_stor_get()
141 dd = (struct blk_desc *)di->cookie; in dev_stor_get()
150 di->cookie = NULL; in dev_stor_get()
176 return (dev_stor_type(di->cookie) == type) ? 1 : 0; in dev_is_stor()
203 if (di->cookie == NULL) { in dev_enum_stor()
263 (u_int32_t)di->cookie); in dev_enum_stor()
306 int dev_open_stor(void *cookie) in dev_open_stor() argument
[all …]
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-inotify/
H A Dnew-test-inotify.patch69 - (inotify.adapters._INOTIFY_EVENT(wd=1, mask=256, cookie=0, len=16), ['IN_CREATE'],…
70 - (inotify.adapters._INOTIFY_EVENT(wd=1, mask=32, cookie=0, len=16), ['IN_OPEN'], in…
71 - (inotify.adapters._INOTIFY_EVENT(wd=1, mask=8, cookie=0, len=16), ['IN_CLOSE_WRITE…
72 + (inotify.adapters._INOTIFY_EVENT(wd=wd, mask=256, cookie=0, len=16), ['IN_CREATE']…
73 + (inotify.adapters._INOTIFY_EVENT(wd=wd, mask=32, cookie=0, len=16), ['IN_OPEN'], i…
74 + (inotify.adapters._INOTIFY_EVENT(wd=wd, mask=8, cookie=0, len=16), ['IN_CLOSE_WRIT…
110 - (inotify.adapters._INOTIFY_EVENT(wd=1, mask=256, cookie=0, len=16), ['IN_CREATE'],…
111 - (inotify.adapters._INOTIFY_EVENT(wd=1, mask=32, cookie=0, len=16), ['IN_OPEN'], in…
112 - (inotify.adapters._INOTIFY_EVENT(wd=1, mask=8, cookie=0, len=16), ['IN_CLOSE_WRITE…
113 + (inotify.adapters._INOTIFY_EVENT(wd=wd, mask=256, cookie=0, len=16), ['IN_CREATE']…
[all …]
/openbmc/u-boot/board/theadorable/
H A Dfpga.c19 static int fpga_pre_fn(int cookie) in fpga_pre_fn() argument
21 int gpio_config = COOKIE2CONFIG(cookie); in fpga_pre_fn()
22 int gpio_done = COOKIE2DONE(cookie); in fpga_pre_fn()
26 __func__, __LINE__, cookie, gpio_config, gpio_done); in fpga_pre_fn()
46 static int fpga_config_fn(int assert, int flush, int cookie) in fpga_config_fn() argument
48 int gpio_config = COOKIE2CONFIG(cookie); in fpga_config_fn()
51 __func__, __LINE__, cookie, gpio_config); in fpga_config_fn()
61 static int fpga_write_fn(const void *buf, size_t len, int flush, int cookie) in fpga_write_fn() argument
63 int spi_bus = COOKIE2SPI_BUS(cookie); in fpga_write_fn()
64 int spi_dev = COOKIE2SPI_DEV(cookie); in fpga_write_fn()
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/binutils/binutils/
H A DCVE-2025-1180.patch31 -_bfd_elf_section_for_symbol (struct elf_reloc_cookie *cookie,
35 +get_ext_sym_hash (struct elf_reloc_cookie *cookie, unsigned long r_symndx)
37 - if (r_symndx >= cookie->locsymcount
38 - || ELF_ST_BIND (cookie->locsyms[r_symndx].st_info) != STB_LOCAL)
43 + if ((r_symndx >= cookie->locsymcount
44 + || ELF_ST_BIND (cookie->locsyms[r_symndx].st_info) != STB_LOCAL)
46 + && r_symndx >= cookie->extsymoff)
48 h = cookie->sym_hashes[r_symndx - cookie->extsymoff];
59 +_bfd_elf_section_for_symbol (struct elf_reloc_cookie *cookie,
65 + h = get_ext_sym_hash (cookie, r_symndx);
[all …]
/openbmc/qemu/block/
H A Daccounting.c105 void block_acct_start(BlockAcctStats *stats, BlockAcctCookie *cookie, in block_acct_start() argument
110 cookie->bytes = bytes; in block_acct_start()
111 cookie->start_time_ns = qemu_clock_get_ns(clock_type); in block_acct_start()
112 cookie->type = type; in block_acct_start()
203 static void block_account_one_io(BlockAcctStats *stats, BlockAcctCookie *cookie, in block_account_one_io() argument
208 int64_t latency_ns = time_ns - cookie->start_time_ns; in block_account_one_io()
214 assert(cookie->type < BLOCK_MAX_IOTYPE); in block_account_one_io()
216 if (cookie->type == BLOCK_ACCT_NONE) { in block_account_one_io()
222 stats->failed_ops[cookie->type]++; in block_account_one_io()
224 stats->nr_bytes[cookie->type] += cookie->bytes; in block_account_one_io()
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/
H A Djquery.cookie.js57 var config = $.cookie = function (key, value, options) {
68 return (document.cookie = [
84 var cookies = document.cookie ? document.cookie.split('; ') : [];
89 var cookie = parts.join('=');
93 result = read(cookie, value);
98 if (!key && (cookie = read(cookie)) !== undefined) {
99 result[name] = cookie;
109 if ($.cookie(key) !== undefined) {
111 $.cookie(key, '', $.extend({}, options, { expires: -1 }));
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libjs/
H A Dlibjs-jquery-cookie_3.0.5.bb2 HOMEPAGE = "https://github.com/js-cookie/js-cookie"
6 SRC_URI = "git://github.com/js-cookie/js-cookie.git;protocol=https;branch=main"
12 JQUERYCOOKIEDIR = "${datadir}/javascript/jquery-cookie"
13 JQUERYCOOKIEDOCDIR = "${docdir}/libjs-jquery-cookie"
26 FILES:${PN} += "${datadir}/javascript/jquery-cookie"
27 FILES:${PN}-doc += "${docdir}/libjs-jquery-cookie"
/openbmc/u-boot/board/astro/mcf5373l/
H A Dfpga.c27 int altera_pre_fn(int cookie) in altera_pre_fn() argument
65 int altera_config_fn(int assert_config, int flush, int cookie) in altera_config_fn() argument
77 int altera_status_fn(int cookie) in altera_status_fn() argument
87 int altera_done_fn(int cookie) in altera_done_fn() argument
101 int altera_write_fn(const void *buf, size_t len, int flush, int cookie) in altera_write_fn() argument
141 int altera_abort_fn(int cookie) in altera_abort_fn() argument
151 int altera_post_fn(int cookie) in altera_post_fn() argument
153 return altera_abort_fn(cookie); in altera_post_fn()
204 int xilinx_pgm_config_fn(int assert, int flush, int cookie) in xilinx_pgm_config_fn() argument
219 int xilinx_init_config_fn(int cookie) in xilinx_init_config_fn() argument
[all …]
/openbmc/libpldm/src/
H A Dresponder.c18 struct pldm_responder_cookie *cookie) in pldm_responder_cookie_track() argument
23 if (!jar || !cookie) { in pldm_responder_cookie_track()
31 if (pldm_responder_cookie_eq(next, cookie)) { in pldm_responder_cookie_track()
38 cookie->next = NULL; in pldm_responder_cookie_track()
39 current->next = cookie; in pldm_responder_cookie_track()
49 const struct pldm_responder_cookie cookie = { tid, instance_id, type, in pldm_responder_cookie_untrack() local
60 while (next && !pldm_responder_cookie_eq(next, &cookie)) { in pldm_responder_cookie_untrack()
/openbmc/libpldm/src/transport/
H A Daf-mctp.c149 struct pldm_responder_cookie_af_mctp *cookie; in pldm_transport_af_mctp_recv() local
151 cookie = malloc(sizeof(*cookie)); in pldm_transport_af_mctp_recv()
152 if (!cookie) { in pldm_transport_af_mctp_recv()
157 cookie->req.tid = *tid, in pldm_transport_af_mctp_recv()
158 cookie->req.instance_id = hdr->instance_id, in pldm_transport_af_mctp_recv()
159 cookie->req.type = hdr->type, in pldm_transport_af_mctp_recv()
160 cookie->req.command = hdr->command; in pldm_transport_af_mctp_recv()
161 cookie->smctp = addr; in pldm_transport_af_mctp_recv()
164 &cookie->req); in pldm_transport_af_mctp_recv()
197 struct pldm_responder_cookie_af_mctp *cookie; in pldm_transport_af_mctp_send() local
[all …]

12345