rsc 88 arch/ia64/include/asm/mca_asm.h mov ar.rsc = 0 ; \ rsc 171 arch/ia64/include/asm/mca_asm.h mov ar.rsc = 0; \ rsc 50 arch/ia64/kernel/minstate.h mov r27=ar.rsc; /* M */ \ rsc 70 arch/ia64/kernel/minstate.h (pUStk) mov ar.rsc=0; /* set enforced lazy mode, pl 0, little-endian, loadrs=0 */ \ rsc 84 arch/ia64/kernel/minstate.h (pUStk) mov ar.rsc=0x3; /* set eager mode, pl 0, little-endian, loadrs=0 */ \ rsc 238 arch/ia64/kernel/minstate.h mov ar.rsc=r0 \ rsc 974 arch/ia64/kernel/ptrace.c unsigned long psr, rsc, ec, lc, rnat, bsp, cfm, nat_bits, val = 0; rsc 1007 arch/ia64/kernel/ptrace.c retval |= __get_user(rsc, &ppr->ar[PT_AUR_RSC]); rsc 1105 arch/ia64/kernel/ptrace.c retval |= access_uarea(child, PT_AR_RSC, &rsc, 1); rsc 46 arch/ia64/kernel/signal.c unsigned long ip, flags, nat, um, cfm, rsc; rsc 58 arch/ia64/kernel/signal.c err |= __get_user(rsc, &sc->sc_ar_rsc); rsc 71 arch/ia64/kernel/signal.c scr->pt.ar_rsc = rsc | (3 << 2); /* force PL3 */ rsc 1599 arch/powerpc/kernel/prom_init.c u32 rac, rsc; rsc 1610 arch/powerpc/kernel/prom_init.c prom_getprop(prom.root, "#size-cells", &val, sizeof(rsc)); rsc 1611 arch/powerpc/kernel/prom_init.c rsc = be32_to_cpu(val); rsc 1613 arch/powerpc/kernel/prom_init.c prom_debug("root_size_cells: %x\n", rsc); rsc 1646 arch/powerpc/kernel/prom_init.c while ((endp - p) >= (rac + rsc)) { rsc 1650 arch/powerpc/kernel/prom_init.c size = prom_next_cell(rsc, &p); rsc 24 arch/s390/include/asm/crw.h __u32 rsc : 4; /* reporting source code */ rsc 33 arch/s390/include/asm/crw.h extern int crw_register_handler(int rsc, crw_handler_t handler); rsc 34 arch/s390/include/asm/crw.h extern void crw_unregister_handler(int rsc); rsc 83 drivers/gpu/drm/i915/display/intel_lpe_audio.c struct resource *rsc; rsc 91 drivers/gpu/drm/i915/display/intel_lpe_audio.c rsc = kcalloc(2, sizeof(*rsc), GFP_KERNEL); rsc 92 drivers/gpu/drm/i915/display/intel_lpe_audio.c if (!rsc) { rsc 97 drivers/gpu/drm/i915/display/intel_lpe_audio.c rsc[0].start = rsc[0].end = dev_priv->lpe_audio.irq; rsc 98 drivers/gpu/drm/i915/display/intel_lpe_audio.c rsc[0].flags = IORESOURCE_IRQ; rsc 99 drivers/gpu/drm/i915/display/intel_lpe_audio.c rsc[0].name = "hdmi-lpe-audio-irq"; rsc 101 drivers/gpu/drm/i915/display/intel_lpe_audio.c rsc[1].start = pci_resource_start(dev->pdev, 0) + rsc 103 drivers/gpu/drm/i915/display/intel_lpe_audio.c rsc[1].end = pci_resource_start(dev->pdev, 0) + rsc 105 drivers/gpu/drm/i915/display/intel_lpe_audio.c rsc[1].flags = IORESOURCE_MEM; rsc 106 drivers/gpu/drm/i915/display/intel_lpe_audio.c rsc[1].name = "hdmi-lpe-audio-mmio"; rsc 111 drivers/gpu/drm/i915/display/intel_lpe_audio.c pinfo.res = rsc; rsc 125 drivers/gpu/drm/i915/display/intel_lpe_audio.c kfree(rsc); rsc 81 drivers/gpu/ipu-v3/ipu-ic.c u32 rsc; rsc 96 drivers/gpu/ipu-v3/ipu-ic.c .rsc = IC_PRP_ENC_RSC, rsc 100 drivers/gpu/ipu-v3/ipu-ic.c .rsc = IC_PRP_VF_RSC, rsc 104 drivers/gpu/ipu-v3/ipu-ic.c .rsc = IC_PP_RSC, rsc 401 drivers/gpu/ipu-v3/ipu-ic.c u32 rsc) rsc 408 drivers/gpu/ipu-v3/ipu-ic.c if (!rsc) { rsc 416 drivers/gpu/ipu-v3/ipu-ic.c rsc = (downsize_coeff << 30) | (resize_coeff << 16); rsc 424 drivers/gpu/ipu-v3/ipu-ic.c rsc |= (downsize_coeff << 14) | resize_coeff; rsc 429 drivers/gpu/ipu-v3/ipu-ic.c ipu_ic_write(ic, rsc, ic->reg->rsc); rsc 1377 drivers/gpu/ipu-v3/ipu-image-convert.c u32 rsc; rsc 1395 drivers/gpu/ipu-v3/ipu-image-convert.c rsc = (ctx->downsize_coeff_v << 30) | rsc 1402 drivers/gpu/ipu-v3/ipu-image-convert.c s_image->tile[tile].height, dest_width, dest_height, rsc); rsc 1410 drivers/gpu/ipu-v3/ipu-image-convert.c rsc); rsc 335 drivers/infiniband/ulp/iser/iscsi_iser.h struct iser_reg_resources *rsc, rsc 399 drivers/infiniband/ulp/iser/iscsi_iser.h struct iser_reg_resources rsc; rsc 595 drivers/infiniband/ulp/iser/iser_initiator.c if (unlikely((!desc->sig_protected && rkey != desc->rsc.mr->rkey) || rsc 596 drivers/infiniband/ulp/iser/iser_initiator.c (desc->sig_protected && rkey != desc->rsc.sig_mr->rkey))) { rsc 601 drivers/infiniband/ulp/iser/iser_initiator.c desc->rsc.mr_valid = 0; rsc 44 drivers/infiniband/ulp/iser/iser_memory.c struct iser_reg_resources *rsc, rsc 49 drivers/infiniband/ulp/iser/iser_memory.c struct iser_reg_resources *rsc, rsc 229 drivers/infiniband/ulp/iser/iser_memory.c struct iser_reg_resources *rsc, rsc 234 drivers/infiniband/ulp/iser/iser_memory.c struct iser_page_vec *page_vec = rsc->page_vec; rsc 235 drivers/infiniband/ulp/iser/iser_memory.c struct ib_fmr_pool *fmr_pool = rsc->fmr_pool; rsc 383 drivers/infiniband/ulp/iser/iser_memory.c struct iser_reg_resources *rsc, rsc 388 drivers/infiniband/ulp/iser/iser_memory.c struct ib_mr *mr = rsc->sig_mr; rsc 400 drivers/infiniband/ulp/iser/iser_memory.c if (rsc->mr_valid) rsc 424 drivers/infiniband/ulp/iser/iser_memory.c rsc->mr_valid = 1; rsc 440 drivers/infiniband/ulp/iser/iser_memory.c struct iser_reg_resources *rsc, rsc 445 drivers/infiniband/ulp/iser/iser_memory.c struct ib_mr *mr = rsc->mr; rsc 449 drivers/infiniband/ulp/iser/iser_memory.c if (rsc->mr_valid) rsc 472 drivers/infiniband/ulp/iser/iser_memory.c rsc->mr_valid = 1; rsc 497 drivers/infiniband/ulp/iser/iser_memory.c return device->reg_ops->reg_mem(task, mem, &desc->rsc, reg); rsc 526 drivers/infiniband/ulp/iser/iser_memory.c &desc->rsc, reg); rsc 202 drivers/infiniband/ulp/iser/iser_verbs.c desc->rsc.page_vec = page_vec; rsc 203 drivers/infiniband/ulp/iser/iser_verbs.c desc->rsc.fmr_pool = fmr_pool; rsc 229 drivers/infiniband/ulp/iser/iser_verbs.c ib_conn, desc->rsc.fmr_pool); rsc 231 drivers/infiniband/ulp/iser/iser_verbs.c ib_destroy_fmr_pool(desc->rsc.fmr_pool); rsc 232 drivers/infiniband/ulp/iser/iser_verbs.c kfree(desc->rsc.page_vec); rsc 256 drivers/infiniband/ulp/iser/iser_verbs.c desc->rsc.mr = ib_alloc_mr(pd, mr_type, size); rsc 257 drivers/infiniband/ulp/iser/iser_verbs.c if (IS_ERR(desc->rsc.mr)) { rsc 258 drivers/infiniband/ulp/iser/iser_verbs.c ret = PTR_ERR(desc->rsc.mr); rsc 264 drivers/infiniband/ulp/iser/iser_verbs.c desc->rsc.sig_mr = ib_alloc_mr_integrity(pd, size, size); rsc 265 drivers/infiniband/ulp/iser/iser_verbs.c if (IS_ERR(desc->rsc.sig_mr)) { rsc 266 drivers/infiniband/ulp/iser/iser_verbs.c ret = PTR_ERR(desc->rsc.sig_mr); rsc 271 drivers/infiniband/ulp/iser/iser_verbs.c desc->rsc.mr_valid = 0; rsc 276 drivers/infiniband/ulp/iser/iser_verbs.c ib_dereg_mr(desc->rsc.mr); rsc 285 drivers/infiniband/ulp/iser/iser_verbs.c struct iser_reg_resources *res = &desc->rsc; rsc 1081 drivers/infiniband/ulp/iser/iser_verbs.c ret = ib_check_mr_status(desc->rsc.sig_mr, rsc 79 drivers/input/keyboard/hil_kbd.c char rsc[HIL_PACKET_MAX_LENGTH]; /* RSC record */ rsc 117 drivers/input/keyboard/hil_kbd.c buf = dev->rsc; rsc 387 drivers/input/serio/hil_mlc.c mlc->di_scratch.rsc[i] = rsc 817 drivers/input/serio/hil_mlc.c idx = mlc->di[map->didx].rsc; rsc 1120 drivers/net/ethernet/i825xx/sun3_82586.c unsigned short crc,aln,rsc,ovrn; rsc 1126 drivers/net/ethernet/i825xx/sun3_82586.c rsc = swab16(p->scb->rsc_errs); rsc 1134 drivers/net/ethernet/i825xx/sun3_82586.c dev->stats.rx_dropped += rsc; rsc 521 drivers/net/hyperv/hyperv_net.h u64 rsc:1; rsc 968 drivers/net/hyperv/hyperv_net.h struct nvsc_rsc rsc; rsc 1360 drivers/net/hyperv/hyperv_net.h struct ndis_rsc_offload rsc; rsc 1366 drivers/net/hyperv/hyperv_net.h #define NDIS_OFFLOAD_SIZE_6_1 offsetof(struct ndis_offload, rsc) rsc 536 drivers/net/hyperv/netvsc.c init_packet->msg.v2_msg.send_ndis_config.capability.rsc = 1; rsc 1151 drivers/net/hyperv/netvsc.c nvchan->rsc.cnt = 0; rsc 1162 drivers/net/hyperv/netvsc.c nvchan->rsc.is_last = (i == count - 1); rsc 766 drivers/net/hyperv/netvsc_drv.c const struct ndis_pkt_8021q_info *vlan = nvchan->rsc.vlan; rsc 768 drivers/net/hyperv/netvsc_drv.c nvchan->rsc.csum_info; rsc 772 drivers/net/hyperv/netvsc_drv.c skb = napi_alloc_skb(napi, nvchan->rsc.pktlen); rsc 780 drivers/net/hyperv/netvsc_drv.c for (i = 0; i < nvchan->rsc.cnt; i++) rsc 781 drivers/net/hyperv/netvsc_drv.c skb_put_data(skb, nvchan->rsc.data[i], nvchan->rsc.len[i]); rsc 851 drivers/net/hyperv/netvsc_drv.c rx_stats->bytes += nvchan->rsc.pktlen; rsc 363 drivers/net/hyperv/rndis_filter.c u32 cnt = nvchan->rsc.cnt; rsc 366 drivers/net/hyperv/rndis_filter.c nvchan->rsc.pktlen += len; rsc 368 drivers/net/hyperv/rndis_filter.c nvchan->rsc.vlan = vlan; rsc 369 drivers/net/hyperv/rndis_filter.c nvchan->rsc.csum_info = csum_info; rsc 370 drivers/net/hyperv/rndis_filter.c nvchan->rsc.pktlen = len; rsc 373 drivers/net/hyperv/rndis_filter.c nvchan->rsc.data[cnt] = data; rsc 374 drivers/net/hyperv/rndis_filter.c nvchan->rsc.len[cnt] = len; rsc 375 drivers/net/hyperv/rndis_filter.c nvchan->rsc.cnt++; rsc 421 drivers/net/hyperv/rndis_filter.c nvchan->rsc.cnt = 0; rsc 422 drivers/net/hyperv/rndis_filter.c else if (nvchan->rsc.cnt == 0) rsc 430 drivers/net/hyperv/rndis_filter.c if (rsc_more && nvchan->rsc.is_last) rsc 433 drivers/net/hyperv/rndis_filter.c nvchan->rsc.cnt = 0; rsc 436 drivers/net/hyperv/rndis_filter.c if (unlikely(nvchan->rsc.cnt >= NVSP_RSC_MAX)) rsc 450 drivers/net/hyperv/rndis_filter.c nvchan->rsc.cnt = 0; rsc 456 drivers/net/hyperv/rndis_filter.c nvchan->rsc.cnt = 0; rsc 1255 drivers/net/hyperv/rndis_filter.c if (hwcaps.rsc.ip4 && hwcaps.rsc.ip6) { rsc 751 drivers/net/wireless/ath/wcn36xx/hal.h u8 rsc[WLAN_MAX_KEY_RSC_LEN]; rsc 520 drivers/net/wireless/intel/iwlwifi/fw/api/d3.h struct iwl_wowlan_rsc_tsc_params_cmd rsc; rsc 545 drivers/net/wireless/intel/iwlwifi/fw/api/d3.h struct iwl_wowlan_rsc_tsc_params_cmd rsc; rsc 1333 drivers/net/wireless/intel/iwlwifi/mvm/d3.c union iwl_all_tsc_rsc *rsc = &status->gtk[0].rsc.all_tsc_rsc; rsc 1337 drivers/net/wireless/intel/iwlwifi/mvm/d3.c iwl_mvm_set_aes_rx_seq(mvm, rsc->aes.multicast_rsc, NULL, key); rsc 1340 drivers/net/wireless/intel/iwlwifi/mvm/d3.c iwl_mvm_set_tkip_rx_seq(rsc->tkip.multicast_rsc, key); rsc 1391 drivers/net/wireless/intel/iwlwifi/mvm/d3.c &data->status->gtk[0].rsc.all_tsc_rsc; rsc 1567 drivers/net/wireless/intel/iwlwifi/mvm/d3.c memcpy(&status->gtk[0].rsc, &v6->gtk.rsc, rsc 1568 drivers/net/wireless/intel/iwlwifi/mvm/d3.c sizeof(status->gtk[0].rsc)); rsc 991 drivers/net/wireless/intersil/orinoco/hw.c int set_tx, const u8 *key, const u8 *rsc, rsc 996 drivers/net/wireless/intersil/orinoco/hw.c u8 rsc[ORINOCO_SEQ_LEN]; rsc 1017 drivers/net/wireless/intersil/orinoco/hw.c if (rsc_len > sizeof(buf.rsc)) rsc 1018 drivers/net/wireless/intersil/orinoco/hw.c rsc_len = sizeof(buf.rsc); rsc 1023 drivers/net/wireless/intersil/orinoco/hw.c memset(buf.rsc, 0, sizeof(buf.rsc)); rsc 1026 drivers/net/wireless/intersil/orinoco/hw.c if (rsc != NULL) rsc 1027 drivers/net/wireless/intersil/orinoco/hw.c memcpy(buf.rsc, rsc, rsc_len); rsc 41 drivers/net/wireless/intersil/orinoco/hw.h int set_tx, const u8 *key, const u8 *rsc, rsc 276 drivers/net/wireless/rndis_wlan.c u8 rsc[8]; rsc 1412 drivers/net/wireless/rndis_wlan.c if (rx_seq && seq_len > sizeof(ndis_key.rsc)) { rsc 1449 drivers/net/wireless/rndis_wlan.c memcpy(ndis_key.rsc, rx_seq, seq_len); rsc 322 drivers/remoteproc/remoteproc_core.c struct fw_rsc_vdev *rsc; rsc 329 drivers/remoteproc/remoteproc_core.c rsc = (void *)rproc->table_ptr + rvdev->rsc_offset; rsc 335 drivers/remoteproc/remoteproc_core.c if (rproc_check_carveout_da(rproc, mem, rsc->vring[i].da, size)) rsc 339 drivers/remoteproc/remoteproc_core.c mem = rproc_mem_entry_init(dev, 0, 0, size, rsc->vring[i].da, rsc 371 drivers/remoteproc/remoteproc_core.c rsc->vring[i].notifyid = notifyid; rsc 376 drivers/remoteproc/remoteproc_core.c rproc_parse_vring(struct rproc_vdev *rvdev, struct fw_rsc_vdev *rsc, int i) rsc 380 drivers/remoteproc/remoteproc_core.c struct fw_rsc_vdev_vring *vring = &rsc->vring[i]; rsc 404 drivers/remoteproc/remoteproc_core.c struct fw_rsc_vdev *rsc; rsc 409 drivers/remoteproc/remoteproc_core.c rsc = (void *)rproc->table_ptr + rvring->rvdev->rsc_offset; rsc 410 drivers/remoteproc/remoteproc_core.c rsc->vring[idx].da = 0; rsc 411 drivers/remoteproc/remoteproc_core.c rsc->vring[idx].notifyid = -1; rsc 472 drivers/remoteproc/remoteproc_core.c static int rproc_handle_vdev(struct rproc *rproc, struct fw_rsc_vdev *rsc, rsc 481 drivers/remoteproc/remoteproc_core.c if (sizeof(*rsc) + rsc->num_of_vrings * sizeof(struct fw_rsc_vdev_vring) rsc 482 drivers/remoteproc/remoteproc_core.c + rsc->config_len > avail) { rsc 488 drivers/remoteproc/remoteproc_core.c if (rsc->reserved[0] || rsc->reserved[1]) { rsc 494 drivers/remoteproc/remoteproc_core.c rsc->id, rsc->dfeatures, rsc->config_len, rsc->num_of_vrings); rsc 497 drivers/remoteproc/remoteproc_core.c if (rsc->num_of_vrings > ARRAY_SIZE(rvdev->vring)) { rsc 498 drivers/remoteproc/remoteproc_core.c dev_err(dev, "too many vrings: %d\n", rsc->num_of_vrings); rsc 508 drivers/remoteproc/remoteproc_core.c rvdev->id = rsc->id; rsc 537 drivers/remoteproc/remoteproc_core.c for (i = 0; i < rsc->num_of_vrings; i++) { rsc 538 drivers/remoteproc/remoteproc_core.c ret = rproc_parse_vring(rvdev, rsc, i); rsc 547 drivers/remoteproc/remoteproc_core.c for (i = 0; i < rsc->num_of_vrings; i++) { rsc 603 drivers/remoteproc/remoteproc_core.c static int rproc_handle_trace(struct rproc *rproc, struct fw_rsc_trace *rsc, rsc 610 drivers/remoteproc/remoteproc_core.c if (sizeof(*rsc) > avail) { rsc 616 drivers/remoteproc/remoteproc_core.c if (rsc->reserved) { rsc 626 drivers/remoteproc/remoteproc_core.c trace->trace_mem.len = rsc->len; rsc 627 drivers/remoteproc/remoteproc_core.c trace->trace_mem.da = rsc->da; rsc 647 drivers/remoteproc/remoteproc_core.c name, rsc->da, rsc->len); rsc 677 drivers/remoteproc/remoteproc_core.c static int rproc_handle_devmem(struct rproc *rproc, struct fw_rsc_devmem *rsc, rsc 688 drivers/remoteproc/remoteproc_core.c if (sizeof(*rsc) > avail) { rsc 694 drivers/remoteproc/remoteproc_core.c if (rsc->reserved) { rsc 703 drivers/remoteproc/remoteproc_core.c ret = iommu_map(rproc->domain, rsc->da, rsc->pa, rsc->len, rsc->flags); rsc 716 drivers/remoteproc/remoteproc_core.c mapping->da = rsc->da; rsc 717 drivers/remoteproc/remoteproc_core.c mapping->len = rsc->len; rsc 721 drivers/remoteproc/remoteproc_core.c rsc->pa, rsc->da, rsc->len); rsc 872 drivers/remoteproc/remoteproc_core.c struct fw_rsc_carveout *rsc, rsc 878 drivers/remoteproc/remoteproc_core.c if (sizeof(*rsc) > avail) { rsc 884 drivers/remoteproc/remoteproc_core.c if (rsc->reserved) { rsc 890 drivers/remoteproc/remoteproc_core.c rsc->name, rsc->da, rsc->pa, rsc->len, rsc->flags); rsc 896 drivers/remoteproc/remoteproc_core.c carveout = rproc_find_carveout_by_name(rproc, rsc->name); rsc 905 drivers/remoteproc/remoteproc_core.c if (rproc_check_carveout_da(rproc, carveout, rsc->da, rsc->len)) rsc 910 drivers/remoteproc/remoteproc_core.c carveout->flags = rsc->flags; rsc 916 drivers/remoteproc/remoteproc_core.c carveout = rproc_mem_entry_init(dev, 0, 0, rsc->len, rsc->da, rsc 918 drivers/remoteproc/remoteproc_core.c rproc_release_carveout, rsc->name); rsc 924 drivers/remoteproc/remoteproc_core.c carveout->flags = rsc->flags; rsc 1052 drivers/remoteproc/remoteproc_core.c void *rsc = (void *)hdr + sizeof(*hdr); rsc 1064 drivers/remoteproc/remoteproc_core.c ret = rproc_handle_rsc(rproc, hdr->type, rsc, rsc 1085 drivers/remoteproc/remoteproc_core.c ret = handler(rproc, rsc, offset + sizeof(*hdr), avail); rsc 1175 drivers/remoteproc/remoteproc_core.c struct fw_rsc_carveout *rsc; rsc 1192 drivers/remoteproc/remoteproc_core.c rsc = (void *)rproc->table_ptr + entry->rsc_offset; rsc 1222 drivers/remoteproc/remoteproc_core.c rsc->pa = (u32)pa; rsc 1223 drivers/remoteproc/remoteproc_core.c rsc->da = entry->da; rsc 1224 drivers/remoteproc/remoteproc_core.c rsc->len = entry->len; rsc 207 drivers/remoteproc/remoteproc_debugfs.c void *rsc = (void *)hdr + sizeof(*hdr); rsc 211 drivers/remoteproc/remoteproc_debugfs.c c = rsc; rsc 221 drivers/remoteproc/remoteproc_debugfs.c d = rsc; rsc 231 drivers/remoteproc/remoteproc_debugfs.c t = rsc; rsc 239 drivers/remoteproc/remoteproc_debugfs.c v = rsc; rsc 102 drivers/remoteproc/remoteproc_internal.h int rproc_handle_rsc(struct rproc *rproc, u32 rsc_type, void *rsc, int offset, rsc 106 drivers/remoteproc/remoteproc_internal.h return rproc->ops->handle_rsc(rproc, rsc_type, rsc, offset, rsc 75 drivers/remoteproc/remoteproc_virtio.c struct fw_rsc_vdev *rsc; rsc 120 drivers/remoteproc/remoteproc_virtio.c rsc = (void *)rproc->table_ptr + rvdev->rsc_offset; rsc 121 drivers/remoteproc/remoteproc_virtio.c rsc->vring[id].da = mem->da; rsc 176 drivers/remoteproc/remoteproc_virtio.c struct fw_rsc_vdev *rsc; rsc 178 drivers/remoteproc/remoteproc_virtio.c rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset; rsc 180 drivers/remoteproc/remoteproc_virtio.c return rsc->status; rsc 186 drivers/remoteproc/remoteproc_virtio.c struct fw_rsc_vdev *rsc; rsc 188 drivers/remoteproc/remoteproc_virtio.c rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset; rsc 190 drivers/remoteproc/remoteproc_virtio.c rsc->status = status; rsc 197 drivers/remoteproc/remoteproc_virtio.c struct fw_rsc_vdev *rsc; rsc 199 drivers/remoteproc/remoteproc_virtio.c rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset; rsc 201 drivers/remoteproc/remoteproc_virtio.c rsc->status = 0; rsc 209 drivers/remoteproc/remoteproc_virtio.c struct fw_rsc_vdev *rsc; rsc 211 drivers/remoteproc/remoteproc_virtio.c rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset; rsc 213 drivers/remoteproc/remoteproc_virtio.c return rsc->dfeatures; rsc 229 drivers/remoteproc/remoteproc_virtio.c struct fw_rsc_vdev *rsc; rsc 231 drivers/remoteproc/remoteproc_virtio.c rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset; rsc 246 drivers/remoteproc/remoteproc_virtio.c rsc->gfeatures = vdev->features; rsc 255 drivers/remoteproc/remoteproc_virtio.c struct fw_rsc_vdev *rsc; rsc 258 drivers/remoteproc/remoteproc_virtio.c rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset; rsc 259 drivers/remoteproc/remoteproc_virtio.c cfg = &rsc->vring[rsc->num_of_vrings]; rsc 261 drivers/remoteproc/remoteproc_virtio.c if (offset + len > rsc->config_len || offset + len < len) { rsc 273 drivers/remoteproc/remoteproc_virtio.c struct fw_rsc_vdev *rsc; rsc 276 drivers/remoteproc/remoteproc_virtio.c rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset; rsc 277 drivers/remoteproc/remoteproc_virtio.c cfg = &rsc->vring[rsc->num_of_vrings]; rsc 279 drivers/remoteproc/remoteproc_virtio.c if (offset + len > rsc->config_len || offset + len < len) { rsc 573 drivers/s390/cio/chp.c crw0->slct, crw0->oflw, crw0->chn, crw0->rsc, crw0->anc, rsc 684 drivers/s390/cio/chsc.c crw0->slct, crw0->oflw, crw0->chn, crw0->rsc, crw0->anc, rsc 32 drivers/s390/cio/crw.c int crw_register_handler(int rsc, crw_handler_t handler) rsc 36 drivers/s390/cio/crw.c if ((rsc < 0) || (rsc >= NR_RSCS)) rsc 39 drivers/s390/cio/crw.c if (crw_handlers[rsc]) rsc 42 drivers/s390/cio/crw.c crw_handlers[rsc] = handler; rsc 51 drivers/s390/cio/crw.c void crw_unregister_handler(int rsc) rsc 53 drivers/s390/cio/crw.c if ((rsc < 0) || (rsc >= NR_RSCS)) rsc 56 drivers/s390/cio/crw.c crw_handlers[rsc] = NULL; rsc 88 drivers/s390/cio/crw.c tmp_crw.chn, tmp_crw.rsc, tmp_crw.anc, rsc 103 drivers/s390/cio/crw.c crw[chain].rsc, crw[chain].anc, crw[chain].erc, rsc 124 drivers/s390/cio/crw.c handler = crw_handlers[crw[chain].rsc]; rsc 817 drivers/s390/cio/css.c crw0->slct, crw0->oflw, crw0->chn, crw0->rsc, crw0->anc, rsc 822 drivers/s390/cio/css.c crw1->slct, crw1->oflw, crw1->chn, crw1->rsc, rsc 370 drivers/s390/cio/trace.h __field(u8, rsc) rsc 381 drivers/s390/cio/trace.h __entry->rsc = crw->rsc; rsc 389 drivers/s390/cio/trace.h __entry->chn, __entry->rsc, __entry->anc, rsc 3696 drivers/scsi/gdth.c gdth_ioctl_rescan *rsc; rsc 3703 drivers/scsi/gdth.c rsc = kmalloc(sizeof(*rsc), GFP_KERNEL); rsc 3705 drivers/scsi/gdth.c if (!rsc || !cmd) rsc 3708 drivers/scsi/gdth.c if (copy_from_user(rsc, arg, sizeof(gdth_ioctl_rescan)) || rsc 3709 drivers/scsi/gdth.c (NULL == (ha = gdth_find_ha(rsc->ionode)))) { rsc 3717 drivers/scsi/gdth.c rsc->hdr_list[i].bus = 0xff; rsc 3720 drivers/scsi/gdth.c rsc->hdr_list[i].bus = ha->virt_bus; rsc 3721 drivers/scsi/gdth.c rsc->hdr_list[i].target = i; rsc 3722 drivers/scsi/gdth.c rsc->hdr_list[i].lun = 0; rsc 3723 drivers/scsi/gdth.c rsc->hdr_list[i].cluster_type = ha->hdr[i].cluster_type; rsc 3732 drivers/scsi/gdth.c rsc->hdr_list[i].cluster_type = cluster_type; rsc 3736 drivers/scsi/gdth.c if (copy_to_user(arg, rsc, sizeof(gdth_ioctl_rescan))) rsc 3742 drivers/scsi/gdth.c kfree(rsc); rsc 3749 drivers/scsi/gdth.c gdth_ioctl_rescan *rsc; rsc 3758 drivers/scsi/gdth.c rsc = kmalloc(sizeof(*rsc), GFP_KERNEL); rsc 3760 drivers/scsi/gdth.c if (!cmd || !rsc) rsc 3763 drivers/scsi/gdth.c if (copy_from_user(rsc, arg, sizeof(gdth_ioctl_rescan)) || rsc 3764 drivers/scsi/gdth.c (NULL == (ha = gdth_find_ha(rsc->ionode)))) { rsc 3770 drivers/scsi/gdth.c if (rsc->flag == 0) { rsc 3785 drivers/scsi/gdth.c i = rsc->hdr_no; rsc 3800 drivers/scsi/gdth.c rsc->hdr_list[i].bus = ha->virt_bus; rsc 3801 drivers/scsi/gdth.c rsc->hdr_list[i].target = i; rsc 3802 drivers/scsi/gdth.c rsc->hdr_list[i].lun = 0; rsc 3850 drivers/scsi/gdth.c rsc->hdr_list[i].cluster_type = ha->hdr[i].cluster_type; rsc 3866 drivers/scsi/gdth.c if (copy_to_user(arg, rsc, sizeof(gdth_ioctl_rescan))) rsc 3872 drivers/scsi/gdth.c kfree(rsc); rsc 66 drivers/staging/wilc1000/wilc_hif.c u8 rsc[8]; rsc 1290 drivers/staging/wilc1000/wilc_hif.c memcpy(gtk_key->rsc, key_rsc, 8); rsc 111 include/linux/hil_mlc.h uint8_t rsc[16]; /* Security Code Header and Record */ rsc 379 include/linux/remoteproc.h int (*handle_rsc)(struct rproc *rproc, u32 rsc_type, void *rsc, rsc 445 include/video/imx-ipu-v3.h u32 rsc); rsc 13 lib/reed_solomon/decode_rs.c struct rs_codec *rs = rsc->codec; rsc 32 lib/reed_solomon/decode_rs.c uint16_t *lambda = rsc->buffers + RS_DECODE_LAMBDA * (nroots + 1); rsc 33 lib/reed_solomon/decode_rs.c uint16_t *syn = rsc->buffers + RS_DECODE_SYN * (nroots + 1); rsc 34 lib/reed_solomon/decode_rs.c uint16_t *b = rsc->buffers + RS_DECODE_B * (nroots + 1); rsc 35 lib/reed_solomon/decode_rs.c uint16_t *t = rsc->buffers + RS_DECODE_T * (nroots + 1); rsc 36 lib/reed_solomon/decode_rs.c uint16_t *omega = rsc->buffers + RS_DECODE_OMEGA * (nroots + 1); rsc 37 lib/reed_solomon/decode_rs.c uint16_t *root = rsc->buffers + RS_DECODE_ROOT * (nroots + 1); rsc 38 lib/reed_solomon/decode_rs.c uint16_t *reg = rsc->buffers + RS_DECODE_REG * (nroots + 1); rsc 39 lib/reed_solomon/decode_rs.c uint16_t *loc = rsc->buffers + RS_DECODE_LOC * (nroots + 1); rsc 13 lib/reed_solomon/encode_rs.c struct rs_codec *rs = rsc->codec; rsc 328 lib/reed_solomon/reed_solomon.c int encode_rs8(struct rs_control *rsc, uint8_t *data, int len, uint16_t *par, rsc 361 lib/reed_solomon/reed_solomon.c int decode_rs8(struct rs_control *rsc, uint8_t *data, uint16_t *par, int len, rsc 381 lib/reed_solomon/reed_solomon.c int encode_rs16(struct rs_control *rsc, uint16_t *data, int len, uint16_t *par, rsc 412 lib/reed_solomon/reed_solomon.c int decode_rs16(struct rs_control *rsc, uint16_t *data, uint16_t *par, int len, rsc 229 lib/reed_solomon/test_rslib.c static void compute_syndrome(struct rs_control *rsc, uint16_t *data, rsc 232 lib/reed_solomon/test_rslib.c struct rs_codec *rs = rsc->codec; rsc 446 lib/reed_solomon/test_rslib.c struct rs_control *rsc; rsc 453 lib/reed_solomon/test_rslib.c rsc = init_rs(e->symsize, e->genpoly, e->fcs, e->prim, e->nroots); rsc 454 lib/reed_solomon/test_rslib.c if (!rsc) rsc 457 lib/reed_solomon/test_rslib.c ws = alloc_ws(rsc->codec); rsc 475 lib/reed_solomon/test_rslib.c retval |= exercise_rs(rsc, ws, len, e->ntrials); rsc 477 lib/reed_solomon/test_rslib.c retval |= exercise_rs_bc(rsc, ws, len, e->ntrials); rsc 483 lib/reed_solomon/test_rslib.c free_rs(rsc); rsc 876 net/sched/sch_hfsc.c hfsc_change_rsc(struct hfsc_class *cl, struct tc_service_curve *rsc, rsc 879 net/sched/sch_hfsc.c sc2isc(rsc, &cl->cl_rsc); rsc 922 net/sched/sch_hfsc.c struct tc_service_curve *rsc = NULL, *fsc = NULL, *usc = NULL; rsc 935 net/sched/sch_hfsc.c rsc = nla_data(tb[TCA_HFSC_RSC]); rsc 936 net/sched/sch_hfsc.c if (rsc->m1 == 0 && rsc->m2 == 0) rsc 937 net/sched/sch_hfsc.c rsc = NULL; rsc 977 net/sched/sch_hfsc.c if (rsc != NULL) rsc 978 net/sched/sch_hfsc.c hfsc_change_rsc(cl, rsc, cur_time); rsc 1021 net/sched/sch_hfsc.c if (rsc == NULL && fsc == NULL) rsc 1046 net/sched/sch_hfsc.c if (rsc != NULL) rsc 1047 net/sched/sch_hfsc.c hfsc_change_rsc(cl, rsc, 0); rsc 346 net/sunrpc/auth_gss/svcauth_gss.c static struct rsc *rsc_update(struct cache_detail *cd, struct rsc *new, struct rsc *old); rsc 347 net/sunrpc/auth_gss/svcauth_gss.c static struct rsc *rsc_lookup(struct cache_detail *cd, struct rsc *item); rsc 349 net/sunrpc/auth_gss/svcauth_gss.c static void rsc_free(struct rsc *rsci) rsc 359 net/sunrpc/auth_gss/svcauth_gss.c struct rsc *rsci = container_of(head, struct rsc, rcu_head); rsc 367 net/sunrpc/auth_gss/svcauth_gss.c struct rsc *rsci = container_of(ref, struct rsc, h.ref); rsc 376 net/sunrpc/auth_gss/svcauth_gss.c rsc_hash(struct rsc *rsci) rsc 384 net/sunrpc/auth_gss/svcauth_gss.c struct rsc *new = container_of(a, struct rsc, h); rsc 385 net/sunrpc/auth_gss/svcauth_gss.c struct rsc *tmp = container_of(b, struct rsc, h); rsc 393 net/sunrpc/auth_gss/svcauth_gss.c struct rsc *new = container_of(cnew, struct rsc, h); rsc 394 net/sunrpc/auth_gss/svcauth_gss.c struct rsc *tmp = container_of(ctmp, struct rsc, h); rsc 407 net/sunrpc/auth_gss/svcauth_gss.c struct rsc *new = container_of(cnew, struct rsc, h); rsc 408 net/sunrpc/auth_gss/svcauth_gss.c struct rsc *tmp = container_of(ctmp, struct rsc, h); rsc 421 net/sunrpc/auth_gss/svcauth_gss.c struct rsc *rsci = kmalloc(sizeof(*rsci), GFP_KERNEL); rsc 435 net/sunrpc/auth_gss/svcauth_gss.c struct rsc rsci, *rscp = NULL; rsc 561 net/sunrpc/auth_gss/svcauth_gss.c static struct rsc *rsc_lookup(struct cache_detail *cd, struct rsc *item) rsc 568 net/sunrpc/auth_gss/svcauth_gss.c return container_of(ch, struct rsc, h); rsc 573 net/sunrpc/auth_gss/svcauth_gss.c static struct rsc *rsc_update(struct cache_detail *cd, struct rsc *new, struct rsc *old) rsc 581 net/sunrpc/auth_gss/svcauth_gss.c return container_of(ch, struct rsc, h); rsc 587 net/sunrpc/auth_gss/svcauth_gss.c static struct rsc * rsc 590 net/sunrpc/auth_gss/svcauth_gss.c struct rsc rsci; rsc 591 net/sunrpc/auth_gss/svcauth_gss.c struct rsc *found; rsc 607 net/sunrpc/auth_gss/svcauth_gss.c gss_check_seq_num(struct rsc *rsci, int seq_num) rsc 681 net/sunrpc/auth_gss/svcauth_gss.c gss_verify_header(struct svc_rqst *rqstp, struct rsc *rsci, rsc 977 net/sunrpc/auth_gss/svcauth_gss.c struct rsc *rsci; rsc 984 net/sunrpc/auth_gss/svcauth_gss.c struct rsc *rsci = svcdata->rsci; rsc 1010 net/sunrpc/auth_gss/svcauth_gss.c struct rsc *rsci; rsc 1213 net/sunrpc/auth_gss/svcauth_gss.c struct rsc rsci, *rscp = NULL; rsc 1486 net/sunrpc/auth_gss/svcauth_gss.c struct rsc *rsci = NULL; rsc 26 sound/pci/ctxfi/ctamixer.c static int amixer_master(struct rsc *rsc) rsc 28 sound/pci/ctxfi/ctamixer.c rsc->conj = 0; rsc 29 sound/pci/ctxfi/ctamixer.c return rsc->idx = container_of(rsc, struct amixer, rsc)->idx[0]; rsc 32 sound/pci/ctxfi/ctamixer.c static int amixer_next_conj(struct rsc *rsc) rsc 34 sound/pci/ctxfi/ctamixer.c rsc->conj++; rsc 35 sound/pci/ctxfi/ctamixer.c return container_of(rsc, struct amixer, rsc)->idx[rsc->conj]; rsc 38 sound/pci/ctxfi/ctamixer.c static int amixer_index(const struct rsc *rsc) rsc 40 sound/pci/ctxfi/ctamixer.c return container_of(rsc, struct amixer, rsc)->idx[rsc->conj]; rsc 43 sound/pci/ctxfi/ctamixer.c static int amixer_output_slot(const struct rsc *rsc) rsc 45 sound/pci/ctxfi/ctamixer.c return (amixer_index(rsc) << 4) + 0x4; rsc 55 sound/pci/ctxfi/ctamixer.c static int amixer_set_input(struct amixer *amixer, struct rsc *rsc) rsc 59 sound/pci/ctxfi/ctamixer.c hw = amixer->rsc.hw; rsc 60 sound/pci/ctxfi/ctamixer.c hw->amixer_set_mode(amixer->rsc.ctrl_blk, AMIXER_Y_IMMEDIATE); rsc 61 sound/pci/ctxfi/ctamixer.c amixer->input = rsc; rsc 62 sound/pci/ctxfi/ctamixer.c if (!rsc) rsc 63 sound/pci/ctxfi/ctamixer.c hw->amixer_set_x(amixer->rsc.ctrl_blk, BLANK_SLOT); rsc 65 sound/pci/ctxfi/ctamixer.c hw->amixer_set_x(amixer->rsc.ctrl_blk, rsc 66 sound/pci/ctxfi/ctamixer.c rsc->ops->output_slot(rsc)); rsc 76 sound/pci/ctxfi/ctamixer.c hw = amixer->rsc.hw; rsc 77 sound/pci/ctxfi/ctamixer.c hw->amixer_set_y(amixer->rsc.ctrl_blk, y); rsc 86 sound/pci/ctxfi/ctamixer.c hw = amixer->rsc.hw; rsc 87 sound/pci/ctxfi/ctamixer.c hw->amixer_set_iv(amixer->rsc.ctrl_blk, iv); rsc 96 sound/pci/ctxfi/ctamixer.c hw = amixer->rsc.hw; rsc 99 sound/pci/ctxfi/ctamixer.c hw->amixer_set_se(amixer->rsc.ctrl_blk, 0); rsc 101 sound/pci/ctxfi/ctamixer.c hw->amixer_set_se(amixer->rsc.ctrl_blk, 1); rsc 102 sound/pci/ctxfi/ctamixer.c hw->amixer_set_sadr(amixer->rsc.ctrl_blk, rsc 103 sound/pci/ctxfi/ctamixer.c sum->rsc.ops->index(&sum->rsc)); rsc 114 sound/pci/ctxfi/ctamixer.c struct rsc *input; rsc 117 sound/pci/ctxfi/ctamixer.c hw = amixer->rsc.hw; rsc 122 sound/pci/ctxfi/ctamixer.c amixer->rsc.ops->master(&amixer->rsc); rsc 127 sound/pci/ctxfi/ctamixer.c sum->rsc.ops->master(&sum->rsc); rsc 129 sound/pci/ctxfi/ctamixer.c for (i = 0; i < amixer->rsc.msr; i++) { rsc 130 sound/pci/ctxfi/ctamixer.c hw->amixer_set_dirty_all(amixer->rsc.ctrl_blk); rsc 132 sound/pci/ctxfi/ctamixer.c hw->amixer_set_x(amixer->rsc.ctrl_blk, rsc 137 sound/pci/ctxfi/ctamixer.c hw->amixer_set_sadr(amixer->rsc.ctrl_blk, rsc 138 sound/pci/ctxfi/ctamixer.c sum->rsc.ops->index(&sum->rsc)); rsc 139 sound/pci/ctxfi/ctamixer.c sum->rsc.ops->next_conj(&sum->rsc); rsc 141 sound/pci/ctxfi/ctamixer.c index = amixer->rsc.ops->output_slot(&amixer->rsc); rsc 142 sound/pci/ctxfi/ctamixer.c hw->amixer_commit_write(hw, index, amixer->rsc.ctrl_blk); rsc 143 sound/pci/ctxfi/ctamixer.c amixer->rsc.ops->next_conj(&amixer->rsc); rsc 145 sound/pci/ctxfi/ctamixer.c amixer->rsc.ops->master(&amixer->rsc); rsc 150 sound/pci/ctxfi/ctamixer.c sum->rsc.ops->master(&sum->rsc); rsc 160 sound/pci/ctxfi/ctamixer.c hw = amixer->rsc.hw; rsc 161 sound/pci/ctxfi/ctamixer.c index = amixer->rsc.ops->output_slot(&amixer->rsc); rsc 162 sound/pci/ctxfi/ctamixer.c hw->amixer_commit_write(hw, index, amixer->rsc.ctrl_blk); rsc 171 sound/pci/ctxfi/ctamixer.c hw = amixer->rsc.hw; rsc 172 sound/pci/ctxfi/ctamixer.c return hw->amixer_get_y(amixer->rsc.ctrl_blk); rsc 175 sound/pci/ctxfi/ctamixer.c static int amixer_setup(struct amixer *amixer, struct rsc *input, rsc 202 sound/pci/ctxfi/ctamixer.c err = rsc_init(&amixer->rsc, amixer->idx[0], rsc 208 sound/pci/ctxfi/ctamixer.c amixer->rsc.ops = &amixer_basic_rsc_ops; rsc 221 sound/pci/ctxfi/ctamixer.c rsc_uninit(&amixer->rsc); rsc 286 sound/pci/ctxfi/ctamixer.c for (i = 0; i < amixer->rsc.msr; i++) rsc 334 sound/pci/ctxfi/ctamixer.c static int sum_master(struct rsc *rsc) rsc 336 sound/pci/ctxfi/ctamixer.c rsc->conj = 0; rsc 337 sound/pci/ctxfi/ctamixer.c return rsc->idx = container_of(rsc, struct sum, rsc)->idx[0]; rsc 340 sound/pci/ctxfi/ctamixer.c static int sum_next_conj(struct rsc *rsc) rsc 342 sound/pci/ctxfi/ctamixer.c rsc->conj++; rsc 343 sound/pci/ctxfi/ctamixer.c return container_of(rsc, struct sum, rsc)->idx[rsc->conj]; rsc 346 sound/pci/ctxfi/ctamixer.c static int sum_index(const struct rsc *rsc) rsc 348 sound/pci/ctxfi/ctamixer.c return container_of(rsc, struct sum, rsc)->idx[rsc->conj]; rsc 351 sound/pci/ctxfi/ctamixer.c static int sum_output_slot(const struct rsc *rsc) rsc 353 sound/pci/ctxfi/ctamixer.c return (sum_index(rsc) << 4) + 0xc; rsc 369 sound/pci/ctxfi/ctamixer.c err = rsc_init(&sum->rsc, sum->idx[0], SUM, desc->msr, mgr->mgr.hw); rsc 373 sound/pci/ctxfi/ctamixer.c sum->rsc.ops = &sum_basic_rsc_ops; rsc 380 sound/pci/ctxfi/ctamixer.c rsc_uninit(&sum->rsc); rsc 441 sound/pci/ctxfi/ctamixer.c for (i = 0; i < sum->rsc.msr; i++) rsc 24 sound/pci/ctxfi/ctamixer.h struct rsc rsc; /* Basic resource info */ rsc 53 sound/pci/ctxfi/ctamixer.h struct rsc rsc; /* Basic resource info */ rsc 55 sound/pci/ctxfi/ctamixer.h struct rsc *input; /* pointer to a resource acting as source */ rsc 61 sound/pci/ctxfi/ctamixer.h int (*set_input)(struct amixer *amixer, struct rsc *rsc); rsc 68 sound/pci/ctxfi/ctamixer.h int (*setup)(struct amixer *amixer, struct rsc *input, rsc 300 sound/pci/ctxfi/ctatc.c amixer->ops->setup(amixer, &src->rsc, rsc 384 sound/pci/ctxfi/ctatc.c max_cisz = src->multi * src->rsc.msr; rsc 445 sound/pci/ctxfi/ctatc.c max_cisz = src->multi * src->rsc.msr; rsc 651 sound/pci/ctxfi/ctatc.c struct rsc *out_ports[8] = {NULL}; rsc 675 sound/pci/ctxfi/ctatc.c out_ports[0] = &mono->rsc; rsc 685 sound/pci/ctxfi/ctatc.c amixer->ops->setup(amixer, &src->rsc, INIT_VOL, NULL); rsc 686 sound/pci/ctxfi/ctatc.c out_ports[i%multi] = &amixer->rsc; rsc 707 sound/pci/ctxfi/ctatc.c &amixer->rsc); rsc 919 sound/pci/ctxfi/ctatc.c amixer->ops->setup(amixer, &src->rsc, INIT_VOL, NULL); rsc 928 sound/pci/ctxfi/ctatc.c dao->ops->set_left_input(dao, &amixer->rsc); rsc 930 sound/pci/ctxfi/ctatc.c dao->ops->set_right_input(dao, &amixer->rsc); rsc 953 sound/pci/ctxfi/ctatc.c mixer->set_input_left(mixer, MIX_LINE_IN, &src->rsc); rsc 955 sound/pci/ctxfi/ctatc.c mixer->set_input_right(mixer, MIX_LINE_IN, &src->rsc); rsc 975 sound/pci/ctxfi/ctatc.c mixer->set_input_left(mixer, MIX_MIC_IN, &src->rsc); rsc 977 sound/pci/ctxfi/ctatc.c mixer->set_input_right(mixer, MIX_MIC_IN, &src->rsc); rsc 1116 sound/pci/ctxfi/ctatc.c struct rsc *rscs[2] = {NULL}; rsc 1452 sound/pci/ctxfi/ctatc.c struct rsc *rscs[2] = {NULL}; rsc 1477 sound/pci/ctxfi/ctatc.c dai->ops->set_srt_srcl(dai, &(srcs[0]->rsc)); rsc 1478 sound/pci/ctxfi/ctatc.c dai->ops->set_srt_srcr(dai, &(srcs[1]->rsc)); rsc 1494 sound/pci/ctxfi/ctatc.c struct rsc *rscs[2] = {NULL}; rsc 1511 sound/pci/ctxfi/ctatc.c mixer->set_input_left(mixer, MIX_LINE_IN, &src->rsc); rsc 1513 sound/pci/ctxfi/ctatc.c mixer->set_input_right(mixer, MIX_LINE_IN, &src->rsc); rsc 1522 sound/pci/ctxfi/ctatc.c mixer->set_input_left(mixer, MIX_MIC_IN, &src->rsc); rsc 1524 sound/pci/ctxfi/ctatc.c mixer->set_input_right(mixer, MIX_MIC_IN, &src->rsc); rsc 1533 sound/pci/ctxfi/ctatc.c mixer->set_input_left(mixer, MIX_SPDIF_IN, &src->rsc); rsc 1535 sound/pci/ctxfi/ctatc.c mixer->set_input_right(mixer, MIX_SPDIF_IN, &src->rsc); rsc 1539 sound/pci/ctxfi/ctatc.c mixer->set_input_left(mixer, i, &sum->rsc); rsc 1541 sound/pci/ctxfi/ctatc.c mixer->set_input_right(mixer, i, &sum->rsc); rsc 54 sound/pci/ctxfi/ctdaio.c static int daio_master(struct rsc *rsc) rsc 59 sound/pci/ctxfi/ctdaio.c return rsc->conj = rsc->idx; rsc 62 sound/pci/ctxfi/ctdaio.c static int daio_index(const struct rsc *rsc) rsc 64 sound/pci/ctxfi/ctdaio.c return rsc->conj; rsc 67 sound/pci/ctxfi/ctdaio.c static int daio_out_next_conj(struct rsc *rsc) rsc 69 sound/pci/ctxfi/ctdaio.c return rsc->conj += 2; rsc 72 sound/pci/ctxfi/ctdaio.c static int daio_in_next_conj_20k1(struct rsc *rsc) rsc 74 sound/pci/ctxfi/ctdaio.c return rsc->conj += 0x200; rsc 77 sound/pci/ctxfi/ctdaio.c static int daio_in_next_conj_20k2(struct rsc *rsc) rsc 79 sound/pci/ctxfi/ctdaio.c return rsc->conj += 0x100; rsc 156 sound/pci/ctxfi/ctdaio.c static int dao_set_left_input(struct dao *dao, struct rsc *input) rsc 185 sound/pci/ctxfi/ctdaio.c static int dao_set_right_input(struct dao *dao, struct rsc *input) rsc 273 sound/pci/ctxfi/ctdaio.c static int dai_set_srt_srcl(struct dai *dai, struct rsc *src) rsc 280 sound/pci/ctxfi/ctdaio.c static int dai_set_srt_srcr(struct dai *dai, struct rsc *src) rsc 43 sound/pci/ctxfi/ctdaio.h struct rsc rscl; /* Basic resource info for left TX/RX */ rsc 44 sound/pci/ctxfi/ctdaio.h struct rsc rscr; /* Basic resource info for right TX/RX */ rsc 74 sound/pci/ctxfi/ctdaio.h int (*set_left_input)(struct dao *dao, struct rsc *input); rsc 75 sound/pci/ctxfi/ctdaio.h int (*set_right_input)(struct dao *dao, struct rsc *input); rsc 81 sound/pci/ctxfi/ctdaio.h int (*set_srt_srcl)(struct dai *dai, struct rsc *src); rsc 82 sound/pci/ctxfi/ctdaio.h int (*set_srt_srcr)(struct dai *dai, struct rsc *src); rsc 946 sound/pci/ctxfi/ctmixer.c amix_d->ops->setup(amix_d, &sum->rsc, INIT_VOL, NULL); rsc 949 sound/pci/ctxfi/ctmixer.c amix_d->ops->setup(amix_d, &sum->rsc, INIT_VOL, NULL); rsc 957 sound/pci/ctxfi/ctmixer.c amix_d->ops->setup(amix_d, &amix_s->rsc, INIT_VOL, NULL); rsc 960 sound/pci/ctxfi/ctmixer.c amix_d->ops->setup(amix_d, &amix_s->rsc, INIT_VOL, NULL); rsc 966 sound/pci/ctxfi/ctmixer.c amix_d->ops->setup(amix_d, &amix_s->rsc, INIT_VOL, NULL); rsc 969 sound/pci/ctxfi/ctmixer.c amix_d->ops->setup(amix_d, &amix_s->rsc, INIT_VOL, NULL); rsc 1008 sound/pci/ctxfi/ctmixer.c amix_d->ops->setup(amix_d, &sum->rsc, INIT_VOL, NULL); rsc 1011 sound/pci/ctxfi/ctmixer.c amix_d->ops->setup(amix_d, &sum->rsc, INIT_VOL, NULL); rsc 1048 sound/pci/ctxfi/ctmixer.c static int mixer_set_input_port(struct amixer *amixer, struct rsc *rsc) rsc 1050 sound/pci/ctxfi/ctmixer.c amixer->ops->set_input(amixer, rsc); rsc 1078 sound/pci/ctxfi/ctmixer.c struct rsc **rleft, struct rsc **rright) rsc 1083 sound/pci/ctxfi/ctmixer.c *rleft = &((struct amixer *)mixer->amixers[amix*CHN_NUM])->rsc; rsc 1087 sound/pci/ctxfi/ctmixer.c &((struct amixer *)mixer->amixers[amix*CHN_NUM+1])->rsc; rsc 1093 sound/pci/ctxfi/ctmixer.c enum MIXER_PORT_T type, struct rsc *rsc) rsc 1097 sound/pci/ctxfi/ctmixer.c mixer_set_input_port(mixer->amixers[amix*CHN_NUM], rsc); rsc 1100 sound/pci/ctxfi/ctmixer.c mixer_set_input_port(mixer->amixers[amix*CHN_NUM], rsc); rsc 1107 sound/pci/ctxfi/ctmixer.c enum MIXER_PORT_T type, struct rsc *rsc) rsc 1111 sound/pci/ctxfi/ctmixer.c mixer_set_input_port(mixer->amixers[amix*CHN_NUM+1], rsc); rsc 1114 sound/pci/ctxfi/ctmixer.c mixer_set_input_port(mixer->amixers[amix*CHN_NUM+1], rsc); rsc 49 sound/pci/ctxfi/ctmixer.h struct rsc **rleft, struct rsc **rright); rsc 52 sound/pci/ctxfi/ctmixer.h enum MIXER_PORT_T type, struct rsc *rsc); rsc 54 sound/pci/ctxfi/ctmixer.h enum MIXER_PORT_T type, struct rsc *rsc); rsc 102 sound/pci/ctxfi/ctresource.c static int rsc_index(const struct rsc *rsc) rsc 104 sound/pci/ctxfi/ctresource.c return rsc->conj; rsc 107 sound/pci/ctxfi/ctresource.c static int audio_ring_slot(const struct rsc *rsc) rsc 109 sound/pci/ctxfi/ctresource.c return (rsc->conj << 4) + offset_in_audio_slot_block[rsc->type]; rsc 112 sound/pci/ctxfi/ctresource.c static int rsc_next_conj(struct rsc *rsc) rsc 115 sound/pci/ctxfi/ctresource.c for (i = 0; (i < 8) && (!(rsc->msr & (0x1 << i))); ) rsc 117 sound/pci/ctxfi/ctresource.c rsc->conj += (AUDIO_SLOT_BLOCK_NUM >> i); rsc 118 sound/pci/ctxfi/ctresource.c return rsc->conj; rsc 121 sound/pci/ctxfi/ctresource.c static int rsc_master(struct rsc *rsc) rsc 123 sound/pci/ctxfi/ctresource.c return rsc->conj = rsc->idx; rsc 134 sound/pci/ctxfi/ctresource.c rsc_init(struct rsc *rsc, u32 idx, enum RSCTYP type, u32 msr, struct hw *hw) rsc 138 sound/pci/ctxfi/ctresource.c rsc->idx = idx; rsc 139 sound/pci/ctxfi/ctresource.c rsc->conj = idx; rsc 140 sound/pci/ctxfi/ctresource.c rsc->type = type; rsc 141 sound/pci/ctxfi/ctresource.c rsc->msr = msr; rsc 142 sound/pci/ctxfi/ctresource.c rsc->hw = hw; rsc 143 sound/pci/ctxfi/ctresource.c rsc->ops = &rsc_generic_ops; rsc 145 sound/pci/ctxfi/ctresource.c rsc->ctrl_blk = NULL; rsc 151 sound/pci/ctxfi/ctresource.c err = hw->src_rsc_get_ctrl_blk(&rsc->ctrl_blk); rsc 154 sound/pci/ctxfi/ctresource.c err = hw->amixer_rsc_get_ctrl_blk(&rsc->ctrl_blk); rsc 175 sound/pci/ctxfi/ctresource.c int rsc_uninit(struct rsc *rsc) rsc 177 sound/pci/ctxfi/ctresource.c if ((NULL != rsc->hw) && (NULL != rsc->ctrl_blk)) { rsc 178 sound/pci/ctxfi/ctresource.c switch (rsc->type) { rsc 180 sound/pci/ctxfi/ctresource.c rsc->hw->src_rsc_put_ctrl_blk(rsc->ctrl_blk); rsc 183 sound/pci/ctxfi/ctresource.c rsc->hw->amixer_rsc_put_ctrl_blk(rsc->ctrl_blk); rsc 189 sound/pci/ctxfi/ctresource.c dev_err(((struct hw *)rsc->hw)->card->dev, rsc 191 sound/pci/ctxfi/ctresource.c rsc->type); rsc 195 sound/pci/ctxfi/ctresource.c rsc->hw = rsc->ctrl_blk = NULL; rsc 198 sound/pci/ctxfi/ctresource.c rsc->idx = rsc->conj = 0; rsc 199 sound/pci/ctxfi/ctresource.c rsc->type = NUM_RSCTYP; rsc 200 sound/pci/ctxfi/ctresource.c rsc->msr = 0; rsc 42 sound/pci/ctxfi/ctresource.h int (*master)(struct rsc *rsc); /* Move to master resource */ rsc 43 sound/pci/ctxfi/ctresource.h int (*next_conj)(struct rsc *rsc); /* Move to next conjugate resource */ rsc 44 sound/pci/ctxfi/ctresource.h int (*index)(const struct rsc *rsc); /* Return the index of resource */ rsc 46 sound/pci/ctxfi/ctresource.h int (*output_slot)(const struct rsc *rsc); rsc 50 sound/pci/ctxfi/ctresource.h rsc_init(struct rsc *rsc, u32 idx, enum RSCTYP type, u32 msr, struct hw *hw); rsc 51 sound/pci/ctxfi/ctresource.h int rsc_uninit(struct rsc *rsc); rsc 38 sound/pci/ctxfi/ctsrc.c hw = src->rsc.hw; rsc 39 sound/pci/ctxfi/ctsrc.c hw->src_set_state(src->rsc.ctrl_blk, state); rsc 48 sound/pci/ctxfi/ctsrc.c hw = src->rsc.hw; rsc 49 sound/pci/ctxfi/ctsrc.c hw->src_set_bm(src->rsc.ctrl_blk, bm); rsc 58 sound/pci/ctxfi/ctsrc.c hw = src->rsc.hw; rsc 59 sound/pci/ctxfi/ctsrc.c hw->src_set_sf(src->rsc.ctrl_blk, sf); rsc 68 sound/pci/ctxfi/ctsrc.c hw = src->rsc.hw; rsc 69 sound/pci/ctxfi/ctsrc.c hw->src_set_pm(src->rsc.ctrl_blk, pm); rsc 78 sound/pci/ctxfi/ctsrc.c hw = src->rsc.hw; rsc 79 sound/pci/ctxfi/ctsrc.c hw->src_set_rom(src->rsc.ctrl_blk, rom); rsc 88 sound/pci/ctxfi/ctsrc.c hw = src->rsc.hw; rsc 89 sound/pci/ctxfi/ctsrc.c hw->src_set_vo(src->rsc.ctrl_blk, vo); rsc 98 sound/pci/ctxfi/ctsrc.c hw = src->rsc.hw; rsc 99 sound/pci/ctxfi/ctsrc.c hw->src_set_st(src->rsc.ctrl_blk, st); rsc 108 sound/pci/ctxfi/ctsrc.c hw = src->rsc.hw; rsc 109 sound/pci/ctxfi/ctsrc.c hw->src_set_bp(src->rsc.ctrl_blk, bp); rsc 118 sound/pci/ctxfi/ctsrc.c hw = src->rsc.hw; rsc 119 sound/pci/ctxfi/ctsrc.c hw->src_set_cisz(src->rsc.ctrl_blk, cisz); rsc 128 sound/pci/ctxfi/ctsrc.c hw = src->rsc.hw; rsc 129 sound/pci/ctxfi/ctsrc.c hw->src_set_ca(src->rsc.ctrl_blk, ca); rsc 138 sound/pci/ctxfi/ctsrc.c hw = src->rsc.hw; rsc 139 sound/pci/ctxfi/ctsrc.c hw->src_set_sa(src->rsc.ctrl_blk, sa); rsc 148 sound/pci/ctxfi/ctsrc.c hw = src->rsc.hw; rsc 149 sound/pci/ctxfi/ctsrc.c hw->src_set_la(src->rsc.ctrl_blk, la); rsc 158 sound/pci/ctxfi/ctsrc.c hw = src->rsc.hw; rsc 159 sound/pci/ctxfi/ctsrc.c hw->src_set_pitch(src->rsc.ctrl_blk, pitch); rsc 168 sound/pci/ctxfi/ctsrc.c hw = src->rsc.hw; rsc 169 sound/pci/ctxfi/ctsrc.c hw->src_set_clear_zbufs(src->rsc.ctrl_blk, 1); rsc 180 sound/pci/ctxfi/ctsrc.c hw = src->rsc.hw; rsc 181 sound/pci/ctxfi/ctsrc.c src->rsc.ops->master(&src->rsc); rsc 182 sound/pci/ctxfi/ctsrc.c if (src->rsc.msr > 1) { rsc 184 sound/pci/ctxfi/ctsrc.c dirty = hw->src_get_dirty(src->rsc.ctrl_blk) & conj_mask; rsc 186 sound/pci/ctxfi/ctsrc.c hw->src_commit_write(hw, src->rsc.ops->index(&src->rsc), rsc 187 sound/pci/ctxfi/ctsrc.c src->rsc.ctrl_blk); rsc 193 sound/pci/ctxfi/ctsrc.c for (i = 1; i < src->rsc.msr; i++) { rsc 194 sound/pci/ctxfi/ctsrc.c src->rsc.ops->next_conj(&src->rsc); rsc 195 sound/pci/ctxfi/ctsrc.c hw->src_set_dirty(src->rsc.ctrl_blk, dirty); rsc 196 sound/pci/ctxfi/ctsrc.c hw->src_commit_write(hw, src->rsc.ops->index(&src->rsc), rsc 197 sound/pci/ctxfi/ctsrc.c src->rsc.ctrl_blk); rsc 199 sound/pci/ctxfi/ctsrc.c src->rsc.ops->master(&src->rsc); rsc 208 sound/pci/ctxfi/ctsrc.c hw = src->rsc.hw; rsc 209 sound/pci/ctxfi/ctsrc.c return hw->src_get_ca(hw, src->rsc.ops->index(&src->rsc), rsc 210 sound/pci/ctxfi/ctsrc.c src->rsc.ctrl_blk); rsc 227 sound/pci/ctxfi/ctsrc.c struct hw *hw = src->rsc.hw; rsc 230 sound/pci/ctxfi/ctsrc.c hw->src_set_state(src->rsc.ctrl_blk, SRC_STATE_OFF); rsc 231 sound/pci/ctxfi/ctsrc.c hw->src_set_bm(src->rsc.ctrl_blk, 1); rsc 232 sound/pci/ctxfi/ctsrc.c for (rsr = 0, msr = src->rsc.msr; msr > 1; msr >>= 1) rsc 235 sound/pci/ctxfi/ctsrc.c hw->src_set_rsr(src->rsc.ctrl_blk, rsr); rsc 236 sound/pci/ctxfi/ctsrc.c hw->src_set_sf(src->rsc.ctrl_blk, SRC_SF_S16); rsc 237 sound/pci/ctxfi/ctsrc.c hw->src_set_wr(src->rsc.ctrl_blk, 0); rsc 238 sound/pci/ctxfi/ctsrc.c hw->src_set_pm(src->rsc.ctrl_blk, 0); rsc 239 sound/pci/ctxfi/ctsrc.c hw->src_set_rom(src->rsc.ctrl_blk, 0); rsc 240 sound/pci/ctxfi/ctsrc.c hw->src_set_vo(src->rsc.ctrl_blk, 0); rsc 241 sound/pci/ctxfi/ctsrc.c hw->src_set_st(src->rsc.ctrl_blk, 0); rsc 242 sound/pci/ctxfi/ctsrc.c hw->src_set_ilsz(src->rsc.ctrl_blk, src->multi - 1); rsc 243 sound/pci/ctxfi/ctsrc.c hw->src_set_cisz(src->rsc.ctrl_blk, 0x80); rsc 244 sound/pci/ctxfi/ctsrc.c hw->src_set_sa(src->rsc.ctrl_blk, 0x0); rsc 245 sound/pci/ctxfi/ctsrc.c hw->src_set_la(src->rsc.ctrl_blk, 0x1000); rsc 246 sound/pci/ctxfi/ctsrc.c hw->src_set_ca(src->rsc.ctrl_blk, 0x80); rsc 247 sound/pci/ctxfi/ctsrc.c hw->src_set_pitch(src->rsc.ctrl_blk, 0x1000000); rsc 248 sound/pci/ctxfi/ctsrc.c hw->src_set_clear_zbufs(src->rsc.ctrl_blk, 1); rsc 250 sound/pci/ctxfi/ctsrc.c src->rsc.ops->master(&src->rsc); rsc 251 sound/pci/ctxfi/ctsrc.c hw->src_commit_write(hw, src->rsc.ops->index(&src->rsc), rsc 252 sound/pci/ctxfi/ctsrc.c src->rsc.ctrl_blk); rsc 254 sound/pci/ctxfi/ctsrc.c for (msr = 1; msr < src->rsc.msr; msr++) { rsc 255 sound/pci/ctxfi/ctsrc.c src->rsc.ops->next_conj(&src->rsc); rsc 256 sound/pci/ctxfi/ctsrc.c hw->src_set_pitch(src->rsc.ctrl_blk, 0x1000000); rsc 257 sound/pci/ctxfi/ctsrc.c hw->src_commit_write(hw, src->rsc.ops->index(&src->rsc), rsc 258 sound/pci/ctxfi/ctsrc.c src->rsc.ctrl_blk); rsc 260 sound/pci/ctxfi/ctsrc.c src->rsc.ops->master(&src->rsc); rsc 267 sound/pci/ctxfi/ctsrc.c struct hw *hw = src->rsc.hw; rsc 269 sound/pci/ctxfi/ctsrc.c hw->src_set_state(src->rsc.ctrl_blk, SRC_STATE_OFF); rsc 270 sound/pci/ctxfi/ctsrc.c hw->src_set_bm(src->rsc.ctrl_blk, 1); rsc 271 sound/pci/ctxfi/ctsrc.c hw->src_set_rsr(src->rsc.ctrl_blk, 0); rsc 272 sound/pci/ctxfi/ctsrc.c hw->src_set_sf(src->rsc.ctrl_blk, SRC_SF_S16); rsc 273 sound/pci/ctxfi/ctsrc.c hw->src_set_wr(src->rsc.ctrl_blk, 1); rsc 274 sound/pci/ctxfi/ctsrc.c hw->src_set_pm(src->rsc.ctrl_blk, 0); rsc 275 sound/pci/ctxfi/ctsrc.c hw->src_set_rom(src->rsc.ctrl_blk, 0); rsc 276 sound/pci/ctxfi/ctsrc.c hw->src_set_vo(src->rsc.ctrl_blk, 0); rsc 277 sound/pci/ctxfi/ctsrc.c hw->src_set_st(src->rsc.ctrl_blk, 0); rsc 278 sound/pci/ctxfi/ctsrc.c hw->src_set_ilsz(src->rsc.ctrl_blk, 0); rsc 279 sound/pci/ctxfi/ctsrc.c hw->src_set_cisz(src->rsc.ctrl_blk, 0x80); rsc 280 sound/pci/ctxfi/ctsrc.c hw->src_set_sa(src->rsc.ctrl_blk, 0x0); rsc 281 sound/pci/ctxfi/ctsrc.c hw->src_set_la(src->rsc.ctrl_blk, 0x1000); rsc 282 sound/pci/ctxfi/ctsrc.c hw->src_set_ca(src->rsc.ctrl_blk, 0x80); rsc 283 sound/pci/ctxfi/ctsrc.c hw->src_set_pitch(src->rsc.ctrl_blk, 0x1000000); rsc 284 sound/pci/ctxfi/ctsrc.c hw->src_set_clear_zbufs(src->rsc.ctrl_blk, 1); rsc 286 sound/pci/ctxfi/ctsrc.c src->rsc.ops->master(&src->rsc); rsc 287 sound/pci/ctxfi/ctsrc.c hw->src_commit_write(hw, src->rsc.ops->index(&src->rsc), rsc 288 sound/pci/ctxfi/ctsrc.c src->rsc.ctrl_blk); rsc 295 sound/pci/ctxfi/ctsrc.c struct hw *hw = src->rsc.hw; rsc 299 sound/pci/ctxfi/ctsrc.c hw->src_set_state(src->rsc.ctrl_blk, SRC_STATE_OFF); rsc 300 sound/pci/ctxfi/ctsrc.c hw->src_set_bm(src->rsc.ctrl_blk, 0); rsc 301 sound/pci/ctxfi/ctsrc.c for (rsr = 0, msr = src->rsc.msr; msr > 1; msr >>= 1) rsc 304 sound/pci/ctxfi/ctsrc.c hw->src_set_rsr(src->rsc.ctrl_blk, rsr); rsc 305 sound/pci/ctxfi/ctsrc.c hw->src_set_sf(src->rsc.ctrl_blk, SRC_SF_F32); rsc 306 sound/pci/ctxfi/ctsrc.c hw->src_set_wr(src->rsc.ctrl_blk, 0); rsc 307 sound/pci/ctxfi/ctsrc.c hw->src_set_pm(src->rsc.ctrl_blk, 0); rsc 308 sound/pci/ctxfi/ctsrc.c hw->src_set_rom(src->rsc.ctrl_blk, 0); rsc 309 sound/pci/ctxfi/ctsrc.c hw->src_set_vo(src->rsc.ctrl_blk, 0); rsc 310 sound/pci/ctxfi/ctsrc.c hw->src_set_st(src->rsc.ctrl_blk, 0); rsc 311 sound/pci/ctxfi/ctsrc.c hw->src_set_ilsz(src->rsc.ctrl_blk, 0); rsc 312 sound/pci/ctxfi/ctsrc.c hw->src_set_cisz(src->rsc.ctrl_blk, 0x80); rsc 313 sound/pci/ctxfi/ctsrc.c hw->src_set_sa(src->rsc.ctrl_blk, 0x0); rsc 315 sound/pci/ctxfi/ctsrc.c hw->src_set_la(src->rsc.ctrl_blk, 0x1000); rsc 317 sound/pci/ctxfi/ctsrc.c hw->src_set_ca(src->rsc.ctrl_blk, 0x80); rsc 318 sound/pci/ctxfi/ctsrc.c hw->src_set_pitch(src->rsc.ctrl_blk, 0x1000000); rsc 319 sound/pci/ctxfi/ctsrc.c hw->src_set_clear_zbufs(src->rsc.ctrl_blk, 1); rsc 321 sound/pci/ctxfi/ctsrc.c dirty = hw->src_get_dirty(src->rsc.ctrl_blk); rsc 322 sound/pci/ctxfi/ctsrc.c src->rsc.ops->master(&src->rsc); rsc 323 sound/pci/ctxfi/ctsrc.c for (msr = 0; msr < src->rsc.msr; msr++) { rsc 324 sound/pci/ctxfi/ctsrc.c hw->src_set_dirty(src->rsc.ctrl_blk, dirty); rsc 325 sound/pci/ctxfi/ctsrc.c hw->src_commit_write(hw, src->rsc.ops->index(&src->rsc), rsc 326 sound/pci/ctxfi/ctsrc.c src->rsc.ctrl_blk); rsc 327 sound/pci/ctxfi/ctsrc.c src->rsc.ops->next_conj(&src->rsc); rsc 329 sound/pci/ctxfi/ctsrc.c src->rsc.ops->master(&src->rsc); rsc 365 sound/pci/ctxfi/ctsrc.c err = rsc_init(&p->rsc, idx + i, SRC, desc->msr, mgr->mgr.hw); rsc 386 sound/pci/ctxfi/ctsrc.c rsc_uninit(&p->rsc); rsc 400 sound/pci/ctxfi/ctsrc.c rsc_uninit(&p->rsc); rsc 472 sound/pci/ctxfi/ctsrc.c src->rsc.ops->master(&src->rsc); rsc 475 sound/pci/ctxfi/ctsrc.c src->rsc.ops->index(&src->rsc)); rsc 477 sound/pci/ctxfi/ctsrc.c mgr_put_resource(&mgr->mgr, 1, src->rsc.ops->index(&src->rsc)); rsc 491 sound/pci/ctxfi/ctsrc.c src->rsc.ops->master(&src->rsc); rsc 492 sound/pci/ctxfi/ctsrc.c for (i = 0; i < src->rsc.msr; i++) { rsc 494 sound/pci/ctxfi/ctsrc.c src->rsc.ops->index(&src->rsc)); rsc 495 sound/pci/ctxfi/ctsrc.c src->rsc.ops->next_conj(&src->rsc); rsc 497 sound/pci/ctxfi/ctsrc.c src->rsc.ops->master(&src->rsc); rsc 507 sound/pci/ctxfi/ctsrc.c src->rsc.ops->master(&src->rsc); rsc 508 sound/pci/ctxfi/ctsrc.c for (i = 0; i < src->rsc.msr; i++) { rsc 510 sound/pci/ctxfi/ctsrc.c src->rsc.ops->index(&src->rsc)); rsc 511 sound/pci/ctxfi/ctsrc.c src->rsc.ops->next_conj(&src->rsc); rsc 513 sound/pci/ctxfi/ctsrc.c src->rsc.ops->master(&src->rsc); rsc 523 sound/pci/ctxfi/ctsrc.c src->rsc.ops->master(&src->rsc); rsc 524 sound/pci/ctxfi/ctsrc.c for (i = 0; i < src->rsc.msr; i++) { rsc 526 sound/pci/ctxfi/ctsrc.c src->rsc.ops->index(&src->rsc)); rsc 527 sound/pci/ctxfi/ctsrc.c src->rsc.ops->next_conj(&src->rsc); rsc 529 sound/pci/ctxfi/ctsrc.c src->rsc.ops->master(&src->rsc); rsc 593 sound/pci/ctxfi/ctsrc.c static int srcimp_master(struct rsc *rsc) rsc 595 sound/pci/ctxfi/ctsrc.c rsc->conj = 0; rsc 596 sound/pci/ctxfi/ctsrc.c return rsc->idx = container_of(rsc, struct srcimp, rsc)->idx[0]; rsc 599 sound/pci/ctxfi/ctsrc.c static int srcimp_next_conj(struct rsc *rsc) rsc 601 sound/pci/ctxfi/ctsrc.c rsc->conj++; rsc 602 sound/pci/ctxfi/ctsrc.c return container_of(rsc, struct srcimp, rsc)->idx[rsc->conj]; rsc 605 sound/pci/ctxfi/ctsrc.c static int srcimp_index(const struct rsc *rsc) rsc 607 sound/pci/ctxfi/ctsrc.c return container_of(rsc, struct srcimp, rsc)->idx[rsc->conj]; rsc 617 sound/pci/ctxfi/ctsrc.c static int srcimp_map(struct srcimp *srcimp, struct src *src, struct rsc *input) rsc 622 sound/pci/ctxfi/ctsrc.c srcimp->rsc.ops->master(&srcimp->rsc); rsc 623 sound/pci/ctxfi/ctsrc.c src->rsc.ops->master(&src->rsc); rsc 627 sound/pci/ctxfi/ctsrc.c for (i = 0; i < srcimp->rsc.msr; i++) { rsc 630 sound/pci/ctxfi/ctsrc.c entry->user = src->rsc.ops->index(&src->rsc); rsc 631 sound/pci/ctxfi/ctsrc.c entry->addr = srcimp->rsc.ops->index(&srcimp->rsc); rsc 635 sound/pci/ctxfi/ctsrc.c srcimp->rsc.ops->next_conj(&srcimp->rsc); rsc 639 sound/pci/ctxfi/ctsrc.c srcimp->rsc.ops->master(&srcimp->rsc); rsc 650 sound/pci/ctxfi/ctsrc.c for (i = 0; i < srcimp->rsc.msr; i++) { rsc 672 sound/pci/ctxfi/ctsrc.c err = rsc_init(&srcimp->rsc, srcimp->idx[0], rsc 686 sound/pci/ctxfi/ctsrc.c srcimp->rsc.ops = &srcimp_basic_rsc_ops; rsc 690 sound/pci/ctxfi/ctsrc.c srcimp->rsc.ops->master(&srcimp->rsc); rsc 695 sound/pci/ctxfi/ctsrc.c rsc_uninit(&srcimp->rsc); rsc 705 sound/pci/ctxfi/ctsrc.c rsc_uninit(&srcimp->rsc); rsc 767 sound/pci/ctxfi/ctsrc.c for (i = 0; i < srcimp->rsc.msr; i++) rsc 45 sound/pci/ctxfi/ctsrc.h struct rsc rsc; /* Basic resource info */ rsc 104 sound/pci/ctxfi/ctsrc.h struct rsc rsc; rsc 113 sound/pci/ctxfi/ctsrc.h int (*map)(struct srcimp *srcimp, struct src *user, struct rsc *input);