/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | ctxnv50.c | 228 cp_lsr (ctx, ctx->ctxvals_base); in nv50_grctx_generate() 230 cp_lsr (ctx, 4); in nv50_grctx_generate() 249 cp_out (ctx, CP_END); in nv50_grctx_generate() 789 nvkm_wo32(ctx->data, 4 * (ctx->ctxvals_pos + i), val); in dd_emit() 1162 nvkm_wo32(ctx->data, 4 * (ctx->ctxvals_pos + (i << 3)), val); in xf_emit() 1338 ctx->ctxvals_pos = (ctx->ctxvals_pos+0x3f)&~0x3f; in nv50_gr_construct_xfer1() 1341 cp_lsr (ctx, size); in nv50_gr_construct_xfer1() 1370 xf_emit(ctx, 3, 0); in nv50_gr_construct_gene_dispatch() 1376 xf_emit(ctx, 9, 0); in nv50_gr_construct_gene_dispatch() 1378 xf_emit(ctx, 9, 0); in nv50_gr_construct_gene_dispatch() [all …]
|
H A D | ctxnv40.c | 164 cp_ctx(ctx, 0x4000a4, 1); in nv40_gr_construct_general() 168 cp_ctx(ctx, 0x400314, 1); in nv40_gr_construct_general() 505 cp_ctx(ctx, 0x403420, nv40_gr_vs_count(ctx->device)); in nv40_gr_construct_state3d_2() 538 cp_out (ctx, 0x300000); in nv40_gr_construct_state3d_3() 539 cp_lsr (ctx, len - 4); in nv40_gr_construct_state3d_3() 541 cp_lsr (ctx, len); in nv40_gr_construct_state3d_3() 543 cp_out (ctx, 0x800001); in nv40_gr_construct_state3d_3() 617 cp_lsr (ctx, 0x20); in nv40_grctx_generate() 645 cp_pos (ctx, ctx->ctxvals_pos); in nv40_grctx_generate() 654 cp_name(ctx, cp_exit); in nv40_grctx_generate() [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_tcp_custom_syncookie.c | 74 ctx->data = (void *)(long)ctx->skb->data; in tcp_load_headers() 78 if (ctx->eth + 1 > ctx->data_end) in tcp_load_headers() 85 if (ctx->ipv4 + 1 > ctx->data_end) in tcp_load_headers() 102 if (ctx->ipv6 + 1 > ctx->data_end) in tcp_load_headers() 117 if (ctx->tcp + 1 > ctx->data_end) in tcp_load_headers() 285 ctx->off = (__u8 *)(ctx->tcp + 1) - (__u8 *)ctx->data, in tcp_parse_options() 305 if (!ctx->tcp->ece || !ctx->tcp->cwr) in tcp_validate_sysctl() 357 if (ctx->attrs.tstamp_ok && ctx->tcp->ece && ctx->tcp->cwr) in tcp_prepare_cookie() 417 ctx->tcp->doff = ((long)ctx->ptr32 - (long)ctx->tcp) >> 2; in tcp_handle_syn() 419 if (!ctx->attrs.tstamp_ok || !ctx->tcp->ece || !ctx->tcp->cwr) in tcp_handle_syn() [all …]
|
H A D | test_sk_lookup.c | 304 if (ctx->sk != sk) in sk_assign_null() 333 if (ctx->sk && ctx->sk->family != AF_INET) in access_ctx_sk() 356 if (ctx->sk) in access_ctx_sk() 401 LSB(ctx->family, 1) != 0 || LSB(ctx->family, 2) != 0 || LSB(ctx->family, 3) != 0) in ctx_narrow_access() 408 LSB(ctx->protocol, 1) != 0 || LSB(ctx->protocol, 2) != 0 || LSB(ctx->protocol, 3) != 0) in ctx_narrow_access() 434 LSB(ctx->local_port, 2) != 0 || LSB(ctx->local_port, 3) != 0) in ctx_narrow_access() 463 LSB(ctx->remote_ip4, 2) != 0 || LSB(ctx->remote_ip4, 3) != 0) in ctx_narrow_access() 465 if (LSW(ctx->remote_ip4, 0) != 0 || LSW(ctx->remote_ip4, 1) != 0) in ctx_narrow_access() 468 if (LSB(ctx->local_ip4, 0) != 0 || LSB(ctx->local_ip4, 1) != 0 || in ctx_narrow_access() 469 LSB(ctx->local_ip4, 2) != 0 || LSB(ctx->local_ip4, 3) != 0) in ctx_narrow_access() [all …]
|
/linux/drivers/gpu/drm/bridge/ |
H A D | sii9234.c | 200 if (ctx->i2c_error) in sii9234_writeb() 218 if (ctx->i2c_error) in sii9234_writebm() 578 regulator_bulk_disable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in sii9234_hw_off() 776 ctx->state = sii9234_rgnd_ready_irq(ctx); in sii9234_irq_thread() 778 ctx->state = sii9234_rsen_change(ctx); in sii9234_irq_thread() 780 ctx->state = sii9234_mhl_established(ctx); in sii9234_irq_thread() 782 ctx->state = sii9234_hpd_change(ctx); in sii9234_irq_thread() 837 ret = devm_regulator_bulk_get(ctx->dev, 4, ctx->supplies); in sii9234_init_resources() 891 ctx = devm_kzalloc(dev, sizeof(*ctx), GFP_KERNEL); in sii9234_probe() 892 if (!ctx) in sii9234_probe() [all …]
|
H A D | sil-sii8620.c | 492 if (!ctx->sink_detected || !ctx->devcap_read) in sii8620_identify_sink() 605 u8 *buf = &ctx->burst.tx_buf[ctx->burst.tx_count]; in sii8620_burst_get_tx_buf() 622 u8 *buf = &ctx->burst.rx_buf[ctx->burst.rx_count]; in sii8620_burst_get_rx_buf() 645 if (ctx->burst.r_count + len > ctx->burst.r_size) in sii8620_burst_send() 660 if (ctx->burst.r_count + 2 > ctx->burst.r_size) in sii8620_burst_send() 1591 memset(ctx->stat, 0, sizeof(ctx->stat)); in sii8620_disconnect() 1592 memset(ctx->xstat, 0, sizeof(ctx->xstat)); in sii8620_disconnect() 1593 memset(ctx->devcap, 0, sizeof(ctx->devcap)); in sii8620_disconnect() 1594 memset(ctx->xdevcap, 0, sizeof(ctx->xdevcap)); in sii8620_disconnect() 2293 ctx = devm_kzalloc(dev, sizeof(*ctx), GFP_KERNEL); in sii8620_probe() [all …]
|
/linux/arch/powerpc/platforms/cell/spufs/ |
H A D | context.c | 29 ctx = kzalloc(sizeof *ctx, GFP_KERNEL); in alloc_spu_context() 30 if (!ctx) in alloc_spu_context() 63 kfree(ctx); in alloc_spu_context() 64 ctx = NULL; in alloc_spu_context() 66 return ctx; in alloc_spu_context() 78 if (ctx->gang) in destroy_spu_context() 79 spu_gang_remove_ctx(ctx->gang, ctx); in destroy_spu_context() 81 kref_put(ctx->prof_priv_kref, ctx->prof_priv_release); in destroy_spu_context() 85 kfree(ctx); in destroy_spu_context() 91 return ctx; in get_spu_context() [all …]
|
/linux/sound/soc/intel/skylake/ |
H A D | skl-sst-cldma.c | 161 ctx->dsp_ops.free_dma_buf(ctx->dev, &ctx->cl_dev.dmab_data); in skl_cldma_cleanup() 162 ctx->dsp_ops.free_dma_buf(ctx->dev, &ctx->cl_dev.dmab_bdl); in skl_cldma_cleanup() 219 if (ctx->cl_dev.curr_spib_pos == ctx->cl_dev.bufsize) in skl_cldma_fill_buffer() 222 ctx->cl_dev.dma_buffer_offset = ctx->cl_dev.curr_spib_pos; in skl_cldma_fill_buffer() 229 ctx->cl_dev.ops.cl_setup_spb(ctx, ctx->cl_dev.curr_spib_pos, trigger); in skl_cldma_fill_buffer() 231 ctx->cl_dev.ops.cl_trigger(ctx, true); in skl_cldma_fill_buffer() 273 ctx->cl_dev.curr_spib_pos = ctx->cl_dev.bufsize; in skl_cldma_copy_to_buf() 357 ctx->dsp_ops.free_dma_buf(ctx->dev, &ctx->cl_dev.dmab_data); in skl_cldma_prepare() 363 ctx->cl_dev.ops.cl_setup_bdle(ctx, &ctx->cl_dev.dmab_data, in skl_cldma_prepare() 365 ctx->cl_dev.ops.cl_setup_controller(ctx, &ctx->cl_dev.dmab_bdl, in skl_cldma_prepare() [all …]
|
/linux/drivers/misc/cxl/ |
H A D | context.c | 44 ctx->tidr = 0; in cxl_context_init() 94 i = idr_alloc(&ctx->afu->contexts_idr, ctx, 0, in cxl_context_init() 103 ctx->elem = &ctx->afu->native->spa[i]; in cxl_context_init() 104 ctx->external_pe = ctx->pe; in cxl_context_init() 196 if (ctx->master && !ctx->afu->psa) { in cxl_context_iomap() 210 if ((ctx->master && !ctx->afu->psa) || (!ctx->afu->pp_psa)) { in cxl_context_iomap() 221 ctx->psn_phys, ctx->pe , ctx->master); in cxl_context_iomap() 249 cxl_ops->link_ok(ctx->afu->adapter, ctx->afu)); in __detach_context() 290 afu_release_irqs(ctx, ctx); in cxl_context_detach() 344 if (ctx->kernelapi && ctx->mapping) in cxl_context_free() [all …]
|
/linux/drivers/base/regmap/ |
H A D | regmap-mmio.c | 162 ctx->reg_write(ctx, reg, val); in regmap_mmio_write() 189 if (ctx->big_endian && (ctx->val_bytes > 1)) { in regmap_mmio_noinc_write() 322 *val = ctx->reg_read(ctx, reg); in regmap_mmio_read() 363 if (ctx->big_endian && (ctx->val_bytes > 1)) { in regmap_mmio_noinc_read() 433 ctx = kzalloc(sizeof(*ctx), GFP_KERNEL); in regmap_mmio_gen_context() 434 if (!ctx) in regmap_mmio_gen_context() 533 return ctx; in regmap_mmio_gen_context() 547 return ctx; in regmap_mmio_gen_context() 550 kfree(ctx); in regmap_mmio_gen_context() 564 if (IS_ERR(ctx)) in __regmap_init_mmio_clk() [all …]
|
/linux/drivers/ras/amd/atl/ |
H A D | map.c | 216 ctx->inst_id, &ctx->map.base)) in df2_get_dram_addr_map() 221 ctx->inst_id, &ctx->map.limit)) in df2_get_dram_addr_map() 234 ctx->inst_id, &ctx->map.ctl)) in df3_get_dram_addr_map() 247 ctx->inst_id, &ctx->map.base)) in df4_get_dram_addr_map() 252 ctx->inst_id, &ctx->map.limit)) in df4_get_dram_addr_map() 257 ctx->inst_id, &ctx->map.ctl)) in df4_get_dram_addr_map() 262 ctx->inst_id, &ctx->map.intlv)) in df4_get_dram_addr_map() 303 ctx->inst_id, &ctx->map.base)) in df4p5_get_dram_addr_map() 308 ctx->inst_id, &ctx->map.limit)) in df4p5_get_dram_addr_map() 313 ctx->inst_id, &ctx->map.ctl)) in df4p5_get_dram_addr_map() [all …]
|
/linux/tools/testing/selftests/filesystems/epoll/ |
H A D | epoll_wakeup_test.c | 1688 EXPECT_TRUE((ctx.count == 2) || (ctx.count == 3)); in TEST() 1792 EXPECT_TRUE((ctx.count == 2) || (ctx.count == 3)); in TEST() 1906 EXPECT_TRUE((ctx.count == 2) || (ctx.count == 3)); in TEST() 2020 EXPECT_TRUE((ctx.count == 2) || (ctx.count == 3)); in TEST() 2124 EXPECT_TRUE((ctx.count == 2) || (ctx.count == 3)); in TEST() 2228 EXPECT_TRUE((ctx.count == 2) || (ctx.count == 3)); in TEST() 2337 EXPECT_TRUE((ctx.count == 2) || (ctx.count == 3)); in TEST() 2446 EXPECT_TRUE((ctx.count == 2) || (ctx.count == 3)); in TEST() 3265 __atomic_fetch_sub(&ctx.ready, ARRAY_SIZE(ctx.evfd), in TEST() 3269 while (count_waiters(&ctx) != ARRAY_SIZE(ctx.evfd)) in TEST() [all …]
|
/linux/drivers/media/i2c/ |
H A D | max2175.c | 495 max2175_write_bits(ctx, 12, 3, 0, ctx->rom_bbf_bw_am); in max2175_set_bbfilter() 498 max2175_write_bits(ctx, 12, 3, 0, ctx->rom_bbf_bw_dab); in max2175_set_bbfilter() 501 max2175_write_bits(ctx, 12, 3, 0, ctx->rom_bbf_bw_fm); in max2175_set_bbfilter() 630 s32 clock_rate = ctx->xtal_freq / ctx->decim_ratio; in max2175_set_nco_freq() 791 max2175_set_hsls(ctx, ctx->hsls->cur.val); in max2175_set_rx_mode() 794 max2175_i2s_enable(ctx, ctx->i2s_en->cur.val); in max2175_set_rx_mode() 1012 max2175_tune_rf_freq(ctx, ctx->freq, ctx->hsls->cur.val); in max2175_s_ctrl_rx_mode() 1102 vf->frequency, ctx->freq, ctx->mode_resolved); in max2175_s_frequency() 1119 ret, ctx->freq, ctx->mode_resolved, ctx->rx_mode->cur.val); in max2175_s_frequency() 1375 ctx->sd.ctrl_handler = &ctx->ctrl_hdl; in max2175_probe() [all …]
|
/linux/fs/bcachefs/ |
H A D | siphash.c | 57 ctx->v[0] += ctx->v[1]; in SipHash_Rounds() 58 ctx->v[2] += ctx->v[3]; in SipHash_Rounds() 62 ctx->v[1] ^= ctx->v[0]; in SipHash_Rounds() 63 ctx->v[3] ^= ctx->v[2]; in SipHash_Rounds() 66 ctx->v[2] += ctx->v[1]; in SipHash_Rounds() 67 ctx->v[0] += ctx->v[3]; in SipHash_Rounds() 71 ctx->v[1] ^= ctx->v[2]; in SipHash_Rounds() 72 ctx->v[3] ^= ctx->v[0]; in SipHash_Rounds() 155 ctx->buf[7] = ctx->bytes; in SipHash_End() 161 r = (ctx->v[0] ^ ctx->v[1]) ^ (ctx->v[2] ^ ctx->v[3]); in SipHash_End() [all …]
|
/linux/drivers/gpu/drm/panel/ |
H A D | panel-samsung-s6e3ha2.c | 498 return regulator_bulk_disable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in s6e3ha2_power_off() 527 ret = regulator_bulk_enable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in s6e3ha2_power_on() 562 s6e3ha2_power_off(ctx); in s6e3ha2_prepare() 654 ctx->desc->mode->hdisplay, ctx->desc->mode->vdisplay, in s6e3ha2_get_modes() 681 struct s6e3ha2 *ctx; in s6e3ha2_probe() local 684 ctx = devm_kzalloc(dev, sizeof(*ctx), GFP_KERNEL); in s6e3ha2_probe() 685 if (!ctx) in s6e3ha2_probe() 690 ctx->dev = dev; in s6e3ha2_probe() 703 ctx->supplies); in s6e3ha2_probe() 723 ctx->bl_dev = backlight_device_register("s6e3ha2", dev, ctx, in s6e3ha2_probe() [all …]
|
H A D | panel-samsung-s6e8aa0.c | 132 ctx->error = 0; in s6e8aa0_clear_error() 141 if (ctx->error < 0) in s6e8aa0_dcs_write() 148 ctx->error = ret; in s6e8aa0_dcs_write() 157 if (ctx->error < 0) in s6e8aa0_dcs_read() 163 ctx->error = ret; in s6e8aa0_dcs_read() 213 if (ctx->flip_horizontal || ctx->flip_vertical) { in s6e8aa0_panel_cond_set_v142() 768 if (ctx->error) in s6e8aa0_brightness_set() 771 gamma = ctx->variant->gamma_tables[ctx->brightness]; in s6e8aa0_brightness_set() 846 ctx->id = id[2]; in s6e8aa0_read_mtp_id() 983 if (!ctx) in s6e8aa0_probe() [all …]
|
/linux/fs/smb/client/ |
H A D | fs_context.c | 344 memcpy(new_ctx, ctx, sizeof(*ctx)); in smb3_fs_context_dup() 761 if (ctx->override_uid && !ctx->uid_specified) { in smb3_fs_context_validate() 766 if (ctx->override_gid && !ctx->gid_specified) { in smb3_fs_context_validate() 880 ctx->field = cifs_sb->ctx->field; \ 887 ctx->field = cifs_sb->ctx->field; \ 930 ctx->rsize = cifs_sb->ctx->rsize; in smb3_reconfigure() 932 ctx->wsize = cifs_sb->ctx->wsize; in smb3_reconfigure() 936 rc = smb3_fs_context_dup(cifs_sb->ctx, ctx); in smb3_reconfigure() 1179 ctx->wsize = round_down(ctx->wsize, PAGE_SIZE); in smb3_fs_context_parse_param() 1598 if ((ctx->nopersistent) || (ctx->resilient)) { in smb3_fs_context_parse_param() [all …]
|
/linux/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | mtk_vcodec_dec_stateful.c | 61 mtk_v4l2_vdec_dbg(3, ctx, "[%d]", ctx->id); in get_display_buffer() 65 ctx->id); in get_display_buffer() 192 mtk_v4l2_vdec_dbg(1, ctx, "[%d]", ctx->id); in mtk_vdec_queue_res_chg_event() 254 mtk_vdec_update_fmt(ctx, ctx->picinfo.cap_fourcc); in mtk_vdec_pic_info_update() 257 ctx->last_decoded_picinfo.pic_h == ctx->picinfo.pic_h) in mtk_vdec_pic_info_update() 262 ctx->last_decoded_picinfo.pic_h, ctx->picinfo.pic_w, in mtk_vdec_pic_info_update() 263 ctx->picinfo.pic_h, ctx->last_decoded_picinfo.buf_w, in mtk_vdec_pic_info_update() 451 mtk_v4l2_vdec_dbg(3, ctx, "[%d] already init driver %d", ctx->id, ctx->state); in vb2ops_vdec_stateful_buf_queue() 504 ctx->last_decoded_picinfo = ctx->picinfo; in vb2ops_vdec_stateful_buf_queue() 512 ctx->id, ctx->picinfo.buf_w, ctx->picinfo.buf_h, ctx->picinfo.pic_w, in vb2ops_vdec_stateful_buf_queue() [all …]
|
/linux/fs/ |
H A D | timerfd.c | 153 if (!ctx->might_cancel || ctx->moffs != KTIME_MAX) in timerfd_canceled() 295 if (ctx->expired && ctx->tintv) { in timerfd_read_iter() 304 &ctx->t.alarm, ctx->tintv) - 1; in timerfd_read_iter() 433 ctx = kzalloc(sizeof(*ctx), GFP_KERNEL); in SYSCALL_DEFINE2() 434 if (!ctx) in SYSCALL_DEFINE2() 522 if (ctx->expired && ctx->tintv) { in do_timerfd_settime() 524 alarm_forward_now(&ctx->t.alarm, ctx->tintv); in do_timerfd_settime() 526 hrtimer_forward_now(&ctx->t.tmr, ctx->tintv); in do_timerfd_settime() 552 if (ctx->expired && ctx->tintv) { in do_timerfd_gettime() 558 &ctx->t.alarm, ctx->tintv) - 1; in do_timerfd_gettime() [all …]
|
/linux/tools/perf/tests/ |
H A D | expr.c | 88 ctx = expr__ctx_new(); in test__expr() 121 expr__ctx_free(ctx); in test__expr() 134 expr__ctx_clear(ctx); in test__expr() 137 ctx) == 0); in test__expr() 143 expr__ctx_clear(ctx); in test__expr() 147 NULL, ctx) == 0); in test__expr() 152 expr__ctx_clear(ctx); in test__expr() 169 NULL, ctx) == 0); in test__expr() 189 NULL, ctx) == 0); in test__expr() 260 NULL, ctx) == 0); in test__expr() [all …]
|
/linux/drivers/media/dvb-core/ |
H A D | dvb_vb2.c | 172 q->drv_priv = ctx; in dvb_vb2_init() 272 if (!ctx->buf) { in dvb_vb2_fill_buffer() 275 ctx->name); in dvb_vb2_fill_buffer() 279 ctx->buf = list_entry(ctx->dvb_q.next, in dvb_vb2_fill_buffer() 281 ctx->remain = vb2_plane_size(&ctx->buf->vb, 0); in dvb_vb2_fill_buffer() 309 if (ctx->nonblocking && ctx->buf) { in dvb_vb2_fill_buffer() 313 ctx->buf = NULL; in dvb_vb2_fill_buffer() 342 ctx->buf_cnt, ctx->buf_siz, ret); in dvb_vb2_reqbufs() 347 ctx->buf_cnt, ctx->buf_siz); in dvb_vb2_reqbufs() 418 ctx->flags = 0; in dvb_vb2_dqbuf() [all …]
|
/linux/drivers/hwmon/ |
H A D | pwm-fan.c | 77 struct pwm_fan_ctx *ctx = from_timer(ctx, t, rpm_timer); in sample_timer() local 375 if (!ctx) in pwm_fan_get_max_state() 388 if (!ctx) in pwm_fan_get_cur_state() 402 if (!ctx || (state > ctx->pwm_fan_max_state)) in pwm_fan_set_cur_state() 486 ctx = devm_kzalloc(dev, sizeof(*ctx), GFP_KERNEL); in pwm_fan_probe() 487 if (!ctx) in pwm_fan_probe() 507 pwm_init_state(ctx->pwm, &ctx->pwm_state); in pwm_fan_probe() 552 ctx->tachs = devm_kcalloc(dev, ctx->tach_count, in pwm_fan_probe() 626 ctx, &ctx->info, NULL); in pwm_fan_probe() 636 ctx->pwm_fan_state = ctx->pwm_fan_max_state; in pwm_fan_probe() [all …]
|
/linux/crypto/asymmetric_keys/ |
H A D | x509_cert_parser.c | 92 ctx->raw_akid_size, ctx->raw_akid_size, ctx->raw_akid); in x509_cert_parse() 269 ctx->sig_algo = ctx->last_oid; in x509_note_sig_algo() 274 ctx->sig_algo = ctx->last_oid; in x509_note_sig_algo() 279 ctx->sig_algo = ctx->last_oid; in x509_note_sig_algo() 284 ctx->sig_algo = ctx->last_oid; in x509_note_sig_algo() 304 if (ctx->last_oid != ctx->sig_algo) { in x509_note_signature() 306 ctx->last_oid, ctx->sig_algo); in x509_note_signature() 384 if (!ctx->cn_size && !ctx->o_size && !ctx->email_size) { in x509_fabricate_name() 392 if (ctx->cn_size && ctx->o_size) { in x509_fabricate_name() 398 if (ctx->cn_size >= ctx->o_size && in x509_fabricate_name() [all …]
|
/linux/drivers/gpu/drm/bridge/analogix/ |
H A D | anx7625.c | 192 ret = anx7625_write_or(ctx, ctx->i2c.tx_p2_client, in anx7625_config_bit_matrix() 223 val = anx7625_reg_read(ctx, ctx->i2c.rx_p0_client, in wait_aux_op_finish() 259 ret = anx7625_reg_write(ctx, ctx->i2c.rx_p0_client, in anx7625_aux_trans() 1297 anx7625_reg_write(ctx, ctx->i2c.rx_p0_client, in anx7625_config() 1499 anx7625_reg_write(ctx, ctx->i2c.tcpc_client, in _anx7625_hpd_polling() 1501 anx7625_reg_write(ctx, ctx->i2c.rx_p0_client, in _anx7625_hpd_polling() 1537 anx7625_reg_write(ctx, ctx->i2c.tx_p1_client, in anx7625_dp_adjust_swing() 1542 anx7625_reg_write(ctx, ctx->i2c.tx_p1_client, in anx7625_dp_adjust_swing() 1637 queue_work(ctx->workqueue, &ctx->work); in anx7625_intr_hpd_isr() 1978 if (ctx->plugged_cb && ctx->codec_dev) { in anx7625_audio_update_connector_status() [all …]
|
/linux/sound/soc/intel/atom/sst/ |
H A D | sst.c | 280 memcpy(&ctx->info, ctx->pdata->probe_data, sizeof(ctx->info)); in sst_context_init() 327 ctx->qos = devm_kzalloc(ctx->dev, in sst_context_init() 412 if (ctx->ops->save_dsp_context(ctx)) in intel_sst_runtime_suspend() 421 ctx->ops->reset(ctx); in intel_sst_runtime_suspend() 462 if (ctx->ops->save_dsp_context(ctx)) in intel_sst_suspend() 494 memcpy32_fromio(fw_save->ddr, ctx->ddr, ctx->ddr_end - ctx->ddr_base); in intel_sst_suspend() 497 ctx->ops->reset(ctx); in intel_sst_suspend() 523 ctx->ops->reset(ctx); in intel_sst_resume() 527 memcpy32_toio(ctx->iram, fw_save->iram, ctx->iram_end - ctx->iram_base); in intel_sst_resume() 530 memcpy32_toio(ctx->ddr, fw_save->ddr, ctx->ddr_end - ctx->ddr_base); in intel_sst_resume() [all …]
|