| /linux/drivers/md/ |
| A D | md-cluster.c | 503 cinfo->sync_hi = hi; in process_suspend_info() 814 unlock_comm(cinfo); in sendmsg() 885 if (!cinfo) in join() 984 kfree(cinfo); in join() 1019 if (!cinfo) in leave() 1046 kfree(cinfo); in leave() 1119 unlock_comm(cinfo); in metadata_update_finish() 1127 unlock_comm(cinfo); in metadata_update_cancel() 1352 unlock_comm(cinfo); in update_size() 1446 if (hi > cinfo->suspend_lo && lo < cinfo->suspend_hi) in area_resyncing() [all …]
|
| /linux/drivers/clk/ |
| A D | clk-palmas.c | 58 cinfo->clk_desc->control_reg, in palmas_clks_prepare() 64 else if (cinfo->clk_desc->delay) in palmas_clks_prepare() 65 udelay(cinfo->clk_desc->delay); in palmas_clks_prepare() 79 if (cinfo->ext_control_pin) in palmas_clks_unprepare() 96 if (cinfo->ext_control_pin) in palmas_clks_is_prepared() 194 cinfo->ext_control_pin = prop; in palmas_clks_get_clk_data() 210 if (cinfo->ext_control_pin) { in palmas_clks_init_configure() 242 cinfo = devm_kzalloc(&pdev->dev, sizeof(*cinfo), GFP_KERNEL); in palmas_clks_probe() 243 if (!cinfo) in palmas_clks_probe() 249 cinfo->dev = &pdev->dev; in palmas_clks_probe() [all …]
|
| A D | clk-twl.c | 58 struct twl_clock_info *cinfo = to_twl_clks_info(hw); in twl6032_clks_prepare() local 64 dev_err(cinfo->dev, "clk prepare failed\n"); in twl6032_clks_prepare() 77 dev_err(cinfo->dev, "clk unprepare failed\n"); in twl6032_clks_unprepare() 87 dev_err(cinfo->dev, "clk read failed\n"); in twl6032_clks_is_prepared() 135 struct twl_clock_info *cinfo; in twl_clks_probe() local 151 cinfo = devm_kcalloc(&pdev->dev, count, sizeof(*cinfo), GFP_KERNEL); in twl_clks_probe() 152 if (!cinfo) in twl_clks_probe() 156 cinfo[i].base = hw_data[i].base; in twl_clks_probe() 157 cinfo[i].dev = &pdev->dev; in twl_clks_probe() 158 cinfo[i].hw.init = &hw_data[i].init; in twl_clks_probe() [all …]
|
| /linux/drivers/video/fbdev/ |
| A D | cirrusfb.c | 423 return cinfo->btype == BT_LAGUNA || cinfo->btype == BT_LAGUNAB; in is_laguna() 839 if (cinfo->btype == BT_ALPINE || cinfo->btype == BT_SD64) in cirrusfb_set_par_foo() 856 if (cinfo->btype == BT_ALPINE || cinfo->btype == BT_PICASSO4 || in cirrusfb_set_par_foo() 1133 WHDR(cinfo, cinfo->doubleVCLK ? 0xe1 : 0xc1); in cirrusfb_set_par_foo() 1242 AttrOn(cinfo); in cirrusfb_set_par_foo() 1613 if (cinfo->btype == BT_ALPINE || cinfo->btype == BT_SD64 || in init_vgachip() 1688 WSFR(cinfo, cinfo->SFR | 0x21); in switch_monitor() 1691 WSFR(cinfo, cinfo->SFR | 0x28); in switch_monitor() 1701 WSFR(cinfo, cinfo->SFR & 0xde); in switch_monitor() 1704 WSFR(cinfo, cinfo->SFR & 0xd7); in switch_monitor() [all …]
|
| /linux/drivers/gpu/drm/omapdrm/dss/ |
| A D | pll.c | 160 memset(&pll->cinfo, 0, sizeof(pll->cinfo)); in dss_pll_disable() 171 pll->cinfo = *cinfo; in dss_pll_set_config() 316 cinfo->n = n; in dss_pll_calc_b() 317 cinfo->m = m; in dss_pll_calc_b() 318 cinfo->mf = mf; in dss_pll_calc_b() 319 cinfo->mX[0] = m2; in dss_pll_calc_b() 320 cinfo->sd = sd; in dss_pll_calc_b() 410 l = FLD_MOD(l, cinfo->mX[0] ? cinfo->mX[0] - 1 : 0, in dss_pll_write_config_type_a() 413 l = FLD_MOD(l, cinfo->mX[1] ? cinfo->mX[1] - 1 : 0, in dss_pll_write_config_type_a() 419 l = FLD_MOD(l, cinfo->mX[2] ? cinfo->mX[2] - 1 : 0, in dss_pll_write_config_type_a() [all …]
|
| /linux/drivers/video/fbdev/omap2/omapfb/dss/ |
| A D | pll.c | 105 memset(&pll->cinfo, 0, sizeof(pll->cinfo)); in dss_pll_disable() 116 pll->cinfo = *cinfo; in dss_pll_set_config() 252 l = FLD_MOD(l, cinfo->mX[0] ? cinfo->mX[0] - 1 : 0, in dss_pll_write_config_type_a() 255 l = FLD_MOD(l, cinfo->mX[1] ? cinfo->mX[1] - 1 : 0, in dss_pll_write_config_type_a() 261 l = FLD_MOD(l, cinfo->mX[2] ? cinfo->mX[2] - 1 : 0, in dss_pll_write_config_type_a() 264 l = FLD_MOD(l, cinfo->mX[3] ? cinfo->mX[3] - 1 : 0, in dss_pll_write_config_type_a() 271 cinfo->fint < 1250000 ? 0x4 : in dss_pll_write_config_type_a() 272 cinfo->fint < 1500000 ? 0x5 : in dss_pll_write_config_type_a() 273 cinfo->fint < 1750000 ? 0x6 : in dss_pll_write_config_type_a() 317 (cinfo->mX[0] ? BIT(7) : 0) | in dss_pll_write_config_type_a() [all …]
|
| /linux/drivers/clk/ti/ |
| A D | clk-dra7-atl.c | 41 struct dra7_atl_clock_info *cinfo; member 64 __raw_writel(val, cinfo->iobase + reg); in atl_write() 206 struct dra7_atl_clock_info *cinfo; in of_dra7_atl_clk_probe() local 213 cinfo = devm_kzalloc(&pdev->dev, sizeof(*cinfo), GFP_KERNEL); in of_dra7_atl_clk_probe() 214 if (!cinfo) in of_dra7_atl_clk_probe() 217 cinfo->iobase = of_iomap(node, 0); in of_dra7_atl_clk_probe() 218 cinfo->dev = &pdev->dev; in of_dra7_atl_clk_probe() 219 pm_runtime_enable(cinfo->dev); in of_dra7_atl_clk_probe() 221 pm_runtime_get_sync(cinfo->dev); in of_dra7_atl_clk_probe() 252 cdesc->cinfo = cinfo; in of_dra7_atl_clk_probe() [all …]
|
| /linux/drivers/firmware/arm_scmi/transports/ |
| A D | mailbox.c | 35 struct scmi_chan_info *cinfo; member 48 core->shmem->tx_prepare(smbox->shmem, m, smbox->cinfo); in tx_prepare() 67 core->bad_message_trace(smbox->cinfo, in rx_callback() 73 core->rx_callback(smbox->cinfo, in rx_callback() 184 struct device *cdev = cinfo->dev; in mailbox_chan_setup() 241 cinfo->transport_info = smbox; in mailbox_chan_setup() 242 smbox->cinfo = cinfo; in mailbox_chan_setup() 250 struct scmi_chan_info *cinfo = p; in mailbox_chan_free() local 251 struct scmi_mailbox *smbox = cinfo->transport_info; in mailbox_chan_free() 257 cinfo->transport_info = NULL; in mailbox_chan_free() [all …]
|
| A D | smc.c | 61 struct scmi_chan_info *cinfo; member 79 core->rx_callback(scmi_info->cinfo, in smc_msg_done_isr() 133 struct device *cdev = cinfo->dev; in smc_chan_setup() 186 cinfo->no_completion_irq = true; in smc_chan_setup() 191 scmi_info->cinfo = cinfo; in smc_chan_setup() 193 cinfo->transport_info = scmi_info; in smc_chan_setup() 200 struct scmi_chan_info *cinfo = p; in smc_chan_free() local 201 struct scmi_smc *scmi_info = cinfo->transport_info; in smc_chan_free() 214 cinfo->transport_info = NULL; in smc_chan_free() 215 scmi_info->cinfo = NULL; in smc_chan_free() [all …]
|
| A D | optee.c | 126 struct scmi_chan_info *cinfo; member 363 if (of_property_present(cinfo->dev->of_node, "shmem")) in setup_shmem() 364 return setup_static_shmem(dev, cinfo, channel); in setup_shmem() 387 cinfo->transport_info = channel; in scmi_optee_chan_setup() 388 channel->cinfo = cinfo; in scmi_optee_chan_setup() 392 ret = setup_shmem(dev, cinfo, channel); in scmi_optee_chan_setup() 409 cinfo->no_completion_irq = true; in scmi_optee_chan_setup() 428 struct scmi_chan_info *cinfo = p; in scmi_optee_chan_free() local 449 cinfo->transport_info = NULL; in scmi_optee_chan_free() 450 channel->cinfo = NULL; in scmi_optee_chan_free() [all …]
|
| A D | virtio.c | 59 struct scmi_chan_info *cinfo; member 118 struct scmi_chan_info *cinfo) in scmi_vio_channel_ready() argument 123 cinfo->transport_info = vioch; in scmi_vio_channel_ready() 125 vioch->cinfo = cinfo; in scmi_vio_channel_ready() 143 vioch->cinfo = NULL; in scmi_vio_channel_release() 300 core->rx_callback(vioch->cinfo, in scmi_vio_complete_cb() 346 core->rx_callback(vioch->cinfo, in scmi_vio_deferred_tx_worker() 395 return vioch && !vioch->cinfo; in virtio_chan_available() 460 scmi_vio_channel_ready(vioch, cinfo); in virtio_chan_setup() 467 struct scmi_chan_info *cinfo = p; in virtio_chan_free() local [all …]
|
| /linux/fs/nfs/ |
| A D | pnfs_nfs.c | 79 struct nfs_commit_info *cinfo) in pnfs_generic_clear_request_commit() argument 85 cinfo->ds->nwritten--; in pnfs_generic_clear_request_commit() 242 struct nfs_commit_info *cinfo, in pnfs_bucket_scan_ds_commit_list() argument 252 cinfo->ds->nwritten -= ret; in pnfs_bucket_scan_ds_commit_list() 253 cinfo->ds->ncommitting += ret; in pnfs_bucket_scan_ds_commit_list() 306 struct nfs_commit_info *cinfo) in pnfs_bucket_recover_commit_reqs() argument 345 cinfo); in pnfs_generic_recover_commit_reqs() 363 cinfo->ds->ncommitting--; in pnfs_bucket_get_committing() 450 array->nbuckets, cinfo); in pnfs_alloc_ds_commits_list() 1177 cinfo->ds->nwritten++; in pnfs_layout_mark_request_commit() [all …]
|
| A D | direct.c | 163 cinfo->inode = dreq->inode; in nfs_init_cinfo_from_dreq() 164 cinfo->mds = &dreq->mds_cinfo; in nfs_init_cinfo_from_dreq() 165 cinfo->ds = &dreq->ds_cinfo; in nfs_init_cinfo_from_dreq() 166 cinfo->dreq = dreq; in nfs_init_cinfo_from_dreq() 534 nfs_scan_commit_list(&cinfo->mds->list, list, cinfo, 0); in nfs_direct_write_scan_commit_list() 543 struct nfs_commit_info cinfo; in nfs_direct_write_reschedule() local 601 struct nfs_commit_info cinfo; in nfs_direct_commit_complete() local 669 struct nfs_commit_info cinfo; in nfs_direct_commit_schedule() local 673 nfs_commit_begin(cinfo.mds); in nfs_direct_commit_schedule() 688 struct nfs_commit_info cinfo; in nfs_direct_write_clear_reqs() local [all …]
|
| A D | write.c | 542 struct nfs_commit_info cinfo; in nfs_lock_and_join_requests() local 857 nfs_request_add_commit_list_locked(req, &cinfo->mds->list, cinfo); in nfs_request_add_commit_list() 888 cinfo->inode = inode; in nfs_init_cinfo_from_inode() 891 cinfo->dreq = NULL; in nfs_init_cinfo_from_inode() 960 struct nfs_commit_info cinfo; in nfs_write_completion() local 1051 cinfo, max); in nfs_scan_commit() 1645 atomic_inc(&cinfo->rpcs_out); in nfs_commit_begin() 1752 data->dreq = cinfo->dreq; in nfs_init_commit() 1886 nfs_commit_end(cinfo.mds); in nfs_commit_release_pages() 1929 nfs_commit_begin(cinfo.mds); in __nfs_commit_inode() [all …]
|
| A D | pnfs.h | 190 struct nfs_commit_info *cinfo); 193 struct nfs_commit_info *cinfo, 196 struct nfs_commit_info *cinfo); 200 struct nfs_commit_info *cinfo); 403 struct nfs_commit_info *cinfo); 408 struct nfs_commit_info *cinfo); 412 struct nfs_commit_info *cinfo, 429 struct nfs_commit_info *cinfo, 478 struct nfs_commit_info *cinfo) in pnfs_commit_list() argument 544 fl_cinfo->ops->clear_request_commit(req, cinfo); in pnfs_clear_request_commit() [all …]
|
| /linux/drivers/iio/adc/ |
| A D | mt6359-auxadc.c | 307 const struct mtk_pmic_auxadc_info *cinfo = adc_dev->chip_info; in mt6358_stop_imp_conv() local 318 const struct mtk_pmic_auxadc_info *cinfo = adc_dev->chip_info; in mt6358_start_imp_conv() local 339 const struct mtk_pmic_auxadc_info *cinfo = adc_dev->chip_info; in mt6358_read_imp() local 341 u16 reg_adc0 = cinfo->regs[PMIC_AUXADC_ADC0]; in mt6358_read_imp() 364 const struct mtk_pmic_auxadc_info *cinfo = adc_dev->chip_info; in mt6359_read_imp() local 376 regmap_write(regmap, cinfo->regs[PMIC_AUXADC_IMP0], 0); in mt6359_read_imp() 435 if (cinfo->sec_unlock_key) in mt6359_auxadc_reset() 436 regmap_write(regmap, cinfo->regs[PMIC_HK_TOP_WKEY], cinfo->sec_unlock_key); in mt6359_auxadc_reset() 445 if (cinfo->sec_unlock_key) in mt6359_auxadc_reset() 446 regmap_write(regmap, cinfo->regs[PMIC_HK_TOP_WKEY], 0); in mt6359_auxadc_reset() [all …]
|
| /linux/drivers/firmware/arm_scmi/ |
| A D | driver.c | 752 if (!cinfo) { in scmi_xfer_raw_channel_get() 757 if (!cinfo) in scmi_xfer_raw_channel_get() 764 return cinfo; in scmi_xfer_raw_channel_get() 905 dev_err(cinfo->dev, in scmi_msg_response_validate() 997 dev_err(cinfo->dev, in scmi_xfer_command_acquire() 1104 cinfo->id); in scmi_handle_notification() 1167 cinfo->id); in scmi_handle_response() 1291 cinfo->id); in scmi_wait_for_reply() 2642 cinfo = devm_kzalloc(info->dev, sizeof(*cinfo), GFP_KERNEL); in scmi_chan_setup() 2643 if (!cinfo) in scmi_chan_setup() [all …]
|
| A D | common.h | 207 int (*send_message)(struct scmi_chan_info *cinfo, 209 void (*mark_txdone)(struct scmi_chan_info *cinfo, int ret, 211 void (*fetch_response)(struct scmi_chan_info *cinfo, 213 void (*fetch_notification)(struct scmi_chan_info *cinfo, 215 void (*clear_channel)(struct scmi_chan_info *cinfo); 254 return cinfo->no_completion_irq || desc->force_polling; in is_polling_required() 265 return is_polling_required(cinfo, desc) && in is_polling_enabled() 334 struct scmi_chan_info *cinfo); 346 void __iomem *(*setup_iomap)(struct scmi_chan_info *cinfo, 391 void (*bad_message_trace)(struct scmi_chan_info *cinfo, [all …]
|
| /linux/drivers/infiniband/hw/hfi1/ |
| A D | trace_ctxts.h | 68 struct hfi1_ctxt_info *cinfo), 69 TP_ARGS(dd, ctxt, subctxt, cinfo), 82 __entry->egrtids = cinfo->egrtids; 83 __entry->rcvhdrq_cnt = cinfo->rcvhdrq_cnt; 84 __entry->rcvhdrq_size = cinfo->rcvhdrq_entsize; 85 __entry->sdma_ring_size = cinfo->sdma_ring_size; 86 __entry->rcvegr_size = cinfo->rcvegr_size;
|
| /linux/sound/soc/generic/ |
| A D | simple-card.c | 766 struct simple_util_info *cinfo; in simple_probe() local 775 cinfo = dev->platform_data; in simple_probe() 776 if (!cinfo) { in simple_probe() 781 if (!cinfo->name || in simple_probe() 782 !cinfo->codec_dai.name || in simple_probe() 783 !cinfo->codec || in simple_probe() 784 !cinfo->platform || in simple_probe() 785 !cinfo->cpu_dai.name) { in simple_probe() 794 codecs->name = cinfo->codec; in simple_probe() 800 card->name = (cinfo->card) ? cinfo->card : cinfo->name; in simple_probe() [all …]
|
| /linux/drivers/input/touchscreen/ |
| A D | mainstone-wm97xx.c | 44 static const struct continuous cinfo[] = { variable 163 } while (reads < cinfo[sp_idx].reads); in wm97xx_acc_pen_down() 177 for (idx = 0; idx < ARRAY_SIZE(cinfo); idx++) { in wm97xx_acc_startup() 178 if (wm->id != cinfo[idx].id) in wm97xx_acc_startup() 181 if (cont_rate <= cinfo[idx].speed) in wm97xx_acc_startup() 184 wm->acc_rate = cinfo[sp_idx].code; in wm97xx_acc_startup() 188 cinfo[sp_idx].speed); in wm97xx_acc_startup()
|
| /linux/drivers/platform/x86/dell/ |
| A D | dell-wmi-ddv.c | 508 cinfo = devm_kzalloc(dev, struct_size(cinfo, config, count + 1), GFP_KERNEL); in dell_wmi_ddv_channel_create() 509 if (!cinfo) in dell_wmi_ddv_channel_create() 512 cinfo->info.type = type; in dell_wmi_ddv_channel_create() 513 cinfo->info.config = cinfo->config; in dell_wmi_ddv_channel_create() 516 cinfo->config[i] = config; in dell_wmi_ddv_channel_create() 518 return &cinfo->info; in dell_wmi_ddv_channel_create() 581 cinfo = devm_kzalloc(&wdev->dev, struct_size(cinfo, info, 4), GFP_KERNEL); in dell_wmi_ddv_hwmon_add() 582 if (!cinfo) { in dell_wmi_ddv_hwmon_add() 589 cinfo->chip.info = cinfo->info; in dell_wmi_ddv_hwmon_add() 598 cinfo->info[index] = info; in dell_wmi_ddv_hwmon_add() [all …]
|
| /linux/tools/gpio/ |
| A D | lsgpio.c | 103 struct gpiochip_info cinfo; in list_device() local 121 ret = ioctl(fd, GPIO_GET_CHIPINFO_IOCTL, &cinfo); in list_device() 128 cinfo.name, cinfo.label, cinfo.lines); in list_device() 131 for (i = 0; i < cinfo.lines; i++) { in list_device()
|
| /linux/drivers/media/pci/cx23885/ |
| A D | netup-eeprom.c | 82 struct netup_card_info *cinfo) in netup_get_card_info() argument 86 cinfo->rev = netup_eeprom_read(i2c_adap, 63); in netup_get_card_info() 89 cinfo->port[0].mac[j] = netup_eeprom_read(i2c_adap, i); in netup_get_card_info() 92 cinfo->port[1].mac[j] = netup_eeprom_read(i2c_adap, i); in netup_get_card_info()
|
| /linux/drivers/scsi/megaraid/ |
| A D | megaraid_mm.c | 813 mcontroller_t cinfo; in kioc_to_mimd() local 831 hinfo_to_cinfo(hinfo, &cinfo); in kioc_to_mimd() 833 if (copy_to_user(kmimd.data, &cinfo, sizeof(cinfo))) in kioc_to_mimd() 883 if (!hinfo || !cinfo) in hinfo_to_cinfo() 886 cinfo->base = hinfo->baseport; in hinfo_to_cinfo() 887 cinfo->irq = hinfo->irq; in hinfo_to_cinfo() 888 cinfo->numldrv = hinfo->num_ldrv; in hinfo_to_cinfo() 889 cinfo->pcibus = hinfo->pci_bus; in hinfo_to_cinfo() 890 cinfo->pcidev = hinfo->pci_slot; in hinfo_to_cinfo() 894 cinfo->pcislot = hinfo->pci_slot; in hinfo_to_cinfo() [all …]
|