Home
last modified time | relevance | path

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

/drivers/remoteproc/
Dremoteproc_virtio.c165 struct fw_rsc_vdev *rsc; in rproc_virtio_get_status() local
167 rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset; in rproc_virtio_get_status()
169 return rsc->status; in rproc_virtio_get_status()
175 struct fw_rsc_vdev *rsc; in rproc_virtio_set_status() local
177 rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset; in rproc_virtio_set_status()
179 rsc->status = status; in rproc_virtio_set_status()
186 struct fw_rsc_vdev *rsc; in rproc_virtio_reset() local
188 rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset; in rproc_virtio_reset()
190 rsc->status = 0; in rproc_virtio_reset()
198 struct fw_rsc_vdev *rsc; in rproc_virtio_get_features() local
[all …]
Dremoteproc_core.c208 struct fw_rsc_vdev *rsc; in rproc_alloc_vring() local
256 rsc = (void *)rproc->table_ptr + rvdev->rsc_offset; in rproc_alloc_vring()
257 rsc->vring[i].da = dma; in rproc_alloc_vring()
258 rsc->vring[i].notifyid = notifyid; in rproc_alloc_vring()
263 rproc_parse_vring(struct rproc_vdev *rvdev, struct fw_rsc_vdev *rsc, int i) in rproc_parse_vring() argument
267 struct fw_rsc_vdev_vring *vring = &rsc->vring[i]; in rproc_parse_vring()
292 struct fw_rsc_vdev *rsc; in rproc_free_vring() local
298 rsc = (void *)rproc->table_ptr + rvring->rvdev->rsc_offset; in rproc_free_vring()
299 rsc->vring[idx].da = 0; in rproc_free_vring()
300 rsc->vring[idx].notifyid = -1; in rproc_free_vring()
[all …]
/drivers/s390/cio/
Dcrw.c32 int crw_register_handler(int rsc, crw_handler_t handler) in crw_register_handler() argument
36 if ((rsc < 0) || (rsc >= NR_RSCS)) in crw_register_handler()
39 if (crw_handlers[rsc]) in crw_register_handler()
42 crw_handlers[rsc] = handler; in crw_register_handler()
51 void crw_unregister_handler(int rsc) in crw_unregister_handler() argument
53 if ((rsc < 0) || (rsc >= NR_RSCS)) in crw_unregister_handler()
56 crw_handlers[rsc] = NULL; in crw_unregister_handler()
88 tmp_crw.chn, tmp_crw.rsc, tmp_crw.anc, in crw_collect_info()
103 crw[chain].rsc, crw[chain].anc, crw[chain].erc, in crw_collect_info()
124 handler = crw_handlers[crw[chain].rsc]; in crw_collect_info()
Dtrace.h350 __entry->crw.chn, __entry->crw.rsc, __entry->crw.anc,
Dcss.c721 crw0->slct, crw0->oflw, crw0->chn, crw0->rsc, crw0->anc, in css_process_crw()
726 crw1->slct, crw1->oflw, crw1->chn, crw1->rsc, in css_process_crw()
Dchp.c546 crw0->slct, crw0->oflw, crw0->chn, crw0->rsc, crw0->anc, in chp_process_crw()
Dcio.c885 if (crw.slct && crw.rsc == CRW_RSC_CPATH) in s390_reset_chpids_mcck_handler()
Dchsc.c700 crw0->slct, crw0->oflw, crw0->chn, crw0->rsc, crw0->anc, in chsc_process_crw()
/drivers/gpu/drm/i915/
Dintel_lpe_audio.c81 struct resource *rsc; in lpe_audio_platdev_create() local
89 rsc = kcalloc(2, sizeof(*rsc), GFP_KERNEL); in lpe_audio_platdev_create()
90 if (!rsc) { in lpe_audio_platdev_create()
95 rsc[0].start = rsc[0].end = dev_priv->lpe_audio.irq; in lpe_audio_platdev_create()
96 rsc[0].flags = IORESOURCE_IRQ; in lpe_audio_platdev_create()
97 rsc[0].name = "hdmi-lpe-audio-irq"; in lpe_audio_platdev_create()
99 rsc[1].start = pci_resource_start(dev->pdev, 0) + in lpe_audio_platdev_create()
101 rsc[1].end = pci_resource_start(dev->pdev, 0) + in lpe_audio_platdev_create()
103 rsc[1].flags = IORESOURCE_MEM; in lpe_audio_platdev_create()
104 rsc[1].name = "hdmi-lpe-audio-mmio"; in lpe_audio_platdev_create()
[all …]
/drivers/infiniband/ulp/iser/
Diser_memory.c44 struct iser_reg_resources *rsc,
49 struct iser_reg_resources *rsc,
230 struct iser_reg_resources *rsc, in iser_fast_reg_fmr() argument
235 struct iser_page_vec *page_vec = rsc->page_vec; in iser_fast_reg_fmr()
236 struct ib_fmr_pool *fmr_pool = rsc->fmr_pool; in iser_fast_reg_fmr()
439 struct iser_reg_resources *rsc, in iser_fast_reg_mr() argument
444 struct ib_mr *mr = rsc->mr; in iser_fast_reg_mr()
448 if (rsc->mr_valid) in iser_fast_reg_mr()
471 rsc->mr_valid = 1; in iser_fast_reg_mr()
496 return device->reg_ops->reg_mem(task, mem, &desc->pi_ctx->rsc, reg); in iser_reg_prot_sg()
[all …]
Diser_verbs.c202 desc->rsc.page_vec = page_vec; in iser_alloc_fmr_pool()
203 desc->rsc.fmr_pool = fmr_pool; in iser_alloc_fmr_pool()
229 ib_conn, desc->rsc.fmr_pool); in iser_free_fmr_pool()
231 ib_destroy_fmr_pool(desc->rsc.fmr_pool); in iser_free_fmr_pool()
232 kfree(desc->rsc.page_vec); in iser_free_fmr_pool()
263 iser_free_reg_res(struct iser_reg_resources *rsc) in iser_free_reg_res() argument
265 ib_dereg_mr(rsc->mr); in iser_free_reg_res()
283 ret = iser_alloc_reg_res(device, pd, &pi_ctx->rsc, size); in iser_alloc_pi_ctx()
300 iser_free_reg_res(&pi_ctx->rsc); in iser_alloc_pi_ctx()
310 iser_free_reg_res(&pi_ctx->rsc); in iser_free_pi_ctx()
[all …]
Discsi_iser.h350 struct iser_reg_resources *rsc,
416 struct iser_reg_resources rsc; member
431 struct iser_reg_resources rsc; member
Diser_initiator.c598 if (likely(rkey == desc->rsc.mr->rkey)) { in iser_inv_desc()
599 desc->rsc.mr_valid = 0; in iser_inv_desc()
/drivers/net/wireless/intersil/orinoco/
Dhw.c991 int set_tx, const u8 *key, const u8 *rsc, in __orinoco_hw_set_tkip_key() argument
996 u8 rsc[ORINOCO_SEQ_LEN]; in __orinoco_hw_set_tkip_key() member
1017 if (rsc_len > sizeof(buf.rsc)) in __orinoco_hw_set_tkip_key()
1018 rsc_len = sizeof(buf.rsc); in __orinoco_hw_set_tkip_key()
1023 memset(buf.rsc, 0, sizeof(buf.rsc)); in __orinoco_hw_set_tkip_key()
1026 if (rsc != NULL) in __orinoco_hw_set_tkip_key()
1027 memcpy(buf.rsc, rsc, rsc_len); in __orinoco_hw_set_tkip_key()
Dhw.h41 int set_tx, const u8 *key, const u8 *rsc,
/drivers/gpu/ipu-v3/
Dipu-ic.c86 u32 rsc; member
101 .rsc = IC_PRP_ENC_RSC,
105 .rsc = IC_PRP_VF_RSC,
109 .rsc = IC_PP_RSC,
473 ipu_ic_write(ic, reg, ic->reg->rsc); in ipu_ic_task_init()
/drivers/scsi/
Dgdth.c4286 gdth_ioctl_rescan *rsc; in ioc_hdrlist() local
4293 rsc = kmalloc(sizeof(*rsc), GFP_KERNEL); in ioc_hdrlist()
4295 if (!rsc || !cmd) in ioc_hdrlist()
4298 if (copy_from_user(rsc, arg, sizeof(gdth_ioctl_rescan)) || in ioc_hdrlist()
4299 (NULL == (ha = gdth_find_ha(rsc->ionode)))) { in ioc_hdrlist()
4307 rsc->hdr_list[i].bus = 0xff; in ioc_hdrlist()
4310 rsc->hdr_list[i].bus = ha->virt_bus; in ioc_hdrlist()
4311 rsc->hdr_list[i].target = i; in ioc_hdrlist()
4312 rsc->hdr_list[i].lun = 0; in ioc_hdrlist()
4313 rsc->hdr_list[i].cluster_type = ha->hdr[i].cluster_type; in ioc_hdrlist()
[all …]
/drivers/input/keyboard/
Dhil_kbd.c79 char rsc[HIL_PACKET_MAX_LENGTH]; /* RSC record */ member
117 buf = dev->rsc; in hil_dev_handle_command_response()
/drivers/net/wireless/intel/iwlwifi/fw/api/
Dd3.h382 struct iwl_wowlan_rsc_tsc_params_cmd rsc; member
/drivers/net/ethernet/i825xx/
Dsun3_82586.c1118 unsigned short crc,aln,rsc,ovrn; in sun3_82586_get_stats() local
1124 rsc = swab16(p->scb->rsc_errs); in sun3_82586_get_stats()
1132 dev->stats.rx_dropped += rsc; in sun3_82586_get_stats()
/drivers/net/wireless/intel/iwlwifi/mvm/
Dd3.c1578 union iwl_all_tsc_rsc *rsc = &status->gtk.rsc.all_tsc_rsc; in iwl_mvm_set_key_rx_seq() local
1582 iwl_mvm_set_aes_rx_seq(mvm, rsc->aes.multicast_rsc, NULL, key); in iwl_mvm_set_key_rx_seq()
1585 iwl_mvm_set_tkip_rx_seq(rsc->tkip.multicast_rsc, key); in iwl_mvm_set_key_rx_seq()
1635 union iwl_all_tsc_rsc *sc = &data->status->gtk.rsc.all_tsc_rsc; in iwl_mvm_d3_update_keys()
/drivers/net/hyperv/
Dhyperv_net.h1146 struct ndis_rsc_offload rsc; member
1152 #define NDIS_OFFLOAD_SIZE_6_1 offsetof(struct ndis_offload, rsc)
/drivers/input/serio/
Dhil_mlc.c389 mlc->di_scratch.rsc[i] = in hilse_take_rsc()
823 idx = mlc->di[map->didx].rsc; in hil_mlc_serio_write()
/drivers/net/wireless/
Drndis_wlan.c288 u8 rsc[8]; member
1424 if (rx_seq && seq_len > sizeof(ndis_key.rsc)) { in add_wpa_key()
1461 memcpy(ndis_key.rsc, rx_seq, seq_len); in add_wpa_key()
/drivers/net/wireless/ath/wcn36xx/
Dhal.h738 u8 rsc[WLAN_MAX_KEY_RSC_LEN]; member