/linux-master/sound/pci/ctxfi/ |
H A D | ctresource.h | 31 struct rsc { struct 42 void (*master)(struct rsc *rsc); /* Move to master resource */ 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 *rs [all...] |
H A D | ctamixer.c | 26 static void amixer_master(struct rsc *rsc) argument 28 rsc->conj = 0; 29 rsc->idx = container_of(rsc, struct amixer, rsc)->idx[0]; 32 static void amixer_next_conj(struct rsc *rsc) argument 34 rsc->conj++; 37 static int amixer_index(const struct rsc *rs argument 42 amixer_output_slot(const struct rsc *rsc) argument 54 amixer_set_input(struct amixer *amixer, struct rsc *rsc) argument 334 sum_master(struct rsc *rsc) argument 340 sum_next_conj(struct rsc *rsc) argument 345 sum_index(const struct rsc *rsc) argument 350 sum_output_slot(const struct rsc *rsc) argument [all...] |
H A D | ctsrc.c | 38 hw = src->rsc.hw; 39 hw->src_set_state(src->rsc.ctrl_blk, state); 48 hw = src->rsc.hw; 49 hw->src_set_bm(src->rsc.ctrl_blk, bm); 58 hw = src->rsc.hw; 59 hw->src_set_sf(src->rsc.ctrl_blk, sf); 68 hw = src->rsc.hw; 69 hw->src_set_pm(src->rsc.ctrl_blk, pm); 78 hw = src->rsc.hw; 79 hw->src_set_rom(src->rsc 594 srcimp_master(struct rsc *rsc) argument 600 srcimp_next_conj(struct rsc *rsc) argument 605 srcimp_index(const struct rsc *rsc) argument [all...] |
H A D | ctresource.c | 102 static int rsc_index(const struct rsc *rsc) argument 104 return rsc->conj; 107 static int audio_ring_slot(const struct rsc *rsc) argument 109 return (rsc->conj << 4) + offset_in_audio_slot_block[rsc->type]; 112 static void rsc_next_conj(struct rsc *rsc) argument 115 for (i = 0; (i < 8) && (!(rsc 120 rsc_master(struct rsc *rsc) argument 133 rsc_init(struct rsc *rsc, u32 idx, enum RSCTYP type, u32 msr, struct hw *hw) argument 174 rsc_uninit(struct rsc *rsc) argument [all...] |
H A D | ctmixer.h | 49 struct rsc **rleft, struct rsc **rright); 52 enum MIXER_PORT_T type, struct rsc *rsc); 54 enum MIXER_PORT_T type, struct rsc *rsc);
|
H A D | ctamixer.h | 24 struct rsc rsc; /* Basic resource info */ member in struct:sum 53 struct rsc rsc; /* Basic resource info */ member in struct:amixer 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 D | ctdaio.h | 43 struct rsc rscl; /* Basic resource info for left TX/RX */ 44 struct rsc rscr; /* Basic resource info for right TX/RX */ 74 int (*set_left_input)(struct dao *dao, struct rsc *input); 75 int (*set_right_input)(struct dao *dao, struct rsc *input); 81 int (*set_srt_srcl)(struct dai *dai, struct rsc *src); 82 int (*set_srt_srcr)(struct dai *dai, struct rsc *src);
|
H A D | ctsrc.h | 45 struct rsc rsc; /* Basic resource info */ member in struct:src 104 struct rsc rsc; member in struct:srcimp 107 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 D | ctdaio.c | 54 static void daio_master(struct rsc *rsc) argument 59 rsc->conj = rsc->idx; 62 static int daio_index(const struct rsc *rsc) argument 64 return rsc->conj; 67 static void daio_out_next_conj(struct rsc *rsc) argument 69 rsc 72 daio_in_next_conj_20k1(struct rsc *rsc) argument 77 daio_in_next_conj_20k2(struct rsc *rsc) argument [all...] |
H A D | ctmixer.c | 946 amix_d->ops->setup(amix_d, &sum->rsc, INIT_VOL, NULL); 949 amix_d->ops->setup(amix_d, &sum->rsc, INIT_VOL, NULL); 957 amix_d->ops->setup(amix_d, &amix_s->rsc, INIT_VOL, NULL); 960 amix_d->ops->setup(amix_d, &amix_s->rsc, INIT_VOL, NULL); 966 amix_d->ops->setup(amix_d, &amix_s->rsc, INIT_VOL, NULL); 969 amix_d->ops->setup(amix_d, &amix_s->rsc, INIT_VOL, NULL); 1008 amix_d->ops->setup(amix_d, &sum->rsc, INIT_VOL, NULL); 1011 amix_d->ops->setup(amix_d, &sum->rsc, INIT_VOL, NULL); 1048 static int mixer_set_input_port(struct amixer *amixer, struct rsc *rsc) argument 1092 mixer_set_input_left(struct ct_mixer *mixer, enum MIXER_PORT_T type, struct rsc *rsc) argument 1106 mixer_set_input_right(struct ct_mixer *mixer, enum MIXER_PORT_T type, struct rsc *rsc) argument [all...] |
/linux-master/drivers/s390/cio/ |
H A D | crw.c | 26 * @rsc: reporting source code to handle 31 int crw_register_handler(int rsc, crw_handler_t handler) argument 35 if ((rsc < 0) || (rsc >= NR_RSCS)) 38 if (crw_handlers[rsc]) 41 crw_handlers[rsc] = handler; 48 * @rsc: reporting source code to handle 50 void crw_unregister_handler(int rsc) argument 52 if ((rsc < 0) || (rsc > [all...] |
H A D | cio_inject.c | 88 u32 slct, oflw, chn, rsc, anc, erc, rsid; local 102 rc = sscanf(buffer, "%x %x %x %x %x %x %x", &slct, &oflw, &chn, &rsc, &anc, 107 pr_warn("crw_inject: Invalid format (need <solicited> <overflow> <chaining> <rsc> <ancillary> <erc> <rsid>)\n"); 115 crw.rsc = rsc;
|
/linux-master/arch/s390/include/asm/ |
H A D | crw.h | 23 __u32 rsc : 4; /* reporting source code */ member in struct:crw 32 extern int crw_register_handler(int rsc, crw_handler_t handler); 33 extern void crw_unregister_handler(int rsc);
|
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_lpe_audio.c | 87 struct resource *rsc; local 95 rsc = kcalloc(2, sizeof(*rsc), GFP_KERNEL); 96 if (!rsc) { 101 rsc[0].start = rsc[0].end = dev_priv->display.audio.lpe.irq; 102 rsc[0].flags = IORESOURCE_IRQ; 103 rsc[0].name = "hdmi-lpe-audio-irq"; 105 rsc[1].start = pci_resource_start(pdev, GEN4_GTTMMADR_BAR) + 107 rsc[ [all...] |
/linux-master/drivers/remoteproc/ |
H A D | remoteproc_virtio.c | 113 struct fw_rsc_vdev *rsc; local 160 rsc = (void *)rproc->table_ptr + rvdev->rsc_offset; 161 rsc->vring[id].da = mem->da; 216 struct fw_rsc_vdev *rsc; local 218 rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset; 220 return rsc->status; 226 struct fw_rsc_vdev *rsc; local 228 rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset; 230 rsc->status = status; 237 struct fw_rsc_vdev *rsc; local 249 struct fw_rsc_vdev *rsc; local 269 struct fw_rsc_vdev *rsc; local 295 struct fw_rsc_vdev *rsc; local 313 struct fw_rsc_vdev *rsc; local 500 struct fw_rsc_vdev *rsc; local [all...] |
H A D | remoteproc_core.c | 331 struct fw_rsc_vdev *rsc; local 339 rsc = (void *)rproc->table_ptr + rvdev->rsc_offset; 345 if (rproc_check_carveout_da(rproc, mem, rsc->vring[i].da, size)) 350 size, rsc->vring[i].da, 382 rsc->vring[i].notifyid = notifyid; 387 rproc_parse_vring(struct rproc_vdev *rvdev, struct fw_rsc_vdev *rsc, int i) argument 391 struct fw_rsc_vdev_vring *vring = &rsc->vring[i]; 394 dev_dbg(dev, "vdev rsc: vring%d: da 0x%x, qsz %d, align %d\n", 415 struct fw_rsc_vdev *rsc; local 431 rsc 479 struct fw_rsc_vdev *rsc = ptr; local 549 struct fw_rsc_trace *rsc = ptr; local 623 struct fw_rsc_devmem *rsc = ptr; local 827 struct fw_rsc_carveout *rsc = ptr; local 1034 void *rsc = (void *)hdr + sizeof(*hdr); local 1157 struct fw_rsc_carveout *rsc; local [all...] |
H A D | remoteproc_internal.h | 32 * @rsc: pointer to the vdev resource entry. Valid only during vdev init as 39 struct fw_rsc_vdev *rsc; member in struct:rproc_vdev_data 109 int rproc_parse_vring(struct rproc_vdev *rvdev, struct fw_rsc_vdev *rsc, int i); 185 int rproc_handle_rsc(struct rproc *rproc, u32 rsc_type, void *rsc, int offset, argument 189 return rproc->ops->handle_rsc(rproc, rsc_type, rsc, offset,
|
/linux-master/include/linux/mlx5/ |
H A D | rsc_dump.h | 36 enum mlx5_sgmt_type rsc; member in struct:mlx5_rsc_key
|
/linux-master/drivers/soc/qcom/ |
H A D | cmd-db.c | 249 const struct rsc_hdr *rsc; local 258 rsc = &cmd_db_header->header[i]; 259 if (!rsc->slv_id) 262 switch (le16_to_cpu(rsc->slv_id)) { 277 version = le16_to_cpu(rsc->version); 284 ent = rsc_to_entry_header(rsc); 285 for (j = 0; j < le16_to_cpu(rsc->cnt); j++, ent++) { 292 len, rsc_offset(rsc, ent));
|
H A D | Makefile | 2 CFLAGS_rpmh-rsc.o := -I$(src) 21 qcom_rpmh-y += rpmh-rsc.o
|
/linux-master/lib/reed_solomon/ |
H A D | decode_rs.c | 13 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 D | test_rslib.c | 229 static void compute_syndrome(struct rs_control *rsc, uint16_t *data, argument 232 struct rs_codec *rs = rsc->codec; 446 struct rs_control *rsc; local 453 rsc = init_rs(e->symsize, e->genpoly, e->fcs, e->prim, e->nroots); 454 if (!rsc) 457 ws = alloc_ws(rsc->codec); 475 retval |= exercise_rs(rsc, ws, len, e->ntrials); 477 retval |= exercise_rs_bc(rsc, ws, len, e->ntrials); 483 free_rs(rsc);
|
H A D | encode_rs.c | 13 struct rs_codec *rs = rsc->codec;
|
/linux-master/drivers/infiniband/ulp/iser/ |
H A D | iser_memory.c | 169 ib_check_mr_status(desc->rsc.sig_mr, IB_MR_CHECK_SIG_STATUS, 250 struct iser_reg_resources *rsc, 255 struct ib_mr *mr = rsc->sig_mr; 267 if (rsc->sig_mr->need_inval) 291 rsc->sig_mr->need_inval = true; 307 struct iser_reg_resources *rsc, 312 struct ib_mr *mr = rsc->mr; 316 if (rsc->mr->need_inval) 339 rsc->mr->need_inval = true; 371 err = iser_fast_reg_mr(task, mem, &desc->rsc, re 247 iser_reg_sig_mr(struct iscsi_iser_task *iser_task, struct iser_data_buf *mem, struct iser_data_buf *sig_mem, struct iser_reg_resources *rsc, struct iser_mem_reg *sig_reg) argument 305 iser_fast_reg_mr(struct iscsi_iser_task *iser_task, struct iser_data_buf *mem, struct iser_reg_resources *rsc, struct iser_mem_reg *reg) argument [all...] |
/linux-master/net/sunrpc/auth_gss/ |
H A D | svcauth_gss.c | 75 struct rsc *rsci; 368 struct rsc { struct 377 static struct rsc *rsc_update(struct cache_detail *cd, struct rsc *new, struct rsc *old); 378 static struct rsc *rsc_lookup(struct cache_detail *cd, struct rsc *item); 380 static void rsc_free(struct rsc *rsci) 390 struct rsc *rsci = container_of(head, struct rsc, rcu_hea [all...] |