Home
last modified time | relevance | path

Searched refs:ws (Results 1 – 25 of 148) sorted by relevance

123456

/openbmc/linux/lib/zstd/compress/
H A Dzstd_cwksp.h165 assert(ws->workspace <= ws->objectEnd); in ZSTD_cwksp_assert_internal_consistency()
166 assert(ws->objectEnd <= ws->tableEnd); in ZSTD_cwksp_assert_internal_consistency()
168 assert(ws->tableEnd <= ws->allocStart); in ZSTD_cwksp_assert_internal_consistency()
432 ws->tableValidEnd = ws->objectEnd; in ZSTD_cwksp_mark_tables_dirty()
440 if (ws->tableValidEnd < ws->tableEnd) { in ZSTD_cwksp_mark_tables_clean()
441 ws->tableValidEnd = ws->tableEnd; in ZSTD_cwksp_mark_tables_clean()
467 ws->tableEnd = ws->objectEnd; in ZSTD_cwksp_clear_tables()
480 ws->tableEnd = ws->objectEnd; in ZSTD_cwksp_clear()
481 ws->allocStart = ws->workspaceEnd; in ZSTD_cwksp_clear()
499 ws->objectEnd = ws->workspace; in ZSTD_cwksp_init()
[all …]
/openbmc/linux/drivers/base/power/
H A Dwakeup.c86 ws = kzalloc(sizeof(*ws), GFP_KERNEL); in wakeup_source_create()
87 if (!ws) in wakeup_source_create()
100 return ws; in wakeup_source_create()
105 kfree(ws); in wakeup_source_create()
154 if (!ws) in wakeup_source_destroy()
344 if (!ws) in device_wakeup_enable()
394 if (ws) in device_wakeup_detach_irq()
570 ws->start_prevent_time = ws->last_time; in wakeup_source_activate()
679 if (ws->relax_count != ws->active_count) { in wakeup_source_deactivate()
768 if (ws->active && ws->timer_expires in pm_wakeup_timer_fn()
[all …]
H A Dwakeup_stats.c43 ws->active ? ktime_sub(ktime_get(), ws->last_time) : 0; in active_time_ms_show()
54 ktime_t total_time = ws->total_time; in total_time_ms_show()
56 if (ws->active) { in total_time_ms_show()
70 ktime_t max_time = ws->max_time; in max_time_ms_show()
72 if (ws->active) { in max_time_ms_show()
96 return sysfs_emit(buf, "%s\n", ws->name); in name_show()
107 if (ws->active && ws->autosleep_enabled) { in prevent_suspend_time_ms_show()
137 struct wakeup_source *ws) in wakeup_source_device_create() argument
154 dev_set_drvdata(dev, ws); in wakeup_source_device_create()
184 ws->dev = dev; in wakeup_source_sysfs_add()
[all …]
/openbmc/linux/drivers/gpu/drm/panel/
H A Dpanel-widechips-ws2401.c135 ws->regulators); in ws2401_power_on()
208 if (ws->internal_bl) { in ws2401_power_on()
237 if (ws->internal_bl) in ws2401_unprepare()
347 struct ws2401 *ws; in ws2401_probe() local
350 ws = devm_kzalloc(dev, sizeof(*ws), GFP_KERNEL); in ws2401_probe()
351 if (!ws) in ws2401_probe()
353 ws->dev = dev; in ws2401_probe()
378 ws2401_power_on(ws); in ws2401_probe()
379 ws2401_read_mtp_id(ws); in ws2401_probe()
380 ws2401_power_off(ws); in ws2401_probe()
[all …]
/openbmc/linux/lib/reed_solomon/
H A Dtest_rslib.c100 if (!ws) in free_ws()
105 kfree(ws); in free_ws()
114 ws = kzalloc(sizeof(*ws), GFP_KERNEL); in alloc_ws()
115 if (!ws) in alloc_ws()
120 if (!ws->c) in alloc_ws()
123 ws->r = ws->c + nn; in alloc_ws()
124 ws->s = ws->r + nn; in alloc_ws()
125 ws->corr = ws->s + nroots; in alloc_ws()
131 ws->derrlocs = ws->errlocs + nn; in alloc_ws()
132 return ws; in alloc_ws()
[all …]
/openbmc/linux/include/linux/
H A Dpm_wakeup.h66 #define for_each_wakeup_source(ws) \ argument
67 for ((ws) = wakeup_sources_walk_start(); \
68 (ws); \
69 (ws) = wakeup_sources_walk_next((ws)))
99 extern void wakeup_source_destroy(struct wakeup_source *ws);
100 extern void wakeup_source_add(struct wakeup_source *ws);
101 extern void wakeup_source_remove(struct wakeup_source *ws);
113 extern void __pm_stay_awake(struct wakeup_source *ws);
115 extern void __pm_relax(struct wakeup_source *ws);
185 static inline void __pm_relax(struct wakeup_source *ws) {} in __pm_relax() argument
[all …]
H A Dsbitmap.h124 struct sbq_wait_state *ws; member
423 kfree(sbq->ws); in sbitmap_queue_free()
566 struct sbq_wait_state *ws; in sbq_wait_ptr() local
568 ws = &sbq->ws[atomic_read(wait_index)]; in sbq_wait_ptr()
570 return ws; in sbq_wait_ptr()
618 struct sbq_wait_state *ws,
624 void sbitmap_finish_wait(struct sbitmap_queue *sbq, struct sbq_wait_state *ws,
631 struct sbq_wait_state *ws,
/openbmc/linux/tools/perf/util/
H A Dterm.c8 void get_term_dimensions(struct winsize *ws) in get_term_dimensions() argument
13 ws->ws_row = atoi(s); in get_term_dimensions()
16 ws->ws_col = atoi(s); in get_term_dimensions()
17 if (ws->ws_row && ws->ws_col) in get_term_dimensions()
22 if (ioctl(1, TIOCGWINSZ, ws) == 0 && in get_term_dimensions()
23 ws->ws_row && ws->ws_col) in get_term_dimensions()
26 ws->ws_row = 25; in get_term_dimensions()
27 ws->ws_col = 80; in get_term_dimensions()
/openbmc/linux/fs/btrfs/
H A Dcompression.c609 ws = kzalloc(sizeof(*ws), GFP_KERNEL); in alloc_heuristic_ws()
610 if (!ws) in alloc_heuristic_ws()
614 if (!ws->sample) in alloc_heuristic_ws()
617 ws->bucket = kcalloc(BUCKET_SIZE, sizeof(*ws->bucket), GFP_KERNEL); in alloc_heuristic_ws()
618 if (!ws->bucket) in alloc_heuristic_ws()
621 ws->bucket_b = kcalloc(BUCKET_SIZE, sizeof(*ws->bucket_b), GFP_KERNEL); in alloc_heuristic_ws()
622 if (!ws->bucket_b) in alloc_heuristic_ws()
626 return &ws->list; in alloc_heuristic_ws()
710 list_del(ws); in btrfs_cleanup_workspace_manager()
1237 radix_sort(ws->bucket, ws->bucket_b, BUCKET_SIZE); in byte_core_set_size()
[all …]
H A Dcompression.h119 void btrfs_put_workspace(int type, struct list_head *ws);
144 int zlib_decompress_bio(struct list_head *ws, struct compressed_bio *cb);
145 int zlib_decompress(struct list_head *ws, const u8 *data_in,
149 void zlib_free_workspace(struct list_head *ws);
155 int lzo_decompress_bio(struct list_head *ws, struct compressed_bio *cb);
156 int lzo_decompress(struct list_head *ws, const u8 *data_in,
160 void lzo_free_workspace(struct list_head *ws);
165 int zstd_decompress_bio(struct list_head *ws, struct compressed_bio *cb);
166 int zstd_decompress(struct list_head *ws, const u8 *data_in,
172 void zstd_free_workspace(struct list_head *ws);
[all …]
H A Dzstd.c176 struct list_head *ws; in zstd_init_workspace_manager() local
191 if (IS_ERR(ws)) { in zstd_init_workspace_manager()
233 struct list_head *ws; in zstd_find_workspace() local
240 ws = wsm.idle_ws[i].next; in zstd_find_workspace()
242 list_del_init(ws); in zstd_find_workspace()
250 return ws; in zstd_find_workspace()
269 struct list_head *ws; in zstd_get_workspace() local
278 if (ws) in zstd_get_workspace()
279 return ws; in zstd_get_workspace()
285 if (IS_ERR(ws)) { in zstd_get_workspace()
[all …]
/openbmc/qemu/target/mips/tcg/
H A Dmsa.decode16 &msa_r df wd ws wt
19 &msa_i df wd ws sa
20 &msa_bit df wd ws m
21 &msa_elm_df df wd ws n
22 &msa_elm wd ws
33 @ldst ...... sa:s10 ws:5 wd:5 .... df:2 &msa_i
37 @elm ...... .......... ws:5 wd:5 ...... &msa_elm
41 @3r ...... ... df:2 wt:5 ws:5 wd:5 ...... &msa_r
44 @u5 ...... ... df:2 sa:5 ws:5 wd:5 ...... &msa_i
45 @s5 ...... ... df:2 sa:s5 ws:5 wd:5 ...... &msa_i
[all …]
H A Dmsa_helper.c7089 uint32_t ws, uint32_t wt) in helper_msa_fadd_df() argument
7119 uint32_t ws, uint32_t wt) in helper_msa_fsub_df() argument
7149 uint32_t ws, uint32_t wt) in helper_msa_fmul_df() argument
7180 uint32_t ws, uint32_t wt) in helper_msa_fdiv_df() argument
7225 uint32_t ws, uint32_t wt) in helper_msa_fmadd_df() argument
7258 uint32_t ws, uint32_t wt) in helper_msa_fmsub_df() argument
7293 uint32_t ws, uint32_t wt) in helper_msa_fexp2_df() argument
7466 uint32_t ws, uint32_t wt) in helper_msa_fmin_df() argument
7540 uint32_t ws, uint32_t wt) in helper_msa_fmin_a_df() argument
7568 uint32_t ws, uint32_t wt) in helper_msa_fmax_df() argument
[all …]
/openbmc/openbmc/poky/meta/recipes-support/libpcre/libpcre/
H A DMakefile88 ws='[ ]'; \
91 all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
92 pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
93 fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
94 skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
95 xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
96 xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
97 error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
/openbmc/linux/kernel/power/
H A Dwakelock.c30 struct wakeup_source *ws; member
48 if (wl->ws->active == show_active) in pm_show_wakelocks()
112 spin_lock_irq(&wl->ws->lock); in __wakelocks_gc()
114 active = wl->ws->active; in __wakelocks_gc()
115 spin_unlock_irq(&wl->ws->lock); in __wakelocks_gc()
121 wakeup_source_unregister(wl->ws); in __wakelocks_gc()
189 if (!wl->ws) { in wakelock_lookup_add()
194 wl->ws->last_time = ktime_get(); in wakelock_lookup_add()
239 __pm_wakeup_event(wl->ws, timeout_ms); in pm_wake_lock()
241 __pm_stay_awake(wl->ws); in pm_wake_lock()
[all …]
/openbmc/webui-vue/src/utilities/
H A DNBDServer.js41 this.ws = null;
47 this.ws.binaryType = 'arraybuffer';
49 this.ws.onopen = this._on_ws_open.bind(this);
55 if (this.ws.readyState == 1) {
56 this.ws.close();
128 this.ws.send(buf);
165 this.ws.send(resp);
178 this.ws.send(resp1);
246 this.ws.send(resp);
268 this.ws.send(resp);
[all …]
/openbmc/phosphor-webui/app/server-control/controllers/
H A Dvirtual-media-controller.js109 this.ws = null;
116 this.ws.binaryType = 'arraybuffer';
118 this.ws.onopen = this._on_ws_open.bind(this);
119 this.ws.onclose = this._on_ws_close.bind(this);
124 this.ws.close();
205 this.ws.send(buf);
250 this.ws.send(resp);
265 this.ws.send(resp);
347 this.ws.send(resp);
372 this.ws.send(resp);
[all …]
/openbmc/linux/arch/mips/include/asm/
H A Dr4kcache.h205 unsigned long ws, addr; \
207 for (ws = 0; ws < ws_end; ws += ws_inc) \
210 addr | ws, lsize); \
232 unsigned long ws, addr; \
234 for (ws = 0; ws < ws_end; ws += ws_inc) \
237 addr | ws, lsize); \
321 unsigned long ws, addr; \
323 for (ws = 0; ws < ws_end; ws += ws_inc) \
326 addr | ws, lsize); \
/openbmc/bmcweb/http/
H A Dwebsocket.hpp66 ws(std::move(adaptorIn)), inBuffer(inString, 131088), in ConnectionImpl()
82 ws.get_executor().context()); in getIoContext()
132 ws.async_accept(*ptr, in start()
139 ws.binary(true); in sendBinary()
155 ws.binary(type == MessageType::Binary); in sendEx()
157 ws.async_write(boost::asio::buffer(msg), in sendEx()
181 ws.text(true); in sendText()
189 ws.async_close( in close()
253 ws.async_read(inBuffer, [this, self(shared_from_this())]( in doRead()
333 messageHandler(*this, inString, ws.got_text()); in handleMessage()
[all …]
/openbmc/linux/sound/core/
H A Dpcm_iec958.c89 unsigned int ws; in fill_iec958_consumer() local
93 ws = IEC958_AES4_CON_WORDLEN_20_16; in fill_iec958_consumer()
96 ws = IEC958_AES4_CON_WORDLEN_22_18; in fill_iec958_consumer()
99 ws = IEC958_AES4_CON_WORDLEN_20_16 | in fill_iec958_consumer()
104 ws = IEC958_AES4_CON_WORDLEN_24_20 | in fill_iec958_consumer()
113 cs[4] |= ws; in fill_iec958_consumer()
/openbmc/phosphor-webui/app/common/directives/
H A Dapp-header.js25 var ws = new WebSocket(
31 if (ws !== undefined) {
39 ws.onopen = function() {
40 ws.send(data);
45 ws.onclose = function() {
51 ws.onmessage = function(evt) {
/openbmc/linux/lib/
H A Dsbitmap.c433 sbq->ws = kzalloc_node(SBQ_WAIT_QUEUES * sizeof(*sbq->ws), flags, node); in sbitmap_queue_init_node()
434 if (!sbq->ws) { in sbitmap_queue_init_node()
560 struct sbq_wait_state *ws = &sbq->ws[wake_index]; in __sbitmap_queue_wake_up() local
570 if (waitqueue_active(&ws->wait)) { in __sbitmap_queue_wake_up()
571 woken = wake_up_nr(&ws->wait, nr); in __sbitmap_queue_wake_up()
682 struct sbq_wait_state *ws = &sbq->ws[wake_index]; in sbitmap_queue_wake_all() local
684 if (waitqueue_active(&ws->wait)) in sbitmap_queue_wake_all()
685 wake_up(&ws->wait); in sbitmap_queue_wake_all()
715 struct sbq_wait_state *ws = &sbq->ws[i]; in sbitmap_queue_show() local
727 struct sbq_wait_state *ws, in sbitmap_add_wait_queue() argument
[all …]
/openbmc/linux/tools/lib/subcmd/
H A Dhelp.c106 static void get_term_dimensions(struct winsize *ws) in get_term_dimensions() argument
111 ws->ws_row = atoi(s); in get_term_dimensions()
114 ws->ws_col = atoi(s); in get_term_dimensions()
115 if (ws->ws_row && ws->ws_col) in get_term_dimensions()
120 if (ioctl(1, TIOCGWINSZ, ws) == 0 && in get_term_dimensions()
121 ws->ws_row && ws->ws_col) in get_term_dimensions()
124 ws->ws_row = 25; in get_term_dimensions()
125 ws->ws_col = 80; in get_term_dimensions()
/openbmc/linux/drivers/mtd/devices/
H A Dmchp48l640.c216 size_t ws; in mchp48l640_write() local
224 ws = min((len - wlen), page_sz); in mchp48l640_write()
225 ret = mchp48l640_write_page(mtd, woff, ws, retlen, &buf[wlen]); in mchp48l640_write()
228 wlen += ws; in mchp48l640_write()
229 woff += ws; in mchp48l640_write()
274 size_t ws; in mchp48l640_read() local
282 ws = min((len - wlen), page_sz); in mchp48l640_read()
283 ret = mchp48l640_read_page(mtd, woff, ws, retlen, &buf[wlen]); in mchp48l640_read()
286 wlen += ws; in mchp48l640_read()
287 woff += ws; in mchp48l640_read()
/openbmc/linux/drivers/tty/hvc/
H A Dhvc_console.h47 struct winsize ws; member
87 extern void __hvc_resize(struct hvc_struct *hp, struct winsize ws);
89 static inline void hvc_resize(struct hvc_struct *hp, struct winsize ws) in hvc_resize() argument
94 __hvc_resize(hp, ws); in hvc_resize()

123456