Home
last modified time | relevance | path

Searched full:rsc (Results 1 – 25 of 111) sorted by relevance

12345

/linux/sound/pci/ctxfi/
H A Dctsrc.c38 hw = src->rsc.hw; in src_set_state()
39 hw->src_set_state(src->rsc.ctrl_blk, state); in src_set_state()
48 hw = src->rsc.hw; in src_set_bm()
49 hw->src_set_bm(src->rsc.ctrl_blk, bm); in src_set_bm()
58 hw = src->rsc.hw; in src_set_sf()
59 hw->src_set_sf(src->rsc.ctrl_blk, sf); in src_set_sf()
68 hw = src->rsc.hw; in src_set_pm()
69 hw->src_set_pm(src->rsc.ctrl_blk, pm); in src_set_pm()
78 hw = src->rsc.hw; in src_set_rom()
79 hw->src_set_rom(src->rsc in src_set_rom()
588 srcimp_master(struct rsc * rsc) srcimp_master() argument
594 srcimp_next_conj(struct rsc * rsc) srcimp_next_conj() argument
599 srcimp_index(const struct rsc * rsc) srcimp_index() argument
[all...]
H A Dctamixer.c26 static void amixer_master(struct rsc *rsc) in amixer_master() argument
28 rsc->conj = 0; in amixer_master()
29 rsc->idx = container_of(rsc, struct amixer, rsc)->idx[0]; in amixer_master()
32 static void amixer_next_conj(struct rsc *rsc) in amixer_next_conj() argument
34 rsc->conj++; in amixer_next_conj()
37 static int amixer_index(const struct rsc *rsc) in amixer_index() argument
39 return container_of(rsc, struct amixer, rsc)->idx[rsc->conj]; in amixer_index()
42 static int amixer_output_slot(const struct rsc *rsc) in amixer_output_slot() argument
44 return (amixer_index(rsc) << 4) + 0x4; in amixer_output_slot()
54 static int amixer_set_input(struct amixer *amixer, struct rsc *rsc) in amixer_set_input() argument
[all …]
H A Dctresource.c102 static int rsc_index(const struct rsc *rsc) in rsc_index() argument
104 return rsc->conj; in rsc_index()
107 static int audio_ring_slot(const struct rsc *rsc) in audio_ring_slot() argument
109 return (rsc->conj << 4) + offset_in_audio_slot_block[rsc->type]; in audio_ring_slot()
112 static void rsc_next_conj(struct rsc *rsc) in rsc_next_conj() argument
115 for (i = 0; (i < 8) && (!(rsc->msr & (0x1 << i))); ) in rsc_next_conj()
117 rsc->conj += (AUDIO_SLOT_BLOCK_NUM >> i); in rsc_next_conj()
120 static void rsc_master(struct rsc *rsc) in rsc_master() argument
122 rsc->conj = rsc->idx; in rsc_master()
133 rsc_init(struct rsc *rsc, u32 idx, enum RSCTYP type, u32 msr, struct hw *hw) in rsc_init() argument
[all …]
H A Dctresource.h31 struct rsc { struct
42 void (*master)(struct rsc *rsc); /* Move to master resource */ argument
43 void (*next_conj)(struct rsc *rsc); /* Move to next conjugate resource */
44 int (*index)(const struct rsc *rsc); /* Return the index of resource */
46 int (*output_slot)(const struct rsc *rsc);
50 rsc_init(struct rsc *rsc, u32 idx, enum RSCTYP type, u32 msr, struct hw *hw);
51 int rsc_uninit(struct rsc *rsc);
H A Dctamixer.h24 struct rsc rsc; /* Basic resource info */ member
53 struct rsc rsc; /* Basic resource info */ member
55 struct rsc *input; /* pointer to a resource acting as source */
61 int (*set_input)(struct amixer *amixer, struct rsc *rsc);
68 int (*setup)(struct amixer *amixer, struct rsc *input,
H A Dctmixer.h51 struct rsc **rleft, struct rsc **rright);
54 enum MIXER_PORT_T type, struct rsc *rsc);
56 enum MIXER_PORT_T type, struct rsc *rsc);
H A Dctdaio.c53 static void daio_master(struct rsc *rsc) in daio_master() argument
58 rsc->conj = rsc->idx; in daio_master()
61 static int daio_index(const struct rsc *rsc) in daio_index() argument
63 return rsc->conj; in daio_index()
66 static void daio_out_next_conj(struct rsc *rsc) in daio_out_next_conj() argument
68 rsc->conj += 2; in daio_out_next_conj()
71 static void daio_in_next_conj_20k1(struct rsc *rsc) in daio_in_next_conj_20k1() argument
73 rsc->conj += 0x200; in daio_in_next_conj_20k1()
76 static void daio_in_next_conj_20k2(struct rsc *rsc) in daio_in_next_conj_20k2() argument
78 rsc->conj += 0x100; in daio_in_next_conj_20k2()
[all …]
H A Dctdaio.h44 struct rsc rscl; /* Basic resource info for left TX/RX */
45 struct rsc rscr; /* Basic resource info for right TX/RX */
76 int (*set_left_input)(struct dao *dao, struct rsc *input);
77 int (*set_right_input)(struct dao *dao, struct rsc *input);
83 int (*set_srt_srcl)(struct dai *dai, struct rsc *src);
84 int (*set_srt_srcr)(struct dai *dai, struct rsc *src);
H A Dctsrc.h45 struct rsc rsc; /* Basic resource info */ member
104 struct rsc rsc; member
106 unsigned int mapped; /* A bit-map indicating which conj rsc is mapped */
113 int (*map)(struct srcimp *srcimp, struct src *user, struct rsc *input);
H A Dctmixer.c995 amix_d->ops->setup(amix_d, &sum->rsc, INIT_VOL, NULL); in ct_mixer_get_mem()
998 amix_d->ops->setup(amix_d, &sum->rsc, INIT_VOL, NULL);
1006 amix_d->ops->setup(amix_d, &amix_s->rsc, INIT_VOL, NULL); in ct_mixer_topology_build()
1009 amix_d->ops->setup(amix_d, &amix_s->rsc, INIT_VOL, NULL); in ct_mixer_topology_build()
1015 amix_d->ops->setup(amix_d, &amix_s->rsc, INIT_VOL, NULL); in ct_mixer_topology_build()
1018 amix_d->ops->setup(amix_d, &amix_s->rsc, INIT_VOL, NULL); in ct_mixer_topology_build()
1057 amix_d->ops->setup(amix_d, &sum->rsc, INIT_VOL, NULL); in ct_mixer_topology_build()
1060 amix_d->ops->setup(amix_d, &sum->rsc, INIT_VOL, NULL); in ct_mixer_topology_build()
1097 static int mixer_set_input_port(struct amixer *amixer, struct rsc *rsc) in ct_mixer_topology_build()
1115 mixer_set_input_port(struct amixer * amixer,struct rsc * rsc) mixer_set_input_port() argument
1160 mixer_set_input_left(struct ct_mixer * mixer,enum MIXER_PORT_T type,struct rsc * rsc) mixer_set_input_left() argument
1174 mixer_set_input_right(struct ct_mixer * mixer,enum MIXER_PORT_T type,struct rsc * rsc) mixer_set_input_right() argument
[all...]
H A Dctatc.c305 amixer->ops->setup(amixer, &src->rsc, in atc_pcm_playback_prepare()
389 max_cisz = src->multi * src->rsc.msr; in atc_pcm_playback_start()
450 max_cisz = src->multi * src->rsc.msr; in atc_pcm_playback_position()
656 struct rsc *out_ports[8] = {NULL}; in atc_pcm_capture_prepare()
680 out_ports[0] = &mono->rsc; in atc_pcm_capture_prepare()
690 amixer->ops->setup(amixer, &src->rsc, INIT_VOL, NULL); in atc_pcm_capture_prepare()
691 out_ports[i%multi] = &amixer->rsc; in atc_pcm_capture_prepare()
712 &amixer->rsc); in atc_pcm_capture_prepare()
924 amixer->ops->setup(amixer, &src->rsc, INIT_VOL, NULL); in spdif_passthru_playback_prepare()
933 dao->ops->set_left_input(dao, &amixer->rsc); in spdif_passthru_playback_prepare()
[all …]
/linux/drivers/remoteproc/
H A Dremoteproc_virtio.c113 struct fw_rsc_vdev *rsc; in rp_find_vq() local
160 rsc = (void *)rproc->table_ptr + rvdev->rsc_offset; in rp_find_vq()
161 rsc->vring[id].da = mem->da; in rp_find_vq()
216 struct fw_rsc_vdev *rsc; in rproc_virtio_get_status() local
218 rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset; in rproc_virtio_get_status()
220 return rsc->status; in rproc_virtio_get_status()
226 struct fw_rsc_vdev *rsc; in rproc_virtio_set_status() local
228 rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset; in rproc_virtio_set_status()
230 rsc->status = status; in rproc_virtio_set_status()
237 struct fw_rsc_vdev *rsc; in rproc_virtio_reset() local
[all …]
/linux/Documentation/devicetree/bindings/interconnect/
H A Dqcom,bcm-voter.yaml15 Coordinators (RSC). Interconnect providers are able to vote for aggregated
31 WAKE/SLEEP TCSs are triggered when the RSC transitions between active and
35 ensure resources are available before use. If a specific RSC and its use
48 # as defined in Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml
56 # as defined in Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml
H A Dqcom,rpmh-common.yaml16 able to communicate with the BCM through the Resource State Coordinator (RSC)
18 least one RPMh device child node pertaining to their RSC and each provider
H A Dqcom,qdu1000-rpmh.yaml16 able to communicate with the BCM through the Resource State Coordinator (RSC)
18 least one RPMh device child node pertaining to their RSC and each provider
/linux/net/sunrpc/auth_gss/
H A Dsvcauth_gss.c75 struct rsc *rsci;
368 struct rsc { struct
377 static struct rsc *rsc_update(struct cache_detail *cd, struct rsc *new, struct rsc *old); argument
378 static struct rsc *rsc_lookup(struct cache_detail *cd, struct rsc *item);
380 static void rsc_free(struct rsc *rsci) in rsc_free()
390 struct rsc *rsci = container_of(head, struct rsc, rcu_head); in rsc_free_rcu()
398 struct rsc *rsci = container_of(ref, struct rsc, h.ref); in rsc_put()
407 rsc_hash(struct rsc *rsci) in rsc_hash()
415 struct rsc *new = container_of(a, struct rsc, h); in rsc_match()
416 struct rsc *tmp = container_of(b, struct rsc, h); in rsc_match()
[all …]
/linux/drivers/infiniband/ulp/iser/
H A Diser_memory.c169 ib_check_mr_status(desc->rsc.sig_mr, IB_MR_CHECK_SIG_STATUS, in iser_unreg_mem_fastreg()
250 struct iser_reg_resources *rsc, in iser_reg_sig_mr() argument
255 struct ib_mr *mr = rsc->sig_mr; in iser_reg_sig_mr()
267 if (rsc->sig_mr->need_inval) in iser_reg_sig_mr()
291 rsc->sig_mr->need_inval = true; in iser_reg_sig_mr()
307 struct iser_reg_resources *rsc, in iser_fast_reg_mr() argument
312 struct ib_mr *mr = rsc->mr; in iser_fast_reg_mr()
316 if (rsc->mr->need_inval) in iser_fast_reg_mr()
339 rsc->mr->need_inval = true; in iser_fast_reg_mr()
371 err = iser_fast_reg_mr(task, mem, &desc->rsc, reg); in iser_reg_mem_fastreg()
[all …]
/linux/drivers/soc/qcom/
H A Drpmh-internal.h28 * @mask: Mask of the TCSes relative to all the TCSes in the RSC.
29 * @offset: Start of the TCS group relative to the TCSes in the RSC.
56 * struct rpmh_request: the message to be sent to rpmh-rsc
94 * Resource State Coordinator controller (RSC)
118 * @dev: RSC device.
/linux/lib/reed_solomon/
H A Ddecode_rs.c13 struct rs_codec *rs = rsc->codec;
32 uint16_t *lambda = rsc->buffers + RS_DECODE_LAMBDA * (nroots + 1);
33 uint16_t *syn = rsc->buffers + RS_DECODE_SYN * (nroots + 1);
34 uint16_t *b = rsc->buffers + RS_DECODE_B * (nroots + 1);
35 uint16_t *t = rsc->buffers + RS_DECODE_T * (nroots + 1);
36 uint16_t *omega = rsc->buffers + RS_DECODE_OMEGA * (nroots + 1);
37 uint16_t *root = rsc->buffers + RS_DECODE_ROOT * (nroots + 1);
38 uint16_t *reg = rsc->buffers + RS_DECODE_REG * (nroots + 1);
39 uint16_t *loc = rsc->buffers + RS_DECODE_LOC * (nroots + 1);
H A Dreed_solomon.c318 * @rsc: the rs control structure
328 int encode_rs8(struct rs_control *rsc, uint8_t *data, int len, uint16_t *par, in encode_rs8() argument
339 * @rsc: the rs control structure
354 * Note: The rs_control struct @rsc contains buffers which are used for
361 int decode_rs8(struct rs_control *rsc, uint8_t *data, uint16_t *par, int len, in decode_rs8() argument
373 * @rsc: the rs control structure
381 int encode_rs16(struct rs_control *rsc, uint16_t *data, int len, uint16_t *par, in encode_rs16() argument
392 * @rsc: the rs control structure
405 * Note: The rc_control struct @rsc contains buffers which are used for
412 int decode_rs16(struct rs_control *rsc, uint16_t *data, uint16_t *par, int len, in decode_rs16() argument
H A Dtest_rslib.c229 static void compute_syndrome(struct rs_control *rsc, uint16_t *data, in compute_syndrome() argument
232 struct rs_codec *rs = rsc->codec; in compute_syndrome()
446 struct rs_control *rsc; in run_exercise() local
453 rsc = init_rs(e->symsize, e->genpoly, e->fcs, e->prim, e->nroots); in run_exercise()
454 if (!rsc) in run_exercise()
457 ws = alloc_ws(rsc->codec); in run_exercise()
475 retval |= exercise_rs(rsc, ws, len, e->ntrials); in run_exercise()
477 retval |= exercise_rs_bc(rsc, ws, len, e->ntrials); in run_exercise()
483 free_rs(rsc); in run_exercise()
/linux/drivers/net/hyperv/
H A Drndis_filter.c435 u32 cnt = nvchan->rsc.cnt; in rsc_add_data()
438 nvchan->rsc.pktlen += len; in rsc_add_data()
441 * across the different 'fragments' of the RSC packet; store them into in rsc_add_data()
445 memcpy(&nvchan->rsc.vlan, vlan, sizeof(*vlan)); in rsc_add_data()
446 nvchan->rsc.ppi_flags |= NVSC_RSC_VLAN; in rsc_add_data()
448 nvchan->rsc.ppi_flags &= ~NVSC_RSC_VLAN; in rsc_add_data()
451 memcpy(&nvchan->rsc.csum_info, csum_info, sizeof(*csum_info)); in rsc_add_data()
452 nvchan->rsc.ppi_flags |= NVSC_RSC_CSUM_INFO; in rsc_add_data()
454 nvchan->rsc.ppi_flags &= ~NVSC_RSC_CSUM_INFO; in rsc_add_data()
456 nvchan->rsc.pktlen = len; in rsc_add_data()
[all …]
/linux/arch/s390/include/asm/
H A Dcrw.h23 __u32 rsc : 4; /* reporting source code */ member
32 extern int crw_register_handler(int rsc, crw_handler_t handler);
33 extern void crw_unregister_handler(int rsc);
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dd3.c53 struct iwl_wowlan_rsc_tsc_params_cmd *rsc; member
341 /* The rsc for both gtk keys are stored in in iwl_mld_convert_gtk_resume_data()
1078 "Updated PTK RSC for key %d on queue %d\n", in iwl_mld_rsc_update_key_iter()
1094 __le64 rsc = in iwl_mld_rsc_update_key_iter() local
1098 iwl_mld_le64_to_tkip_seq(rsc, &seq); in iwl_mld_rsc_update_key_iter()
1100 iwl_mld_le64_to_aes_seq(rsc, &seq); in iwl_mld_rsc_update_key_iter()
1105 "Updated GTK %d RSC (rsc_idx %d) on queue %d\n", in iwl_mld_rsc_update_key_iter()
1122 /* Iterate through all active keys and update RSC */ in iwl_mld_process_rsc_notification()
1727 __le64 *rsc) in iwl_mld_suspend_convert_tkip_ipn() argument
1733 rsc[i] = in iwl_mld_suspend_convert_tkip_ipn()
[all …]
/linux/Documentation/networking/device_drivers/ethernet/microsoft/
H A Dnetvsc.rst57 Large Receive Offload (LRO), or Receive Side Coalescing (RSC)
59 The driver supports LRO/RSC in the vSwitch feature. It reduces the per packet
115 XDP program cannot run with LRO (RSC) enabled, so you need to disable LRO

12345