Symbol: rsc
arch/powerpc/kernel/prom_init.c
1660
u32 rac, rsc;
arch/powerpc/kernel/prom_init.c
1671
prom_getprop(prom.root, "#size-cells", &val, sizeof(rsc));
arch/powerpc/kernel/prom_init.c
1672
rsc = be32_to_cpu(val);
arch/powerpc/kernel/prom_init.c
1674
prom_debug("root_size_cells: %x\n", rsc);
arch/powerpc/kernel/prom_init.c
1707
while ((endp - p) >= (rac + rsc)) {
arch/powerpc/kernel/prom_init.c
1711
size = prom_next_cell(rsc, &p);
arch/s390/include/asm/crw.h
23
__u32 rsc : 4; /* reporting source code */
arch/s390/include/asm/crw.h
32
extern int crw_register_handler(int rsc, crw_handler_t handler);
arch/s390/include/asm/crw.h
33
extern void crw_unregister_handler(int rsc);
drivers/gpu/drm/i915/display/intel_lpe_audio.c
100
rsc[0].start = display->audio.lpe.irq;
drivers/gpu/drm/i915/display/intel_lpe_audio.c
101
rsc[0].end = display->audio.lpe.irq;
drivers/gpu/drm/i915/display/intel_lpe_audio.c
102
rsc[0].flags = IORESOURCE_IRQ;
drivers/gpu/drm/i915/display/intel_lpe_audio.c
103
rsc[0].name = "hdmi-lpe-audio-irq";
drivers/gpu/drm/i915/display/intel_lpe_audio.c
105
rsc[1].start = pci_resource_start(pdev, GEN4_GTTMMADR_BAR) +
drivers/gpu/drm/i915/display/intel_lpe_audio.c
107
rsc[1].end = pci_resource_start(pdev, GEN4_GTTMMADR_BAR) +
drivers/gpu/drm/i915/display/intel_lpe_audio.c
109
rsc[1].flags = IORESOURCE_MEM;
drivers/gpu/drm/i915/display/intel_lpe_audio.c
110
rsc[1].name = "hdmi-lpe-audio-mmio";
drivers/gpu/drm/i915/display/intel_lpe_audio.c
115
pinfo.res = rsc;
drivers/gpu/drm/i915/display/intel_lpe_audio.c
129
kfree(rsc);
drivers/gpu/drm/i915/display/intel_lpe_audio.c
86
struct resource *rsc;
drivers/gpu/drm/i915/display/intel_lpe_audio.c
94
rsc = kzalloc_objs(*rsc, 2);
drivers/gpu/drm/i915/display/intel_lpe_audio.c
95
if (!rsc) {
drivers/gpu/ipu-v3/ipu-ic.c
100
.rsc = IC_PRP_VF_RSC,
drivers/gpu/ipu-v3/ipu-ic.c
104
.rsc = IC_PP_RSC,
drivers/gpu/ipu-v3/ipu-ic.c
328
u32 rsc)
drivers/gpu/ipu-v3/ipu-ic.c
335
if (!rsc) {
drivers/gpu/ipu-v3/ipu-ic.c
343
rsc = (downsize_coeff << 30) | (resize_coeff << 16);
drivers/gpu/ipu-v3/ipu-ic.c
351
rsc |= (downsize_coeff << 14) | resize_coeff;
drivers/gpu/ipu-v3/ipu-ic.c
356
ipu_ic_write(ic, rsc, ic->reg->rsc);
drivers/gpu/ipu-v3/ipu-ic.c
81
u32 rsc;
drivers/gpu/ipu-v3/ipu-ic.c
96
.rsc = IC_PRP_ENC_RSC,
drivers/gpu/ipu-v3/ipu-image-convert.c
1375
u32 rsc;
drivers/gpu/ipu-v3/ipu-image-convert.c
1396
rsc = (ctx->downsize_coeff_v << 30) |
drivers/gpu/ipu-v3/ipu-image-convert.c
1403
s_image->tile[tile].height, dest_width, dest_height, rsc);
drivers/gpu/ipu-v3/ipu-image-convert.c
1411
rsc);
drivers/infiniband/hw/mlx5/restrack.c
32
key.rsc = type;
drivers/infiniband/ulp/iser/iscsi_iser.h
335
struct iser_reg_resources rsc;
drivers/infiniband/ulp/iser/iser_initiator.c
577
if (unlikely((!desc->sig_protected && rkey != desc->rsc.mr->rkey) ||
drivers/infiniband/ulp/iser/iser_initiator.c
578
(desc->sig_protected && rkey != desc->rsc.sig_mr->rkey))) {
drivers/infiniband/ulp/iser/iser_initiator.c
584
desc->rsc.sig_mr->need_inval = false;
drivers/infiniband/ulp/iser/iser_initiator.c
586
desc->rsc.mr->need_inval = false;
drivers/infiniband/ulp/iser/iser_memory.c
169
ib_check_mr_status(desc->rsc.sig_mr, IB_MR_CHECK_SIG_STATUS,
drivers/infiniband/ulp/iser/iser_memory.c
250
struct iser_reg_resources *rsc,
drivers/infiniband/ulp/iser/iser_memory.c
255
struct ib_mr *mr = rsc->sig_mr;
drivers/infiniband/ulp/iser/iser_memory.c
267
if (rsc->sig_mr->need_inval)
drivers/infiniband/ulp/iser/iser_memory.c
291
rsc->sig_mr->need_inval = true;
drivers/infiniband/ulp/iser/iser_memory.c
307
struct iser_reg_resources *rsc,
drivers/infiniband/ulp/iser/iser_memory.c
312
struct ib_mr *mr = rsc->mr;
drivers/infiniband/ulp/iser/iser_memory.c
316
if (rsc->mr->need_inval)
drivers/infiniband/ulp/iser/iser_memory.c
339
rsc->mr->need_inval = true;
drivers/infiniband/ulp/iser/iser_memory.c
371
err = iser_fast_reg_mr(task, mem, &desc->rsc, reg);
drivers/infiniband/ulp/iser/iser_memory.c
376
&desc->rsc, reg);
drivers/infiniband/ulp/iser/iser_verbs.c
117
desc->rsc.mr = ib_alloc_mr(pd, mr_type, size);
drivers/infiniband/ulp/iser/iser_verbs.c
118
if (IS_ERR(desc->rsc.mr)) {
drivers/infiniband/ulp/iser/iser_verbs.c
119
ret = PTR_ERR(desc->rsc.mr);
drivers/infiniband/ulp/iser/iser_verbs.c
125
desc->rsc.sig_mr = ib_alloc_mr_integrity(pd, size, size);
drivers/infiniband/ulp/iser/iser_verbs.c
126
if (IS_ERR(desc->rsc.sig_mr)) {
drivers/infiniband/ulp/iser/iser_verbs.c
127
ret = PTR_ERR(desc->rsc.sig_mr);
drivers/infiniband/ulp/iser/iser_verbs.c
136
ib_dereg_mr(desc->rsc.mr);
drivers/infiniband/ulp/iser/iser_verbs.c
145
struct iser_reg_resources *res = &desc->rsc;
drivers/infiniband/ulp/iser/iser_verbs.c
900
ret = ib_check_mr_status(desc->rsc.sig_mr,
drivers/input/keyboard/hil_kbd.c
117
buf = dev->rsc;
drivers/input/keyboard/hil_kbd.c
79
char rsc[HIL_PACKET_MAX_LENGTH]; /* RSC record */
drivers/input/serio/hil_mlc.c
388
mlc->di_scratch.rsc[i] =
drivers/input/serio/hil_mlc.c
833
idx = mlc->di[map->didx].rsc;
drivers/net/ethernet/google/gve/gve_desc_dqo.h
224
u16 rsc: 1;
drivers/net/ethernet/google/gve/gve_rx_dqo.c
990
if (desc->rsc) {
drivers/net/ethernet/i825xx/sun3_82586.c
1118
unsigned short crc,aln,rsc,ovrn;
drivers/net/ethernet/i825xx/sun3_82586.c
1124
rsc = swab16(p->scb->rsc_errs);
drivers/net/ethernet/i825xx/sun3_82586.c
1132
dev->stats.rx_dropped += rsc;
drivers/net/ethernet/intel/idpf/idpf_txrx.c
1806
bool hs, rsc;
drivers/net/ethernet/intel/idpf/idpf_txrx.c
1814
rsc = idpf_is_feature_ena(vport, NETIF_F_GRO_HW);
drivers/net/ethernet/intel/idpf/idpf_txrx.c
1861
idpf_queue_assign(RSC_EN, q, rsc);
drivers/net/ethernet/intel/idpf/idpf_txrx.c
1904
idpf_queue_assign(RSC_EN, q, rsc);
drivers/net/ethernet/mellanox/mlx5/core/diag/rsc_dump.c
136
sgmt_type = dev->rsc_dump->fw_segment_type[key->rsc];
drivers/net/ethernet/mellanox/mlx5/core/diag/rsc_dump.c
137
if (!sgmt_type && key->rsc != MLX5_SGMT_TYPE_MENU)
drivers/net/ethernet/mellanox/mlx5/core/diag/rsc_dump.c
197
key.rsc = MLX5_SGMT_TYPE_MENU;
drivers/net/ethernet/mellanox/mlx5/core/en/health.c
227
key.rsc = MLX5_SGMT_TYPE_FULL_QPC;
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c
503
key.rsc = MLX5_SGMT_TYPE_SX_SLICE_ALL;
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c
510
key.rsc = MLX5_SGMT_TYPE_FULL_QPC;
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c
517
key.rsc = MLX5_SGMT_TYPE_SND_BUFF;
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c
538
key.rsc = MLX5_SGMT_TYPE_RX_SLICE_ALL;
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c
545
key.rsc = MLX5_SGMT_TYPE_FULL_QPC;
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c
552
key.rsc = MLX5_SGMT_TYPE_RCV_BUFF;
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c
573
key.rsc = MLX5_SGMT_TYPE_RX_SLICE_ALL;
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c
436
key.rsc = MLX5_SGMT_TYPE_SX_SLICE_ALL;
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c
442
key.rsc = MLX5_SGMT_TYPE_FULL_QPC;
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c
449
key.rsc = MLX5_SGMT_TYPE_SND_BUFF;
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c
488
key.rsc = MLX5_SGMT_TYPE_SX_SLICE_ALL;
drivers/net/hyperv/hyperv_net.h
1140
struct nvsc_rsc rsc;
drivers/net/hyperv/hyperv_net.h
1528
struct ndis_rsc_offload rsc;
drivers/net/hyperv/hyperv_net.h
1534
#define NDIS_OFFLOAD_SIZE_6_1 offsetof(struct ndis_offload, rsc)
drivers/net/hyperv/hyperv_net.h
575
u64 rsc:1;
drivers/net/hyperv/netvsc.c
1504
nvchan->rsc.cnt = 0;
drivers/net/hyperv/netvsc.c
1517
nvchan->rsc.cnt = 0;
drivers/net/hyperv/netvsc.c
1528
nvchan->rsc.is_last = (i == count - 1);
drivers/net/hyperv/netvsc.c
1538
nvchan->rsc.cnt = 0;
drivers/net/hyperv/netvsc.c
604
init_packet->msg.v2_msg.send_ndis_config.capability.rsc = 1;
drivers/net/hyperv/netvsc_bpf.c
28
void *data = nvchan->rsc.data[0];
drivers/net/hyperv/netvsc_bpf.c
29
u32 len = nvchan->rsc.len[0];
drivers/net/hyperv/netvsc_bpf.c
81
rx_stats->bytes += nvchan->rsc.pktlen;
drivers/net/hyperv/netvsc_drv.c
757
const struct ndis_pkt_8021q_info *vlan = &nvchan->rsc.vlan;
drivers/net/hyperv/netvsc_drv.c
759
&nvchan->rsc.csum_info;
drivers/net/hyperv/netvsc_drv.c
760
const u32 *hash_info = &nvchan->rsc.hash_info;
drivers/net/hyperv/netvsc_drv.c
761
u8 ppi_flags = nvchan->rsc.ppi_flags;
drivers/net/hyperv/netvsc_drv.c
782
skb = napi_alloc_skb(napi, nvchan->rsc.pktlen);
drivers/net/hyperv/netvsc_drv.c
790
for (i = 0; i < nvchan->rsc.cnt; i++)
drivers/net/hyperv/netvsc_drv.c
791
skb_put_data(skb, nvchan->rsc.data[i],
drivers/net/hyperv/netvsc_drv.c
792
nvchan->rsc.len[i]);
drivers/net/hyperv/netvsc_drv.c
889
rx_stats->bytes += nvchan->rsc.pktlen;
drivers/net/hyperv/rndis_filter.c
1420
if (hwcaps.rsc.ip4 && hwcaps.rsc.ip6) {
drivers/net/hyperv/rndis_filter.c
435
u32 cnt = nvchan->rsc.cnt;
drivers/net/hyperv/rndis_filter.c
438
nvchan->rsc.pktlen += len;
drivers/net/hyperv/rndis_filter.c
445
memcpy(&nvchan->rsc.vlan, vlan, sizeof(*vlan));
drivers/net/hyperv/rndis_filter.c
446
nvchan->rsc.ppi_flags |= NVSC_RSC_VLAN;
drivers/net/hyperv/rndis_filter.c
448
nvchan->rsc.ppi_flags &= ~NVSC_RSC_VLAN;
drivers/net/hyperv/rndis_filter.c
451
memcpy(&nvchan->rsc.csum_info, csum_info, sizeof(*csum_info));
drivers/net/hyperv/rndis_filter.c
452
nvchan->rsc.ppi_flags |= NVSC_RSC_CSUM_INFO;
drivers/net/hyperv/rndis_filter.c
454
nvchan->rsc.ppi_flags &= ~NVSC_RSC_CSUM_INFO;
drivers/net/hyperv/rndis_filter.c
456
nvchan->rsc.pktlen = len;
drivers/net/hyperv/rndis_filter.c
458
nvchan->rsc.hash_info = *hash_info;
drivers/net/hyperv/rndis_filter.c
459
nvchan->rsc.ppi_flags |= NVSC_RSC_HASH_INFO;
drivers/net/hyperv/rndis_filter.c
461
nvchan->rsc.ppi_flags &= ~NVSC_RSC_HASH_INFO;
drivers/net/hyperv/rndis_filter.c
465
nvchan->rsc.data[cnt] = data;
drivers/net/hyperv/rndis_filter.c
466
nvchan->rsc.len[cnt] = len;
drivers/net/hyperv/rndis_filter.c
467
nvchan->rsc.cnt++;
drivers/net/hyperv/rndis_filter.c
535
nvchan->rsc.cnt = 0;
drivers/net/hyperv/rndis_filter.c
536
else if (nvchan->rsc.cnt == 0)
drivers/net/hyperv/rndis_filter.c
544
if (rsc_more && nvchan->rsc.is_last)
drivers/net/hyperv/rndis_filter.c
547
nvchan->rsc.cnt = 0;
drivers/net/hyperv/rndis_filter.c
550
if (unlikely(nvchan->rsc.cnt >= NVSP_RSC_MAX))
drivers/net/hyperv/rndis_filter.c
565
nvchan->rsc.cnt = 0;
drivers/net/wireless/ath/wcn36xx/hal.h
883
u8 rsc[WLAN_MAX_KEY_RSC_LEN];
drivers/net/wireless/intel/iwlwifi/fw/api/d3.h
576
struct iwl_wowlan_rsc_tsc_params_cmd_ver_2 rsc;
drivers/net/wireless/intel/iwlwifi/fw/api/d3.h
597
struct iwl_wowlan_rsc_tsc_params_cmd_ver_2 rsc;
drivers/net/wireless/intel/iwlwifi/mld/d3.c
1520
__le64 *rsc)
drivers/net/wireless/intel/iwlwifi/mld/d3.c
1526
rsc[i] =
drivers/net/wireless/intel/iwlwifi/mld/d3.c
1557
key_rsc = data->rsc->ucast_rsc;
drivers/net/wireless/intel/iwlwifi/mld/d3.c
1575
ARRAY_SIZE(data->rsc->mcast_key_id_map)))
drivers/net/wireless/intel/iwlwifi/mld/d3.c
1579
key_rsc = data->rsc->mcast_rsc[data->gtks % 2];
drivers/net/wireless/intel/iwlwifi/mld/d3.c
1580
data->rsc->mcast_key_id_map[key->keyidx] =
drivers/net/wireless/intel/iwlwifi/mld/d3.c
1587
data->rsc->mcast_key_id_map[prev_idx] =
drivers/net/wireless/intel/iwlwifi/mld/d3.c
1656
data.rsc = kzalloc_obj(*data.rsc);
drivers/net/wireless/intel/iwlwifi/mld/d3.c
1657
if (!data.rsc)
drivers/net/wireless/intel/iwlwifi/mld/d3.c
1660
memset(data.rsc->mcast_key_id_map, IWL_MCAST_KEY_MAP_INVALID,
drivers/net/wireless/intel/iwlwifi/mld/d3.c
1661
ARRAY_SIZE(data.rsc->mcast_key_id_map));
drivers/net/wireless/intel/iwlwifi/mld/d3.c
1663
data.rsc->sta_id = cpu_to_le32(ap_sta_id);
drivers/net/wireless/intel/iwlwifi/mld/d3.c
1670
data.rsc);
drivers/net/wireless/intel/iwlwifi/mld/d3.c
1677
kfree(data.rsc);
drivers/net/wireless/intel/iwlwifi/mld/d3.c
47
struct iwl_wowlan_rsc_tsc_params_cmd *rsc;
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
2336
iwl_mvm_convert_key_counters(status, &v6->gtk.rsc.all_tsc_rsc,
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
2356
iwl_mvm_convert_key_counters(status, &v7->gtk[0].rsc.all_tsc_rsc,
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
331
struct iwl_wowlan_rsc_tsc_params_cmd *rsc;
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
346
__le64 *rsc;
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
361
rsc = data->rsc->ucast_rsc;
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
366
rsc = data->rsc->mcast_rsc[data->gtks % 2];
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
368
ARRAY_SIZE(data->rsc->mcast_key_id_map)))
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
370
data->rsc->mcast_key_id_map[key->keyidx] = data->gtks % 2;
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
375
data->rsc->mcast_key_id_map[prev_idx] =
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
395
rsc[i] = cpu_to_le64(((u64)seq.tkip.iv32 << 16) |
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
424
rsc[i] = cpu_to_le64((u64)pn[5] |
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
438
rsc[i] = cpu_to_le64((u64)pn[5] |
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
463
data.rsc = kzalloc_obj(*data.rsc);
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
464
if (!data.rsc)
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
467
for (i = 0; i < ARRAY_SIZE(data.rsc->mcast_key_id_map); i++)
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
468
data.rsc->mcast_key_id_map[i] =
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
470
data.rsc->sta_id = cpu_to_le32(mvm_link->ap_sta_id);
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
478
CMD_ASYNC, sizeof(*data.rsc),
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
479
data.rsc);
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
482
kfree(data.rsc);
drivers/net/wireless/microchip/wilc1000/fw.h
73
u8 rsc[8];
drivers/net/wireless/microchip/wilc1000/hif.c
1230
memcpy(gtk_key->rsc, key_rsc, 8);
drivers/net/wireless/realtek/rtw89/core.h
4393
struct rtw89_reg3_def rsc;
drivers/net/wireless/realtek/rtw89/mac.c
2797
reg = rtw89_mac_reg_by_idx(rtwdev, rrsr->rsc.addr, mac_idx);
drivers/net/wireless/realtek/rtw89/mac.c
2798
rtw89_write32_mask(rtwdev, reg, rrsr->rsc.mask, rrsr->rsc.data);
drivers/net/wireless/realtek/rtw89/rtw8851b.c
253
.rsc = {R_AX_TRXPTCL_RRSR_CTL_0, B_AX_WMAC_RESP_RSC_MASK, 2},
drivers/net/wireless/realtek/rtw89/rtw8852a.c
567
.rsc = {R_AX_TRXPTCL_RRSR_CTL_0, B_AX_WMAC_RESP_RSC_MASK, 2},
drivers/net/wireless/realtek/rtw89/rtw8852b.c
205
.rsc = {R_AX_TRXPTCL_RRSR_CTL_0, B_AX_WMAC_RESP_RSC_MASK, 2},
drivers/net/wireless/realtek/rtw89/rtw8852bt.c
148
.rsc = {R_AX_TRXPTCL_RRSR_CTL_0, B_AX_WMAC_RESP_RSC_MASK, 2},
drivers/net/wireless/realtek/rtw89/rtw8852c.c
216
.rsc = {R_AX_PTCL_RRSR1, B_AX_RSC_MASK, 2},
drivers/net/wireless/realtek/rtw89/rtw8922a.c
167
.rsc = {R_BE_PTCL_RRSR1, B_BE_RSC_MASK, 2},
drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c
388
u32 rsc;
drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c
399
rsc = priv->id ? IMX_SC_R_MIPI_1 : IMX_SC_R_MIPI_0;
drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c
400
ret = imx_sc_misc_set_control(priv->ipc_handle, rsc, IMX_SC_C_DUAL_MODE,
drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c
625
u32 rsc = priv->id ? IMX_SC_R_MIPI_1 : IMX_SC_R_MIPI_0;
drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c
628
rsc, IMX_SC_C_MODE,
drivers/platform/surface/aggregator/core.c
307
static acpi_status ssam_serdev_setup_via_acpi_crs(struct acpi_resource *rsc,
drivers/platform/surface/aggregator/core.c
315
if (!serdev_acpi_get_uart_resource(rsc, &uart))
drivers/remoteproc/imx_dsp_rproc.c
296
void *rsc, int offset, int avail)
drivers/remoteproc/imx_dsp_rproc.c
299
struct fw_rsc_imx_dsp *imx_dsp_rsc = rsc;
drivers/remoteproc/pru_rproc.c
514
struct pru_irq_rsc *rsc = pru->pru_interrupt_map;
drivers/remoteproc/pru_rproc.c
520
if (!rsc)
drivers/remoteproc/pru_rproc.c
524
if (rsc->type != 0) {
drivers/remoteproc/pru_rproc.c
525
dev_err(dev, "unsupported rsc type: %d\n", rsc->type);
drivers/remoteproc/pru_rproc.c
529
if (rsc->num_evts > MAX_PRU_SYS_EVENTS)
drivers/remoteproc/pru_rproc.c
532
if (sizeof(*rsc) + rsc->num_evts * sizeof(struct pruss_int_map) !=
drivers/remoteproc/pru_rproc.c
536
pru->evt_count = rsc->num_evts;
drivers/remoteproc/pru_rproc.c
570
fwspec.param[0] = rsc->pru_intc_map[i].event;
drivers/remoteproc/pru_rproc.c
571
fwspec.param[1] = rsc->pru_intc_map[i].chnl;
drivers/remoteproc/pru_rproc.c
572
fwspec.param[2] = rsc->pru_intc_map[i].host;
drivers/remoteproc/remoteproc_core.c
1029
void *rsc = (void *)hdr + sizeof(*hdr);
drivers/remoteproc/remoteproc_core.c
1041
ret = rproc_handle_rsc(rproc, hdr->type, rsc,
drivers/remoteproc/remoteproc_core.c
1062
ret = handler(rproc, rsc, offset + sizeof(*hdr), avail);
drivers/remoteproc/remoteproc_core.c
1152
struct fw_rsc_carveout *rsc;
drivers/remoteproc/remoteproc_core.c
1169
rsc = (void *)rproc->table_ptr + entry->rsc_offset;
drivers/remoteproc/remoteproc_core.c
1199
rsc->pa = (u32)pa;
drivers/remoteproc/remoteproc_core.c
1200
rsc->da = entry->da;
drivers/remoteproc/remoteproc_core.c
1201
rsc->len = entry->len;
drivers/remoteproc/remoteproc_core.c
326
struct fw_rsc_vdev *rsc;
drivers/remoteproc/remoteproc_core.c
334
rsc = (void *)rproc->table_ptr + rvdev->rsc_offset;
drivers/remoteproc/remoteproc_core.c
340
if (rproc_check_carveout_da(rproc, mem, rsc->vring[i].da, size))
drivers/remoteproc/remoteproc_core.c
345
size, rsc->vring[i].da,
drivers/remoteproc/remoteproc_core.c
377
rsc->vring[i].notifyid = notifyid;
drivers/remoteproc/remoteproc_core.c
382
rproc_parse_vring(struct rproc_vdev *rvdev, struct fw_rsc_vdev *rsc, int i)
drivers/remoteproc/remoteproc_core.c
386
struct fw_rsc_vdev_vring *vring = &rsc->vring[i];
drivers/remoteproc/remoteproc_core.c
410
struct fw_rsc_vdev *rsc;
drivers/remoteproc/remoteproc_core.c
426
rsc = (void *)rproc->table_ptr + rvring->rvdev->rsc_offset;
drivers/remoteproc/remoteproc_core.c
427
rsc->vring[idx].da = 0;
drivers/remoteproc/remoteproc_core.c
428
rsc->vring[idx].notifyid = -1;
drivers/remoteproc/remoteproc_core.c
474
struct fw_rsc_vdev *rsc = ptr;
drivers/remoteproc/remoteproc_core.c
482
rsc_size = struct_size(rsc, vring, rsc->num_of_vrings);
drivers/remoteproc/remoteproc_core.c
483
if (size_add(rsc_size, rsc->config_len) > avail) {
drivers/remoteproc/remoteproc_core.c
489
if (rsc->reserved[0] || rsc->reserved[1]) {
drivers/remoteproc/remoteproc_core.c
495
rsc->id, rsc->dfeatures, rsc->config_len, rsc->num_of_vrings);
drivers/remoteproc/remoteproc_core.c
498
if (rsc->num_of_vrings > ARRAY_SIZE(rvdev->vring)) {
drivers/remoteproc/remoteproc_core.c
499
dev_err(dev, "too many vrings: %d\n", rsc->num_of_vrings);
drivers/remoteproc/remoteproc_core.c
503
rvdev_data.id = rsc->id;
drivers/remoteproc/remoteproc_core.c
506
rvdev_data.rsc = rsc;
drivers/remoteproc/remoteproc_core.c
544
struct fw_rsc_trace *rsc = ptr;
drivers/remoteproc/remoteproc_core.c
549
if (sizeof(*rsc) > avail) {
drivers/remoteproc/remoteproc_core.c
555
if (rsc->reserved) {
drivers/remoteproc/remoteproc_core.c
565
trace->trace_mem.len = rsc->len;
drivers/remoteproc/remoteproc_core.c
566
trace->trace_mem.da = rsc->da;
drivers/remoteproc/remoteproc_core.c
582
name, rsc->da, rsc->len);
drivers/remoteproc/remoteproc_core.c
618
struct fw_rsc_devmem *rsc = ptr;
drivers/remoteproc/remoteproc_core.c
627
if (sizeof(*rsc) > avail) {
drivers/remoteproc/remoteproc_core.c
633
if (rsc->reserved) {
drivers/remoteproc/remoteproc_core.c
642
ret = iommu_map(rproc->domain, rsc->da, rsc->pa, rsc->len, rsc->flags,
drivers/remoteproc/remoteproc_core.c
656
mapping->da = rsc->da;
drivers/remoteproc/remoteproc_core.c
657
mapping->len = rsc->len;
drivers/remoteproc/remoteproc_core.c
661
rsc->pa, rsc->da, rsc->len);
drivers/remoteproc/remoteproc_core.c
822
struct fw_rsc_carveout *rsc = ptr;
drivers/remoteproc/remoteproc_core.c
826
if (sizeof(*rsc) > avail) {
drivers/remoteproc/remoteproc_core.c
832
if (rsc->reserved) {
drivers/remoteproc/remoteproc_core.c
838
rsc->name, rsc->da, rsc->pa, rsc->len, rsc->flags);
drivers/remoteproc/remoteproc_core.c
844
carveout = rproc_find_carveout_by_name(rproc, rsc->name);
drivers/remoteproc/remoteproc_core.c
853
if (rproc_check_carveout_da(rproc, carveout, rsc->da, rsc->len))
drivers/remoteproc/remoteproc_core.c
858
carveout->flags = rsc->flags;
drivers/remoteproc/remoteproc_core.c
864
carveout = rproc_mem_entry_init(dev, NULL, 0, rsc->len, rsc->da,
drivers/remoteproc/remoteproc_core.c
866
rproc_release_carveout, rsc->name);
drivers/remoteproc/remoteproc_core.c
872
carveout->flags = rsc->flags;
drivers/remoteproc/remoteproc_debugfs.c
294
void *rsc = (void *)hdr + sizeof(*hdr);
drivers/remoteproc/remoteproc_debugfs.c
298
c = rsc;
drivers/remoteproc/remoteproc_debugfs.c
308
d = rsc;
drivers/remoteproc/remoteproc_debugfs.c
318
t = rsc;
drivers/remoteproc/remoteproc_debugfs.c
326
v = rsc;
drivers/remoteproc/remoteproc_internal.h
109
int rproc_parse_vring(struct rproc_vdev *rvdev, struct fw_rsc_vdev *rsc, int i);
drivers/remoteproc/remoteproc_internal.h
185
int rproc_handle_rsc(struct rproc *rproc, u32 rsc_type, void *rsc, int offset,
drivers/remoteproc/remoteproc_internal.h
189
return rproc->ops->handle_rsc(rproc, rsc_type, rsc, offset,
drivers/remoteproc/remoteproc_internal.h
39
struct fw_rsc_vdev *rsc;
drivers/remoteproc/remoteproc_virtio.c
113
struct fw_rsc_vdev *rsc;
drivers/remoteproc/remoteproc_virtio.c
160
rsc = (void *)rproc->table_ptr + rvdev->rsc_offset;
drivers/remoteproc/remoteproc_virtio.c
161
rsc->vring[id].da = mem->da;
drivers/remoteproc/remoteproc_virtio.c
216
struct fw_rsc_vdev *rsc;
drivers/remoteproc/remoteproc_virtio.c
218
rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset;
drivers/remoteproc/remoteproc_virtio.c
220
return rsc->status;
drivers/remoteproc/remoteproc_virtio.c
226
struct fw_rsc_vdev *rsc;
drivers/remoteproc/remoteproc_virtio.c
228
rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset;
drivers/remoteproc/remoteproc_virtio.c
230
rsc->status = status;
drivers/remoteproc/remoteproc_virtio.c
237
struct fw_rsc_vdev *rsc;
drivers/remoteproc/remoteproc_virtio.c
239
rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset;
drivers/remoteproc/remoteproc_virtio.c
241
rsc->status = 0;
drivers/remoteproc/remoteproc_virtio.c
249
struct fw_rsc_vdev *rsc;
drivers/remoteproc/remoteproc_virtio.c
251
rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset;
drivers/remoteproc/remoteproc_virtio.c
253
return rsc->dfeatures;
drivers/remoteproc/remoteproc_virtio.c
269
struct fw_rsc_vdev *rsc;
drivers/remoteproc/remoteproc_virtio.c
271
rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset;
drivers/remoteproc/remoteproc_virtio.c
286
rsc->gfeatures = vdev->features;
drivers/remoteproc/remoteproc_virtio.c
295
struct fw_rsc_vdev *rsc;
drivers/remoteproc/remoteproc_virtio.c
298
rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset;
drivers/remoteproc/remoteproc_virtio.c
299
cfg = &rsc->vring[rsc->num_of_vrings];
drivers/remoteproc/remoteproc_virtio.c
301
if (offset + len > rsc->config_len || offset + len < len) {
drivers/remoteproc/remoteproc_virtio.c
313
struct fw_rsc_vdev *rsc;
drivers/remoteproc/remoteproc_virtio.c
316
rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset;
drivers/remoteproc/remoteproc_virtio.c
317
cfg = &rsc->vring[rsc->num_of_vrings];
drivers/remoteproc/remoteproc_virtio.c
319
if (offset + len > rsc->config_len || offset + len < len) {
drivers/remoteproc/remoteproc_virtio.c
500
struct fw_rsc_vdev *rsc;
drivers/remoteproc/remoteproc_virtio.c
530
rsc = rvdev_data->rsc;
drivers/remoteproc/remoteproc_virtio.c
533
for (i = 0; i < rsc->num_of_vrings; i++) {
drivers/remoteproc/remoteproc_virtio.c
534
ret = rproc_parse_vring(rvdev, rsc, i);
drivers/remoteproc/remoteproc_virtio.c
543
for (i = 0; i < rsc->num_of_vrings; i++) {
drivers/s390/cio/chp.c
626
crw0->slct, crw0->oflw, crw0->chn, crw0->rsc, crw0->anc,
drivers/s390/cio/chsc.c
746
crw0->slct, crw0->oflw, crw0->chn, crw0->rsc, crw0->anc,
drivers/s390/cio/cio_inject.c
101
rc = sscanf(buffer, "%x %x %x %x %x %x %x", &slct, &oflw, &chn, &rsc, &anc,
drivers/s390/cio/cio_inject.c
114
crw.rsc = rsc;
drivers/s390/cio/cio_inject.c
87
u32 slct, oflw, chn, rsc, anc, erc, rsid;
drivers/s390/cio/crw.c
101
crw[chain].rsc, crw[chain].anc, crw[chain].erc,
drivers/s390/cio/crw.c
122
handler = crw_handlers[crw[chain].rsc];
drivers/s390/cio/crw.c
31
int crw_register_handler(int rsc, crw_handler_t handler)
drivers/s390/cio/crw.c
35
if ((rsc < 0) || (rsc >= NR_RSCS))
drivers/s390/cio/crw.c
38
if (crw_handlers[rsc])
drivers/s390/cio/crw.c
41
crw_handlers[rsc] = handler;
drivers/s390/cio/crw.c
50
void crw_unregister_handler(int rsc)
drivers/s390/cio/crw.c
52
if ((rsc < 0) || (rsc >= NR_RSCS))
drivers/s390/cio/crw.c
55
crw_handlers[rsc] = NULL;
drivers/s390/cio/crw.c
86
tmp_crw.chn, tmp_crw.rsc, tmp_crw.anc,
drivers/s390/cio/css.c
822
crw0->slct, crw0->oflw, crw0->chn, crw0->rsc, crw0->anc,
drivers/s390/cio/css.c
827
crw1->slct, crw1->oflw, crw1->chn, crw1->rsc,
drivers/s390/cio/trace.h
368
__field(u8, rsc)
drivers/s390/cio/trace.h
379
__entry->rsc = crw->rsc;
drivers/s390/cio/trace.h
387
__entry->chn, __entry->rsc, __entry->anc,
drivers/s390/cio/vfio_ccw_drv.c
273
unsigned int rsc,
drivers/s390/cio/vfio_ccw_drv.c
291
crw->crw.rsc = rsc;
drivers/soc/qcom/cmd-db.c
274
const struct rsc_hdr *rsc;
drivers/soc/qcom/cmd-db.c
283
rsc = &cmd_db_header->header[i];
drivers/soc/qcom/cmd-db.c
284
if (!rsc->slv_id)
drivers/soc/qcom/cmd-db.c
287
switch (le16_to_cpu(rsc->slv_id)) {
drivers/soc/qcom/cmd-db.c
302
version = le16_to_cpu(rsc->version);
drivers/soc/qcom/cmd-db.c
309
ent = rsc_to_entry_header(rsc);
drivers/soc/qcom/cmd-db.c
310
for (j = 0; j < le16_to_cpu(rsc->cnt); j++, ent++) {
drivers/soc/qcom/cmd-db.c
317
len, rsc_offset(rsc, ent));
include/linux/hil_mlc.h
111
uint8_t rsc[16]; /* Security Code Header and Record */
include/linux/mlx5/rsc_dump.h
36
enum mlx5_sgmt_type rsc;
include/linux/remoteproc.h
395
int (*handle_rsc)(struct rproc *rproc, u32 rsc_type, void *rsc,
include/uapi/linux/virtio_net.h
189
} rsc;
include/video/imx-ipu-v3.h
440
u32 rsc);
lib/reed_solomon/decode_rs.c
13
struct rs_codec *rs = rsc->codec;
lib/reed_solomon/decode_rs.c
32
uint16_t *lambda = rsc->buffers + RS_DECODE_LAMBDA * (nroots + 1);
lib/reed_solomon/decode_rs.c
33
uint16_t *syn = rsc->buffers + RS_DECODE_SYN * (nroots + 1);
lib/reed_solomon/decode_rs.c
34
uint16_t *b = rsc->buffers + RS_DECODE_B * (nroots + 1);
lib/reed_solomon/decode_rs.c
35
uint16_t *t = rsc->buffers + RS_DECODE_T * (nroots + 1);
lib/reed_solomon/decode_rs.c
36
uint16_t *omega = rsc->buffers + RS_DECODE_OMEGA * (nroots + 1);
lib/reed_solomon/decode_rs.c
37
uint16_t *root = rsc->buffers + RS_DECODE_ROOT * (nroots + 1);
lib/reed_solomon/decode_rs.c
38
uint16_t *reg = rsc->buffers + RS_DECODE_REG * (nroots + 1);
lib/reed_solomon/decode_rs.c
39
uint16_t *loc = rsc->buffers + RS_DECODE_LOC * (nroots + 1);
lib/reed_solomon/encode_rs.c
13
struct rs_codec *rs = rsc->codec;
lib/reed_solomon/reed_solomon.c
328
int encode_rs8(struct rs_control *rsc, uint8_t *data, int len, uint16_t *par,
lib/reed_solomon/reed_solomon.c
361
int decode_rs8(struct rs_control *rsc, uint8_t *data, uint16_t *par, int len,
lib/reed_solomon/reed_solomon.c
381
int encode_rs16(struct rs_control *rsc, uint16_t *data, int len, uint16_t *par,
lib/reed_solomon/reed_solomon.c
412
int decode_rs16(struct rs_control *rsc, uint16_t *data, uint16_t *par, int len,
lib/reed_solomon/test_rslib.c
229
static void compute_syndrome(struct rs_control *rsc, uint16_t *data,
lib/reed_solomon/test_rslib.c
232
struct rs_codec *rs = rsc->codec;
lib/reed_solomon/test_rslib.c
446
struct rs_control *rsc;
lib/reed_solomon/test_rslib.c
453
rsc = init_rs(e->symsize, e->genpoly, e->fcs, e->prim, e->nroots);
lib/reed_solomon/test_rslib.c
454
if (!rsc)
lib/reed_solomon/test_rslib.c
457
ws = alloc_ws(rsc->codec);
lib/reed_solomon/test_rslib.c
475
retval |= exercise_rs(rsc, ws, len, e->ntrials);
lib/reed_solomon/test_rslib.c
477
retval |= exercise_rs_bc(rsc, ws, len, e->ntrials);
lib/reed_solomon/test_rslib.c
483
free_rs(rsc);
net/sched/sch_hfsc.c
1025
if (rsc == NULL && fsc == NULL)
net/sched/sch_hfsc.c
1050
if (rsc != NULL)
net/sched/sch_hfsc.c
1051
hfsc_change_rsc(cl, rsc, 0);
net/sched/sch_hfsc.c
867
hfsc_change_rsc(struct hfsc_class *cl, struct tc_service_curve *rsc,
net/sched/sch_hfsc.c
870
sc2isc(rsc, &cl->cl_rsc);
net/sched/sch_hfsc.c
921
struct tc_service_curve *rsc = NULL, *fsc = NULL, *usc = NULL;
net/sched/sch_hfsc.c
934
rsc = nla_data(tb[TCA_HFSC_RSC]);
net/sched/sch_hfsc.c
935
if (rsc->m1 == 0 && rsc->m2 == 0)
net/sched/sch_hfsc.c
936
rsc = NULL;
net/sched/sch_hfsc.c
977
if (rsc != NULL)
net/sched/sch_hfsc.c
978
hfsc_change_rsc(cl, rsc, cur_time);
net/sunrpc/auth_gss/svcauth_gss.c
1015
struct rsc *rsci;
net/sunrpc/auth_gss/svcauth_gss.c
1223
struct rsc rsci, *rscp = NULL;
net/sunrpc/auth_gss/svcauth_gss.c
1628
struct rsc *rsci = NULL;
net/sunrpc/auth_gss/svcauth_gss.c
377
static struct rsc *rsc_update(struct cache_detail *cd, struct rsc *new, struct rsc *old);
net/sunrpc/auth_gss/svcauth_gss.c
378
static struct rsc *rsc_lookup(struct cache_detail *cd, struct rsc *item);
net/sunrpc/auth_gss/svcauth_gss.c
380
static void rsc_free(struct rsc *rsci)
net/sunrpc/auth_gss/svcauth_gss.c
390
struct rsc *rsci = container_of(head, struct rsc, rcu_head);
net/sunrpc/auth_gss/svcauth_gss.c
398
struct rsc *rsci = container_of(ref, struct rsc, h.ref);
net/sunrpc/auth_gss/svcauth_gss.c
407
rsc_hash(struct rsc *rsci)
net/sunrpc/auth_gss/svcauth_gss.c
415
struct rsc *new = container_of(a, struct rsc, h);
net/sunrpc/auth_gss/svcauth_gss.c
416
struct rsc *tmp = container_of(b, struct rsc, h);
net/sunrpc/auth_gss/svcauth_gss.c
424
struct rsc *new = container_of(cnew, struct rsc, h);
net/sunrpc/auth_gss/svcauth_gss.c
425
struct rsc *tmp = container_of(ctmp, struct rsc, h);
net/sunrpc/auth_gss/svcauth_gss.c
438
struct rsc *new = container_of(cnew, struct rsc, h);
net/sunrpc/auth_gss/svcauth_gss.c
439
struct rsc *tmp = container_of(ctmp, struct rsc, h);
net/sunrpc/auth_gss/svcauth_gss.c
452
struct rsc *rsci = kmalloc_obj(*rsci);
net/sunrpc/auth_gss/svcauth_gss.c
471
struct rsc rsci, *rscp = NULL;
net/sunrpc/auth_gss/svcauth_gss.c
598
static struct rsc *rsc_lookup(struct cache_detail *cd, struct rsc *item)
net/sunrpc/auth_gss/svcauth_gss.c
605
return container_of(ch, struct rsc, h);
net/sunrpc/auth_gss/svcauth_gss.c
610
static struct rsc *rsc_update(struct cache_detail *cd, struct rsc *new, struct rsc *old)
net/sunrpc/auth_gss/svcauth_gss.c
618
return container_of(ch, struct rsc, h);
net/sunrpc/auth_gss/svcauth_gss.c
624
static struct rsc *
net/sunrpc/auth_gss/svcauth_gss.c
627
struct rsc rsci;
net/sunrpc/auth_gss/svcauth_gss.c
628
struct rsc *found;
net/sunrpc/auth_gss/svcauth_gss.c
655
static bool gss_check_seq_num(const struct svc_rqst *rqstp, struct rsc *rsci,
net/sunrpc/auth_gss/svcauth_gss.c
702
svcauth_gss_verify_header(struct svc_rqst *rqstp, struct rsc *rsci,
net/sunrpc/auth_gss/svcauth_gss.c
75
struct rsc *rsci;
net/sunrpc/auth_gss/svcauth_gss.c
983
struct rsc *rsci = svcdata->rsci;
sound/pci/ctxfi/ctamixer.c
100
hw->amixer_set_se(amixer->rsc.ctrl_blk, 1);
sound/pci/ctxfi/ctamixer.c
101
hw->amixer_set_sadr(amixer->rsc.ctrl_blk,
sound/pci/ctxfi/ctamixer.c
102
sum->rsc.ops->index(&sum->rsc));
sound/pci/ctxfi/ctamixer.c
113
struct rsc *input;
sound/pci/ctxfi/ctamixer.c
116
hw = amixer->rsc.hw;
sound/pci/ctxfi/ctamixer.c
121
amixer->rsc.ops->master(&amixer->rsc);
sound/pci/ctxfi/ctamixer.c
126
sum->rsc.ops->master(&sum->rsc);
sound/pci/ctxfi/ctamixer.c
128
for (i = 0; i < amixer->rsc.msr; i++) {
sound/pci/ctxfi/ctamixer.c
129
hw->amixer_set_dirty_all(amixer->rsc.ctrl_blk);
sound/pci/ctxfi/ctamixer.c
131
hw->amixer_set_x(amixer->rsc.ctrl_blk,
sound/pci/ctxfi/ctamixer.c
136
hw->amixer_set_sadr(amixer->rsc.ctrl_blk,
sound/pci/ctxfi/ctamixer.c
137
sum->rsc.ops->index(&sum->rsc));
sound/pci/ctxfi/ctamixer.c
138
sum->rsc.ops->next_conj(&sum->rsc);
sound/pci/ctxfi/ctamixer.c
140
index = amixer->rsc.ops->output_slot(&amixer->rsc);
sound/pci/ctxfi/ctamixer.c
141
hw->amixer_commit_write(hw, index, amixer->rsc.ctrl_blk);
sound/pci/ctxfi/ctamixer.c
142
amixer->rsc.ops->next_conj(&amixer->rsc);
sound/pci/ctxfi/ctamixer.c
144
amixer->rsc.ops->master(&amixer->rsc);
sound/pci/ctxfi/ctamixer.c
149
sum->rsc.ops->master(&sum->rsc);
sound/pci/ctxfi/ctamixer.c
159
hw = amixer->rsc.hw;
sound/pci/ctxfi/ctamixer.c
160
index = amixer->rsc.ops->output_slot(&amixer->rsc);
sound/pci/ctxfi/ctamixer.c
161
hw->amixer_commit_write(hw, index, amixer->rsc.ctrl_blk);
sound/pci/ctxfi/ctamixer.c
170
hw = amixer->rsc.hw;
sound/pci/ctxfi/ctamixer.c
171
return hw->amixer_get_y(amixer->rsc.ctrl_blk);
sound/pci/ctxfi/ctamixer.c
174
static int amixer_setup(struct amixer *amixer, struct rsc *input,
sound/pci/ctxfi/ctamixer.c
201
err = rsc_init(&amixer->rsc, amixer->idx[0],
sound/pci/ctxfi/ctamixer.c
207
amixer->rsc.ops = &amixer_basic_rsc_ops;
sound/pci/ctxfi/ctamixer.c
208
amixer->rsc.conj = 0;
sound/pci/ctxfi/ctamixer.c
221
rsc_uninit(&amixer->rsc);
sound/pci/ctxfi/ctamixer.c
26
static void amixer_master(struct rsc *rsc)
sound/pci/ctxfi/ctamixer.c
28
rsc->conj = 0;
sound/pci/ctxfi/ctamixer.c
284
for (i = 0; i < amixer->rsc.msr; i++)
sound/pci/ctxfi/ctamixer.c
29
rsc->idx = container_of(rsc, struct amixer, rsc)->idx[0];
sound/pci/ctxfi/ctamixer.c
32
static void amixer_next_conj(struct rsc *rsc)
sound/pci/ctxfi/ctamixer.c
332
static void sum_master(struct rsc *rsc)
sound/pci/ctxfi/ctamixer.c
334
rsc->conj = 0;
sound/pci/ctxfi/ctamixer.c
335
rsc->idx = container_of(rsc, struct sum, rsc)->idx[0];
sound/pci/ctxfi/ctamixer.c
338
static void sum_next_conj(struct rsc *rsc)
sound/pci/ctxfi/ctamixer.c
34
rsc->conj++;
sound/pci/ctxfi/ctamixer.c
340
rsc->conj++;
sound/pci/ctxfi/ctamixer.c
343
static int sum_index(const struct rsc *rsc)
sound/pci/ctxfi/ctamixer.c
345
return container_of(rsc, struct sum, rsc)->idx[rsc->conj];
sound/pci/ctxfi/ctamixer.c
348
static int sum_output_slot(const struct rsc *rsc)
sound/pci/ctxfi/ctamixer.c
350
return (sum_index(rsc) << 4) + 0xc;
sound/pci/ctxfi/ctamixer.c
366
err = rsc_init(&sum->rsc, sum->idx[0], SUM, desc->msr, mgr->mgr.hw);
sound/pci/ctxfi/ctamixer.c
37
static int amixer_index(const struct rsc *rsc)
sound/pci/ctxfi/ctamixer.c
370
sum->rsc.ops = &sum_basic_rsc_ops;
sound/pci/ctxfi/ctamixer.c
371
sum->rsc.conj = 0;
sound/pci/ctxfi/ctamixer.c
378
rsc_uninit(&sum->rsc);
sound/pci/ctxfi/ctamixer.c
39
return container_of(rsc, struct amixer, rsc)->idx[rsc->conj];
sound/pci/ctxfi/ctamixer.c
42
static int amixer_output_slot(const struct rsc *rsc)
sound/pci/ctxfi/ctamixer.c
436
for (i = 0; i < sum->rsc.msr; i++)
sound/pci/ctxfi/ctamixer.c
44
return (amixer_index(rsc) << 4) + 0x4;
sound/pci/ctxfi/ctamixer.c
54
static int amixer_set_input(struct amixer *amixer, struct rsc *rsc)
sound/pci/ctxfi/ctamixer.c
58
hw = amixer->rsc.hw;
sound/pci/ctxfi/ctamixer.c
59
hw->amixer_set_mode(amixer->rsc.ctrl_blk, AMIXER_Y_IMMEDIATE);
sound/pci/ctxfi/ctamixer.c
60
amixer->input = rsc;
sound/pci/ctxfi/ctamixer.c
61
if (!rsc)
sound/pci/ctxfi/ctamixer.c
62
hw->amixer_set_x(amixer->rsc.ctrl_blk, BLANK_SLOT);
sound/pci/ctxfi/ctamixer.c
64
hw->amixer_set_x(amixer->rsc.ctrl_blk,
sound/pci/ctxfi/ctamixer.c
65
rsc->ops->output_slot(rsc));
sound/pci/ctxfi/ctamixer.c
75
hw = amixer->rsc.hw;
sound/pci/ctxfi/ctamixer.c
76
hw->amixer_set_y(amixer->rsc.ctrl_blk, y);
sound/pci/ctxfi/ctamixer.c
85
hw = amixer->rsc.hw;
sound/pci/ctxfi/ctamixer.c
86
hw->amixer_set_iv(amixer->rsc.ctrl_blk, iv);
sound/pci/ctxfi/ctamixer.c
95
hw = amixer->rsc.hw;
sound/pci/ctxfi/ctamixer.c
98
hw->amixer_set_se(amixer->rsc.ctrl_blk, 0);
sound/pci/ctxfi/ctamixer.h
24
struct rsc rsc; /* Basic resource info */
sound/pci/ctxfi/ctamixer.h
53
struct rsc rsc; /* Basic resource info */
sound/pci/ctxfi/ctamixer.h
55
struct rsc *input; /* pointer to a resource acting as source */
sound/pci/ctxfi/ctamixer.h
61
int (*set_input)(struct amixer *amixer, struct rsc *rsc);
sound/pci/ctxfi/ctamixer.h
68
int (*setup)(struct amixer *amixer, struct rsc *input,
sound/pci/ctxfi/ctatc.c
1143
struct rsc *rscs[2] = {NULL};
sound/pci/ctxfi/ctatc.c
1489
struct rsc *rscs[2] = {NULL};
sound/pci/ctxfi/ctatc.c
1514
dai->ops->set_srt_srcl(dai, &(srcs[0]->rsc));
sound/pci/ctxfi/ctatc.c
1515
dai->ops->set_srt_srcr(dai, &(srcs[1]->rsc));
sound/pci/ctxfi/ctatc.c
1531
struct rsc *rscs[2] = {NULL};
sound/pci/ctxfi/ctatc.c
1555
mixer->set_input_left(mixer, MIX_LINE_IN, &src->rsc);
sound/pci/ctxfi/ctatc.c
1557
mixer->set_input_right(mixer, MIX_LINE_IN, &src->rsc);
sound/pci/ctxfi/ctatc.c
1567
mixer->set_input_left(mixer, MIX_MIC_IN, &src->rsc);
sound/pci/ctxfi/ctatc.c
1569
mixer->set_input_right(mixer, MIX_MIC_IN, &src->rsc);
sound/pci/ctxfi/ctatc.c
1578
mixer->set_input_left(mixer, MIX_SPDIF_IN, &src->rsc);
sound/pci/ctxfi/ctatc.c
1580
mixer->set_input_right(mixer, MIX_SPDIF_IN, &src->rsc);
sound/pci/ctxfi/ctatc.c
1584
mixer->set_input_left(mixer, i, &sum->rsc);
sound/pci/ctxfi/ctatc.c
1586
mixer->set_input_right(mixer, i, &sum->rsc);
sound/pci/ctxfi/ctatc.c
305
amixer->ops->setup(amixer, &src->rsc,
sound/pci/ctxfi/ctatc.c
389
max_cisz = src->multi * src->rsc.msr;
sound/pci/ctxfi/ctatc.c
450
max_cisz = src->multi * src->rsc.msr;
sound/pci/ctxfi/ctatc.c
656
struct rsc *out_ports[8] = {NULL};
sound/pci/ctxfi/ctatc.c
680
out_ports[0] = &mono->rsc;
sound/pci/ctxfi/ctatc.c
690
amixer->ops->setup(amixer, &src->rsc, INIT_VOL, NULL);
sound/pci/ctxfi/ctatc.c
691
out_ports[i%multi] = &amixer->rsc;
sound/pci/ctxfi/ctatc.c
712
&amixer->rsc);
sound/pci/ctxfi/ctatc.c
923
amixer->ops->setup(amixer, &src->rsc, INIT_VOL, NULL);
sound/pci/ctxfi/ctatc.c
932
dao->ops->set_left_input(dao, &amixer->rsc);
sound/pci/ctxfi/ctatc.c
934
dao->ops->set_right_input(dao, &amixer->rsc);
sound/pci/ctxfi/ctatc.c
957
mixer->set_input_left(mixer, MIX_LINE_IN, &src->rsc);
sound/pci/ctxfi/ctatc.c
959
mixer->set_input_right(mixer, MIX_LINE_IN, &src->rsc);
sound/pci/ctxfi/ctatc.c
979
mixer->set_input_left(mixer, MIX_MIC_IN, &src->rsc);
sound/pci/ctxfi/ctatc.c
981
mixer->set_input_right(mixer, MIX_MIC_IN, &src->rsc);
sound/pci/ctxfi/ctatc.c
997
struct rsc *rscs[2] = {NULL};
sound/pci/ctxfi/ctdaio.c
165
static int dao_set_left_input(struct dao *dao, struct rsc *input)
sound/pci/ctxfi/ctdaio.c
194
static int dao_set_right_input(struct dao *dao, struct rsc *input)
sound/pci/ctxfi/ctdaio.c
260
static int dai_set_srt_srcl(struct dai *dai, struct rsc *src)
sound/pci/ctxfi/ctdaio.c
267
static int dai_set_srt_srcr(struct dai *dai, struct rsc *src)
sound/pci/ctxfi/ctdaio.c
53
static void daio_master(struct rsc *rsc)
sound/pci/ctxfi/ctdaio.c
58
rsc->conj = rsc->idx;
sound/pci/ctxfi/ctdaio.c
61
static int daio_index(const struct rsc *rsc)
sound/pci/ctxfi/ctdaio.c
63
return rsc->conj;
sound/pci/ctxfi/ctdaio.c
66
static void daio_out_next_conj(struct rsc *rsc)
sound/pci/ctxfi/ctdaio.c
68
rsc->conj += 2;
sound/pci/ctxfi/ctdaio.c
71
static void daio_in_next_conj_20k1(struct rsc *rsc)
sound/pci/ctxfi/ctdaio.c
73
rsc->conj += 0x200;
sound/pci/ctxfi/ctdaio.c
76
static void daio_in_next_conj_20k2(struct rsc *rsc)
sound/pci/ctxfi/ctdaio.c
78
rsc->conj += 0x100;
sound/pci/ctxfi/ctdaio.h
44
struct rsc rscl; /* Basic resource info for left TX/RX */
sound/pci/ctxfi/ctdaio.h
45
struct rsc rscr; /* Basic resource info for right TX/RX */
sound/pci/ctxfi/ctdaio.h
76
int (*set_left_input)(struct dao *dao, struct rsc *input);
sound/pci/ctxfi/ctdaio.h
77
int (*set_right_input)(struct dao *dao, struct rsc *input);
sound/pci/ctxfi/ctdaio.h
83
int (*set_srt_srcl)(struct dai *dai, struct rsc *src);
sound/pci/ctxfi/ctdaio.h
84
int (*set_srt_srcr)(struct dai *dai, struct rsc *src);
sound/pci/ctxfi/ctmixer.c
1013
amix_d->ops->setup(amix_d, &sum->rsc, INIT_VOL, NULL);
sound/pci/ctxfi/ctmixer.c
1016
amix_d->ops->setup(amix_d, &sum->rsc, INIT_VOL, NULL);
sound/pci/ctxfi/ctmixer.c
1024
amix_d->ops->setup(amix_d, &amix_s->rsc, INIT_VOL, NULL);
sound/pci/ctxfi/ctmixer.c
1027
amix_d->ops->setup(amix_d, &amix_s->rsc, INIT_VOL, NULL);
sound/pci/ctxfi/ctmixer.c
1033
amix_d->ops->setup(amix_d, &amix_s->rsc, INIT_VOL, NULL);
sound/pci/ctxfi/ctmixer.c
1036
amix_d->ops->setup(amix_d, &amix_s->rsc, INIT_VOL, NULL);
sound/pci/ctxfi/ctmixer.c
1075
amix_d->ops->setup(amix_d, &sum->rsc, INIT_VOL, NULL);
sound/pci/ctxfi/ctmixer.c
1078
amix_d->ops->setup(amix_d, &sum->rsc, INIT_VOL, NULL);
sound/pci/ctxfi/ctmixer.c
1115
static int mixer_set_input_port(struct amixer *amixer, struct rsc *rsc)
sound/pci/ctxfi/ctmixer.c
1117
amixer->ops->set_input(amixer, rsc);
sound/pci/ctxfi/ctmixer.c
1145
struct rsc **rleft, struct rsc **rright)
sound/pci/ctxfi/ctmixer.c
1150
*rleft = &((struct amixer *)mixer->amixers[amix*CHN_NUM])->rsc;
sound/pci/ctxfi/ctmixer.c
1154
&((struct amixer *)mixer->amixers[amix*CHN_NUM+1])->rsc;
sound/pci/ctxfi/ctmixer.c
1160
enum MIXER_PORT_T type, struct rsc *rsc)
sound/pci/ctxfi/ctmixer.c
1164
mixer_set_input_port(mixer->amixers[amix*CHN_NUM], rsc);
sound/pci/ctxfi/ctmixer.c
1167
mixer_set_input_port(mixer->amixers[amix*CHN_NUM], rsc);
sound/pci/ctxfi/ctmixer.c
1174
enum MIXER_PORT_T type, struct rsc *rsc)
sound/pci/ctxfi/ctmixer.c
1178
mixer_set_input_port(mixer->amixers[amix*CHN_NUM+1], rsc);
sound/pci/ctxfi/ctmixer.c
1181
mixer_set_input_port(mixer->amixers[amix*CHN_NUM+1], rsc);
sound/pci/ctxfi/ctmixer.h
49
struct rsc **rleft, struct rsc **rright);
sound/pci/ctxfi/ctmixer.h
52
enum MIXER_PORT_T type, struct rsc *rsc);
sound/pci/ctxfi/ctmixer.h
54
enum MIXER_PORT_T type, struct rsc *rsc);
sound/pci/ctxfi/ctresource.c
102
static int rsc_index(const struct rsc *rsc)
sound/pci/ctxfi/ctresource.c
104
return rsc->conj;
sound/pci/ctxfi/ctresource.c
107
static int audio_ring_slot(const struct rsc *rsc)
sound/pci/ctxfi/ctresource.c
109
return (rsc->conj << 4) + offset_in_audio_slot_block[rsc->type];
sound/pci/ctxfi/ctresource.c
112
static void rsc_next_conj(struct rsc *rsc)
sound/pci/ctxfi/ctresource.c
115
for (i = 0; (i < 8) && (!(rsc->msr & (0x1 << i))); )
sound/pci/ctxfi/ctresource.c
117
rsc->conj += (AUDIO_SLOT_BLOCK_NUM >> i);
sound/pci/ctxfi/ctresource.c
120
static void rsc_master(struct rsc *rsc)
sound/pci/ctxfi/ctresource.c
122
rsc->conj = rsc->idx;
sound/pci/ctxfi/ctresource.c
133
rsc_init(struct rsc *rsc, u32 idx, enum RSCTYP type, u32 msr, struct hw *hw)
sound/pci/ctxfi/ctresource.c
137
rsc->idx = idx;
sound/pci/ctxfi/ctresource.c
138
rsc->conj = idx;
sound/pci/ctxfi/ctresource.c
139
rsc->type = type;
sound/pci/ctxfi/ctresource.c
140
rsc->msr = msr;
sound/pci/ctxfi/ctresource.c
141
rsc->hw = hw;
sound/pci/ctxfi/ctresource.c
142
rsc->ops = &rsc_generic_ops;
sound/pci/ctxfi/ctresource.c
144
rsc->ctrl_blk = NULL;
sound/pci/ctxfi/ctresource.c
150
err = hw->src_rsc_get_ctrl_blk(&rsc->ctrl_blk);
sound/pci/ctxfi/ctresource.c
153
err = hw->amixer_rsc_get_ctrl_blk(&rsc->ctrl_blk);
sound/pci/ctxfi/ctresource.c
174
int rsc_uninit(struct rsc *rsc)
sound/pci/ctxfi/ctresource.c
176
if ((NULL != rsc->hw) && (NULL != rsc->ctrl_blk)) {
sound/pci/ctxfi/ctresource.c
177
switch (rsc->type) {
sound/pci/ctxfi/ctresource.c
179
rsc->hw->src_rsc_put_ctrl_blk(rsc->ctrl_blk);
sound/pci/ctxfi/ctresource.c
182
rsc->hw->amixer_rsc_put_ctrl_blk(rsc->ctrl_blk);
sound/pci/ctxfi/ctresource.c
188
dev_err(((struct hw *)rsc->hw)->card->dev,
sound/pci/ctxfi/ctresource.c
190
rsc->type);
sound/pci/ctxfi/ctresource.c
194
rsc->hw = rsc->ctrl_blk = NULL;
sound/pci/ctxfi/ctresource.c
197
rsc->idx = rsc->conj = 0;
sound/pci/ctxfi/ctresource.c
198
rsc->type = NUM_RSCTYP;
sound/pci/ctxfi/ctresource.c
199
rsc->msr = 0;
sound/pci/ctxfi/ctresource.h
42
void (*master)(struct rsc *rsc); /* Move to master resource */
sound/pci/ctxfi/ctresource.h
43
void (*next_conj)(struct rsc *rsc); /* Move to next conjugate resource */
sound/pci/ctxfi/ctresource.h
44
int (*index)(const struct rsc *rsc); /* Return the index of resource */
sound/pci/ctxfi/ctresource.h
46
int (*output_slot)(const struct rsc *rsc);
sound/pci/ctxfi/ctresource.h
50
rsc_init(struct rsc *rsc, u32 idx, enum RSCTYP type, u32 msr, struct hw *hw);
sound/pci/ctxfi/ctresource.h
51
int rsc_uninit(struct rsc *rsc);
sound/pci/ctxfi/ctsrc.c
108
hw = src->rsc.hw;
sound/pci/ctxfi/ctsrc.c
109
hw->src_set_bp(src->rsc.ctrl_blk, bp);
sound/pci/ctxfi/ctsrc.c
118
hw = src->rsc.hw;
sound/pci/ctxfi/ctsrc.c
119
hw->src_set_cisz(src->rsc.ctrl_blk, cisz);
sound/pci/ctxfi/ctsrc.c
128
hw = src->rsc.hw;
sound/pci/ctxfi/ctsrc.c
129
hw->src_set_ca(src->rsc.ctrl_blk, ca);
sound/pci/ctxfi/ctsrc.c
138
hw = src->rsc.hw;
sound/pci/ctxfi/ctsrc.c
139
hw->src_set_sa(src->rsc.ctrl_blk, sa);
sound/pci/ctxfi/ctsrc.c
148
hw = src->rsc.hw;
sound/pci/ctxfi/ctsrc.c
149
hw->src_set_la(src->rsc.ctrl_blk, la);
sound/pci/ctxfi/ctsrc.c
158
hw = src->rsc.hw;
sound/pci/ctxfi/ctsrc.c
159
hw->src_set_pitch(src->rsc.ctrl_blk, pitch);
sound/pci/ctxfi/ctsrc.c
168
hw = src->rsc.hw;
sound/pci/ctxfi/ctsrc.c
169
hw->src_set_clear_zbufs(src->rsc.ctrl_blk, 1);
sound/pci/ctxfi/ctsrc.c
180
hw = src->rsc.hw;
sound/pci/ctxfi/ctsrc.c
181
src->rsc.ops->master(&src->rsc);
sound/pci/ctxfi/ctsrc.c
182
if (src->rsc.msr > 1) {
sound/pci/ctxfi/ctsrc.c
184
dirty = hw->src_get_dirty(src->rsc.ctrl_blk) & conj_mask;
sound/pci/ctxfi/ctsrc.c
186
hw->src_commit_write(hw, src->rsc.ops->index(&src->rsc),
sound/pci/ctxfi/ctsrc.c
187
src->rsc.ctrl_blk);
sound/pci/ctxfi/ctsrc.c
193
for (i = 1; i < src->rsc.msr; i++) {
sound/pci/ctxfi/ctsrc.c
194
src->rsc.ops->next_conj(&src->rsc);
sound/pci/ctxfi/ctsrc.c
195
hw->src_set_dirty(src->rsc.ctrl_blk, dirty);
sound/pci/ctxfi/ctsrc.c
196
hw->src_commit_write(hw, src->rsc.ops->index(&src->rsc),
sound/pci/ctxfi/ctsrc.c
197
src->rsc.ctrl_blk);
sound/pci/ctxfi/ctsrc.c
199
src->rsc.ops->master(&src->rsc);
sound/pci/ctxfi/ctsrc.c
208
hw = src->rsc.hw;
sound/pci/ctxfi/ctsrc.c
209
return hw->src_get_ca(hw, src->rsc.ops->index(&src->rsc),
sound/pci/ctxfi/ctsrc.c
210
src->rsc.ctrl_blk);
sound/pci/ctxfi/ctsrc.c
227
struct hw *hw = src->rsc.hw;
sound/pci/ctxfi/ctsrc.c
230
hw->src_set_state(src->rsc.ctrl_blk, SRC_STATE_OFF);
sound/pci/ctxfi/ctsrc.c
231
hw->src_set_bm(src->rsc.ctrl_blk, 1);
sound/pci/ctxfi/ctsrc.c
232
for (rsr = 0, msr = src->rsc.msr; msr > 1; msr >>= 1)
sound/pci/ctxfi/ctsrc.c
235
hw->src_set_rsr(src->rsc.ctrl_blk, rsr);
sound/pci/ctxfi/ctsrc.c
236
hw->src_set_sf(src->rsc.ctrl_blk, SRC_SF_S16);
sound/pci/ctxfi/ctsrc.c
237
hw->src_set_wr(src->rsc.ctrl_blk, 0);
sound/pci/ctxfi/ctsrc.c
238
hw->src_set_pm(src->rsc.ctrl_blk, 0);
sound/pci/ctxfi/ctsrc.c
239
hw->src_set_rom(src->rsc.ctrl_blk, 0);
sound/pci/ctxfi/ctsrc.c
240
hw->src_set_vo(src->rsc.ctrl_blk, 0);
sound/pci/ctxfi/ctsrc.c
241
hw->src_set_st(src->rsc.ctrl_blk, 0);
sound/pci/ctxfi/ctsrc.c
242
hw->src_set_ilsz(src->rsc.ctrl_blk, src->multi - 1);
sound/pci/ctxfi/ctsrc.c
243
hw->src_set_cisz(src->rsc.ctrl_blk, 0x80);
sound/pci/ctxfi/ctsrc.c
244
hw->src_set_sa(src->rsc.ctrl_blk, 0x0);
sound/pci/ctxfi/ctsrc.c
245
hw->src_set_la(src->rsc.ctrl_blk, 0x1000);
sound/pci/ctxfi/ctsrc.c
246
hw->src_set_ca(src->rsc.ctrl_blk, 0x80);
sound/pci/ctxfi/ctsrc.c
247
hw->src_set_pitch(src->rsc.ctrl_blk, 0x1000000);
sound/pci/ctxfi/ctsrc.c
248
hw->src_set_clear_zbufs(src->rsc.ctrl_blk, 1);
sound/pci/ctxfi/ctsrc.c
250
src->rsc.ops->master(&src->rsc);
sound/pci/ctxfi/ctsrc.c
251
hw->src_commit_write(hw, src->rsc.ops->index(&src->rsc),
sound/pci/ctxfi/ctsrc.c
252
src->rsc.ctrl_blk);
sound/pci/ctxfi/ctsrc.c
254
for (msr = 1; msr < src->rsc.msr; msr++) {
sound/pci/ctxfi/ctsrc.c
255
src->rsc.ops->next_conj(&src->rsc);
sound/pci/ctxfi/ctsrc.c
256
hw->src_set_pitch(src->rsc.ctrl_blk, 0x1000000);
sound/pci/ctxfi/ctsrc.c
257
hw->src_commit_write(hw, src->rsc.ops->index(&src->rsc),
sound/pci/ctxfi/ctsrc.c
258
src->rsc.ctrl_blk);
sound/pci/ctxfi/ctsrc.c
260
src->rsc.ops->master(&src->rsc);
sound/pci/ctxfi/ctsrc.c
267
struct hw *hw = src->rsc.hw;
sound/pci/ctxfi/ctsrc.c
269
hw->src_set_state(src->rsc.ctrl_blk, SRC_STATE_OFF);
sound/pci/ctxfi/ctsrc.c
270
hw->src_set_bm(src->rsc.ctrl_blk, 1);
sound/pci/ctxfi/ctsrc.c
271
hw->src_set_rsr(src->rsc.ctrl_blk, 0);
sound/pci/ctxfi/ctsrc.c
272
hw->src_set_sf(src->rsc.ctrl_blk, SRC_SF_S16);
sound/pci/ctxfi/ctsrc.c
273
hw->src_set_wr(src->rsc.ctrl_blk, 1);
sound/pci/ctxfi/ctsrc.c
274
hw->src_set_pm(src->rsc.ctrl_blk, 0);
sound/pci/ctxfi/ctsrc.c
275
hw->src_set_rom(src->rsc.ctrl_blk, 0);
sound/pci/ctxfi/ctsrc.c
276
hw->src_set_vo(src->rsc.ctrl_blk, 0);
sound/pci/ctxfi/ctsrc.c
277
hw->src_set_st(src->rsc.ctrl_blk, 0);
sound/pci/ctxfi/ctsrc.c
278
hw->src_set_ilsz(src->rsc.ctrl_blk, 0);
sound/pci/ctxfi/ctsrc.c
279
hw->src_set_cisz(src->rsc.ctrl_blk, 0x80);
sound/pci/ctxfi/ctsrc.c
280
hw->src_set_sa(src->rsc.ctrl_blk, 0x0);
sound/pci/ctxfi/ctsrc.c
281
hw->src_set_la(src->rsc.ctrl_blk, 0x1000);
sound/pci/ctxfi/ctsrc.c
282
hw->src_set_ca(src->rsc.ctrl_blk, 0x80);
sound/pci/ctxfi/ctsrc.c
283
hw->src_set_pitch(src->rsc.ctrl_blk, 0x1000000);
sound/pci/ctxfi/ctsrc.c
284
hw->src_set_clear_zbufs(src->rsc.ctrl_blk, 1);
sound/pci/ctxfi/ctsrc.c
286
src->rsc.ops->master(&src->rsc);
sound/pci/ctxfi/ctsrc.c
287
hw->src_commit_write(hw, src->rsc.ops->index(&src->rsc),
sound/pci/ctxfi/ctsrc.c
288
src->rsc.ctrl_blk);
sound/pci/ctxfi/ctsrc.c
295
struct hw *hw = src->rsc.hw;
sound/pci/ctxfi/ctsrc.c
299
hw->src_set_state(src->rsc.ctrl_blk, SRC_STATE_OFF);
sound/pci/ctxfi/ctsrc.c
300
hw->src_set_bm(src->rsc.ctrl_blk, 0);
sound/pci/ctxfi/ctsrc.c
301
for (rsr = 0, msr = src->rsc.msr; msr > 1; msr >>= 1)
sound/pci/ctxfi/ctsrc.c
304
hw->src_set_rsr(src->rsc.ctrl_blk, rsr);
sound/pci/ctxfi/ctsrc.c
305
hw->src_set_sf(src->rsc.ctrl_blk, SRC_SF_F32);
sound/pci/ctxfi/ctsrc.c
306
hw->src_set_wr(src->rsc.ctrl_blk, 0);
sound/pci/ctxfi/ctsrc.c
307
hw->src_set_pm(src->rsc.ctrl_blk, 0);
sound/pci/ctxfi/ctsrc.c
308
hw->src_set_rom(src->rsc.ctrl_blk, 0);
sound/pci/ctxfi/ctsrc.c
309
hw->src_set_vo(src->rsc.ctrl_blk, 0);
sound/pci/ctxfi/ctsrc.c
310
hw->src_set_st(src->rsc.ctrl_blk, 0);
sound/pci/ctxfi/ctsrc.c
311
hw->src_set_ilsz(src->rsc.ctrl_blk, 0);
sound/pci/ctxfi/ctsrc.c
312
hw->src_set_cisz(src->rsc.ctrl_blk, 0x80);
sound/pci/ctxfi/ctsrc.c
313
hw->src_set_sa(src->rsc.ctrl_blk, 0x0);
sound/pci/ctxfi/ctsrc.c
315
hw->src_set_la(src->rsc.ctrl_blk, 0x1000);
sound/pci/ctxfi/ctsrc.c
317
hw->src_set_ca(src->rsc.ctrl_blk, 0x80);
sound/pci/ctxfi/ctsrc.c
318
hw->src_set_pitch(src->rsc.ctrl_blk, 0x1000000);
sound/pci/ctxfi/ctsrc.c
319
hw->src_set_clear_zbufs(src->rsc.ctrl_blk, 1);
sound/pci/ctxfi/ctsrc.c
321
dirty = hw->src_get_dirty(src->rsc.ctrl_blk);
sound/pci/ctxfi/ctsrc.c
322
src->rsc.ops->master(&src->rsc);
sound/pci/ctxfi/ctsrc.c
323
for (msr = 0; msr < src->rsc.msr; msr++) {
sound/pci/ctxfi/ctsrc.c
324
hw->src_set_dirty(src->rsc.ctrl_blk, dirty);
sound/pci/ctxfi/ctsrc.c
325
hw->src_commit_write(hw, src->rsc.ops->index(&src->rsc),
sound/pci/ctxfi/ctsrc.c
326
src->rsc.ctrl_blk);
sound/pci/ctxfi/ctsrc.c
327
src->rsc.ops->next_conj(&src->rsc);
sound/pci/ctxfi/ctsrc.c
329
src->rsc.ops->master(&src->rsc);
sound/pci/ctxfi/ctsrc.c
365
err = rsc_init(&p->rsc, idx + i, SRC, desc->msr, mgr->mgr.hw);
sound/pci/ctxfi/ctsrc.c
38
hw = src->rsc.hw;
sound/pci/ctxfi/ctsrc.c
386
rsc_uninit(&p->rsc);
sound/pci/ctxfi/ctsrc.c
39
hw->src_set_state(src->rsc.ctrl_blk, state);
sound/pci/ctxfi/ctsrc.c
400
rsc_uninit(&p->rsc);
sound/pci/ctxfi/ctsrc.c
467
src->rsc.ops->master(&src->rsc);
sound/pci/ctxfi/ctsrc.c
470
src->rsc.ops->index(&src->rsc));
sound/pci/ctxfi/ctsrc.c
472
mgr_put_resource(&mgr->mgr, 1, src->rsc.ops->index(&src->rsc));
sound/pci/ctxfi/ctsrc.c
48
hw = src->rsc.hw;
sound/pci/ctxfi/ctsrc.c
485
src->rsc.ops->master(&src->rsc);
sound/pci/ctxfi/ctsrc.c
486
for (i = 0; i < src->rsc.msr; i++) {
sound/pci/ctxfi/ctsrc.c
488
src->rsc.ops->index(&src->rsc));
sound/pci/ctxfi/ctsrc.c
489
src->rsc.ops->next_conj(&src->rsc);
sound/pci/ctxfi/ctsrc.c
49
hw->src_set_bm(src->rsc.ctrl_blk, bm);
sound/pci/ctxfi/ctsrc.c
491
src->rsc.ops->master(&src->rsc);
sound/pci/ctxfi/ctsrc.c
501
src->rsc.ops->master(&src->rsc);
sound/pci/ctxfi/ctsrc.c
502
for (i = 0; i < src->rsc.msr; i++) {
sound/pci/ctxfi/ctsrc.c
504
src->rsc.ops->index(&src->rsc));
sound/pci/ctxfi/ctsrc.c
505
src->rsc.ops->next_conj(&src->rsc);
sound/pci/ctxfi/ctsrc.c
507
src->rsc.ops->master(&src->rsc);
sound/pci/ctxfi/ctsrc.c
517
src->rsc.ops->master(&src->rsc);
sound/pci/ctxfi/ctsrc.c
518
for (i = 0; i < src->rsc.msr; i++) {
sound/pci/ctxfi/ctsrc.c
520
src->rsc.ops->index(&src->rsc));
sound/pci/ctxfi/ctsrc.c
521
src->rsc.ops->next_conj(&src->rsc);
sound/pci/ctxfi/ctsrc.c
523
src->rsc.ops->master(&src->rsc);
sound/pci/ctxfi/ctsrc.c
58
hw = src->rsc.hw;
sound/pci/ctxfi/ctsrc.c
588
static void srcimp_master(struct rsc *rsc)
sound/pci/ctxfi/ctsrc.c
59
hw->src_set_sf(src->rsc.ctrl_blk, sf);
sound/pci/ctxfi/ctsrc.c
590
rsc->conj = 0;
sound/pci/ctxfi/ctsrc.c
591
rsc->idx = container_of(rsc, struct srcimp, rsc)->idx[0];
sound/pci/ctxfi/ctsrc.c
594
static void srcimp_next_conj(struct rsc *rsc)
sound/pci/ctxfi/ctsrc.c
596
rsc->conj++;
sound/pci/ctxfi/ctsrc.c
599
static int srcimp_index(const struct rsc *rsc)
sound/pci/ctxfi/ctsrc.c
601
return container_of(rsc, struct srcimp, rsc)->idx[rsc->conj];
sound/pci/ctxfi/ctsrc.c
611
static int srcimp_map(struct srcimp *srcimp, struct src *src, struct rsc *input)
sound/pci/ctxfi/ctsrc.c
616
srcimp->rsc.ops->master(&srcimp->rsc);
sound/pci/ctxfi/ctsrc.c
617
src->rsc.ops->master(&src->rsc);
sound/pci/ctxfi/ctsrc.c
621
for (i = 0; i < srcimp->rsc.msr; i++) {
sound/pci/ctxfi/ctsrc.c
624
entry->user = src->rsc.ops->index(&src->rsc);
sound/pci/ctxfi/ctsrc.c
625
entry->addr = srcimp->rsc.ops->index(&srcimp->rsc);
sound/pci/ctxfi/ctsrc.c
629
srcimp->rsc.ops->next_conj(&srcimp->rsc);
sound/pci/ctxfi/ctsrc.c
633
srcimp->rsc.ops->master(&srcimp->rsc);
sound/pci/ctxfi/ctsrc.c
644
for (i = 0; i < srcimp->rsc.msr; i++) {
sound/pci/ctxfi/ctsrc.c
666
err = rsc_init(&srcimp->rsc, srcimp->idx[0],
sound/pci/ctxfi/ctsrc.c
679
srcimp->rsc.ops = &srcimp_basic_rsc_ops;
sound/pci/ctxfi/ctsrc.c
68
hw = src->rsc.hw;
sound/pci/ctxfi/ctsrc.c
683
srcimp->rsc.ops->master(&srcimp->rsc);
sound/pci/ctxfi/ctsrc.c
688
rsc_uninit(&srcimp->rsc);
sound/pci/ctxfi/ctsrc.c
69
hw->src_set_pm(src->rsc.ctrl_blk, pm);
sound/pci/ctxfi/ctsrc.c
698
rsc_uninit(&srcimp->rsc);
sound/pci/ctxfi/ctsrc.c
757
for (i = 0; i < srcimp->rsc.msr; i++)
sound/pci/ctxfi/ctsrc.c
78
hw = src->rsc.hw;
sound/pci/ctxfi/ctsrc.c
79
hw->src_set_rom(src->rsc.ctrl_blk, rom);
sound/pci/ctxfi/ctsrc.c
88
hw = src->rsc.hw;
sound/pci/ctxfi/ctsrc.c
89
hw->src_set_vo(src->rsc.ctrl_blk, vo);
sound/pci/ctxfi/ctsrc.c
98
hw = src->rsc.hw;
sound/pci/ctxfi/ctsrc.c
99
hw->src_set_st(src->rsc.ctrl_blk, st);
sound/pci/ctxfi/ctsrc.h
104
struct rsc rsc;
sound/pci/ctxfi/ctsrc.h
113
int (*map)(struct srcimp *srcimp, struct src *user, struct rsc *input);
sound/pci/ctxfi/ctsrc.h
45
struct rsc rsc; /* Basic resource info */