/linux-6.1.9/drivers/md/ |
D | md-cluster.c | 188 struct md_cluster_info *cinfo = mddev->cluster_info; in lockres_init() local 195 res->ls = cinfo->lockspace; in lockres_init() 272 struct md_cluster_info *cinfo = mddev->cluster_info; in read_resync_info() local 278 cinfo->suspend_hi = le64_to_cpu(ri.hi); in read_resync_info() 279 cinfo->suspend_lo = le64_to_cpu(ri.lo); in read_resync_info() 289 struct md_cluster_info *cinfo = mddev->cluster_info; in recover_bitmaps() local 295 while (cinfo->recovery_map) { in recover_bitmaps() 296 slot = fls64((u64)cinfo->recovery_map) - 1; in recover_bitmaps() 318 spin_lock_irq(&cinfo->suspend_lock); in recover_bitmaps() 319 cinfo->suspend_hi = 0; in recover_bitmaps() [all …]
|
/linux-6.1.9/drivers/clk/ |
D | clk-palmas.c | 55 struct palmas_clock_info *cinfo = to_palmas_clks_info(hw); in palmas_clks_prepare() local 58 ret = palmas_update_bits(cinfo->palmas, PALMAS_RESOURCE_BASE, in palmas_clks_prepare() 59 cinfo->clk_desc->control_reg, in palmas_clks_prepare() 60 cinfo->clk_desc->enable_mask, in palmas_clks_prepare() 61 cinfo->clk_desc->enable_mask); in palmas_clks_prepare() 63 dev_err(cinfo->dev, "Reg 0x%02x update failed, %d\n", in palmas_clks_prepare() 64 cinfo->clk_desc->control_reg, ret); in palmas_clks_prepare() 65 else if (cinfo->clk_desc->delay) in palmas_clks_prepare() 66 udelay(cinfo->clk_desc->delay); in palmas_clks_prepare() 73 struct palmas_clock_info *cinfo = to_palmas_clks_info(hw); in palmas_clks_unprepare() local [all …]
|
/linux-6.1.9/drivers/video/fbdev/ |
D | cirrusfb.c | 381 static void switch_monitor(struct cirrusfb_info *cinfo, int on); 382 static void WGen(const struct cirrusfb_info *cinfo, 384 static unsigned char RGen(const struct cirrusfb_info *cinfo, int regnum); 385 static void AttrOn(const struct cirrusfb_info *cinfo); 386 static void WHDR(const struct cirrusfb_info *cinfo, unsigned char val); 387 static void WSFR(struct cirrusfb_info *cinfo, unsigned char val); 388 static void WSFR2(struct cirrusfb_info *cinfo, unsigned char val); 389 static void WClut(struct cirrusfb_info *cinfo, unsigned char regnum, 392 static void RClut(struct cirrusfb_info *cinfo, unsigned char regnum, 421 static inline int is_laguna(const struct cirrusfb_info *cinfo) in is_laguna() argument [all …]
|
/linux-6.1.9/drivers/firmware/arm_scmi/ |
D | mailbox.c | 29 struct scmi_chan_info *cinfo; member 39 shmem_tx_prepare(smbox->shmem, m, smbox->cinfo); in tx_prepare() 46 scmi_rx_callback(smbox->cinfo, shmem_read_header(smbox->shmem), NULL); in rx_callback() 55 static int mailbox_chan_setup(struct scmi_chan_info *cinfo, struct device *dev, in mailbox_chan_setup() argument 59 struct device *cdev = cinfo->dev; in mailbox_chan_setup() 105 cinfo->transport_info = smbox; in mailbox_chan_setup() 106 smbox->cinfo = cinfo; in mailbox_chan_setup() 113 struct scmi_chan_info *cinfo = p; in mailbox_chan_free() local 114 struct scmi_mailbox *smbox = cinfo->transport_info; in mailbox_chan_free() 118 cinfo->transport_info = NULL; in mailbox_chan_free() [all …]
|
D | smc.c | 36 struct scmi_chan_info *cinfo; member 49 scmi_rx_callback(scmi_info->cinfo, in smc_msg_done_isr() 100 static int smc_chan_setup(struct scmi_chan_info *cinfo, struct device *dev, in smc_chan_setup() argument 103 struct device *cdev = cinfo->dev; in smc_chan_setup() 155 cinfo->no_completion_irq = true; in smc_chan_setup() 159 scmi_info->cinfo = cinfo; in smc_chan_setup() 161 cinfo->transport_info = scmi_info; in smc_chan_setup() 168 struct scmi_chan_info *cinfo = p; in smc_chan_free() local 169 struct scmi_smc *scmi_info = cinfo->transport_info; in smc_chan_free() 171 cinfo->transport_info = NULL; in smc_chan_free() [all …]
|
D | optee.c | 123 struct scmi_chan_info *cinfo; member 339 static void scmi_optee_clear_channel(struct scmi_chan_info *cinfo) in scmi_optee_clear_channel() argument 341 struct scmi_optee_channel *channel = cinfo->transport_info; in scmi_optee_clear_channel() 354 dev_err(channel->cinfo->dev, "shmem allocation failed\n"); in setup_dynamic_shmem() 366 static int setup_static_shmem(struct device *dev, struct scmi_chan_info *cinfo, in setup_static_shmem() argument 374 np = of_parse_phandle(cinfo->dev->of_node, "shmem", 0); in setup_static_shmem() 403 static int setup_shmem(struct device *dev, struct scmi_chan_info *cinfo, in setup_shmem() argument 406 if (of_find_property(cinfo->dev->of_node, "shmem", NULL)) in setup_shmem() 407 return setup_static_shmem(dev, cinfo, channel); in setup_shmem() 412 static int scmi_optee_chan_setup(struct scmi_chan_info *cinfo, struct device *dev, bool tx) in scmi_optee_chan_setup() argument [all …]
|
D | virtio.c | 58 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() 157 if (!vioch->cinfo || vioch->shutdown_done) { in scmi_vio_channel_cleanup_sync() 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() 417 static int virtio_chan_setup(struct scmi_chan_info *cinfo, struct device *dev, in virtio_chan_setup() argument [all …]
|
D | common.h | 157 int (*chan_setup)(struct scmi_chan_info *cinfo, struct device *dev, 161 int (*send_message)(struct scmi_chan_info *cinfo, 163 void (*mark_txdone)(struct scmi_chan_info *cinfo, int ret, 165 void (*fetch_response)(struct scmi_chan_info *cinfo, 167 void (*fetch_notification)(struct scmi_chan_info *cinfo, 169 void (*clear_channel)(struct scmi_chan_info *cinfo); 170 bool (*poll_done)(struct scmi_chan_info *cinfo, struct scmi_xfer *xfer); 231 void scmi_rx_callback(struct scmi_chan_info *cinfo, u32 msg_hdr, void *priv); 232 void scmi_free_channel(struct scmi_chan_info *cinfo, struct idr *idr, int id); 238 struct scmi_xfer *xfer, struct scmi_chan_info *cinfo);
|
D | driver.c | 473 static inline int scmi_msg_response_validate(struct scmi_chan_info *cinfo, in scmi_msg_response_validate() argument 484 dev_err(cinfo->dev, in scmi_msg_response_validate() 500 dev_warn(cinfo->dev, in scmi_msg_response_validate() 562 scmi_xfer_command_acquire(struct scmi_chan_info *cinfo, u32 msg_hdr) in scmi_xfer_command_acquire() argument 567 struct scmi_info *info = handle_to_scmi_info(cinfo->handle); in scmi_xfer_command_acquire() 576 dev_err(cinfo->dev, in scmi_xfer_command_acquire() 586 ret = scmi_msg_response_validate(cinfo, msg_type, xfer); in scmi_xfer_command_acquire() 601 dev_err(cinfo->dev, in scmi_xfer_command_acquire() 620 struct scmi_chan_info *cinfo) in scmi_clear_channel() argument 623 info->desc->ops->clear_channel(cinfo); in scmi_clear_channel() [all …]
|
D | clock.c | 577 struct clock_info *cinfo; in scmi_clock_protocol_init() local 586 cinfo = devm_kzalloc(ph->dev, sizeof(*cinfo), GFP_KERNEL); in scmi_clock_protocol_init() 587 if (!cinfo) in scmi_clock_protocol_init() 590 ret = scmi_clock_protocol_attributes_get(ph, cinfo); in scmi_clock_protocol_init() 594 cinfo->clk = devm_kcalloc(ph->dev, cinfo->num_clocks, in scmi_clock_protocol_init() 595 sizeof(*cinfo->clk), GFP_KERNEL); in scmi_clock_protocol_init() 596 if (!cinfo->clk) in scmi_clock_protocol_init() 599 for (clkid = 0; clkid < cinfo->num_clocks; clkid++) { in scmi_clock_protocol_init() 600 struct scmi_clock_info *clk = cinfo->clk + clkid; in scmi_clock_protocol_init() 607 cinfo->version = version; in scmi_clock_protocol_init() [all …]
|
/linux-6.1.9/drivers/gpu/drm/omapdrm/dss/ |
D | pll.c | 160 memset(&pll->cinfo, 0, sizeof(pll->cinfo)); in dss_pll_disable() 163 int dss_pll_set_config(struct dss_pll *pll, const struct dss_pll_clock_info *cinfo) in dss_pll_set_config() argument 167 r = pll->ops->set_config(pll, cinfo); in dss_pll_set_config() 171 pll->cinfo = *cinfo; in dss_pll_set_config() 273 unsigned long target_clkout, struct dss_pll_clock_info *cinfo) in dss_pll_calc_b() argument 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() [all …]
|
/linux-6.1.9/drivers/video/fbdev/omap2/omapfb/dss/ |
D | pll.c | 105 memset(&pll->cinfo, 0, sizeof(pll->cinfo)); in dss_pll_disable() 108 int dss_pll_set_config(struct dss_pll *pll, const struct dss_pll_clock_info *cinfo) in dss_pll_set_config() argument 112 r = pll->ops->set_config(pll, cinfo); in dss_pll_set_config() 116 pll->cinfo = *cinfo; in dss_pll_set_config() 239 const struct dss_pll_clock_info *cinfo) in dss_pll_write_config_type_a() argument 249 l = FLD_MOD(l, cinfo->n - 1, hw->n_msb, hw->n_lsb); /* PLL_REGN */ in dss_pll_write_config_type_a() 250 l = FLD_MOD(l, cinfo->m, hw->m_msb, hw->m_lsb); /* PLL_REGM */ in dss_pll_write_config_type_a() 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() [all …]
|
D | manager.c | 186 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()
|
/linux-6.1.9/drivers/clk/ti/ |
D | clk-dra7-atl.c | 41 struct dra7_atl_clock_info *cinfo; member 61 static inline void atl_write(struct dra7_atl_clock_info *cinfo, u32 reg, in atl_write() argument 64 __raw_writel(val, cinfo->iobase + reg); in atl_write() 67 static inline int atl_read(struct dra7_atl_clock_info *cinfo, u32 reg) in atl_read() argument 69 return __raw_readl(cinfo->iobase + reg); in atl_read() 80 dev_warn(cdesc->cinfo->dev, "atl%d has not been configured\n", in atl_clk_enable() 82 pm_runtime_get_sync(cdesc->cinfo->dev); in atl_clk_enable() 84 atl_write(cdesc->cinfo, DRA7_ATL_ATLCR_REG(cdesc->id), in atl_clk_enable() 86 atl_write(cdesc->cinfo, DRA7_ATL_SWEN_REG(cdesc->id), DRA7_ATL_SWEN); in atl_clk_enable() 101 atl_write(cdesc->cinfo, DRA7_ATL_SWEN_REG(cdesc->id), 0); in atl_clk_disable() [all …]
|
/linux-6.1.9/fs/nfs/ |
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() 90 nfs_request_remove_commit_list(req, cinfo); in pnfs_generic_clear_request_commit() 242 struct nfs_commit_info *cinfo, in pnfs_bucket_scan_ds_commit_list() argument 249 lockdep_assert_held(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_bucket_scan_ds_commit_list() 250 ret = nfs_scan_commit_list(src, dst, cinfo, max); in pnfs_bucket_scan_ds_commit_list() 252 cinfo->ds->nwritten -= ret; in pnfs_bucket_scan_ds_commit_list() 253 cinfo->ds->ncommitting += ret; in pnfs_bucket_scan_ds_commit_list() 258 static int pnfs_bucket_scan_array(struct nfs_commit_info *cinfo, in pnfs_bucket_scan_array() argument 267 cnt = pnfs_bucket_scan_ds_commit_list(&buckets[i], cinfo, max); in pnfs_bucket_scan_array() [all …]
|
D | write.c | 62 static void nfs_init_cinfo_from_inode(struct nfs_commit_info *cinfo, 830 struct nfs_commit_info cinfo; in nfs_page_search_commits_for_head_request_locked() local 833 nfs_init_cinfo_from_inode(&cinfo, inode); in nfs_page_search_commits_for_head_request_locked() 836 freq = pnfs_search_commit_reqs(inode, &cinfo, page); in nfs_page_search_commits_for_head_request_locked() 841 list_for_each_entry_safe(freq, t, &cinfo.mds->list, wb_list) { in nfs_page_search_commits_for_head_request_locked() 864 struct nfs_commit_info *cinfo) in nfs_request_add_commit_list_locked() argument 868 atomic_long_inc(&cinfo->mds->ncommit); in nfs_request_add_commit_list_locked() 885 nfs_request_add_commit_list(struct nfs_page *req, struct nfs_commit_info *cinfo) in nfs_request_add_commit_list() argument 887 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in nfs_request_add_commit_list() 888 nfs_request_add_commit_list_locked(req, &cinfo->mds->list, cinfo); in nfs_request_add_commit_list() [all …]
|
D | pnfs.h | 184 struct nfs_commit_info *cinfo); 187 struct nfs_commit_info *cinfo, 190 struct nfs_commit_info *cinfo); 191 int (*scan_commit_lists) (struct nfs_commit_info *cinfo, 194 struct nfs_commit_info *cinfo); 195 struct nfs_page * (*search_commit_reqs)(struct nfs_commit_info *cinfo, 391 struct nfs_commit_info *cinfo); 396 struct nfs_commit_info *cinfo); 397 struct nfs_page *pnfs_generic_search_commit_reqs(struct nfs_commit_info *cinfo, 402 struct nfs_commit_info *cinfo, [all …]
|
D | direct.c | 152 void nfs_init_cinfo_from_dreq(struct nfs_commit_info *cinfo, in nfs_init_cinfo_from_dreq() argument 155 cinfo->inode = dreq->inode; in nfs_init_cinfo_from_dreq() 156 cinfo->mds = &dreq->mds_cinfo; in nfs_init_cinfo_from_dreq() 157 cinfo->ds = &dreq->ds_cinfo; in nfs_init_cinfo_from_dreq() 158 cinfo->dreq = dreq; in nfs_init_cinfo_from_dreq() 159 cinfo->completion_ops = &nfs_direct_commit_completion_ops; in nfs_init_cinfo_from_dreq() 498 struct nfs_commit_info *cinfo) in nfs_direct_write_scan_commit_list() argument 500 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in nfs_direct_write_scan_commit_list() 501 pnfs_recover_commit_reqs(list, cinfo); in nfs_direct_write_scan_commit_list() 502 nfs_scan_commit_list(&cinfo->mds->list, list, cinfo, 0); in nfs_direct_write_scan_commit_list() [all …]
|
/linux-6.1.9/sound/soc/generic/ |
D | simple-card.c | 673 struct asoc_simple_card_info *cinfo; in asoc_simple_probe() local 680 cinfo = dev->platform_data; in asoc_simple_probe() 681 if (!cinfo) { in asoc_simple_probe() 686 if (!cinfo->name || in asoc_simple_probe() 687 !cinfo->codec_dai.name || in asoc_simple_probe() 688 !cinfo->codec || in asoc_simple_probe() 689 !cinfo->platform || in asoc_simple_probe() 690 !cinfo->cpu_dai.name) { in asoc_simple_probe() 696 cpus->dai_name = cinfo->cpu_dai.name; in asoc_simple_probe() 699 codecs->name = cinfo->codec; in asoc_simple_probe() [all …]
|
/linux-6.1.9/drivers/infiniband/hw/hfi1/ |
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-6.1.9/drivers/input/touchscreen/ |
D | zylonite-wm97xx.c | 38 static const struct continuous cinfo[] = { variable 133 } while (reads < cinfo[sp_idx].reads); in wm97xx_acc_pen_down() 147 for (idx = 0; idx < ARRAY_SIZE(cinfo); idx++) { in wm97xx_acc_startup() 148 if (wm->id != cinfo[idx].id) in wm97xx_acc_startup() 151 if (cont_rate <= cinfo[idx].speed) in wm97xx_acc_startup() 154 wm->acc_rate = cinfo[sp_idx].code; in wm97xx_acc_startup() 158 cinfo[sp_idx].speed); in wm97xx_acc_startup()
|
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-6.1.9/tools/gpio/ |
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-6.1.9/drivers/media/pci/cx23885/ |
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-6.1.9/drivers/scsi/megaraid/ |
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() 881 hinfo_to_cinfo(mraid_hba_info_t *hinfo, mcontroller_t *cinfo) in hinfo_to_cinfo() argument 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() [all …]
|