Home
last modified time | relevance | path

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

12345678910>>...44

/linux-6.6.21/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-6.6.21/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->alsa_stream->chip->vchi_ctx->instance, in bcm2835_audio_lock()
29 instance->service_handle); in bcm2835_audio_lock()
32 static void bcm2835_audio_unlock(struct bcm2835_audio_instance *instance) in bcm2835_audio_unlock() argument
34 vchiq_release_service(instance->alsa_stream->chip->vchi_ctx->instance, in bcm2835_audio_unlock()
35 instance->service_handle); in bcm2835_audio_unlock()
36 mutex_unlock(&instance->vchi_mutex); in bcm2835_audio_unlock()
39 static int bcm2835_audio_send_msg_locked(struct bcm2835_audio_instance *instance, in bcm2835_audio_send_msg_locked() argument
45 instance->result = -1; in bcm2835_audio_send_msg_locked()
[all …]
/linux-6.6.21/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-6.6.21/drivers/thermal/
Dgov_step_wise.c30 static unsigned long get_target_state(struct thermal_instance *instance, in get_target_state() argument
33 struct thermal_cooling_device *cdev = instance->cdev; in get_target_state()
43 next_target = instance->target; in get_target_state()
46 if (!instance->initialized) { in get_target_state()
48 next_target = clamp((cur_state + 1), instance->lower, instance->upper); in get_target_state()
58 next_target = clamp((cur_state + 1), instance->lower, instance->upper); in get_target_state()
61 if (cur_state <= instance->lower) in get_target_state()
64 next_target = clamp((cur_state - 1), instance->lower, instance->upper); in get_target_state()
86 struct thermal_instance *instance; in thermal_zone_trip_update() local
100 list_for_each_entry(instance, &tz->thermal_instances, tz_node) { in thermal_zone_trip_update()
[all …]
Dgov_bang_bang.c19 struct thermal_instance *instance; in thermal_zone_trip_update() local
29 list_for_each_entry(instance, &tz->thermal_instances, tz_node) { in thermal_zone_trip_update()
30 if (instance->trip != trip) in thermal_zone_trip_update()
34 if (instance->target == THERMAL_NO_TARGET) in thermal_zone_trip_update()
35 instance->target = 0; in thermal_zone_trip_update()
38 if (instance->target != 0 && instance->target != 1) { in thermal_zone_trip_update()
40 instance->name, instance->target); in thermal_zone_trip_update()
41 instance->target = 1; in thermal_zone_trip_update()
48 if (instance->target == 0 && tz->temperature >= trip->temperature) in thermal_zone_trip_update()
49 instance->target = 1; in thermal_zone_trip_update()
[all …]
/linux-6.6.21/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.c34 struct Scsi_Host *instance = data; in a2091_intr() local
35 struct a2091_hostdata *hdata = shost_priv(instance); in a2091_intr()
42 spin_lock_irqsave(instance->host_lock, flags); in a2091_intr()
43 wd33c93_intr(instance); in a2091_intr()
44 spin_unlock_irqrestore(instance->host_lock, flags); in a2091_intr()
52 struct Scsi_Host *instance = cmd->device->host; in dma_setup() local
53 struct a2091_hostdata *hdata = shost_priv(instance); in dma_setup()
135 static void dma_stop(struct Scsi_Host *instance, struct scsi_cmnd *SCpnt, in dma_stop() argument
139 struct a2091_hostdata *hdata = shost_priv(instance); in dma_stop()
202 struct Scsi_Host *instance; in a2091_probe() local
[all …]
/linux-6.6.21/drivers/phy/mediatek/
Dphy-mtk-tphy.c695 struct mtk_phy_instance *instance) in hs_slew_rate_calibrate() argument
697 struct u2phy_banks *u2_banks = &instance->u2_banks; in hs_slew_rate_calibrate()
709 if (instance->eye_src) in hs_slew_rate_calibrate()
724 tmp |= FIELD_PREP(P2F_RG_MONCLK_SEL, instance->index >> 1); in hs_slew_rate_calibrate()
753 instance->index, fm_out, calibration_val, in hs_slew_rate_calibrate()
765 struct mtk_phy_instance *instance) in u3_phy_instance_init() argument
767 struct u3phy_banks *u3_banks = &instance->u3_banks; in u3_phy_instance_init()
793 dev_dbg(tphy->dev, "%s(%d)\n", __func__, instance->index); in u3_phy_instance_init()
797 struct mtk_phy_instance *instance) in u2_phy_pll_26m_set() argument
799 struct u2phy_banks *u2_banks = &instance->u2_banks; in u2_phy_pll_26m_set()
[all …]
/linux-6.6.21/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-6.6.21/drivers/media/platform/mediatek/vcodec/decoder/vdec/
Dvdec_vp9_req_lat_if.c504 static int vdec_vp9_slice_init_default_frame_ctx(struct vdec_vp9_slice_instance *instance) in vdec_vp9_slice_init_default_frame_ctx() argument
512 ctx = instance->ctx; in vdec_vp9_slice_init_default_frame_ctx()
513 vsi = instance->vpu.vsi; in vdec_vp9_slice_init_default_frame_ctx()
542 static int vdec_vp9_slice_alloc_working_buffer(struct vdec_vp9_slice_instance *instance, in vdec_vp9_slice_alloc_working_buffer() argument
545 struct mtk_vcodec_dec_ctx *ctx = instance->ctx; in vdec_vp9_slice_alloc_working_buffer()
576 if (level == instance->level) in vdec_vp9_slice_alloc_working_buffer()
580 instance->level, level, w, h); in vdec_vp9_slice_alloc_working_buffer()
593 if (instance->mv[i].va) in vdec_vp9_slice_alloc_working_buffer()
594 mtk_vcodec_mem_free(ctx, &instance->mv[i]); in vdec_vp9_slice_alloc_working_buffer()
595 instance->mv[i].size = size; in vdec_vp9_slice_alloc_working_buffer()
[all …]
Dvdec_av1_req_lat_if.c768 static int vdec_av1_slice_init_cdf_table(struct vdec_av1_slice_instance *instance) in vdec_av1_slice_init_cdf_table() argument
775 ctx = instance->ctx; in vdec_av1_slice_init_cdf_table()
776 vsi = instance->vpu.vsi; in vdec_av1_slice_init_cdf_table()
786 if (instance->cdf_table.va) in vdec_av1_slice_init_cdf_table()
787 mtk_vcodec_mem_free(ctx, &instance->cdf_table); in vdec_av1_slice_init_cdf_table()
788 instance->cdf_table.size = vsi->cdf_table_size; in vdec_av1_slice_init_cdf_table()
790 ret = mtk_vcodec_mem_alloc(ctx, &instance->cdf_table); in vdec_av1_slice_init_cdf_table()
794 memcpy(instance->cdf_table.va, remote_cdf_table, vsi->cdf_table_size); in vdec_av1_slice_init_cdf_table()
799 static int vdec_av1_slice_init_iq_table(struct vdec_av1_slice_instance *instance) in vdec_av1_slice_init_iq_table() argument
806 ctx = instance->ctx; in vdec_av1_slice_init_iq_table()
[all …]
/linux-6.6.21/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-6.6.21/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 …]
/linux-6.6.21/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_dev.c111 vchiq_ioc_queue_message(struct vchiq_instance *instance, unsigned int handle, in vchiq_ioc_queue_message() argument
130 status = vchiq_queue_message(instance, handle, vchiq_ioc_copy_element_data, in vchiq_ioc_queue_message()
140 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()
[all …]
Dvchiq_arm.c155 vchiq_blocking_bulk_transfer(struct vchiq_instance *instance, unsigned int handle, void *data,
177 cleanup_pagelistinfo(struct vchiq_instance *instance, struct vchiq_pagelist_info *pagelistinfo) in cleanup_pagelistinfo() argument
180 dma_unmap_sg(instance->state->dev, pagelistinfo->scatterlist, in cleanup_pagelistinfo()
187 dma_free_coherent(instance->state->dev, pagelistinfo->pagelist_buffer_size, in cleanup_pagelistinfo()
214 create_pagelist(struct vchiq_instance *instance, char *buf, char __user *ubuf, in create_pagelist() argument
252 pagelist = dma_alloc_coherent(instance->state->dev, pagelist_size, &dma_addr, in create_pagelist()
294 cleanup_pagelistinfo(instance, pagelistinfo); in create_pagelist()
317 cleanup_pagelistinfo(instance, pagelistinfo); in create_pagelist()
340 dma_buffers = dma_map_sg(instance->state->dev, in create_pagelist()
346 cleanup_pagelistinfo(instance, pagelistinfo); in create_pagelist()
[all …]
/linux-6.6.21/include/trace/events/
Dqrtr.h13 TP_PROTO(unsigned int service, unsigned int instance,
16 TP_ARGS(service, instance, node, port),
20 __field(unsigned int, instance)
27 __entry->instance = instance;
33 __entry->service, __entry->instance, __entry->node,
40 TP_PROTO(unsigned int service, unsigned int instance,
43 TP_ARGS(service, instance, node, port),
47 __field(unsigned int, instance)
54 __entry->instance = instance;
60 __entry->service, __entry->instance, __entry->node,
[all …]
/linux-6.6.21/drivers/staging/vc04_services/include/linux/raspberrypi/
Dvchiq.h54 int (*callback)(struct vchiq_instance *instance,
71 int (*callback)(struct vchiq_instance *instance,
82 extern int vchiq_shutdown(struct vchiq_instance *instance);
83 extern int vchiq_connect(struct vchiq_instance *instance);
84 extern int vchiq_open_service(struct vchiq_instance *instance,
87 extern int vchiq_close_service(struct vchiq_instance *instance,
89 extern int vchiq_use_service(struct vchiq_instance *instance, unsigned int service);
90 extern int vchiq_release_service(struct vchiq_instance *instance,
92 extern void vchiq_msg_queue_push(struct vchiq_instance *instance, unsigned int handle,
94 extern void vchiq_release_message(struct vchiq_instance *instance, unsigned int service,
[all …]
/linux-6.6.21/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>>...44