/linux/drivers/scsi/megaraid/ |
H A D | megaraid_sas_base.c | 134 int megasas_transition_to_ready(struct megasas_instance *instance, int ocr); 135 static int megasas_get_pd_list(struct megasas_instance *instance); 136 static int megasas_ld_list_query(struct megasas_instance *instance, 138 static int megasas_issue_init_mfi(struct megasas_instance *instance); 139 static int megasas_register_aen(struct megasas_instance *instance, 141 static void megasas_get_pd_info(struct megasas_instance *instance, 144 megasas_set_ld_removed_by_fw(struct megasas_instance *instance); 223 megasas_complete_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd, 226 megasas_read_fw_status_reg_gen2(struct megasas_instance *instance); 228 megasas_adp_reset_gen2(struct megasas_instance *instance, [all …]
|
H A 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); 88 megasas_adp_reset_wait_for_ready(struct megasas_instance *instance, in megasas_adp_reset_wait_for_ready() argument [all …]
|
H A 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() 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/drivers/usb/atm/ |
H A 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 …]
|
H A 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 …]
|
H A D | usbatm.h | 29 #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/drivers/phy/mediatek/ |
H A D | phy-mtk-tphy.c | 680 struct mtk_phy_instance *instance) in phy_debugfs_init() 682 struct u2phy_banks *u2_banks = &instance->u2_banks; in phy_debugfs_init() 694 if (instance->eye_src) in phy_debugfs_init() 709 tmp |= FIELD_PREP(P2F_RG_MONCLK_SEL, instance->index >> 1); in hs_slew_rate_calibrate() 738 instance->index, fm_out, calibration_val, in hs_slew_rate_calibrate() 750 struct mtk_phy_instance *instance) in hs_slew_rate_calibrate() 752 struct u3phy_banks *u3_banks = &instance->u3_banks; in hs_slew_rate_calibrate() 756 if (instance->type_force_mode) { in hs_slew_rate_calibrate() 795 dev_dbg(tphy->dev, "%s(%d)\n", __func__, instance->index); in u3_phy_instance_init() 799 struct mtk_phy_instance *instance) in u3_phy_instance_init() 700 hs_slew_rate_calibrate(struct mtk_tphy * tphy,struct mtk_phy_instance * instance) hs_slew_rate_calibrate() argument 770 u3_phy_instance_init(struct mtk_tphy * tphy,struct mtk_phy_instance * instance) u3_phy_instance_init() argument 819 u2_phy_pll_26m_set(struct mtk_tphy * tphy,struct mtk_phy_instance * instance) u2_phy_pll_26m_set() argument 838 u2_phy_instance_init(struct mtk_tphy * tphy,struct mtk_phy_instance * instance) u2_phy_instance_init() argument 884 u2_phy_instance_power_on(struct mtk_tphy * tphy,struct mtk_phy_instance * instance) u2_phy_instance_power_on() argument 906 u2_phy_instance_power_off(struct mtk_tphy * tphy,struct mtk_phy_instance * instance) u2_phy_instance_power_off() argument 929 u2_phy_instance_exit(struct mtk_tphy * tphy,struct mtk_phy_instance * instance) u2_phy_instance_exit() argument 943 u2_phy_instance_set_mode(struct mtk_tphy * tphy,struct mtk_phy_instance * instance,enum phy_mode mode) u2_phy_instance_set_mode() argument 968 pcie_phy_instance_init(struct mtk_tphy * tphy,struct mtk_phy_instance * instance) pcie_phy_instance_init() argument 1018 pcie_phy_instance_power_on(struct mtk_tphy * tphy,struct mtk_phy_instance * instance) pcie_phy_instance_power_on() argument 1030 pcie_phy_instance_power_off(struct mtk_tphy * tphy,struct mtk_phy_instance * instance) pcie_phy_instance_power_off() argument 1043 sata_phy_instance_init(struct mtk_tphy * tphy,struct mtk_phy_instance * instance) sata_phy_instance_init() argument 1088 phy_v1_banks_init(struct mtk_tphy * tphy,struct mtk_phy_instance * instance) phy_v1_banks_init() argument 1116 phy_v2_banks_init(struct mtk_tphy * tphy,struct mtk_phy_instance * instance) phy_v2_banks_init() argument 1141 phy_parse_property(struct mtk_tphy * tphy,struct mtk_phy_instance * instance) phy_parse_property() argument 1172 u2_phy_props_set(struct mtk_tphy * tphy,struct mtk_phy_instance * instance) u2_phy_props_set() argument 1211 phy_type_syscon_get(struct mtk_phy_instance * instance,struct device_node * dn) phy_type_syscon_get() argument 1236 phy_type_set(struct mtk_phy_instance * instance) phy_type_set() argument 1269 phy_efuse_get(struct mtk_tphy * tphy,struct mtk_phy_instance * instance) phy_efuse_get() argument 1343 phy_efuse_set(struct mtk_phy_instance * instance) phy_efuse_set() argument 1382 struct mtk_phy_instance *instance = phy_get_drvdata(phy); mtk_phy_init() local 1420 struct mtk_phy_instance *instance = phy_get_drvdata(phy); mtk_phy_power_on() local 1435 struct mtk_phy_instance *instance = phy_get_drvdata(phy); mtk_phy_power_off() local 1448 struct mtk_phy_instance *instance = phy_get_drvdata(phy); mtk_phy_exit() local 1460 struct mtk_phy_instance *instance = phy_get_drvdata(phy); mtk_phy_set_mode() local 1473 struct mtk_phy_instance *instance = NULL; mtk_phy_xlate() local 1626 struct mtk_phy_instance *instance; mtk_tphy_probe() local [all...] |
/linux/drivers/scsi/ |
H A D | NCR5380.c | 292 static void NCR5380_print(struct Scsi_Host *instance) in NCR5380_print() argument 294 struct NCR5380_hostdata *hostdata = shost_priv(instance); in NCR5380_print() 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() 366 static const char *NCR5380_info(struct Scsi_Host *instance) in NCR5380_info() argument 368 struct NCR5380_hostdata *hostdata = shost_priv(instance); in NCR5380_info() 387 static int NCR5380_init(struct Scsi_Host *instance, int flags) in NCR5380_init() argument 389 struct NCR5380_hostdata *hostdata = shost_priv(instance); in NCR5380_init() [all …]
|
H A D | a2091.c | 34 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 …]
|
H A D | g_NCR5380.c | 116 static void g_NCR5380_trigger_irq(struct Scsi_Host *instance) in g_NCR5380_trigger_irq() argument 118 struct NCR5380_hostdata *hostdata = shost_priv(instance); in g_NCR5380_trigger_irq() 150 static int g_NCR5380_probe_irq(struct Scsi_Host *instance) in g_NCR5380_probe_irq() argument 152 struct NCR5380_hostdata *hostdata = shost_priv(instance); in g_NCR5380_probe_irq() 157 g_NCR5380_trigger_irq(instance); in g_NCR5380_probe_irq() 234 struct Scsi_Host *instance; in generic_NCR5380_init_one() local 315 instance = scsi_host_alloc(tpnt, sizeof(struct NCR5380_hostdata)); in generic_NCR5380_init_one() 316 if (instance == NULL) { in generic_NCR5380_init_one() 320 hostdata = shost_priv(instance); in generic_NCR5380_init_one() 377 ret = NCR5380_init(instance, flags | FLAG_LATE_DMA_SETUP); in generic_NCR5380_init_one() [all …]
|
H A D | gvp11.c | 37 struct Scsi_Host *instance = data; in gvp11_intr() local 38 struct gvp11_hostdata *hdata = shost_priv(instance); in gvp11_intr() 45 spin_lock_irqsave(instance->host_lock, flags); in gvp11_intr() 46 wd33c93_intr(instance); in gvp11_intr() 47 spin_unlock_irqrestore(instance->host_lock, flags); in gvp11_intr() 57 struct Scsi_Host *instance = cmd->device->host; in dma_setup() local 58 struct gvp11_hostdata *hdata = shost_priv(instance); in dma_setup() 186 static void dma_stop(struct Scsi_Host *instance, struct scsi_cmnd *SCpnt, in dma_stop() argument 190 struct gvp11_hostdata *hdata = shost_priv(instance); in dma_stop() 319 struct Scsi_Host *instance; in gvp11_probe() local [all …]
|
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
H A D | vdec_vp9_req_lat_if.c | 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() 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() 593 mtk_vcodec_mem_free(ctx, &instance->mv[i]); in vdec_vp9_slice_alloc_working_buffer() 594 instance->mv[i].size = size; in vdec_vp9_slice_alloc_working_buffer() [all …]
|
H A D | vdec_av1_req_lat_if.c | 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() 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/drivers/mailbox/ |
H A D | mailbox-sti.c | 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() 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/drivers/gpu/drm/amd/amdgpu/ |
H A D | arct_reg_init.c | 34 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 …]
|
H A D | aldebaran_reg_init.c | 34 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 …]
|
H A D | dimgrey_cavefish_reg_init.c | 35 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 …]
|
H A D | vega10_reg_init.c | 34 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 …]
|
H A D | vega20_reg_init.c | 34 adev->reg_offset[GC_HWIP][i] = (uint32_t *)(&(GC_BASE.instance[i])); in vega20_reg_base_init() 35 adev->reg_offset[HDP_HWIP][i] = (uint32_t *)(&(HDP_BASE.instance[i])); in vega20_reg_base_init() 36 adev->reg_offset[MMHUB_HWIP][i] = (uint32_t *)(&(MMHUB_BASE.instance[i])); in vega20_reg_base_init() 37 adev->reg_offset[ATHUB_HWIP][i] = (uint32_t *)(&(ATHUB_BASE.instance[i])); in vega20_reg_base_init() 38 adev->reg_offset[NBIO_HWIP][i] = (uint32_t *)(&(NBIO_BASE.instance[i])); in vega20_reg_base_init() 39 adev->reg_offset[MP0_HWIP][i] = (uint32_t *)(&(MP0_BASE.instance[i])); in vega20_reg_base_init() 40 adev->reg_offset[MP1_HWIP][i] = (uint32_t *)(&(MP1_BASE.instance[i])); in vega20_reg_base_init() 41 adev->reg_offset[UVD_HWIP][i] = (uint32_t *)(&(UVD_BASE.instance[i])); in vega20_reg_base_init() 42 adev->reg_offset[VCE_HWIP][i] = (uint32_t *)(&(VCE_BASE.instance[i])); in vega20_reg_base_init() 43 adev->reg_offset[DF_HWIP][i] = (uint32_t *)(&(DF_BASE.instance[i])); in vega20_reg_base_init() [all …]
|
/linux/include/trace/events/ |
H A D | qrtr.h | 13 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 [all...] |
/linux/arch/x86/pci/ |
H A D | sta2x11-fixup.c | 49 struct sta2x11_instance *instance; in sta2x11_new_instance() local 51 instance = kzalloc(sizeof(*instance), GFP_ATOMIC); in sta2x11_new_instance() 52 if (!instance) in sta2x11_new_instance() 55 instance->bus0 = pdev->subordinate->number + 1; in sta2x11_new_instance() 64 list_add(&instance->list, &sta2x11_instance_list); in sta2x11_new_instance() 73 struct sta2x11_instance *instance; in sta2x11_pdev_to_instance() local 76 list_for_each_entry(instance, &sta2x11_instance_list, list) { in sta2x11_pdev_to_instance() 77 ep = pdev->bus->number - instance->bus0; in sta2x11_pdev_to_instance() 79 return instance; in sta2x11_pdev_to_instance() 86 struct sta2x11_instance *instance; in sta2x11_pdev_to_ep() local [all …]
|
/linux/drivers/staging/vc04_services/interface/vchiq_arm/ |
H A D | vchiq_debugfs.c | 22 struct vchiq_instance *instance = f->private; in debugfs_usecount_show() local 25 use_count = vchiq_instance_get_use_count(instance); in debugfs_usecount_show() 34 struct vchiq_instance *instance = f->private; in debugfs_trace_show() local 37 trace = vchiq_instance_get_trace(instance); in debugfs_trace_show() 63 struct vchiq_instance *instance = f->private; in debugfs_trace_write() local 73 vchiq_instance_set_trace(instance, 1); in debugfs_trace_write() 78 vchiq_instance_set_trace(instance, 0); in debugfs_trace_write() 99 void vchiq_debugfs_add_instance(struct vchiq_instance *instance) in vchiq_debugfs_add_instance() argument 105 vchiq_instance_get_pid(instance)); in vchiq_debugfs_add_instance() 109 debugfs_create_file("use_count", 0444, top, instance, in vchiq_debugfs_add_instance() [all …]
|
/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_dp_auxch.c | 63 int instance = chan->rec.i2c_id & 0xf; in radeon_dp_aux_transfer_native() local 104 tmp = RREG32(AUX_CONTROL + aux_offset[instance]); in radeon_dp_aux_transfer_native() 110 WREG32(AUX_CONTROL + aux_offset[instance], tmp); in radeon_dp_aux_transfer_native() 113 WREG32(AUX_SW_CONTROL + aux_offset[instance], in radeon_dp_aux_transfer_native() 115 WREG32(AUX_SW_CONTROL + aux_offset[instance], in radeon_dp_aux_transfer_native() 121 WREG32(AUX_SW_DATA + aux_offset[instance], in radeon_dp_aux_transfer_native() 125 WREG32(AUX_SW_DATA + aux_offset[instance], in radeon_dp_aux_transfer_native() 129 WREG32(AUX_SW_DATA + aux_offset[instance], in radeon_dp_aux_transfer_native() 133 WREG32(AUX_SW_DATA + aux_offset[instance], in radeon_dp_aux_transfer_native() 139 WREG32(AUX_SW_DATA + aux_offset[instance], in radeon_dp_aux_transfer_native() [all …]
|
/linux/drivers/thermal/ |
H A D | gov_power_allocator.c | 100 static bool power_actor_is_valid(struct thermal_instance *instance) in power_actor_is_valid() argument 102 return cdev_is_power_actor(instance->cdev); in power_actor_is_valid() 121 struct thermal_instance *instance; in estimate_sustainable_power() local 125 list_for_each_entry(instance, &td->thermal_instances, trip_node) { in estimate_sustainable_power() 126 if (!power_actor_is_valid(instance)) in estimate_sustainable_power() 129 cdev = instance->cdev; in estimate_sustainable_power() 130 if (cdev->ops->state2power(cdev, instance->upper, &min_power)) in estimate_sustainable_power() 315 struct thermal_instance *instance, u32 power) in power_actor_set_power() argument 324 instance->target = clamp_val(state, instance->lower, instance->upper); in power_actor_set_power() 413 struct thermal_instance *instance; in allocate_power() local [all …]
|
/linux/drivers/edac/ |
H A D | edac_device_sysfs.c | 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() 327 struct edac_device_instance *instance; in edac_device_ctrl_instance_release() local 334 instance = to_instance(kobj); in edac_device_ctrl_instance_release() 335 kobject_put(&instance->ctl->kobj); in edac_device_ctrl_instance_release() 349 struct edac_device_instance *instance = to_instance(kobj); in edac_dev_instance_show() local 353 return instance_attr->show(instance, buffer); in edac_dev_instance_show() 362 struct edac_device_instance *instance = to_instance(kobj); in edac_dev_instance_store() local [all …]
|