| /drivers/base/power/ |
| A D | wakeup.c | 86 ws = kzalloc(sizeof(*ws), GFP_KERNEL); in wakeup_source_create() 87 if (!ws) in wakeup_source_create() 100 return ws; in wakeup_source_create() 153 if (!ws) in wakeup_source_destroy() 340 if (!ws) in device_wakeup_enable() 390 if (ws) in device_wakeup_detach_irq() 569 ws->start_prevent_time = ws->last_time; in wakeup_source_activate() 678 if (ws->relax_count != ws->active_count) { in wakeup_source_deactivate() 767 if (ws->active && ws->timer_expires in pm_wakeup_timer_fn() 1082 ws->name, active_count, ws->event_count, in print_wakeup_source_stats() [all …]
|
| A D | wakeup_stats.c | 44 ws->active ? ktime_sub(ktime_get(), ws->last_time) : 0; in active_time_ms_show() 55 ktime_t total_time = ws->total_time; in total_time_ms_show() 57 if (ws->active) { in total_time_ms_show() 71 ktime_t max_time = ws->max_time; in max_time_ms_show() 73 if (ws->active) { in max_time_ms_show() 97 return sysfs_emit(buf, "%s\n", ws->name); in name_show() 108 if (ws->active && ws->autosleep_enabled) { in prevent_suspend_time_ms_show() 139 struct wakeup_source *ws) in wakeup_source_device_create() argument 156 dev_set_drvdata(dev, ws); in wakeup_source_device_create() 186 ws->dev = dev; in wakeup_source_sysfs_add() [all …]
|
| A D | power.h | 129 struct wakeup_source *ws); 130 extern void wakeup_source_sysfs_remove(struct wakeup_source *ws);
|
| /drivers/gpu/drm/panel/ |
| A D | panel-widechips-ws2401.c | 135 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 352 if (IS_ERR(ws)) in ws2401_probe() 353 return PTR_ERR(ws); in ws2401_probe() 355 ws->dev = dev; in ws2401_probe() 380 ws2401_power_on(ws); in ws2401_probe() 381 ws2401_read_mtp_id(ws); in ws2401_probe() 382 ws2401_power_off(ws); in ws2401_probe() [all …]
|
| /drivers/mtd/devices/ |
| A D | mchp48l640.c | 224 size_t ws; in mchp48l640_write() local 232 ws = min((len - wlen), page_sz); in mchp48l640_write() 233 ret = mchp48l640_write_page(mtd, woff, ws, retlen, &buf[wlen]); in mchp48l640_write() 236 wlen += ws; in mchp48l640_write() 237 woff += ws; in mchp48l640_write() 282 size_t ws; in mchp48l640_read() local 290 ws = min((len - wlen), page_sz); in mchp48l640_read() 291 ret = mchp48l640_read_page(mtd, woff, ws, retlen, &buf[wlen]); in mchp48l640_read() 294 wlen += ws; in mchp48l640_read() 295 woff += ws; in mchp48l640_read()
|
| /drivers/soc/fsl/ |
| A D | rcpm.c | 59 struct wakeup_source *ws; in rcpm_pm_prepare() local 73 for_each_wakeup_source(ws) { in rcpm_pm_prepare() 76 if (!ws->dev || !ws->dev->parent) in rcpm_pm_prepare() 79 ret = device_property_read_u32_array(ws->dev->parent, in rcpm_pm_prepare()
|
| /drivers/md/ |
| A D | dm-era-target.c | 51 vfree(ws->bits); in writeset_free() 52 ws->bits = NULL; in writeset_free() 78 if (!ws->bits) { in writeset_alloc() 96 ws->md.nr_bits = nr_blocks; in writeset_init() 97 r = setup_on_disk_bitset(info, ws->md.nr_bits, &ws->md.root); in writeset_init() 108 return test_bit(block, ws->bits); in writeset_marked() 137 struct writeset *ws, uint32_t block) in writeset_test_and_set() argument 141 if (!test_bit(block, ws->bits)) { in writeset_test_and_set() 142 r = dm_bitset_set_bit(info, ws->md.root, block, &ws->md.root); in writeset_test_and_set() 973 struct writeset *ws; in metadata_current_marked() local [all …]
|
| A D | dm-cache-target.c | 50 struct work_struct ws; member 57 INIT_WORK(&k->ws, fn); in init_continuation() 64 queue_work(wq, &k->ws); in queue_continuation() 126 k = container_of(ws, struct continuation, ws); in __commit() 129 queue_work(b->wq, ws); in __commit() 1085 struct continuation *k = container_of(ws, struct continuation, ws); in ws_to_mg() 1314 mg_update_metadata(ws); in mg_update_metadata_after_copy() 1354 mg_upgrade_lock(ws); in mg_full_copy() 1381 mg_full_copy(ws); in mg_copy() 1395 mg_full_copy(ws); in mg_copy() [all …]
|
| A D | dm-ebs-target.c | 27 struct work_struct ws; /* Work item used for ^. */ member 177 static void __ebs_process_bios(struct work_struct *ws) in __ebs_process_bios() argument 182 struct ebs_c *ec = container_of(ws, struct ebs_c, ws); in __ebs_process_bios() 334 INIT_WORK(&ec->ws, &__ebs_process_bios); in ebs_ctr() 382 queue_work(ec->wq, &ec->ws); in ebs_map()
|
| /drivers/tty/hvc/ |
| A D | hvc_console.h | 46 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()
|
| A D | hvc_console.c | 568 struct winsize ws; in hvc_set_winsz() local 577 ws = hp->ws; in hvc_set_winsz() 580 tty_do_resize(tty, &ws); in hvc_set_winsz() 778 void __hvc_resize(struct hvc_struct *hp, struct winsize ws) in __hvc_resize() argument 780 hp->ws = ws; in __hvc_resize()
|
| /drivers/dma/idxd/ |
| A D | submit.c | 32 struct sbq_wait_state *ws; in idxd_alloc_desc() local 47 ws = &sbq->ws[0]; in idxd_alloc_desc() 49 sbitmap_prepare_to_wait(sbq, ws, &wait, TASK_INTERRUPTIBLE); in idxd_alloc_desc() 58 sbitmap_finish_wait(sbq, ws, &wait); in idxd_alloc_desc()
|
| /drivers/gpu/drm/radeon/ |
| A D | atom.c | 62 uint32_t *ps, *ws; member 267 val = ctx->ws[idx]; in atom_get_src_int() 544 ctx->ws[idx] = val; in atom_put_dst() 1173 int len, ws, ps, ptr; in atom_execute_table_locked() local 1182 ws = CU8(base + ATOM_CT_WS_PTR); in atom_execute_table_locked() 1195 if (ws) { in atom_execute_table_locked() 1196 ectx.ws = kcalloc(4, ws, GFP_KERNEL); in atom_execute_table_locked() 1197 ectx.ws_size = ws; in atom_execute_table_locked() 1199 ectx.ws = NULL; in atom_execute_table_locked() 1212 base, len, ws, ps, ptr - 1); in atom_execute_table_locked() [all …]
|
| /drivers/gpu/drm/amd/amdgpu/ |
| A D | atom.c | 64 uint32_t *ps, *ws; member 269 val = ctx->ws[idx]; in atom_get_src_int() 545 ctx->ws[idx] = val; in atom_put_dst() 1224 int len, ws, ps, ptr; in amdgpu_atom_execute_table_locked() local 1247 if (ws) { in amdgpu_atom_execute_table_locked() 1248 ectx.ws = kcalloc(4, ws, GFP_KERNEL); in amdgpu_atom_execute_table_locked() 1249 ectx.ws_size = ws; in amdgpu_atom_execute_table_locked() 1251 ectx.ws = NULL; in amdgpu_atom_execute_table_locked() 1264 base, len, ws, ps, ptr - 1); in amdgpu_atom_execute_table_locked() 1282 if (ws) in amdgpu_atom_execute_table_locked() [all …]
|
| /drivers/gpu/drm/vc4/ |
| A D | vc4_validate_shaders.c | 395 bool ws = inst & QPU_WS; in check_reg_write() local 396 bool is_b = is_mul ^ ws; in check_reg_write() 491 bool ws = inst & QPU_WS; in track_live_clamps() local 503 lri_add = waddr_to_live_reg_index(waddr_add, ws); in track_live_clamps() 504 lri_mul = waddr_to_live_reg_index(waddr_mul, !ws); in track_live_clamps()
|
| /drivers/isdn/mISDN/ |
| A D | hwchannel.c | 14 dchannel_bh(struct work_struct *ws) in dchannel_bh() argument 16 struct dchannel *dch = container_of(ws, struct dchannel, workq); in dchannel_bh() 37 bchannel_bh(struct work_struct *ws) in bchannel_bh() argument 39 struct bchannel *bch = container_of(ws, struct bchannel, workq); in bchannel_bh()
|
| /drivers/clk/meson/ |
| A D | clk-phase.c | 159 meson_parm_write(clk->map, &tph->ws, val ? 0 : 1); in meson_sclk_ws_inv_sync() 183 meson_parm_write(clk->map, &tph->ws, val ? 0 : 1); in meson_sclk_ws_inv_set_phase()
|
| A D | clk-phase.h | 25 struct parm ws; member
|
| /drivers/media/platform/mediatek/vpu/ |
| A D | mtk_vpu.c | 130 struct work_struct ws; member 385 static void vpu_wdt_reset_func(struct work_struct *ws) in vpu_wdt_reset_func() argument 387 struct vpu_wdt *wdt = container_of(ws, struct vpu_wdt, ws); in vpu_wdt_reset_func() 798 queue_work(vpu->wdt.wq, &vpu->wdt.ws); in vpu_irq_handler() 855 INIT_WORK(&vpu->wdt.ws, vpu_wdt_reset_func); in mtk_vpu_probe()
|
| /drivers/tty/ |
| A D | pty.c | 283 static int pty_resize(struct tty_struct *tty, struct winsize *ws) in pty_resize() argument 290 if (!memcmp(ws, &tty->winsize, sizeof(*ws))) in pty_resize() 305 tty->winsize = *ws; in pty_resize() 306 pty->winsize = *ws; /* Never used so will go away soon */ in pty_resize()
|
| /drivers/infiniband/hw/irdma/ |
| A D | Makefile | 25 ws.o \
|
| /drivers/most/ |
| A D | most_usb.c | 76 struct work_struct ws; member 82 #define to_clear_hold_work(w) container_of(w, struct clear_hold_work, ws) 252 cancel_work_sync(&mdev->clear_work[channel].ws); in hdm_poison_channel() 365 schedule_work(&mdev->clear_work[channel].ws); in hdm_write_completion() 422 schedule_work(&mdev->clear_work[channel].ws); in hdm_read_completion() 586 INIT_WORK(&mdev->clear_work[channel].ws, wq_clear_halt); in hdm_configure_channel()
|
| /drivers/tty/serial/ |
| A D | sc16is7xx.c | 867 static void sc16is7xx_poll_proc(struct kthread_work *ws) in sc16is7xx_poll_proc() argument 869 struct sc16is7xx_port *s = container_of(ws, struct sc16is7xx_port, poll_work.work); in sc16is7xx_poll_proc() 879 static void sc16is7xx_tx_proc(struct kthread_work *ws) in sc16is7xx_tx_proc() argument 881 struct uart_port *port = &(to_sc16is7xx_one(ws, tx_work)->port); in sc16is7xx_tx_proc() 913 static void sc16is7xx_reg_proc(struct kthread_work *ws) in sc16is7xx_reg_proc() argument 915 struct sc16is7xx_one *one = to_sc16is7xx_one(ws, reg_work); in sc16is7xx_reg_proc() 951 static void sc16is7xx_ms_proc(struct kthread_work *ws) in sc16is7xx_ms_proc() argument 953 struct sc16is7xx_one *one = to_sc16is7xx_one(ws, ms_work.work); in sc16is7xx_ms_proc()
|
| /drivers/net/ethernet/fungible/funcore/ |
| A D | fun_dev.c | 340 struct sbq_wait_state *ws = &sbq->ws[0]; in fun_wait_for_tag() local 345 sbitmap_prepare_to_wait(sbq, ws, &wait, TASK_UNINTERRUPTIBLE); in fun_wait_for_tag() 356 sbitmap_finish_wait(sbq, ws, &wait); in fun_wait_for_tag()
|
| /drivers/firmware/efi/libstub/ |
| A D | vsprintf.c | 506 const u16 *ws = (const u16 *)s; in vsnprintf() local 509 u32 c32 = utf16_to_utf32(&ws); in vsnprintf()
|