Home
last modified time | relevance | path

Searched refs:cinfo (Results 1 – 25 of 72) sorted by relevance

123

/openbmc/linux/drivers/clk/
H A Dclk-palmas.c58 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 …]
/openbmc/linux/drivers/md/
H A Dmd-cluster.c493 cinfo->sync_hi = hi; in process_suspend_info()
796 unlock_comm(cinfo); in sendmsg()
867 if (!cinfo) in join()
966 kfree(cinfo); in join()
1001 if (!cinfo) in leave()
1028 kfree(cinfo); in leave()
1101 unlock_comm(cinfo); in metadata_update_finish()
1109 unlock_comm(cinfo); in metadata_update_cancel()
1320 unlock_comm(cinfo); in update_size()
1397 if (hi > cinfo->suspend_lo && lo < cinfo->suspend_hi) in area_resyncing()
[all …]
/openbmc/linux/drivers/video/fbdev/
H A Dcirrusfb.c423 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 …]
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/
H A Dpll.c160 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 …]
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Dpll.c105 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 …]
H A Dmanager.c186 struct dispc_clock_info cinfo = config->clock_info; in dss_mgr_check_lcd_config() local
191 if (cinfo.lck_div < 1 || cinfo.lck_div > 255) in dss_mgr_check_lcd_config()
194 if (cinfo.pck_div < 1 || cinfo.pck_div > 255) in dss_mgr_check_lcd_config()
/openbmc/linux/drivers/clk/ti/
H A Dclk-dra7-atl.c41 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 …]
/openbmc/linux/drivers/firmware/arm_scmi/
H A Dmailbox.c32 struct scmi_chan_info *cinfo; member
43 shmem_tx_prepare(smbox->shmem, m, smbox->cinfo); in tx_prepare()
165 struct device *cdev = cinfo->dev; in mailbox_chan_setup()
231 cinfo->transport_info = smbox; in mailbox_chan_setup()
232 smbox->cinfo = cinfo; in mailbox_chan_setup()
240 struct scmi_chan_info *cinfo = p; in mailbox_chan_free() local
241 struct scmi_mailbox *smbox = cinfo->transport_info; in mailbox_chan_free()
246 cinfo->transport_info = NULL; in mailbox_chan_free()
249 smbox->cinfo = NULL; in mailbox_chan_free()
258 struct scmi_mailbox *smbox = cinfo->transport_info; in mailbox_send_message()
[all …]
H A Dsmc.c57 struct scmi_chan_info *cinfo; member
72 scmi_rx_callback(scmi_info->cinfo, in smc_msg_done_isr()
126 struct device *cdev = cinfo->dev; in smc_chan_setup()
183 cinfo->no_completion_irq = true; in smc_chan_setup()
187 scmi_info->cinfo = cinfo; in smc_chan_setup()
189 cinfo->transport_info = scmi_info; in smc_chan_setup()
196 struct scmi_chan_info *cinfo = p; in smc_chan_free() local
197 struct scmi_smc *scmi_info = cinfo->transport_info; in smc_chan_free()
210 cinfo->transport_info = NULL; in smc_chan_free()
211 scmi_info->cinfo = NULL; in smc_chan_free()
[all …]
H A Doptee.c123 struct scmi_chan_info *cinfo; member
406 if (of_property_present(cinfo->dev->of_node, "shmem")) in setup_shmem()
407 return setup_static_shmem(dev, cinfo, channel); in setup_shmem()
430 cinfo->transport_info = channel; in scmi_optee_chan_setup()
431 channel->cinfo = cinfo; in scmi_optee_chan_setup()
435 ret = setup_shmem(dev, cinfo, channel); in scmi_optee_chan_setup()
448 cinfo->no_completion_irq = true; in scmi_optee_chan_setup()
467 struct scmi_chan_info *cinfo = p; in scmi_optee_chan_free() local
488 cinfo->transport_info = NULL; in scmi_optee_chan_free()
489 channel->cinfo = NULL; in scmi_optee_chan_free()
[all …]
H A Dcommon.h205 int (*chan_setup)(struct scmi_chan_info *cinfo, struct device *dev,
209 int (*send_message)(struct scmi_chan_info *cinfo,
211 void (*mark_txdone)(struct scmi_chan_info *cinfo, int ret,
213 void (*fetch_response)(struct scmi_chan_info *cinfo,
215 void (*fetch_notification)(struct scmi_chan_info *cinfo,
217 void (*clear_channel)(struct scmi_chan_info *cinfo);
261 static inline bool is_polling_required(struct scmi_chan_info *cinfo, in is_polling_required() argument
264 return cinfo->no_completion_irq || desc->force_polling; in is_polling_required()
272 static inline bool is_polling_enabled(struct scmi_chan_info *cinfo, in is_polling_enabled() argument
275 return is_polling_required(cinfo, desc) && in is_polling_enabled()
[all …]
H A Ddriver.c606 if (!cinfo) { in scmi_xfer_raw_channel_get()
611 if (!cinfo) in scmi_xfer_raw_channel_get()
618 return cinfo; in scmi_xfer_raw_channel_get()
720 dev_err(cinfo->dev, in scmi_msg_response_validate()
812 dev_err(cinfo->dev, in scmi_xfer_command_acquire()
906 cinfo->id); in scmi_handle_notification()
967 cinfo->id); in scmi_handle_response()
1091 cinfo->id); in scmi_wait_for_reply()
2323 cinfo = devm_kzalloc(info->dev, sizeof(*cinfo), GFP_KERNEL); in scmi_chan_setup()
2324 if (!cinfo) in scmi_chan_setup()
[all …]
H A Dvirtio.c58 struct scmi_chan_info *cinfo; member
115 struct scmi_chan_info *cinfo) in scmi_vio_channel_ready() argument
120 cinfo->transport_info = vioch; in scmi_vio_channel_ready()
122 vioch->cinfo = cinfo; in scmi_vio_channel_ready()
140 vioch->cinfo = NULL; in scmi_vio_channel_release()
297 scmi_rx_callback(vioch->cinfo, in scmi_vio_complete_cb()
342 scmi_rx_callback(vioch->cinfo, in scmi_vio_deferred_tx_worker()
409 return vioch && !vioch->cinfo; in virtio_chan_available()
474 scmi_vio_channel_ready(vioch, cinfo); in virtio_chan_setup()
481 struct scmi_chan_info *cinfo = p; in virtio_chan_free() local
[all …]
/openbmc/linux/fs/nfs/
H A Dpnfs_nfs.c79 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()
410 cinfo->ds->ncommitting--; in pnfs_bucket_get_committing()
497 array->nbuckets, cinfo); in pnfs_alloc_ds_commits_list()
1224 cinfo->ds->nwritten++; in pnfs_layout_mark_request_commit()
[all …]
H A Ddirect.c163 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()
535 nfs_scan_commit_list(&cinfo->mds->list, list, cinfo, 0); in nfs_direct_write_scan_commit_list()
544 struct nfs_commit_info cinfo; in nfs_direct_write_reschedule() local
602 struct nfs_commit_info cinfo; in nfs_direct_commit_complete() local
665 struct nfs_commit_info cinfo; in nfs_direct_commit_schedule() local
669 nfs_commit_begin(cinfo.mds); in nfs_direct_commit_schedule()
684 struct nfs_commit_info cinfo; in nfs_direct_write_clear_reqs() local
[all …]
H A Dwrite.c570 struct nfs_commit_info cinfo; in nfs_lock_and_join_requests() local
834 struct nfs_commit_info cinfo; in nfs_page_search_commits_for_head_request_locked() local
892 nfs_request_add_commit_list_locked(req, &cinfo->mds->list, cinfo); in nfs_request_add_commit_list()
923 cinfo->inode = inode; in nfs_init_cinfo_from_inode()
926 cinfo->dreq = NULL; in nfs_init_cinfo_from_inode()
995 struct nfs_commit_info cinfo; in nfs_write_completion() local
1086 cinfo, max); in nfs_scan_commit()
1769 data->dreq = cinfo->dreq; in nfs_init_commit()
1903 nfs_commit_end(cinfo.mds); in nfs_commit_release_pages()
1946 nfs_commit_begin(cinfo.mds); in __nfs_commit_inode()
[all …]
H A Dpnfs.h184 struct nfs_commit_info *cinfo);
187 struct nfs_commit_info *cinfo,
190 struct nfs_commit_info *cinfo);
194 struct nfs_commit_info *cinfo);
391 struct nfs_commit_info *cinfo);
396 struct nfs_commit_info *cinfo);
402 struct nfs_commit_info *cinfo,
419 struct nfs_commit_info *cinfo,
468 struct nfs_commit_info *cinfo) in pnfs_commit_list() argument
534 fl_cinfo->ops->clear_request_commit(req, cinfo); in pnfs_clear_request_commit()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/hplip/hplip/
H A D0001-Drop-using-register-storage-classifier.patch114 JDIMENSION num_cols = cinfo->image_width;
131 JDIMENSION num_cols = cinfo->image_width;
148 JDIMENSION num_cols = cinfo->image_width;
161 JDIMENSION num_cols = cinfo->image_width;
162 int instride = cinfo->input_components;
176 int nc = cinfo->num_components;
177 JDIMENSION num_cols = cinfo->image_width;
210 JDIMENSION num_cols = cinfo->image_width;
227 JDIMENSION num_cols = cinfo->image_width;
258 int instride = cinfo->input_components;
[all …]
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dtrace_ctxts.h68 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;
/openbmc/linux/drivers/input/touchscreen/
H A Dmainstone-wm97xx.c44 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()
/openbmc/linux/sound/soc/generic/
H A Dsimple-card.c764 cinfo = dev->platform_data; in asoc_simple_probe()
765 if (!cinfo) { in asoc_simple_probe()
770 if (!cinfo->name || in asoc_simple_probe()
771 !cinfo->codec_dai.name || in asoc_simple_probe()
772 !cinfo->codec || in asoc_simple_probe()
773 !cinfo->platform || in asoc_simple_probe()
774 !cinfo->cpu_dai.name) { in asoc_simple_probe()
783 codecs->name = cinfo->codec; in asoc_simple_probe()
787 platform->name = cinfo->platform; in asoc_simple_probe()
789 card->name = (cinfo->card) ? cinfo->card : cinfo->name; in asoc_simple_probe()
[all …]
/openbmc/linux/drivers/media/pci/cx23885/
H A Dnetup-eeprom.c82 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()
/openbmc/linux/tools/gpio/
H A Dlsgpio.c103 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()
/openbmc/linux/drivers/platform/x86/dell/
H A Ddell-wmi-ddv.c508 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 …]
/openbmc/linux/drivers/scsi/megaraid/
H A Dmegaraid_mm.c813 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 …]

123