/linux-2.6.39/drivers/base/power/ |
D | wakeup.c | 60 struct wakeup_source *ws; in wakeup_source_create() local 62 ws = kzalloc(sizeof(*ws), GFP_KERNEL); in wakeup_source_create() 63 if (!ws) in wakeup_source_create() 66 spin_lock_init(&ws->lock); in wakeup_source_create() 68 ws->name = kstrdup(name, GFP_KERNEL); in wakeup_source_create() 70 return ws; in wakeup_source_create() 78 void wakeup_source_destroy(struct wakeup_source *ws) in wakeup_source_destroy() argument 80 if (!ws) in wakeup_source_destroy() 83 spin_lock_irq(&ws->lock); in wakeup_source_destroy() 84 while (ws->active) { in wakeup_source_destroy() [all …]
|
/linux-2.6.39/include/linux/ |
D | pm_wakeup.h | 77 extern void wakeup_source_destroy(struct wakeup_source *ws); 78 extern void wakeup_source_add(struct wakeup_source *ws); 79 extern void wakeup_source_remove(struct wakeup_source *ws); 81 extern void wakeup_source_unregister(struct wakeup_source *ws); 87 extern void __pm_stay_awake(struct wakeup_source *ws); 89 extern void __pm_relax(struct wakeup_source *ws); 91 extern void __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec); 111 static inline void wakeup_source_destroy(struct wakeup_source *ws) {} in wakeup_source_destroy() argument 113 static inline void wakeup_source_add(struct wakeup_source *ws) {} in wakeup_source_add() argument 115 static inline void wakeup_source_remove(struct wakeup_source *ws) {} in wakeup_source_remove() argument [all …]
|
/linux-2.6.39/arch/mips/include/asm/ |
D | r4kcache.h | 351 unsigned long ws, addr; \ 355 for (ws = 0; ws < ws_end; ws += ws_inc) \ 357 cache##lsize##_unroll32(addr|ws, indexop); \ 385 unsigned long ws, addr; \ 389 for (ws = 0; ws < ws_end; ws += ws_inc) \ 391 cache##lsize##_unroll32(addr|ws, indexop); \
|
/linux-2.6.39/drivers/tty/hvc/ |
D | hvc_console.h | 61 struct winsize ws; member 93 extern void __hvc_resize(struct hvc_struct *hp, struct winsize ws); 95 static inline void hvc_resize(struct hvc_struct *hp, struct winsize ws) in hvc_resize() argument 100 __hvc_resize(hp, ws); in hvc_resize()
|
D | hvc_console.c | 522 struct winsize ws; in hvc_set_winsz() local 531 ws = hp->ws; in hvc_set_winsz() 535 tty_do_resize(tty, &ws); in hvc_set_winsz() 698 void __hvc_resize(struct hvc_struct *hp, struct winsize ws) in __hvc_resize() argument 700 hp->ws = ws; in __hvc_resize()
|
/linux-2.6.39/drivers/net/wimax/i2400m/ |
D | rx.c | 181 void i2400m_report_hook_work(struct work_struct *ws) in i2400m_report_hook_work() argument 183 struct i2400m *i2400m = container_of(ws, struct i2400m, rx_report_ws); in i2400m_report_hook_work() 488 unsigned ws; member 497 roq->ws = 0; in __i2400m_roq_init() 523 r = ((int) sn - (int) roq->ws) % 2048; in __i2400m_roq_nsn() 543 unsigned ws, count, sn, nsn, new_ws; member 561 index, e->ws, e->count, e->sn, e->nsn, e->new_ws); in i2400m_roq_log_entry_print() 565 index, e->ws, e->count, e->sn, e->nsn); in i2400m_roq_log_entry_print() 570 index, e->ws, e->count, e->sn, e->nsn, e->new_ws); in i2400m_roq_log_entry_print() 575 index, e->ws, e->count, e->sn, e->nsn, e->new_ws); in i2400m_roq_log_entry_print() [all …]
|
D | sdio-tx.c | 73 void i2400ms_tx_submit(struct work_struct *ws) in i2400ms_tx_submit() argument 76 struct i2400ms *i2400ms = container_of(ws, struct i2400ms, tx_worker); in i2400ms_tx_submit()
|
D | driver.c | 601 void __i2400m_dev_reset_handle(struct work_struct *ws) in __i2400m_dev_reset_handle() argument 603 struct i2400m *i2400m = container_of(ws, struct i2400m, reset_ws); in __i2400m_dev_reset_handle() 609 d_fnstart(3, dev, "(ws %p i2400m %p reason %s)\n", ws, i2400m, reason); in __i2400m_dev_reset_handle() 683 ws, i2400m, reason); in __i2400m_dev_reset_handle() 713 void __i2400m_error_recovery(struct work_struct *ws) in __i2400m_error_recovery() argument 715 struct i2400m *i2400m = container_of(ws, struct i2400m, recovery_ws); in __i2400m_error_recovery()
|
D | netdev.c | 152 void i2400m_wake_tx_work(struct work_struct *ws) in i2400m_wake_tx_work() argument 155 struct i2400m *i2400m = container_of(ws, struct i2400m, wake_tx_ws); in i2400m_wake_tx_work() 166 d_fnstart(3, dev, "(ws %p i2400m %p skb %p)\n", ws, i2400m, skb); in i2400m_wake_tx_work() 206 ws, i2400m, skb, result); in i2400m_wake_tx_work()
|
/linux-2.6.39/arch/xtensa/kernel/ |
D | process.c | 270 unsigned long wb, ws, wm; in xtensa_elf_core_copy_regs() local 274 ws = regs->windowstart; in xtensa_elf_core_copy_regs() 276 ws = ((ws >> wb) | (ws << (WSBITS - wb))) & ((1 << WSBITS) - 1); in xtensa_elf_core_copy_regs() 292 elfregs->windowstart = ws; in xtensa_elf_core_copy_regs()
|
D | ptrace.c | 201 unsigned long ws = regs->windowstart; in ptrace_peekusr() local 202 tmp = ((ws>>wb) | (ws<<(WSBITS-wb))) & ((1<<WSBITS)-1); in ptrace_peekusr()
|
/linux-2.6.39/fs/btrfs/ |
D | lzo.c | 39 static void lzo_free_workspace(struct list_head *ws) in lzo_free_workspace() argument 41 struct workspace *workspace = list_entry(ws, struct workspace, list); in lzo_free_workspace() 87 static int lzo_compress_pages(struct list_head *ws, in lzo_compress_pages() argument 97 struct workspace *workspace = list_entry(ws, struct workspace, list); in lzo_compress_pages() 255 static int lzo_decompress_biovec(struct list_head *ws, in lzo_decompress_biovec() argument 262 struct workspace *workspace = list_entry(ws, struct workspace, list); in lzo_decompress_biovec() 378 static int lzo_decompress(struct list_head *ws, unsigned char *data_in, in lzo_decompress() argument 383 struct workspace *workspace = list_entry(ws, struct workspace, list); in lzo_decompress()
|
D | zlib.c | 42 static void zlib_free_workspace(struct list_head *ws) in zlib_free_workspace() argument 44 struct workspace *workspace = list_entry(ws, struct workspace, list); in zlib_free_workspace() 76 static int zlib_compress_pages(struct list_head *ws, in zlib_compress_pages() argument 86 struct workspace *workspace = list_entry(ws, struct workspace, list); in zlib_compress_pages() 215 static int zlib_decompress_biovec(struct list_head *ws, struct page **pages_in, in zlib_decompress_biovec() argument 221 struct workspace *workspace = list_entry(ws, struct workspace, list); in zlib_decompress_biovec() 308 static int zlib_decompress(struct list_head *ws, unsigned char *data_in, in zlib_decompress() argument 313 struct workspace *workspace = list_entry(ws, struct workspace, list); in zlib_decompress()
|
/linux-2.6.39/arch/mips/mm/ |
D | c-r4k.c | 182 unsigned long ws, addr; in tx49_blast_icache32() local 186 for (ws = 0; ws < ws_end; ws += ws_inc) in tx49_blast_icache32() 188 cache32_unroll32(addr|ws, Index_Invalidate_I); in tx49_blast_icache32() 191 for (ws = 0; ws < ws_end; ws += ws_inc) in tx49_blast_icache32() 193 cache32_unroll32(addr|ws, Index_Invalidate_I); in tx49_blast_icache32() 213 unsigned long ws, addr; in tx49_blast_icache32_page_indexed() local 217 for (ws = 0; ws < ws_end; ws += ws_inc) in tx49_blast_icache32_page_indexed() 219 cache32_unroll32(addr|ws, Index_Invalidate_I); in tx49_blast_icache32_page_indexed() 222 for (ws = 0; ws < ws_end; ws += ws_inc) in tx49_blast_icache32_page_indexed() 224 cache32_unroll32(addr|ws, Index_Invalidate_I); in tx49_blast_icache32_page_indexed()
|
/linux-2.6.39/tools/perf/ |
D | builtin-top.c | 103 void get_term_dimensions(struct winsize *ws) in get_term_dimensions() argument 108 ws->ws_row = atoi(s); in get_term_dimensions() 111 ws->ws_col = atoi(s); in get_term_dimensions() 112 if (ws->ws_row && ws->ws_col) in get_term_dimensions() 117 if (ioctl(1, TIOCGWINSZ, ws) == 0 && in get_term_dimensions() 118 ws->ws_row && ws->ws_col) in get_term_dimensions() 121 ws->ws_row = 25; in get_term_dimensions() 122 ws->ws_col = 80; in get_term_dimensions() 125 static void update_print_entries(struct winsize *ws) in update_print_entries() argument 127 top.print_entries = ws->ws_row; in update_print_entries()
|
/linux-2.6.39/arch/powerpc/kvm/ |
D | 44x_emulate.c | 46 int ws; in kvmppc_core_emulate_op() local 113 ws = get_ws(inst); in kvmppc_core_emulate_op() 114 emulated = kvmppc_44x_emul_tlbwe(vcpu, ra, rs, ws); in kvmppc_core_emulate_op()
|
D | 44x_tlb.h | 31 extern int kvmppc_44x_emul_tlbwe(struct kvm_vcpu *vcpu, u8 ra, u8 rs, u8 ws);
|
/linux-2.6.39/arch/xtensa/include/asm/ |
D | processor.h | 84 #define MAKE_RA_FOR_CALL(ra,ws) (((ra) & 0x3fffffff) | (ws) << 30) argument
|
/linux-2.6.39/drivers/gpu/drm/radeon/ |
D | atom.c | 57 uint32_t *ps, *ws; member 263 val = ctx->ws[idx]; in atom_get_src_int() 528 ctx->ws[idx] = val; in atom_put_dst() 1151 int len, ws, ps, ptr; in atom_execute_table_locked() local 1160 ws = CU8(base + ATOM_CT_WS_PTR); in atom_execute_table_locked() 1164 SDEBUG(">> execute %04X (len %d, WS %d, PS %d)\n", base, len, ws, ps); in atom_execute_table_locked() 1172 if (ws) in atom_execute_table_locked() 1173 ectx.ws = kzalloc(4 * ws, GFP_KERNEL); in atom_execute_table_locked() 1175 ectx.ws = NULL; in atom_execute_table_locked() 1186 base, len, ws, ps, ptr - 1); in atom_execute_table_locked() [all …]
|
/linux-2.6.39/drivers/isdn/mISDN/ |
D | hwchannel.c | 23 dchannel_bh(struct work_struct *ws) in dchannel_bh() argument 25 struct dchannel *dch = container_of(ws, struct dchannel, workq); in dchannel_bh() 46 bchannel_bh(struct work_struct *ws) in bchannel_bh() argument 48 struct bchannel *bch = container_of(ws, struct bchannel, workq); in bchannel_bh()
|
/linux-2.6.39/drivers/misc/iwmc3200top/ |
D | main.c | 73 static void iwmct_rescan_worker(struct work_struct *ws) in iwmct_rescan_worker() argument 78 priv = container_of(ws, struct iwmct_priv, bus_rescan_worker); in iwmct_rescan_worker() 183 static void iwmct_irq_read_worker(struct work_struct *ws) in iwmct_irq_read_worker() argument 193 priv = container_of(ws, struct iwmct_priv, isr_worker); in iwmct_irq_read_worker() 195 LOG_TRACE(priv, IRQ, "enter iwmct_irq_read_worker %p\n", ws); in iwmct_irq_read_worker()
|
/linux-2.6.39/drivers/spi/ |
D | spi_sh.c | 91 struct work_struct ws; member 287 struct spi_sh_data *ss = container_of(work, struct spi_sh_data, ws); in spi_sh_work() 386 queue_work(ss->workqueue, &ss->ws); in spi_sh_transfer() 477 INIT_WORK(&ss->ws, spi_sh_work); in spi_sh_probe()
|
/linux-2.6.39/drivers/tty/ |
D | pty.c | 246 int pty_resize(struct tty_struct *tty, struct winsize *ws) in pty_resize() argument 254 if (!memcmp(ws, &tty->winsize, sizeof(*ws))) in pty_resize() 277 tty->winsize = *ws; in pty_resize() 278 pty->winsize = *ws; /* Never used so will go away soon */ in pty_resize()
|
/linux-2.6.39/drivers/usb/wusbcore/ |
D | wa-nep.c | 92 static void wa_notif_dispatch(struct work_struct *ws) in wa_notif_dispatch() argument 96 struct wa_notif_work *nw = container_of(ws, struct wa_notif_work, work); in wa_notif_dispatch()
|
/linux-2.6.39/arch/ia64/sn/kernel/sn2/ |
D | sn2_smp.c | 92 unsigned long zeroval, ws; in wait_piowc() local 98 } while (((ws = *piows) & SH_PIO_WRITE_STATUS_PENDING_WRITE_COUNT_MASK) != zeroval); in wait_piowc() 99 return (ws & SH_PIO_WRITE_STATUS_WRITE_DEADLOCK_MASK) != 0; in wait_piowc()
|