Home
last modified time | relevance | path

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

12345678910>>...40

/linux-5.19.10/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 …]
/linux-5.19.10/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 …]
/linux-5.19.10/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 …]
/linux-5.19.10/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 …]
/linux-5.19.10/drivers/phy/mediatek/
Dphy-mtk-tphy.c387 struct mtk_phy_instance *instance) in hs_slew_rate_calibrate() argument
389 struct u2phy_banks *u2_banks = &instance->u2_banks; in hs_slew_rate_calibrate()
401 if (instance->eye_src) in hs_slew_rate_calibrate()
416 tmp |= P2F_RG_MONCLK_SEL_VAL(instance->index >> 1); in hs_slew_rate_calibrate()
445 instance->index, fm_out, calibration_val, in hs_slew_rate_calibrate()
457 struct mtk_phy_instance *instance) in u3_phy_instance_init() argument
459 struct u3phy_banks *u3_banks = &instance->u3_banks; in u3_phy_instance_init()
488 dev_dbg(tphy->dev, "%s(%d)\n", __func__, instance->index); in u3_phy_instance_init()
492 struct mtk_phy_instance *instance) in u2_phy_pll_26m_set() argument
494 struct u2phy_banks *u2_banks = &instance->u2_banks; in u2_phy_pll_26m_set()
[all …]
/linux-5.19.10/drivers/scsi/
DNCR5380.c294 static void NCR5380_print(struct Scsi_Host *instance) in NCR5380_print() argument
296 struct NCR5380_hostdata *hostdata = shost_priv(instance); in NCR5380_print()
343 static void NCR5380_print_phase(struct Scsi_Host *instance) in NCR5380_print_phase() argument
345 struct NCR5380_hostdata *hostdata = shost_priv(instance); in NCR5380_print_phase()
351 shost_printk(KERN_DEBUG, instance, "REQ not asserted, phase unknown.\n"); in NCR5380_print_phase()
356 shost_printk(KERN_DEBUG, instance, "phase %s\n", phases[i].name); in NCR5380_print_phase()
368 static const char *NCR5380_info(struct Scsi_Host *instance) in NCR5380_info() argument
370 struct NCR5380_hostdata *hostdata = shost_priv(instance); in NCR5380_info()
389 static int NCR5380_init(struct Scsi_Host *instance, int flags) in NCR5380_init() argument
391 struct NCR5380_hostdata *hostdata = shost_priv(instance); in NCR5380_init()
[all …]
Da2091.c31 struct Scsi_Host *instance = data; in a2091_intr() local
32 struct a2091_hostdata *hdata = shost_priv(instance); in a2091_intr()
39 spin_lock_irqsave(instance->host_lock, flags); in a2091_intr()
40 wd33c93_intr(instance); in a2091_intr()
41 spin_unlock_irqrestore(instance->host_lock, flags); in a2091_intr()
48 struct Scsi_Host *instance = cmd->device->host; in dma_setup() local
49 struct a2091_hostdata *hdata = shost_priv(instance); in dma_setup()
112 static void dma_stop(struct Scsi_Host *instance, struct scsi_cmnd *SCpnt, in dma_stop() argument
116 struct a2091_hostdata *hdata = shost_priv(instance); in dma_stop()
175 struct Scsi_Host *instance; in a2091_probe() local
[all …]
Da3000.c32 struct Scsi_Host *instance = data; in a3000_intr() local
33 struct a3000_hostdata *hdata = shost_priv(instance); in a3000_intr()
40 spin_lock_irqsave(instance->host_lock, flags); in a3000_intr()
41 wd33c93_intr(instance); in a3000_intr()
42 spin_unlock_irqrestore(instance->host_lock, flags); in a3000_intr()
52 struct Scsi_Host *instance = cmd->device->host; in dma_setup() local
53 struct a3000_hostdata *hdata = shost_priv(instance); in dma_setup()
114 static void dma_stop(struct Scsi_Host *instance, struct scsi_cmnd *SCpnt, in dma_stop() argument
118 struct a3000_hostdata *hdata = shost_priv(instance); in dma_stop()
190 struct Scsi_Host *instance; in amiga_a3000_scsi_probe() local
[all …]
/linux-5.19.10/drivers/staging/vc04_services/vchiq-mmal/
Dmmal-vchiq.c120 struct vchiq_mmal_instance *instance; member
134 struct vchiq_mmal_instance *instance; member
185 get_msg_context(struct vchiq_mmal_instance *instance) in get_msg_context() argument
200 mutex_lock(&instance->context_map_lock); in get_msg_context()
201 handle = idr_alloc(&instance->context_map, msg_context, in get_msg_context()
203 mutex_unlock(&instance->context_map_lock); in get_msg_context()
210 msg_context->instance = instance; in get_msg_context()
217 lookup_msg_context(struct vchiq_mmal_instance *instance, int handle) in lookup_msg_context() argument
219 return idr_find(&instance->context_map, handle); in lookup_msg_context()
225 struct vchiq_mmal_instance *instance = msg_context->instance; in release_msg_context() local
[all …]
/linux-5.19.10/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 …]
/linux-5.19.10/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 …]
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 …]
Dvega10_reg_init.c34 adev->reg_offset[GC_HWIP][i] = (uint32_t *)(&(GC_BASE.instance[i])); in vega10_reg_base_init()
35 adev->reg_offset[HDP_HWIP][i] = (uint32_t *)(&(HDP_BASE.instance[i])); in vega10_reg_base_init()
36 adev->reg_offset[MMHUB_HWIP][i] = (uint32_t *)(&(MMHUB_BASE.instance[i])); in vega10_reg_base_init()
37 adev->reg_offset[ATHUB_HWIP][i] = (uint32_t *)(&(ATHUB_BASE.instance[i])); in vega10_reg_base_init()
38 adev->reg_offset[NBIO_HWIP][i] = (uint32_t *)(&(NBIO_BASE.instance[i])); in vega10_reg_base_init()
39 adev->reg_offset[MP0_HWIP][i] = (uint32_t *)(&(MP0_BASE.instance[i])); in vega10_reg_base_init()
40 adev->reg_offset[MP1_HWIP][i] = (uint32_t *)(&(MP1_BASE.instance[i])); in vega10_reg_base_init()
41 adev->reg_offset[UVD_HWIP][i] = (uint32_t *)(&(UVD_BASE.instance[i])); in vega10_reg_base_init()
42 adev->reg_offset[VCE_HWIP][i] = (uint32_t *)(&(VCE_BASE.instance[i])); in vega10_reg_base_init()
43 adev->reg_offset[VCN_HWIP][i] = (uint32_t *)(&(VCN_BASE.instance[i])); in vega10_reg_base_init()
[all …]
/linux-5.19.10/drivers/media/platform/mediatek/vcodec/vdec/
Dvdec_vp9_req_lat_if.c502 static int vdec_vp9_slice_init_default_frame_ctx(struct vdec_vp9_slice_instance *instance) in vdec_vp9_slice_init_default_frame_ctx() argument
510 ctx = instance->ctx; in vdec_vp9_slice_init_default_frame_ctx()
511 vsi = instance->vpu.vsi; in vdec_vp9_slice_init_default_frame_ctx()
518 mtk_vcodec_err(instance, "failed to map default frame ctx\n"); in vdec_vp9_slice_init_default_frame_ctx()
541 static int vdec_vp9_slice_alloc_working_buffer(struct vdec_vp9_slice_instance *instance, in vdec_vp9_slice_alloc_working_buffer() argument
544 struct mtk_vcodec_ctx *ctx = instance->ctx; in vdec_vp9_slice_alloc_working_buffer()
575 if (level == instance->level) in vdec_vp9_slice_alloc_working_buffer()
578 mtk_vcodec_debug(instance, "resolution level changed, from %u to %u, %ux%u", in vdec_vp9_slice_alloc_working_buffer()
579 instance->level, level, w, h); in vdec_vp9_slice_alloc_working_buffer()
592 if (instance->mv[i].va) in vdec_vp9_slice_alloc_working_buffer()
[all …]
/linux-5.19.10/include/trace/events/
Dqrtr.h13 TP_PROTO(__le32 service, __le32 instance, __le32 node, __le32 port),
15 TP_ARGS(service, instance, node, port),
19 __field(__le32, instance)
26 __entry->instance = instance;
32 __entry->service, __entry->instance, __entry->node,
39 TP_PROTO(__le32 service, __le32 instance, __le32 node, __le32 port),
41 TP_ARGS(service, instance, node, port),
45 __field(__le32, instance)
52 __entry->instance = instance;
58 __entry->service, __entry->instance, __entry->node,
[all …]
/linux-5.19.10/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_dev.c140 static int vchiq_ioc_create_service(struct vchiq_instance *instance, in vchiq_ioc_create_service() argument
149 if (args->is_open && !instance->connected) in vchiq_ioc_create_service()
159 srvstate = instance->connected ? in vchiq_ioc_create_service()
170 service = vchiq_add_service_internal(instance->state, &params, in vchiq_ioc_create_service()
171 srvstate, instance, in vchiq_ioc_create_service()
180 user_service->instance = instance; in vchiq_ioc_create_service()
184 user_service->message_available_pos = instance->completion_remove - 1; in vchiq_ioc_create_service()
192 status = vchiq_open_service_internal(service, instance->pid); in vchiq_ioc_create_service()
204 static int vchiq_ioc_dequeue_message(struct vchiq_instance *instance, in vchiq_ioc_dequeue_message() argument
214 service = find_service_for_instance(instance, args->handle); in vchiq_ioc_dequeue_message()
[all …]
Dvchiq_arm.c663 struct vchiq_instance *instance = NULL; in vchiq_initialise() local
686 instance = kzalloc(sizeof(*instance), GFP_KERNEL); in vchiq_initialise()
687 if (!instance) { in vchiq_initialise()
694 instance->connected = 0; in vchiq_initialise()
695 instance->state = state; in vchiq_initialise()
696 mutex_init(&instance->bulk_waiter_list_mutex); in vchiq_initialise()
697 INIT_LIST_HEAD(&instance->bulk_waiter_list); in vchiq_initialise()
699 *instance_out = instance; in vchiq_initialise()
704 vchiq_log_trace(vchiq_core_log_level, "%s(%p): returning %d", __func__, instance, ret); in vchiq_initialise()
710 void free_bulk_waiter(struct vchiq_instance *instance) in free_bulk_waiter() argument
[all …]
/linux-5.19.10/arch/x86/pci/
Dsta2x11-fixup.c48 struct sta2x11_instance *instance; in sta2x11_new_instance() local
50 instance = kzalloc(sizeof(*instance), GFP_ATOMIC); in sta2x11_new_instance()
51 if (!instance) in sta2x11_new_instance()
54 instance->bus0 = pdev->subordinate->number + 1; in sta2x11_new_instance()
63 list_add(&instance->list, &sta2x11_instance_list); in sta2x11_new_instance()
72 struct sta2x11_instance *instance; in sta2x11_pdev_to_instance() local
75 list_for_each_entry(instance, &sta2x11_instance_list, list) { in sta2x11_pdev_to_instance()
76 ep = pdev->bus->number - instance->bus0; in sta2x11_pdev_to_instance()
78 return instance; in sta2x11_pdev_to_instance()
85 struct sta2x11_instance *instance; in sta2x11_pdev_to_ep() local
[all …]

12345678910>>...40