/linux-6.6.21/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.6.21/drivers/clk/ |
D | clk-palmas.c | 54 struct palmas_clock_info *cinfo = to_palmas_clks_info(hw); in palmas_clks_prepare() local 57 ret = palmas_update_bits(cinfo->palmas, PALMAS_RESOURCE_BASE, in palmas_clks_prepare() 58 cinfo->clk_desc->control_reg, in palmas_clks_prepare() 59 cinfo->clk_desc->enable_mask, in palmas_clks_prepare() 60 cinfo->clk_desc->enable_mask); in palmas_clks_prepare() 62 dev_err(cinfo->dev, "Reg 0x%02x update failed, %d\n", in palmas_clks_prepare() 63 cinfo->clk_desc->control_reg, ret); 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() 72 struct palmas_clock_info *cinfo = to_palmas_clks_info(hw); in palmas_clks_unprepare() local [all …]
|
/linux-6.6.21/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.6.21/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.6.21/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.6.21/drivers/firmware/arm_scmi/ |
D | mailbox.c | 31 struct scmi_chan_info *cinfo; member 41 shmem_tx_prepare(smbox->shmem, m, smbox->cinfo); in tx_prepare() 58 dev_warn(smbox->cinfo->dev, "Ignoring spurious A2P IRQ !\n"); in rx_callback() 62 scmi_rx_callback(smbox->cinfo, shmem_read_header(smbox->shmem), NULL); in rx_callback() 159 static int mailbox_chan_setup(struct scmi_chan_info *cinfo, struct device *dev, in mailbox_chan_setup() argument 163 struct device *cdev = cinfo->dev; in mailbox_chan_setup() 229 cinfo->transport_info = smbox; in mailbox_chan_setup() 230 smbox->cinfo = cinfo; in mailbox_chan_setup() 237 struct scmi_chan_info *cinfo = p; in mailbox_chan_free() local 238 struct scmi_mailbox *smbox = cinfo->transport_info; in mailbox_chan_free() [all …]
|
D | smc.c | 57 struct scmi_chan_info *cinfo; member 72 scmi_rx_callback(scmi_info->cinfo, in smc_msg_done_isr() 123 static int smc_chan_setup(struct scmi_chan_info *cinfo, struct device *dev, in smc_chan_setup() argument 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() 203 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_property_present(cinfo->dev->of_node, "shmem")) 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 | common.h | 203 int (*chan_setup)(struct scmi_chan_info *cinfo, struct device *dev, 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); 216 bool (*poll_done)(struct scmi_chan_info *cinfo, struct scmi_xfer *xfer); 259 static inline bool is_polling_required(struct scmi_chan_info *cinfo, in is_polling_required() argument 262 return cinfo->no_completion_irq || desc->force_polling; in is_polling_required() 270 static inline bool is_polling_enabled(struct scmi_chan_info *cinfo, in is_polling_enabled() argument [all …]
|
D | driver.c | 602 struct scmi_chan_info *cinfo; in scmi_xfer_raw_channel_get() local 605 cinfo = idr_find(&info->tx_idr, protocol_id); in scmi_xfer_raw_channel_get() 606 if (!cinfo) { in scmi_xfer_raw_channel_get() 610 cinfo = idr_find(&info->tx_idr, SCMI_PROTOCOL_BASE); in scmi_xfer_raw_channel_get() 611 if (!cinfo) in scmi_xfer_raw_channel_get() 618 return cinfo; in scmi_xfer_raw_channel_get() 709 static inline int scmi_msg_response_validate(struct scmi_chan_info *cinfo, in scmi_msg_response_validate() argument 720 dev_err(cinfo->dev, in scmi_msg_response_validate() 736 dev_warn(cinfo->dev, in scmi_msg_response_validate() 798 scmi_xfer_command_acquire(struct scmi_chan_info *cinfo, u32 msg_hdr) in scmi_xfer_command_acquire() 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 | raw_mode.c | 205 struct scmi_chan_info *cinfo; member 337 struct scmi_chan_info *cinfo, bool async) in scmi_xfer_raw_waiter_get() argument 352 rw->cinfo = cinfo; in scmi_xfer_raw_waiter_get() 448 struct scmi_chan_info *cinfo; in scmi_xfer_raw_worker() local 454 cinfo = rw->cinfo; in scmi_xfer_raw_worker() 469 ret = scmi_xfer_raw_wait_for_message_response(cinfo, xfer, in scmi_xfer_raw_worker() 475 raw->desc->ops->mark_txdone(rw->cinfo, ret, xfer); in scmi_xfer_raw_worker() 616 struct scmi_chan_info *cinfo; in scmi_do_xfer_raw_start() local 625 cinfo = scmi_xfer_raw_channel_get(raw->handle, chan_id); in scmi_do_xfer_raw_start() 626 if (IS_ERR(cinfo)) in scmi_do_xfer_raw_start() [all …]
|
/linux-6.6.21/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.6.21/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_clear_request_commit(struct nfs_commit_info *cinfo, 64 static void nfs_init_cinfo_from_inode(struct nfs_commit_info *cinfo, 506 void nfs_join_page_group(struct nfs_page *head, struct nfs_commit_info *cinfo, in nfs_join_page_group() argument 537 nfs_clear_request_commit(cinfo, subreq); in nfs_join_page_group() 570 struct nfs_commit_info cinfo; in nfs_lock_and_join_requests() local 573 nfs_init_cinfo_from_inode(&cinfo, inode); in nfs_lock_and_join_requests() 590 nfs_join_page_group(head, &cinfo, inode); in nfs_lock_and_join_requests() 834 struct nfs_commit_info cinfo; in nfs_page_search_commits_for_head_request_locked() local 837 nfs_init_cinfo_from_inode(&cinfo, inode); in nfs_page_search_commits_for_head_request_locked() 840 freq = pnfs_search_commit_reqs(inode, &cinfo, folio); in nfs_page_search_commits_for_head_request_locked() [all …]
|
D | direct.c | 162 void nfs_init_cinfo_from_dreq(struct nfs_commit_info *cinfo, in nfs_init_cinfo_from_dreq() argument 165 cinfo->inode = dreq->inode; in nfs_init_cinfo_from_dreq() 166 cinfo->mds = &dreq->mds_cinfo; in nfs_init_cinfo_from_dreq() 167 cinfo->ds = &dreq->ds_cinfo; in nfs_init_cinfo_from_dreq() 168 cinfo->dreq = dreq; in nfs_init_cinfo_from_dreq() 169 cinfo->completion_ops = &nfs_direct_commit_completion_ops; in nfs_init_cinfo_from_dreq() 503 struct nfs_commit_info *cinfo, in nfs_direct_join_group() argument 526 nfs_join_page_group(req, cinfo, inode); in nfs_direct_join_group() 533 struct nfs_commit_info *cinfo) in nfs_direct_write_scan_commit_list() argument 535 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in nfs_direct_write_scan_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 …]
|
/linux-6.6.21/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.6.21/sound/soc/generic/ |
D | simple-card.c | 755 struct asoc_simple_card_info *cinfo; in asoc_simple_probe() local 764 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() 780 cpus->dai_name = cinfo->cpu_dai.name; in asoc_simple_probe() 783 codecs->name = cinfo->codec; in asoc_simple_probe() [all …]
|
/linux-6.6.21/drivers/input/touchscreen/ |
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.6.21/drivers/platform/x86/dell/ |
D | dell-wmi-ddv.c | 505 struct combined_channel_info *cinfo; in dell_wmi_ddv_channel_create() local 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() 572 struct combined_chip_info *cinfo; in dell_wmi_ddv_hwmon_add() local 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() [all …]
|
/linux-6.6.21/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.6.21/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.6.21/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 …]
|