/drivers/base/power/ |
D | wakeup.c | 79 void wakeup_source_prepare(struct wakeup_source *ws, const char *name) in wakeup_source_prepare() argument 81 if (ws) { in wakeup_source_prepare() 82 memset(ws, 0, sizeof(*ws)); in wakeup_source_prepare() 83 ws->name = name; in wakeup_source_prepare() 94 struct wakeup_source *ws; in wakeup_source_create() local 96 ws = kmalloc(sizeof(*ws), GFP_KERNEL); in wakeup_source_create() 97 if (!ws) in wakeup_source_create() 100 wakeup_source_prepare(ws, name ? kstrdup_const(name, GFP_KERNEL) : NULL); in wakeup_source_create() 101 return ws; in wakeup_source_create() 112 void wakeup_source_drop(struct wakeup_source *ws) in wakeup_source_drop() argument [all …]
|
/drivers/net/wimax/i2400m/ |
D | rx.c | 183 void i2400m_report_hook_work(struct work_struct *ws) in i2400m_report_hook_work() argument 185 struct i2400m *i2400m = container_of(ws, struct i2400m, rx_report_ws); in i2400m_report_hook_work() 490 unsigned ws; member 499 roq->ws = 0; in __i2400m_roq_init() 525 r = ((int) sn - (int) roq->ws) % 2048; in __i2400m_roq_nsn() 545 unsigned ws, count, sn, nsn, new_ws; member 563 index, e->ws, e->count, e->sn, e->nsn, e->new_ws); in i2400m_roq_log_entry_print() 567 index, e->ws, e->count, e->sn, e->nsn); in i2400m_roq_log_entry_print() 572 index, e->ws, e->count, e->sn, e->nsn, e->new_ws); in i2400m_roq_log_entry_print() 577 index, e->ws, e->count, e->sn, e->nsn, e->new_ws); in i2400m_roq_log_entry_print() [all …]
|
D | driver.c | 597 void __i2400m_dev_reset_handle(struct work_struct *ws) in __i2400m_dev_reset_handle() argument 599 struct i2400m *i2400m = container_of(ws, struct i2400m, reset_ws); in __i2400m_dev_reset_handle() 605 d_fnstart(3, dev, "(ws %p i2400m %p reason %s)\n", ws, i2400m, reason); in __i2400m_dev_reset_handle() 679 ws, i2400m, reason); in __i2400m_dev_reset_handle() 709 void __i2400m_error_recovery(struct work_struct *ws) in __i2400m_error_recovery() argument 711 struct i2400m *i2400m = container_of(ws, struct i2400m, recovery_ws); in __i2400m_error_recovery()
|
D | netdev.c | 153 void i2400m_wake_tx_work(struct work_struct *ws) in i2400m_wake_tx_work() argument 156 struct i2400m *i2400m = container_of(ws, struct i2400m, wake_tx_ws); in i2400m_wake_tx_work() 167 d_fnstart(3, dev, "(ws %p i2400m %p skb %p)\n", ws, i2400m, skb); in i2400m_wake_tx_work() 207 ws, i2400m, skb, result); in i2400m_wake_tx_work()
|
/drivers/tty/hvc/ |
D | hvc_console.h | 60 struct winsize ws; member 98 extern void __hvc_resize(struct hvc_struct *hp, struct winsize ws); 100 static inline void hvc_resize(struct hvc_struct *hp, struct winsize ws) in hvc_resize() argument 105 __hvc_resize(hp, ws); in hvc_resize()
|
D | hvc_console.c | 560 struct winsize ws; in hvc_set_winsz() local 569 ws = hp->ws; in hvc_set_winsz() 572 tty_do_resize(tty, &ws); in hvc_set_winsz() 734 void __hvc_resize(struct hvc_struct *hp, struct winsize ws) in __hvc_resize() argument 736 hp->ws = ws; in __hvc_resize()
|
/drivers/md/ |
D | dm-era-target.c | 46 static void writeset_free(struct writeset *ws) in writeset_free() argument 48 vfree(ws->bits); in writeset_free() 49 ws->bits = NULL; in writeset_free() 72 static int writeset_alloc(struct writeset *ws, dm_block_t nr_blocks) in writeset_alloc() argument 74 ws->bits = vzalloc(bitset_size(nr_blocks)); in writeset_alloc() 75 if (!ws->bits) { in writeset_alloc() 86 static int writeset_init(struct dm_disk_bitset *info, struct writeset *ws, in writeset_init() argument 91 memset(ws->bits, 0, bitset_size(nr_blocks)); in writeset_init() 93 ws->md.nr_bits = nr_blocks; in writeset_init() 94 r = setup_on_disk_bitset(info, ws->md.nr_bits, &ws->md.root); in writeset_init() [all …]
|
D | dm-thin.c | 2310 static void do_worker(struct work_struct *ws) in do_worker() argument 2312 struct pool *pool = container_of(ws, struct pool, worker); in do_worker() 2329 static void do_waker(struct work_struct *ws) in do_waker() argument 2331 struct pool *pool = container_of(to_delayed_work(ws), struct pool, waker); in do_waker() 2343 static void do_no_space_timeout(struct work_struct *ws) in do_no_space_timeout() argument 2345 struct pool *pool = container_of(to_delayed_work(ws), struct pool, in do_no_space_timeout() 2362 static struct pool_work *to_pool_work(struct work_struct *ws) in to_pool_work() argument 2364 return container_of(ws, struct pool_work, worker); in to_pool_work() 2388 static struct noflush_work *to_noflush(struct work_struct *ws) in to_noflush() argument 2390 return container_of(to_pool_work(ws), struct noflush_work, pw); in to_noflush() [all …]
|
/drivers/input/misc/ |
D | gpio_input.c | 48 struct wakeup_source *ws; member 156 __pm_relax(ds->ws); in gpio_event_input_timer_func() 182 __pm_stay_awake(ds->ws); in gpio_event_input_irq_handler() 305 ds->ws = wakeup_source_register(wlname); in gpio_event_input_func() 307 if (!ds->ws) { in gpio_event_input_func() 385 wakeup_source_unregister(ds->ws); in gpio_event_input_func()
|
/drivers/gpu/drm/radeon/ |
D | atom.c | 57 uint32_t *ps, *ws; member 263 val = ctx->ws[idx]; in atom_get_src_int() 533 ctx->ws[idx] = val; in atom_put_dst() 1162 int len, ws, ps, ptr; in atom_execute_table_locked() local 1171 ws = CU8(base + ATOM_CT_WS_PTR); in atom_execute_table_locked() 1175 SDEBUG(">> execute %04X (len %d, WS %d, PS %d)\n", base, len, ws, ps); in atom_execute_table_locked() 1183 if (ws) in atom_execute_table_locked() 1184 ectx.ws = kzalloc(4 * ws, GFP_KERNEL); in atom_execute_table_locked() 1186 ectx.ws = NULL; in atom_execute_table_locked() 1197 base, len, ws, ps, ptr - 1); in atom_execute_table_locked() [all …]
|
/drivers/staging/gdm72xx/ |
D | gdm_sdio.c | 329 struct sdiowm_dev *sdev = container_of(work, struct sdiowm_dev, ws); in do_tx() 355 schedule_work(&sdev->ws); in do_tx() 428 schedule_work(&sdev->ws); in gdm_sdio_send() 458 schedule_work(&sdev->ws); in control_sdu_tx_flow() 511 schedule_work(&sdev->ws); in gdm_sdio_irq() 641 INIT_WORK(&sdev->ws, do_tx); in sdio_wimax_probe() 658 cancel_work_sync(&sdev->ws); in sdio_wimax_remove()
|
D | gdm_sdio.h | 60 struct work_struct ws; member
|
/drivers/gpu/drm/amd/amdgpu/ |
D | atom.c | 57 uint32_t *ps, *ws; member 260 val = ctx->ws[idx]; in atom_get_src_int() 530 ctx->ws[idx] = val; in atom_put_dst() 1208 int len, ws, ps, ptr; in amdgpu_atom_execute_table_locked() local 1217 ws = CU8(base + ATOM_CT_WS_PTR); in amdgpu_atom_execute_table_locked() 1221 SDEBUG(">> execute %04X (len %d, WS %d, PS %d)\n", base, len, ws, ps); in amdgpu_atom_execute_table_locked() 1229 if (ws) in amdgpu_atom_execute_table_locked() 1230 ectx.ws = kzalloc(4 * ws, GFP_KERNEL); in amdgpu_atom_execute_table_locked() 1232 ectx.ws = NULL; in amdgpu_atom_execute_table_locked() 1243 base, len, ws, ps, ptr - 1); in amdgpu_atom_execute_table_locked() [all …]
|
/drivers/spi/ |
D | spi-sh.c | 86 struct work_struct ws; member 285 struct spi_sh_data *ss = container_of(work, struct spi_sh_data, ws); in spi_sh_work() 383 queue_work(ss->workqueue, &ss->ws); in spi_sh_transfer() 483 INIT_WORK(&ss->ws, spi_sh_work); in spi_sh_probe()
|
/drivers/leds/ |
D | led-core.c | 82 static void set_brightness_delayed(struct work_struct *ws) in set_brightness_delayed() argument 85 container_of(ws, struct led_classdev, set_brightness_work); in set_brightness_delayed()
|
/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()
|
/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, in wa_notif_dispatch()
|
D | wa-hc.h | 93 extern void wa_urb_enqueue_run(struct work_struct *ws); 94 extern void wa_process_errored_transfers_run(struct work_struct *ws);
|
/drivers/tty/ |
D | pty.c | 299 static int pty_resize(struct tty_struct *tty, struct winsize *ws) in pty_resize() argument 306 if (!memcmp(ws, &tty->winsize, sizeof(*ws))) in pty_resize() 321 tty->winsize = *ws; in pty_resize() 322 pty->winsize = *ws; /* Never used so will go away soon */ in pty_resize()
|
/drivers/net/irda/ |
D | vlsi_ir.h | 439 #define PHYCTL_SIR(br,ws,cs) BWP_TO_PHYCTL(BAUD_BITS(br),calc_width_bits((br),(ws),(cs)),0) argument
|
/drivers/tty/serial/ |
D | sc16is7xx.c | 710 static void sc16is7xx_ist(struct kthread_work *ws) in sc16is7xx_ist() argument 712 struct sc16is7xx_port *s = to_sc16is7xx_port(ws, irq_work); in sc16is7xx_ist() 738 static void sc16is7xx_tx_proc(struct kthread_work *ws) in sc16is7xx_tx_proc() argument 740 struct uart_port *port = &(to_sc16is7xx_one(ws, tx_work)->port); in sc16is7xx_tx_proc() 769 static void sc16is7xx_reg_proc(struct kthread_work *ws) in sc16is7xx_reg_proc() argument 771 struct sc16is7xx_one *one = to_sc16is7xx_one(ws, reg_work); in sc16is7xx_reg_proc()
|
/drivers/net/wireless/prism54/ |
D | islpci_mgt.h | 113 struct work_struct ws; /* argument for schedule_work() */ member
|
D | islpci_mgt.c | 381 INIT_WORK(&frame->ws, prism54_process_trap); in islpci_mgt_receive() 382 schedule_work(&frame->ws); in islpci_mgt_receive()
|
/drivers/acpi/ |
D | device_pm.c | 400 __pm_wakeup_event(adev->wakeup.ws, 0); in acpi_pm_notify_handler() 434 adev->wakeup.ws = wakeup_source_register(dev_name(&adev->dev)); in acpi_add_pm_notifier() 475 wakeup_source_unregister(adev->wakeup.ws); in acpi_remove_pm_notifier()
|
/drivers/scsi/cxlflash/ |
D | superpipe.c | 764 u8 *ws = NULL; in create_context() local 769 ws = kzalloc((MAX_RHT_PER_CONTEXT * sizeof(*ws)), GFP_KERNEL); in create_context() 770 if (unlikely(!ctxi || !lli || !ws)) { in create_context() 782 ctxi->rht_needs_ws = ws; in create_context() 801 kfree(ws); in create_context()
|