Home
last modified time | relevance | path

Searched full:instance (Results 1 – 25 of 3151) sorted by relevance

12345678910>>...127

/linux-6.12.1/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);
78 * @instance: adapter's soft state
[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()
119 * instance: Soft instance of adapter
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()
[all …]
/linux-6.12.1/drivers/staging/vc04_services/bcm2835-audio/
Dbcm2835-vchiq.c27 static void bcm2835_audio_lock(struct bcm2835_audio_instance *instance) in bcm2835_audio_lock() argument
29 mutex_lock(&instance->vchi_mutex); in bcm2835_audio_lock()
30 vchiq_use_service(instance->alsa_stream->chip->vchi_ctx->instance, in bcm2835_audio_lock()
31 instance->service_handle); in bcm2835_audio_lock()
34 static void bcm2835_audio_unlock(struct bcm2835_audio_instance *instance) in bcm2835_audio_unlock() argument
36 vchiq_release_service(instance->alsa_stream->chip->vchi_ctx->instance, in bcm2835_audio_unlock()
37 instance->service_handle); in bcm2835_audio_unlock()
38 mutex_unlock(&instance->vchi_mutex); in bcm2835_audio_unlock()
41 static int bcm2835_audio_send_msg_locked(struct bcm2835_audio_instance *instance, in bcm2835_audio_send_msg_locked() argument
47 instance->result = -1; in bcm2835_audio_send_msg_locked()
[all …]
/linux-6.12.1/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 …]
/linux-6.12.1/Documentation/trace/
Dboottime-trace.rst56 Ftrace Per-instance Options
59 These options can be used for each instance including global ftrace node.
61 ftrace.[instance.INSTANCE.]options = OPT1[, OPT2[...]]
64 ftrace.[instance.INSTANCE.]tracing_on = 0|1
65 Enable/Disable tracing on this instance when starting boot-time tracing.
68 ftrace.[instance.INSTANCE.]trace_clock = CLOCK
71 ftrace.[instance.INSTANCE.]buffer_size = SIZE
75 ftrace.[instance.INSTANCE.]alloc_snapshot
78 ftrace.[instance.INSTANCE.]cpumask = CPUMASK
81 ftrace.[instance.INSTANCE.]events = EVENT[, EVENT2[...]]
[all …]
/linux-6.12.1/drivers/phy/mediatek/
Dphy-mtk-tphy.c700 struct mtk_phy_instance *instance) in hs_slew_rate_calibrate() argument
702 struct u2phy_banks *u2_banks = &instance->u2_banks; in hs_slew_rate_calibrate()
714 if (instance->eye_src) in hs_slew_rate_calibrate()
729 tmp |= FIELD_PREP(P2F_RG_MONCLK_SEL, instance->index >> 1); in hs_slew_rate_calibrate()
758 instance->index, fm_out, calibration_val, in hs_slew_rate_calibrate()
770 struct mtk_phy_instance *instance) in u3_phy_instance_init() argument
772 struct u3phy_banks *u3_banks = &instance->u3_banks; in u3_phy_instance_init()
776 if (instance->type_force_mode) { in u3_phy_instance_init()
815 dev_dbg(tphy->dev, "%s(%d)\n", __func__, instance->index); in u3_phy_instance_init()
819 struct mtk_phy_instance *instance) in u2_phy_pll_26m_set() argument
[all …]
/linux-6.12.1/drivers/staging/vc04_services/vchiq-mmal/
Dmmal-vchiq.c121 struct vchiq_mmal_instance *instance; member
134 /* mmal instance */
135 struct vchiq_mmal_instance *instance; member
181 /* handle for a vchiq instance */
186 get_msg_context(struct vchiq_mmal_instance *instance) in get_msg_context() argument
201 mutex_lock(&instance->context_map_lock); in get_msg_context()
202 handle = idr_alloc(&instance->context_map, msg_context, in get_msg_context()
204 mutex_unlock(&instance->context_map_lock); in get_msg_context()
211 msg_context->instance = instance; in get_msg_context()
218 lookup_msg_context(struct vchiq_mmal_instance *instance, int handle) in lookup_msg_context() argument
[all …]
/linux-6.12.1/drivers/mailbox/
Dmailbox-sti.c49 * Each instance is currently composed of 32 channels
66 * @num_chan: Maximum number of channel per instance
77 * @instance: Instance number channel resides in
82 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()
113 "Channel not registered: instance: %d channel: %d\n", in sti_mbox_to_channel()
114 instance, channel); in sti_mbox_to_channel()
[all …]
/linux-6.12.1/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_dev.c110 vchiq_ioc_queue_message(struct vchiq_instance *instance, unsigned int handle, in vchiq_ioc_queue_message() argument
129 status = vchiq_queue_message(instance, handle, vchiq_ioc_copy_element_data, in vchiq_ioc_queue_message()
139 static int vchiq_ioc_create_service(struct vchiq_instance *instance, in vchiq_ioc_create_service() argument
148 if (args->is_open && !instance->connected) in vchiq_ioc_create_service()
158 srvstate = instance->connected ? in vchiq_ioc_create_service()
169 service = vchiq_add_service_internal(instance->state, &params, in vchiq_ioc_create_service()
170 srvstate, instance, in vchiq_ioc_create_service()
179 user_service->instance = instance; in vchiq_ioc_create_service()
183 user_service->message_available_pos = instance->completion_remove - 1; in vchiq_ioc_create_service()
191 status = vchiq_open_service_internal(service, instance->pid); in vchiq_ioc_create_service()
[all …]
Dvchiq_arm.c125 vchiq_blocking_bulk_transfer(struct vchiq_instance *instance, unsigned int handle, void *data,
150 cleanup_pagelistinfo(struct vchiq_instance *instance, struct vchiq_pagelist_info *pagelistinfo) in cleanup_pagelistinfo() argument
153 dma_unmap_sg(instance->state->dev, pagelistinfo->scatterlist, in cleanup_pagelistinfo()
160 dma_free_coherent(instance->state->dev, pagelistinfo->pagelist_buffer_size, in cleanup_pagelistinfo()
237 create_pagelist(struct vchiq_instance *instance, char *buf, char __user *ubuf, in create_pagelist() argument
255 drv_mgmt = dev_get_drvdata(instance->state->dev); in create_pagelist()
278 pagelist = dma_alloc_coherent(instance->state->dev, pagelist_size, &dma_addr, in create_pagelist()
281 dev_dbg(instance->state->dev, "arm: %pK\n", pagelist); in create_pagelist()
320 cleanup_pagelistinfo(instance, pagelistinfo); in create_pagelist()
336 dev_dbg(instance->state->dev, "arm: Only %d/%d pages locked\n", in create_pagelist()
[all …]
/linux-6.12.1/drivers/media/platform/mediatek/vcodec/decoder/vdec/
Dvdec_vp9_req_lat_if.c280 * struct vdec_vp9_slice_init_vsi - VSI used to initialize instance
417 * struct vdec_vp9_slice_instance - represent one vp9 instance
420 * @vpu: VPU instance
437 * @init_vsi: vsi used for initialized VP9 instance
503 static int vdec_vp9_slice_init_default_frame_ctx(struct vdec_vp9_slice_instance *instance) in vdec_vp9_slice_init_default_frame_ctx() argument
511 ctx = instance->ctx; in vdec_vp9_slice_init_default_frame_ctx()
512 vsi = instance->vpu.vsi; 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_dec_ctx *ctx = instance->ctx; in vdec_vp9_slice_alloc_working_buffer()
575 if (level == instance->level) in vdec_vp9_slice_alloc_working_buffer()
[all …]
Dvdec_av1_req_lat_if.c89 * struct vdec_av1_slice_init_vsi - VSI used to initialize instance
605 * struct vdec_av1_slice_slot - slot info that needs to be saved in the global instance
684 * struct vdec_av1_slice_instance - represent one av1 instance
686 * @vpu: VPU instance
702 * @init_vsi: vsi used for initialized AV1 instance
768 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()
[all …]
/linux-6.12.1/drivers/thermal/
Dgov_step_wise.c28 * equals lower limit, deactivate the thermal instance
30 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()
37 * We keep this instance the way it is by default. in get_target_state()
44 if (!instance->initialized) { in get_target_state()
46 return clamp(cur_state + 1, instance->lower, instance->upper); in get_target_state()
53 return clamp(cur_state + 1, instance->lower, instance->upper); in get_target_state()
55 if (cur_state <= instance->lower) in get_target_state()
60 * request the lower state for this instance. in get_target_state()
62 return instance->lower; in get_target_state()
[all …]
Dgov_bang_bang.c16 static void bang_bang_set_instance_target(struct thermal_instance *instance, in bang_bang_set_instance_target() argument
19 if (instance->target != 0 && instance->target != 1 && in bang_bang_set_instance_target()
20 instance->target != THERMAL_NO_TARGET) in bang_bang_set_instance_target()
21 pr_debug("Unexpected state %ld of thermal instance %s in bang-bang\n", in bang_bang_set_instance_target()
22 instance->target, instance->name); in bang_bang_set_instance_target()
28 instance->target = target; in bang_bang_set_instance_target()
29 instance->initialized = true; in bang_bang_set_instance_target()
31 dev_dbg(&instance->cdev->device, "target=%ld\n", instance->target); in bang_bang_set_instance_target()
33 mutex_lock(&instance->cdev->lock); in bang_bang_set_instance_target()
34 __thermal_cdev_update(instance->cdev); in bang_bang_set_instance_target()
[all …]
/linux-6.12.1/drivers/scsi/
DNCR5380.c76 * the command structure is placed into the per instance disconnected
115 * The generic driver is initialized by calling NCR5380_init(instance),
287 * @instance: adapter state to dump
292 static void NCR5380_print(struct Scsi_Host *instance) in NCR5380_print() argument
294 struct NCR5380_hostdata *hostdata = shost_priv(instance); in NCR5380_print()
336 * @instance: adapter to dump
341 static void NCR5380_print_phase(struct Scsi_Host *instance) in NCR5380_print_phase() argument
343 struct NCR5380_hostdata *hostdata = shost_priv(instance); in NCR5380_print_phase()
349 shost_printk(KERN_DEBUG, instance, "REQ not asserted, phase unknown.\n"); in NCR5380_print_phase()
354 shost_printk(KERN_DEBUG, instance, "phase %s\n", phases[i].name); in NCR5380_print_phase()
[all …]
/linux-6.12.1/drivers/edac/
Dedac_device_sysfs.c224 * perform the high level setup for the new edac_device instance
240 /* Point to the 'edac_subsys' this instance 'reports' to */ in edac_device_register_sysfs_main_kobj()
304 /* edac_dev -> instance information */
307 * Set of low-level instance attribute show functions
309 static ssize_t instance_ue_count_show(struct edac_device_instance *instance, in instance_ue_count_show() argument
312 return sprintf(data, "%u\n", instance->counters.ue_count); in instance_ue_count_show()
315 static ssize_t instance_ce_count_show(struct edac_device_instance *instance, in instance_ce_count_show() argument
318 return sprintf(data, "%u\n", instance->counters.ce_count); in instance_ce_count_show()
324 /* DEVICE instance kobject release() function */
327 struct edac_device_instance *instance; in edac_device_ctrl_instance_release() local
[all …]
Dedac_device.c37 /* Default workqueue processing interval on this instance, in msecs */
64 unsigned instance, block; in edac_device_alloc_ctl_info() local
104 /* Initialize every Instance */ in edac_device_alloc_ctl_info()
105 for (instance = 0; instance < nr_instances; instance++) { in edac_device_alloc_ctl_info()
106 inst = &dev_inst[instance]; in edac_device_alloc_ctl_info()
109 blk_p = &dev_blk[instance * nr_blocks]; in edac_device_alloc_ctl_info()
112 /* name of this instance */ in edac_device_alloc_ctl_info()
113 snprintf(inst->name, sizeof(inst->name), "%s%u", dev_name, instance); in edac_device_alloc_ctl_info()
115 /* Initialize every block in each instance */ in edac_device_alloc_ctl_info()
118 blk->instance = inst; in edac_device_alloc_ctl_info()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/clock/
Dqcom,mmcc.yaml85 - description: DSI phy instance 1 dsi clock
86 - description: DSI phy instance 1 byte clock
87 - description: DSI phy instance 2 dsi clock
88 - description: DSI phy instance 2 byte clock
117 - description: DSI phy instance 0 dsi clock
118 - description: DSI phy instance 0 byte clock
145 - description: DSI phy instance 0 dsi clock
146 - description: DSI phy instance 0 byte clock
147 - description: DSI phy instance 1 dsi clock
148 - description: DSI phy instance 1 byte clock
[all …]
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_gt_mcr.h21 int group, int instance);
25 u32 value, int group, int instance);
30 void xe_gt_mcr_get_dss_steering(struct xe_gt *gt, unsigned int dss, u16 *group, u16 *instance);
33 * Loop over each DSS and determine the group and instance IDs that
38 * @instance: steering instance ID, data type: u16
40 #define for_each_dss_steering(dss, gt, group, instance) \ argument
42 for_each_if((xe_gt_mcr_get_dss_steering((gt), (dss), &(group), &(instance)), true))
46 * instance IDs that should be used to steer MCR accesses toward this DSS.
50 * @instance: steering instance ID, data type: u16
52 #define for_each_geometry_dss(dss, gt, group, instance) \ argument
[all …]
/linux-6.12.1/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 …]
/linux-6.12.1/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.12.1/drivers/gpu/drm/i915/gt/
Dintel_gt_mcr.c26 * one specific instance). Reads of MCR registers always operate in a unicast
28 * Selection of a specific MCR instance for unicast operations is referred to
47 "INSTANCE 0",
199 * @instance: instance number (documented as "subsliceid" on older platforms)
209 int group, int instance, u32 value) in rw_with_mcr_steering_fw() argument
220 * to unicast mode when doing writes of a specific instance. in rw_with_mcr_steering_fw()
226 REG_FIELD_PREP(MTL_MCR_INSTANCEID, instance) | in rw_with_mcr_steering_fw()
230 mcr_ss = GEN11_MCR_SLICE(group) | GEN11_MCR_SUBSLICE(instance); in rw_with_mcr_steering_fw()
237 * from a single register instance regardless of how that bit in rw_with_mcr_steering_fw()
255 mcr_ss = GEN8_MCR_SLICE(group) | GEN8_MCR_SUBSLICE(instance); in rw_with_mcr_steering_fw()
[all …]

12345678910>>...127