Home
last modified time | relevance | path

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

12345678910>>...14

/drivers/scsi/megaraid/
Dmegaraid_sas_base.c135 int megasas_transition_to_ready(struct megasas_instance *instance, int ocr);
136 static int megasas_get_pd_list(struct megasas_instance *instance);
137 static int megasas_ld_list_query(struct megasas_instance *instance,
139 static int megasas_issue_init_mfi(struct megasas_instance *instance);
140 static int megasas_register_aen(struct megasas_instance *instance,
142 static void megasas_get_pd_info(struct megasas_instance *instance,
145 megasas_set_ld_removed_by_fw(struct megasas_instance *instance);
224 megasas_complete_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd,
227 megasas_read_fw_status_reg_gen2(struct megasas_instance *instance);
229 megasas_adp_reset_gen2(struct megasas_instance *instance,
[all …]
Dmegaraid_sas_fusion.c52 megasas_complete_cmd(struct megasas_instance *instance,
55 wait_and_poll(struct megasas_instance *instance, struct megasas_cmd *cmd,
59 megasas_clear_intr_fusion(struct megasas_instance *instance);
61 int megasas_transition_to_ready(struct megasas_instance *instance, int ocr);
64 int megasas_sriov_start_heartbeat(struct megasas_instance *instance,
69 static void megasas_free_rdpq_fusion(struct megasas_instance *instance);
70 static void megasas_free_reply_fusion(struct megasas_instance *instance);
72 void megasas_configure_queue_sizes(struct megasas_instance *instance);
73 static void megasas_fusion_crash_dump(struct megasas_instance *instance);
88 megasas_adp_reset_wait_for_ready(struct megasas_instance *instance, in megasas_adp_reset_wait_for_ready() argument
[all …]
Dmegaraid_sas_debugfs.c62 struct megasas_instance *instance = inode->i_private; in megasas_debugfs_raidmap_open() local
66 fusion = instance->ctrl_context; in megasas_debugfs_raidmap_open()
72 debug->buf = (void *)fusion->ld_drv_map[(instance->map_id & 1)]; in megasas_debugfs_raidmap_open()
122 megasas_setup_debugfs(struct megasas_instance *instance) in megasas_setup_debugfs() argument
127 fusion = instance->ctrl_context; in megasas_setup_debugfs()
131 "scsi_host%d", instance->host->host_no); in megasas_setup_debugfs()
132 if (!instance->debugfs_root) { in megasas_setup_debugfs()
133 instance->debugfs_root = in megasas_setup_debugfs()
135 if (!instance->debugfs_root) { in megasas_setup_debugfs()
136 dev_err(&instance->pdev->dev, in megasas_setup_debugfs()
[all …]
/drivers/staging/vc04_services/bcm2835-audio/
Dbcm2835-vchiq.c25 static void bcm2835_audio_lock(struct bcm2835_audio_instance *instance) in bcm2835_audio_lock() argument
27 mutex_lock(&instance->vchi_mutex); in bcm2835_audio_lock()
28 vchiq_use_service(instance->service_handle); in bcm2835_audio_lock()
31 static void bcm2835_audio_unlock(struct bcm2835_audio_instance *instance) in bcm2835_audio_unlock() argument
33 vchiq_release_service(instance->service_handle); in bcm2835_audio_unlock()
34 mutex_unlock(&instance->vchi_mutex); in bcm2835_audio_unlock()
37 static int bcm2835_audio_send_msg_locked(struct bcm2835_audio_instance *instance, in bcm2835_audio_send_msg_locked() argument
43 instance->result = -1; in bcm2835_audio_send_msg_locked()
44 init_completion(&instance->msg_avail_comp); in bcm2835_audio_send_msg_locked()
47 status = vchiq_queue_kernel_message(instance->service_handle, in bcm2835_audio_send_msg_locked()
[all …]
/drivers/usb/atm/
Dusbatm.c73 static int usbatm_print_packet(struct usbatm_data *instance, const unsigned char *data, int len);
280 static inline struct usbatm_vcc_data *usbatm_find_vcc(struct usbatm_data *instance, in usbatm_find_vcc() argument
285 list_for_each_entry(vcc_data, &instance->vcc_list, list) in usbatm_find_vcc()
291 static void usbatm_extract_one_cell(struct usbatm_data *instance, unsigned char *source) in usbatm_extract_one_cell() argument
299 if ((vci != instance->cached_vci) || (vpi != instance->cached_vpi)) { in usbatm_extract_one_cell()
300 instance->cached_vpi = vpi; in usbatm_extract_one_cell()
301 instance->cached_vci = vci; in usbatm_extract_one_cell()
303 instance->cached_vcc = usbatm_find_vcc(instance, vpi, vci); in usbatm_extract_one_cell()
305 if (!instance->cached_vcc) in usbatm_extract_one_cell()
306 atm_rldbg(instance, "%s: unknown vpi/vci (%hd/%d)!\n", __func__, vpi, vci); in usbatm_extract_one_cell()
[all …]
Dcxacru.c193 static int cxacru_cm(struct cxacru_data *instance, enum cxacru_cm_request cm,
211 struct cxacru_data *instance = to_usbatm_driver_data(\
214 if (instance == NULL) \
217 return cxacru_sysfs_showattr_##_type(instance->card_info[_value], buf); \
306 struct cxacru_data *instance = to_usbatm_driver_data( in mac_address_show() local
309 if (instance == NULL || instance->usbatm->atm_dev == NULL) in mac_address_show()
312 return sprintf(buf, "%pM\n", instance->usbatm->atm_dev->esi); in mac_address_show()
319 struct cxacru_data *instance = to_usbatm_driver_data( in adsl_state_show() local
323 if (instance == NULL) in adsl_state_show()
326 value = instance->card_info[CXINF_LINE_STARTABLE]; in adsl_state_show()
[all …]
Dspeedtch.c144 static void speedtch_set_swbuff(struct speedtch_instance_data *instance, int state) in speedtch_set_swbuff() argument
146 struct usbatm_data *usbatm = instance->usbatm; in speedtch_set_swbuff()
160 static void speedtch_test_sequence(struct speedtch_instance_data *instance) in speedtch_test_sequence() argument
162 struct usbatm_data *usbatm = instance->usbatm; in speedtch_test_sequence()
164 unsigned char *buf = instance->scratch_buffer; in speedtch_test_sequence()
204 buf[0] = instance->params.ModemMode; in speedtch_test_sequence()
216 instance->params.ModemOption, in speedtch_test_sequence()
222 buf[0] = instance->params.BMaxDSL & 0xff; in speedtch_test_sequence()
223 buf[1] = instance->params.BMaxDSL >> 8; in speedtch_test_sequence()
230 static int speedtch_upload_firmware(struct speedtch_instance_data *instance, in speedtch_upload_firmware() argument
[all …]
Dusbatm.h29 #define usb_err(instance, format, arg...) \ argument
30 dev_err(&(instance)->usb_intf->dev , format , ## arg)
31 #define usb_info(instance, format, arg...) \ argument
32 dev_info(&(instance)->usb_intf->dev , format , ## arg)
33 #define usb_warn(instance, format, arg...) \ argument
34 dev_warn(&(instance)->usb_intf->dev , format , ## arg)
35 #define usb_dbg(instance, format, arg...) \ argument
36 dev_dbg(&(instance)->usb_intf->dev , format , ## arg)
39 #define atm_printk(level, instance, format, arg...) \ argument
41 (instance)->atm_dev->number , ## arg)
[all …]
/drivers/thermal/
Dgov_step_wise.c37 static unsigned long get_target_state(struct thermal_instance *instance, in get_target_state() argument
40 struct thermal_cooling_device *cdev = instance->cdev; in get_target_state()
50 next_target = instance->target; in get_target_state()
53 if (!instance->initialized) { in get_target_state()
55 next_target = (cur_state + 1) >= instance->upper ? in get_target_state()
56 instance->upper : in get_target_state()
57 ((cur_state + 1) < instance->lower ? in get_target_state()
58 instance->lower : (cur_state + 1)); in get_target_state()
69 next_target = cur_state < instance->upper ? in get_target_state()
70 (cur_state + 1) : instance->upper; in get_target_state()
[all …]
Dgov_bang_bang.c19 struct thermal_instance *instance; in thermal_zone_trip_update() local
36 list_for_each_entry(instance, &tz->thermal_instances, tz_node) { in thermal_zone_trip_update()
37 if (instance->trip != trip) in thermal_zone_trip_update()
41 if (instance->target == THERMAL_NO_TARGET) in thermal_zone_trip_update()
42 instance->target = 0; in thermal_zone_trip_update()
45 if (instance->target != 0 && instance->target != 1) { in thermal_zone_trip_update()
47 instance->name, instance->target); in thermal_zone_trip_update()
48 instance->target = 1; in thermal_zone_trip_update()
55 if (instance->target == 0 && tz->temperature >= trip_temp) in thermal_zone_trip_update()
56 instance->target = 1; in thermal_zone_trip_update()
[all …]
/drivers/scsi/
DNCR5380.c297 static void NCR5380_print(struct Scsi_Host *instance) in NCR5380_print() argument
299 struct NCR5380_hostdata *hostdata = shost_priv(instance); in NCR5380_print()
346 static void NCR5380_print_phase(struct Scsi_Host *instance) in NCR5380_print_phase() argument
348 struct NCR5380_hostdata *hostdata = shost_priv(instance); in NCR5380_print_phase()
354 shost_printk(KERN_DEBUG, instance, "REQ not asserted, phase unknown.\n"); in NCR5380_print_phase()
359 shost_printk(KERN_DEBUG, instance, "phase %s\n", phases[i].name); in NCR5380_print_phase()
371 static const char *NCR5380_info(struct Scsi_Host *instance) in NCR5380_info() argument
373 struct NCR5380_hostdata *hostdata = shost_priv(instance); in NCR5380_info()
392 static int NCR5380_init(struct Scsi_Host *instance, int flags) in NCR5380_init() argument
394 struct NCR5380_hostdata *hostdata = shost_priv(instance); in NCR5380_init()
[all …]
Da2091.c27 struct Scsi_Host *instance = data; in a2091_intr() local
28 struct a2091_hostdata *hdata = shost_priv(instance); in a2091_intr()
35 spin_lock_irqsave(instance->host_lock, flags); in a2091_intr()
36 wd33c93_intr(instance); in a2091_intr()
37 spin_unlock_irqrestore(instance->host_lock, flags); in a2091_intr()
43 struct Scsi_Host *instance = cmd->device->host; in dma_setup() local
44 struct a2091_hostdata *hdata = shost_priv(instance); in dma_setup()
107 static void dma_stop(struct Scsi_Host *instance, struct scsi_cmnd *SCpnt, in dma_stop() argument
110 struct a2091_hostdata *hdata = shost_priv(instance); in dma_stop()
168 struct Scsi_Host *instance; in a2091_probe() local
[all …]
Da3000.c28 struct Scsi_Host *instance = data; in a3000_intr() local
29 struct a3000_hostdata *hdata = shost_priv(instance); in a3000_intr()
36 spin_lock_irqsave(instance->host_lock, flags); in a3000_intr()
37 wd33c93_intr(instance); in a3000_intr()
38 spin_unlock_irqrestore(instance->host_lock, flags); in a3000_intr()
47 struct Scsi_Host *instance = cmd->device->host; in dma_setup() local
48 struct a3000_hostdata *hdata = shost_priv(instance); in dma_setup()
109 static void dma_stop(struct Scsi_Host *instance, struct scsi_cmnd *SCpnt, in dma_stop() argument
112 struct a3000_hostdata *hdata = shost_priv(instance); in dma_stop()
183 struct Scsi_Host *instance; in amiga_a3000_scsi_probe() local
[all …]
/drivers/phy/mediatek/
Dphy-mtk-tphy.c386 struct mtk_phy_instance *instance) in hs_slew_rate_calibrate() argument
388 struct u2phy_banks *u2_banks = &instance->u2_banks; in hs_slew_rate_calibrate()
400 if (instance->eye_src) in hs_slew_rate_calibrate()
419 tmp |= P2F_RG_MONCLK_SEL_VAL(instance->index >> 1); in hs_slew_rate_calibrate()
454 instance->index, fm_out, calibration_val, in hs_slew_rate_calibrate()
470 struct mtk_phy_instance *instance) in u3_phy_instance_init() argument
472 struct u3phy_banks *u3_banks = &instance->u3_banks; in u3_phy_instance_init()
516 dev_dbg(tphy->dev, "%s(%d)\n", __func__, instance->index); in u3_phy_instance_init()
520 struct mtk_phy_instance *instance) in u2_phy_pll_26m_set() argument
522 struct u2phy_banks *u2_banks = &instance->u2_banks; in u2_phy_pll_26m_set()
[all …]
/drivers/staging/vc04_services/vchiq-mmal/
Dmmal-vchiq.c120 struct vchiq_mmal_instance *instance; member
134 struct vchiq_mmal_instance *instance; member
188 get_msg_context(struct vchiq_mmal_instance *instance) in get_msg_context() argument
203 mutex_lock(&instance->context_map_lock); in get_msg_context()
204 handle = idr_alloc(&instance->context_map, msg_context, in get_msg_context()
206 mutex_unlock(&instance->context_map_lock); in get_msg_context()
213 msg_context->instance = instance; in get_msg_context()
220 lookup_msg_context(struct vchiq_mmal_instance *instance, int handle) in lookup_msg_context() argument
222 return idr_find(&instance->context_map, handle); in lookup_msg_context()
228 struct vchiq_mmal_instance *instance = msg_context->instance; in release_msg_context() local
[all …]
/drivers/mailbox/
Dmailbox-sti.c82 unsigned int instance; member
90 unsigned int instance = chan_info->instance; in sti_mbox_channel_is_enabled() local
93 return mdev->enabled[instance] & BIT(channel); in sti_mbox_channel_is_enabled()
98 unsigned int instance, in sti_mbox_to_channel() argument
107 chan_info->instance == instance && in sti_mbox_to_channel()
114 instance, channel); in sti_mbox_to_channel()
123 unsigned int instance = chan_info->instance; in sti_mbox_enable_channel() local
126 void __iomem *base = MBOX_BASE(mdev, instance); in sti_mbox_enable_channel()
129 mdev->enabled[instance] |= BIT(channel); in sti_mbox_enable_channel()
138 unsigned int instance = chan_info->instance; in sti_mbox_disable_channel() local
[all …]
/drivers/gpu/drm/amd/amdgpu/
Darct_reg_init.c34 adev->reg_offset[GC_HWIP][i] = (uint32_t *)(&(GC_BASE.instance[i])); in arct_reg_base_init()
35 adev->reg_offset[HDP_HWIP][i] = (uint32_t *)(&(HDP_BASE.instance[i])); in arct_reg_base_init()
36 adev->reg_offset[MMHUB_HWIP][i] = (uint32_t *)(&(MMHUB_BASE.instance[i])); in arct_reg_base_init()
37 adev->reg_offset[ATHUB_HWIP][i] = (uint32_t *)(&(ATHUB_BASE.instance[i])); in arct_reg_base_init()
38 adev->reg_offset[NBIO_HWIP][i] = (uint32_t *)(&(NBIF0_BASE.instance[i])); in arct_reg_base_init()
39 adev->reg_offset[MP0_HWIP][i] = (uint32_t *)(&(MP0_BASE.instance[i])); in arct_reg_base_init()
40 adev->reg_offset[MP1_HWIP][i] = (uint32_t *)(&(MP1_BASE.instance[i])); in arct_reg_base_init()
41 adev->reg_offset[UVD_HWIP][i] = (uint32_t *)(&(UVD_BASE.instance[i])); in arct_reg_base_init()
42 adev->reg_offset[DF_HWIP][i] = (uint32_t *)(&(DF_BASE.instance[i])); in arct_reg_base_init()
43 adev->reg_offset[OSSSYS_HWIP][i] = (uint32_t *)(&(OSSSYS_BASE.instance[i])); in arct_reg_base_init()
[all …]
Daldebaran_reg_init.c34 adev->reg_offset[GC_HWIP][i] = (uint32_t *)(&(GC_BASE.instance[i])); in aldebaran_reg_base_init()
35 adev->reg_offset[HDP_HWIP][i] = (uint32_t *)(&(HDP_BASE.instance[i])); in aldebaran_reg_base_init()
36 adev->reg_offset[MMHUB_HWIP][i] = (uint32_t *)(&(MMHUB_BASE.instance[i])); in aldebaran_reg_base_init()
37 adev->reg_offset[ATHUB_HWIP][i] = (uint32_t *)(&(ATHUB_BASE.instance[i])); in aldebaran_reg_base_init()
38 adev->reg_offset[NBIO_HWIP][i] = (uint32_t *)(&(NBIO_BASE.instance[i])); in aldebaran_reg_base_init()
39 adev->reg_offset[MP0_HWIP][i] = (uint32_t *)(&(MP0_BASE.instance[i])); in aldebaran_reg_base_init()
40 adev->reg_offset[MP1_HWIP][i] = (uint32_t *)(&(MP1_BASE.instance[i])); in aldebaran_reg_base_init()
41 adev->reg_offset[DF_HWIP][i] = (uint32_t *)(&(DF_BASE.instance[i])); in aldebaran_reg_base_init()
42 adev->reg_offset[OSSSYS_HWIP][i] = (uint32_t *)(&(OSSSYS_BASE.instance[i])); in aldebaran_reg_base_init()
43 adev->reg_offset[SDMA0_HWIP][i] = (uint32_t *)(&(SDMA0_BASE.instance[i])); in aldebaran_reg_base_init()
[all …]
Dsienna_cichlid_reg_init.c35 adev->reg_offset[GC_HWIP][i] = (uint32_t *)(&(GC_BASE.instance[i])); in sienna_cichlid_reg_base_init()
36 adev->reg_offset[HDP_HWIP][i] = (uint32_t *)(&(HDP_BASE.instance[i])); in sienna_cichlid_reg_base_init()
37 adev->reg_offset[MMHUB_HWIP][i] = (uint32_t *)(&(MMHUB_BASE.instance[i])); in sienna_cichlid_reg_base_init()
38 adev->reg_offset[ATHUB_HWIP][i] = (uint32_t *)(&(ATHUB_BASE.instance[i])); in sienna_cichlid_reg_base_init()
39 adev->reg_offset[NBIO_HWIP][i] = (uint32_t *)(&(NBIO_BASE.instance[i])); in sienna_cichlid_reg_base_init()
40 adev->reg_offset[MP0_HWIP][i] = (uint32_t *)(&(MP0_BASE.instance[i])); in sienna_cichlid_reg_base_init()
41 adev->reg_offset[MP1_HWIP][i] = (uint32_t *)(&(MP1_BASE.instance[i])); in sienna_cichlid_reg_base_init()
42 adev->reg_offset[VCN_HWIP][i] = (uint32_t *)(&(VCN_BASE.instance[i])); in sienna_cichlid_reg_base_init()
43 adev->reg_offset[DF_HWIP][i] = (uint32_t *)(&(DF_BASE.instance[i])); in sienna_cichlid_reg_base_init()
44 adev->reg_offset[DCE_HWIP][i] = (uint32_t *)(&(DCN_BASE.instance[i])); in sienna_cichlid_reg_base_init()
[all …]
Dbeige_goby_reg_init.c35 adev->reg_offset[GC_HWIP][i] = (uint32_t *)(&(GC_BASE.instance[i])); in beige_goby_reg_base_init()
36 adev->reg_offset[HDP_HWIP][i] = (uint32_t *)(&(HDP_BASE.instance[i])); in beige_goby_reg_base_init()
37 adev->reg_offset[MMHUB_HWIP][i] = (uint32_t *)(&(MMHUB_BASE.instance[i])); in beige_goby_reg_base_init()
38 adev->reg_offset[ATHUB_HWIP][i] = (uint32_t *)(&(ATHUB_BASE.instance[i])); in beige_goby_reg_base_init()
39 adev->reg_offset[NBIO_HWIP][i] = (uint32_t *)(&(NBIO_BASE.instance[i])); in beige_goby_reg_base_init()
40 adev->reg_offset[MP0_HWIP][i] = (uint32_t *)(&(MP0_BASE.instance[i])); in beige_goby_reg_base_init()
41 adev->reg_offset[MP1_HWIP][i] = (uint32_t *)(&(MP1_BASE.instance[i])); in beige_goby_reg_base_init()
42 adev->reg_offset[VCN_HWIP][i] = (uint32_t *)(&(VCN0_BASE.instance[i])); in beige_goby_reg_base_init()
43 adev->reg_offset[DF_HWIP][i] = (uint32_t *)(&(DF_BASE.instance[i])); in beige_goby_reg_base_init()
44 adev->reg_offset[DCE_HWIP][i] = (uint32_t *)(&(DCN_BASE.instance[i])); in beige_goby_reg_base_init()
[all …]
Ddimgrey_cavefish_reg_init.c35 adev->reg_offset[GC_HWIP][i] = (uint32_t *)(&(GC_BASE.instance[i])); in dimgrey_cavefish_reg_base_init()
36 adev->reg_offset[HDP_HWIP][i] = (uint32_t *)(&(HDP_BASE.instance[i])); in dimgrey_cavefish_reg_base_init()
37 adev->reg_offset[MMHUB_HWIP][i] = (uint32_t *)(&(MMHUB_BASE.instance[i])); in dimgrey_cavefish_reg_base_init()
38 adev->reg_offset[ATHUB_HWIP][i] = (uint32_t *)(&(ATHUB_BASE.instance[i])); in dimgrey_cavefish_reg_base_init()
39 adev->reg_offset[NBIO_HWIP][i] = (uint32_t *)(&(NBIO_BASE.instance[i])); in dimgrey_cavefish_reg_base_init()
40 adev->reg_offset[MP0_HWIP][i] = (uint32_t *)(&(MP0_BASE.instance[i])); in dimgrey_cavefish_reg_base_init()
41 adev->reg_offset[MP1_HWIP][i] = (uint32_t *)(&(MP1_BASE.instance[i])); in dimgrey_cavefish_reg_base_init()
42 adev->reg_offset[VCN_HWIP][i] = (uint32_t *)(&(VCN0_BASE.instance[i])); in dimgrey_cavefish_reg_base_init()
43 adev->reg_offset[DF_HWIP][i] = (uint32_t *)(&(DF_BASE.instance[i])); in dimgrey_cavefish_reg_base_init()
44 adev->reg_offset[DCE_HWIP][i] = (uint32_t *)(&(DCN_BASE.instance[i])); in dimgrey_cavefish_reg_base_init()
[all …]
Dnavi12_reg_init.c34 adev->reg_offset[GC_HWIP][i] = (uint32_t *)(&(GC_BASE.instance[i])); in navi12_reg_base_init()
35 adev->reg_offset[HDP_HWIP][i] = (uint32_t *)(&(HDP_BASE.instance[i])); in navi12_reg_base_init()
36 adev->reg_offset[MMHUB_HWIP][i] = (uint32_t *)(&(MMHUB_BASE.instance[i])); in navi12_reg_base_init()
37 adev->reg_offset[ATHUB_HWIP][i] = (uint32_t *)(&(ATHUB_BASE.instance[i])); in navi12_reg_base_init()
38 adev->reg_offset[NBIO_HWIP][i] = (uint32_t *)(&(NBIF0_BASE.instance[i])); in navi12_reg_base_init()
39 adev->reg_offset[MP0_HWIP][i] = (uint32_t *)(&(MP0_BASE.instance[i])); in navi12_reg_base_init()
40 adev->reg_offset[MP1_HWIP][i] = (uint32_t *)(&(MP1_BASE.instance[i])); in navi12_reg_base_init()
41 adev->reg_offset[VCN_HWIP][i] = (uint32_t *)(&(UVD0_BASE.instance[i])); in navi12_reg_base_init()
42 adev->reg_offset[DF_HWIP][i] = (uint32_t *)(&(DF_BASE.instance[i])); in navi12_reg_base_init()
43 adev->reg_offset[DCE_HWIP][i] = (uint32_t *)(&(DMU_BASE.instance[i])); in navi12_reg_base_init()
[all …]
Dnavi14_reg_init.c34 adev->reg_offset[GC_HWIP][i] = (uint32_t *)(&(GC_BASE.instance[i])); in navi14_reg_base_init()
35 adev->reg_offset[HDP_HWIP][i] = (uint32_t *)(&(HDP_BASE.instance[i])); in navi14_reg_base_init()
36 adev->reg_offset[MMHUB_HWIP][i] = (uint32_t *)(&(MMHUB_BASE.instance[i])); in navi14_reg_base_init()
37 adev->reg_offset[ATHUB_HWIP][i] = (uint32_t *)(&(ATHUB_BASE.instance[i])); in navi14_reg_base_init()
38 adev->reg_offset[NBIO_HWIP][i] = (uint32_t *)(&(NBIF0_BASE.instance[i])); in navi14_reg_base_init()
39 adev->reg_offset[MP0_HWIP][i] = (uint32_t *)(&(MP0_BASE.instance[i])); in navi14_reg_base_init()
40 adev->reg_offset[MP1_HWIP][i] = (uint32_t *)(&(MP1_BASE.instance[i])); in navi14_reg_base_init()
41 adev->reg_offset[VCN_HWIP][i] = (uint32_t *)(&(UVD0_BASE.instance[i])); in navi14_reg_base_init()
42 adev->reg_offset[DF_HWIP][i] = (uint32_t *)(&(DF_BASE.instance[i])); in navi14_reg_base_init()
43 adev->reg_offset[DCE_HWIP][i] = (uint32_t *)(&(DMU_BASE.instance[i])); in navi14_reg_base_init()
[all …]
/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_dev.c145 static int vchiq_ioc_create_service(struct vchiq_instance *instance, in vchiq_ioc_create_service() argument
159 if (!instance->connected) { in vchiq_ioc_create_service()
165 srvstate = instance->connected ? in vchiq_ioc_create_service()
176 service = vchiq_add_service_internal(instance->state, &params, in vchiq_ioc_create_service()
177 srvstate, instance, in vchiq_ioc_create_service()
186 user_service->instance = instance; in vchiq_ioc_create_service()
190 user_service->message_available_pos = instance->completion_remove - 1; in vchiq_ioc_create_service()
198 status = vchiq_open_service_internal(service, instance->pid); in vchiq_ioc_create_service()
210 static int vchiq_ioc_dequeue_message(struct vchiq_instance *instance, in vchiq_ioc_dequeue_message() argument
220 service = find_service_for_instance(instance, args->handle); in vchiq_ioc_dequeue_message()
[all …]
Dvchiq_arm.c605 struct vchiq_instance *instance = NULL; in vchiq_initialise() local
630 instance = kzalloc(sizeof(*instance), GFP_KERNEL); in vchiq_initialise()
631 if (!instance) { in vchiq_initialise()
638 instance->connected = 0; in vchiq_initialise()
639 instance->state = state; in vchiq_initialise()
640 mutex_init(&instance->bulk_waiter_list_mutex); in vchiq_initialise()
641 INIT_LIST_HEAD(&instance->bulk_waiter_list); in vchiq_initialise()
643 *instance_out = instance; in vchiq_initialise()
649 "%s(%p): returning %d", __func__, instance, ret); in vchiq_initialise()
655 void free_bulk_waiter(struct vchiq_instance *instance) in free_bulk_waiter() argument
[all …]

12345678910>>...14