| /kernel/linux/linux-5.10/drivers/scsi/megaraid/ |
| D | megaraid_sas_base.c | 126 int megasas_transition_to_ready(struct megasas_instance *instance, int ocr); 127 static int megasas_get_pd_list(struct megasas_instance *instance); 128 static int megasas_ld_list_query(struct megasas_instance *instance, 130 static int megasas_issue_init_mfi(struct megasas_instance *instance); 131 static int megasas_register_aen(struct megasas_instance *instance, 133 static void megasas_get_pd_info(struct megasas_instance *instance, 136 megasas_set_ld_removed_by_fw(struct megasas_instance *instance); 214 megasas_complete_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd, 217 megasas_read_fw_status_reg_gen2(struct megasas_instance *instance); 219 megasas_adp_reset_gen2(struct megasas_instance *instance, [all …]
|
| D | megaraid_sas_fusion.c | 52 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 …]
|
| D | megaraid_sas_debugfs.c | 62 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 …]
|
| /kernel/linux/linux-4.19/drivers/scsi/megaraid/ |
| D | megaraid_sas_base.c | 114 int megasas_transition_to_ready(struct megasas_instance *instance, int ocr); 115 static int megasas_get_pd_list(struct megasas_instance *instance); 116 static int megasas_ld_list_query(struct megasas_instance *instance, 118 static int megasas_issue_init_mfi(struct megasas_instance *instance); 119 static int megasas_register_aen(struct megasas_instance *instance, 121 static void megasas_get_pd_info(struct megasas_instance *instance, 189 megasas_complete_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd, 194 megasas_adp_reset_gen2(struct megasas_instance *instance, 198 megasas_init_adapter_mfi(struct megasas_instance *instance); 200 megasas_build_and_issue_cmd(struct megasas_instance *instance, [all …]
|
| D | megaraid_sas_fusion.c | 63 extern void megasas_free_cmds(struct megasas_instance *instance); 65 *instance); 67 megasas_complete_cmd(struct megasas_instance *instance, 70 wait_and_poll(struct megasas_instance *instance, struct megasas_cmd *cmd, 74 megasas_return_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd); 75 int megasas_alloc_cmds(struct megasas_instance *instance); 79 megasas_issue_polled(struct megasas_instance *instance, 82 megasas_check_and_restore_queue_depth(struct megasas_instance *instance); 84 int megasas_transition_to_ready(struct megasas_instance *instance, int ocr); 85 void megaraid_sas_kill_hba(struct megasas_instance *instance); [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/vc04_services/bcm2835-audio/ |
| D | bcm2835-vchiq.c | 25 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 …]
|
| /kernel/linux/linux-4.19/drivers/usb/atm/ |
| D | usbatm.c | 73 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 …]
|
| D | cxacru.c | 193 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() 313 instance->usbatm->atm_dev->esi); in mac_address_show() 320 struct cxacru_data *instance = to_usbatm_driver_data( in adsl_state_show() local 324 if (instance == NULL) in adsl_state_show() 327 value = instance->card_info[CXINF_LINE_STARTABLE]; in adsl_state_show() [all …]
|
| D | speedtch.c | 144 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 …]
|
| /kernel/linux/linux-5.10/drivers/usb/atm/ |
| D | usbatm.c | 73 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 …]
|
| D | cxacru.c | 193 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 …]
|
| D | speedtch.c | 144 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 …]
|
| /kernel/linux/linux-4.19/drivers/staging/vc04_services/bcm2835-audio/ |
| D | bcm2835-vchiq.c | 192 struct bcm2835_audio_instance *instance = param; in audio_vchi_callback() local 200 if (!instance) { in audio_vchi_callback() 201 LOG_ERR(" .. instance is null\n"); in audio_vchi_callback() 205 if (!instance->vchi_handle[0]) { in audio_vchi_callback() 206 LOG_ERR(" .. instance->vchi_handle[0] is null\n"); in audio_vchi_callback() 210 status = vchi_msg_dequeue(instance->vchi_handle[0], in audio_vchi_callback() 213 LOG_DBG(" .. instance=%p, m.type=VC_AUDIO_MSG_TYPE_RESULT, success=%d\n", in audio_vchi_callback() 214 instance, m.u.result.success); in audio_vchi_callback() 215 instance->result = m.u.result.success; in audio_vchi_callback() 216 complete(&instance->msg_avail_comp); in audio_vchi_callback() [all …]
|
| /kernel/linux/linux-5.10/drivers/thermal/ |
| D | gov_step_wise.c | 31 * equals lower limit, deactivate the thermal instance 35 * deactivate the thermal instance 37 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() 45 * We keep this instance the way it is by default. 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() [all …]
|
| D | gov_bang_bang.c | 19 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() 46 pr_warn("Thermal instance %s controlled by bang-bang has unexpected state: %ld\n", 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() [all …]
|
| /kernel/linux/linux-4.19/drivers/thermal/ |
| D | step_wise.c | 43 * equals lower limit, deactivate the thermal instance 47 * deactivate the thermal instance 49 static unsigned long get_target_state(struct thermal_instance *instance, in get_target_state() argument 52 struct thermal_cooling_device *cdev = instance->cdev; in get_target_state() 57 * We keep this instance the way it is by default. in get_target_state() 62 next_target = instance->target; in get_target_state() 65 if (!instance->initialized) { in get_target_state() 67 next_target = (cur_state + 1) >= instance->upper ? in get_target_state() 68 instance->upper : in get_target_state() 69 ((cur_state + 1) < instance->lower ? in get_target_state() [all …]
|
| /kernel/linux/linux-5.10/drivers/mailbox/ |
| D | mailbox-sti.c | 42 * 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 …]
|
| /kernel/linux/linux-5.10/Documentation/trace/ |
| D | boottime-trace.rst | 56 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 …]
|
| /kernel/linux/linux-4.19/drivers/staging/vc04_services/bcm2835-camera/ |
| D | mmal-vchiq.c | 112 struct vchiq_mmal_instance *instance; member 123 /* mmal instance */ 124 struct vchiq_mmal_instance *instance; member 174 get_msg_context(struct vchiq_mmal_instance *instance) in get_msg_context() argument 189 mutex_lock(&instance->context_map_lock); in get_msg_context() 190 handle = idr_alloc(&instance->context_map, msg_context, in get_msg_context() 192 mutex_unlock(&instance->context_map_lock); in get_msg_context() 199 msg_context->instance = instance; in get_msg_context() 206 lookup_msg_context(struct vchiq_mmal_instance *instance, int handle) in lookup_msg_context() argument 208 return idr_find(&instance->context_map, handle); in lookup_msg_context() [all …]
|
| /kernel/linux/linux-5.10/drivers/phy/mediatek/ |
| D | phy-mtk-tphy.c | 324 struct mtk_phy_instance *instance) in hs_slew_rate_calibrate() argument 326 struct u2phy_banks *u2_banks = &instance->u2_banks; in hs_slew_rate_calibrate() 334 if (instance->eye_src) in hs_slew_rate_calibrate() 353 tmp |= P2F_RG_MONCLK_SEL_VAL(instance->index >> 1); in hs_slew_rate_calibrate() 388 instance->index, fm_out, calibration_val, in hs_slew_rate_calibrate() 404 struct mtk_phy_instance *instance) in u3_phy_instance_init() argument 406 struct u3phy_banks *u3_banks = &instance->u3_banks; in u3_phy_instance_init() 450 dev_dbg(tphy->dev, "%s(%d)\n", __func__, instance->index); in u3_phy_instance_init() 454 struct mtk_phy_instance *instance) in u2_phy_instance_init() argument 456 struct u2phy_banks *u2_banks = &instance->u2_banks; in u2_phy_instance_init() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/vc04_services/vchiq-mmal/ |
| D | mmal-vchiq.c | 120 struct vchiq_mmal_instance *instance; member 133 /* mmal instance */ 134 struct vchiq_mmal_instance *instance; member 183 /* handle for a vchiq instance */ 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 [all …]
|
| /kernel/linux/linux-4.19/drivers/mailbox/ |
| D | mailbox-sti.c | 46 * Each instance is currently composed of 32 channels 70 * @num_chan: Maximum number of channel per instance 81 * @instance: Instance number channel resides in 86 unsigned int instance; member 94 unsigned int instance = chan_info->instance; in sti_mbox_channel_is_enabled() local 97 return mdev->enabled[instance] & BIT(channel); in sti_mbox_channel_is_enabled() 102 unsigned int instance, in sti_mbox_to_channel() argument 111 chan_info->instance == instance && in sti_mbox_to_channel() 117 "Channel not registered: instance: %d channel: %d\n", in sti_mbox_to_channel() 118 instance, channel); in sti_mbox_to_channel() [all …]
|
| /kernel/linux/linux-4.19/drivers/phy/mediatek/ |
| D | phy-mtk-tphy.c | 309 /* deprecated, use @ref_clk instead in phy instance */ 319 struct mtk_phy_instance *instance) in hs_slew_rate_calibrate() argument 321 struct u2phy_banks *u2_banks = &instance->u2_banks; in hs_slew_rate_calibrate() 329 if (instance->eye_src) in hs_slew_rate_calibrate() 348 tmp |= P2F_RG_MONCLK_SEL_VAL(instance->index >> 1); in hs_slew_rate_calibrate() 383 instance->index, fm_out, calibration_val, in hs_slew_rate_calibrate() 399 struct mtk_phy_instance *instance) in u3_phy_instance_init() argument 401 struct u3phy_banks *u3_banks = &instance->u3_banks; in u3_phy_instance_init() 445 dev_dbg(tphy->dev, "%s(%d)\n", __func__, instance->index); in u3_phy_instance_init() 449 struct mtk_phy_instance *instance) in u2_phy_instance_init() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/scsi/ |
| D | NCR5380.c | 76 * the command structure is placed into the per instance disconnected 116 * The generic driver is initialized by calling NCR5380_init(instance), 292 * @instance: adapter state to dump 297 static void NCR5380_print(struct Scsi_Host *instance) in NCR5380_print() argument 299 struct NCR5380_hostdata *hostdata = shost_priv(instance); in NCR5380_print() 341 * @instance: adapter to dump 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() [all …]
|
| /kernel/linux/linux-4.19/drivers/scsi/ |
| D | NCR5380.c | 76 * the command structure is placed into the per instance disconnected 116 * The generic driver is initialized by calling NCR5380_init(instance), 270 * @instance: adapter state to dump 275 static void NCR5380_print(struct Scsi_Host *instance) in NCR5380_print() argument 277 struct NCR5380_hostdata *hostdata = shost_priv(instance); in NCR5380_print() 320 * @instance: adapter to dump 325 static void NCR5380_print_phase(struct Scsi_Host *instance) in NCR5380_print_phase() argument 327 struct NCR5380_hostdata *hostdata = shost_priv(instance); in NCR5380_print_phase() 333 shost_printk(KERN_DEBUG, instance, "REQ not asserted, phase unknown.\n"); in NCR5380_print_phase() 338 shost_printk(KERN_DEBUG, instance, "phase %s\n", phases[i].name); in NCR5380_print_phase() [all …]
|