cinfo              63 drivers/clk/clk-palmas.c 	struct palmas_clock_info *cinfo = to_palmas_clks_info(hw);
cinfo              66 drivers/clk/clk-palmas.c 	ret = palmas_update_bits(cinfo->palmas, PALMAS_RESOURCE_BASE,
cinfo              67 drivers/clk/clk-palmas.c 				 cinfo->clk_desc->control_reg,
cinfo              68 drivers/clk/clk-palmas.c 				 cinfo->clk_desc->enable_mask,
cinfo              69 drivers/clk/clk-palmas.c 				 cinfo->clk_desc->enable_mask);
cinfo              71 drivers/clk/clk-palmas.c 		dev_err(cinfo->dev, "Reg 0x%02x update failed, %d\n",
cinfo              72 drivers/clk/clk-palmas.c 			cinfo->clk_desc->control_reg, ret);
cinfo              73 drivers/clk/clk-palmas.c 	else if (cinfo->clk_desc->delay)
cinfo              74 drivers/clk/clk-palmas.c 		udelay(cinfo->clk_desc->delay);
cinfo              81 drivers/clk/clk-palmas.c 	struct palmas_clock_info *cinfo = to_palmas_clks_info(hw);
cinfo              88 drivers/clk/clk-palmas.c 	if (cinfo->ext_control_pin)
cinfo              91 drivers/clk/clk-palmas.c 	ret = palmas_update_bits(cinfo->palmas, PALMAS_RESOURCE_BASE,
cinfo              92 drivers/clk/clk-palmas.c 				 cinfo->clk_desc->control_reg,
cinfo              93 drivers/clk/clk-palmas.c 				 cinfo->clk_desc->enable_mask, 0);
cinfo              95 drivers/clk/clk-palmas.c 		dev_err(cinfo->dev, "Reg 0x%02x update failed, %d\n",
cinfo              96 drivers/clk/clk-palmas.c 			cinfo->clk_desc->control_reg, ret);
cinfo             101 drivers/clk/clk-palmas.c 	struct palmas_clock_info *cinfo = to_palmas_clks_info(hw);
cinfo             105 drivers/clk/clk-palmas.c 	if (cinfo->ext_control_pin)
cinfo             108 drivers/clk/clk-palmas.c 	ret = palmas_read(cinfo->palmas, PALMAS_RESOURCE_BASE,
cinfo             109 drivers/clk/clk-palmas.c 			  cinfo->clk_desc->control_reg, &val);
cinfo             111 drivers/clk/clk-palmas.c 		dev_err(cinfo->dev, "Reg 0x%02x read failed, %d\n",
cinfo             112 drivers/clk/clk-palmas.c 			cinfo->clk_desc->control_reg, ret);
cinfo             115 drivers/clk/clk-palmas.c 	return !!(val & cinfo->clk_desc->enable_mask);
cinfo             176 drivers/clk/clk-palmas.c 				     struct palmas_clock_info *cinfo)
cinfo             203 drivers/clk/clk-palmas.c 	cinfo->ext_control_pin = prop;
cinfo             206 drivers/clk/clk-palmas.c static int palmas_clks_init_configure(struct palmas_clock_info *cinfo)
cinfo             210 drivers/clk/clk-palmas.c 	ret = palmas_update_bits(cinfo->palmas, PALMAS_RESOURCE_BASE,
cinfo             211 drivers/clk/clk-palmas.c 				 cinfo->clk_desc->control_reg,
cinfo             212 drivers/clk/clk-palmas.c 				 cinfo->clk_desc->sleep_mask, 0);
cinfo             214 drivers/clk/clk-palmas.c 		dev_err(cinfo->dev, "Reg 0x%02x update failed, %d\n",
cinfo             215 drivers/clk/clk-palmas.c 			cinfo->clk_desc->control_reg, ret);
cinfo             219 drivers/clk/clk-palmas.c 	if (cinfo->ext_control_pin) {
cinfo             220 drivers/clk/clk-palmas.c 		ret = clk_prepare(cinfo->hw.clk);
cinfo             222 drivers/clk/clk-palmas.c 			dev_err(cinfo->dev, "Clock prep failed, %d\n", ret);
cinfo             226 drivers/clk/clk-palmas.c 		ret = palmas_ext_control_req_config(cinfo->palmas,
cinfo             227 drivers/clk/clk-palmas.c 					cinfo->clk_desc->sleep_reqstr_id,
cinfo             228 drivers/clk/clk-palmas.c 					cinfo->ext_control_pin, true);
cinfo             230 drivers/clk/clk-palmas.c 			dev_err(cinfo->dev, "Ext config for %s failed, %d\n",
cinfo             231 drivers/clk/clk-palmas.c 				cinfo->clk_desc->clk_name, ret);
cinfo             232 drivers/clk/clk-palmas.c 			clk_unprepare(cinfo->hw.clk);
cinfo             244 drivers/clk/clk-palmas.c 	struct palmas_clock_info *cinfo;
cinfo             251 drivers/clk/clk-palmas.c 	cinfo = devm_kzalloc(&pdev->dev, sizeof(*cinfo), GFP_KERNEL);
cinfo             252 drivers/clk/clk-palmas.c 	if (!cinfo)
cinfo             255 drivers/clk/clk-palmas.c 	palmas_clks_get_clk_data(pdev, cinfo);
cinfo             256 drivers/clk/clk-palmas.c 	platform_set_drvdata(pdev, cinfo);
cinfo             258 drivers/clk/clk-palmas.c 	cinfo->dev = &pdev->dev;
cinfo             259 drivers/clk/clk-palmas.c 	cinfo->palmas = palmas;
cinfo             261 drivers/clk/clk-palmas.c 	cinfo->clk_desc = &match_data->desc;
cinfo             262 drivers/clk/clk-palmas.c 	cinfo->hw.init = &match_data->init;
cinfo             263 drivers/clk/clk-palmas.c 	ret = devm_clk_hw_register(&pdev->dev, &cinfo->hw);
cinfo             270 drivers/clk/clk-palmas.c 	ret = palmas_clks_init_configure(cinfo);
cinfo             276 drivers/clk/clk-palmas.c 	ret = of_clk_add_hw_provider(node, of_clk_hw_simple_get, &cinfo->hw);
cinfo              49 drivers/clk/ti/clk-dra7-atl.c 	struct dra7_atl_clock_info *cinfo;
cinfo              69 drivers/clk/ti/clk-dra7-atl.c static inline void atl_write(struct dra7_atl_clock_info *cinfo, u32 reg,
cinfo              72 drivers/clk/ti/clk-dra7-atl.c 	__raw_writel(val, cinfo->iobase + reg);
cinfo              75 drivers/clk/ti/clk-dra7-atl.c static inline int atl_read(struct dra7_atl_clock_info *cinfo, u32 reg)
cinfo              77 drivers/clk/ti/clk-dra7-atl.c 	return __raw_readl(cinfo->iobase + reg);
cinfo              88 drivers/clk/ti/clk-dra7-atl.c 		dev_warn(cdesc->cinfo->dev, "atl%d has not been configured\n",
cinfo              90 drivers/clk/ti/clk-dra7-atl.c 	pm_runtime_get_sync(cdesc->cinfo->dev);
cinfo              92 drivers/clk/ti/clk-dra7-atl.c 	atl_write(cdesc->cinfo, DRA7_ATL_ATLCR_REG(cdesc->id),
cinfo              94 drivers/clk/ti/clk-dra7-atl.c 	atl_write(cdesc->cinfo, DRA7_ATL_SWEN_REG(cdesc->id), DRA7_ATL_SWEN);
cinfo             109 drivers/clk/ti/clk-dra7-atl.c 	atl_write(cdesc->cinfo, DRA7_ATL_SWEN_REG(cdesc->id), 0);
cinfo             110 drivers/clk/ti/clk-dra7-atl.c 	pm_runtime_put_sync(cdesc->cinfo->dev);
cinfo             222 drivers/clk/ti/clk-dra7-atl.c 	struct dra7_atl_clock_info *cinfo;
cinfo             229 drivers/clk/ti/clk-dra7-atl.c 	cinfo = devm_kzalloc(&pdev->dev, sizeof(*cinfo), GFP_KERNEL);
cinfo             230 drivers/clk/ti/clk-dra7-atl.c 	if (!cinfo)
cinfo             233 drivers/clk/ti/clk-dra7-atl.c 	cinfo->iobase = of_iomap(node, 0);
cinfo             234 drivers/clk/ti/clk-dra7-atl.c 	cinfo->dev = &pdev->dev;
cinfo             235 drivers/clk/ti/clk-dra7-atl.c 	pm_runtime_enable(cinfo->dev);
cinfo             236 drivers/clk/ti/clk-dra7-atl.c 	pm_runtime_irq_safe(cinfo->dev);
cinfo             238 drivers/clk/ti/clk-dra7-atl.c 	pm_runtime_get_sync(cinfo->dev);
cinfo             239 drivers/clk/ti/clk-dra7-atl.c 	atl_write(cinfo, DRA7_ATL_PCLKMUX_REG(0), DRA7_ATL_PCLKMUX);
cinfo             266 drivers/clk/ti/clk-dra7-atl.c 		cdesc->cinfo = cinfo;
cinfo             279 drivers/clk/ti/clk-dra7-atl.c 				atl_write(cinfo, DRA7_ATL_BWSMUX_REG(i),
cinfo             281 drivers/clk/ti/clk-dra7-atl.c 				atl_write(cinfo, DRA7_ATL_AWSMUX_REG(i),
cinfo             295 drivers/clk/ti/clk-dra7-atl.c 	pm_runtime_put_sync(cinfo->dev);
cinfo             658 drivers/crypto/ixp4xx_crypto.c 	unsigned char *cinfo;
cinfo             666 drivers/crypto/ixp4xx_crypto.c 	cinfo = dir->npe_ctx + dir->npe_ctx_idx;
cinfo             674 drivers/crypto/ixp4xx_crypto.c 	*(u32*)cinfo = cpu_to_be32(cfgword);
cinfo             675 drivers/crypto/ixp4xx_crypto.c 	cinfo += sizeof(cfgword);
cinfo             678 drivers/crypto/ixp4xx_crypto.c 	memcpy(cinfo, algo->icv, digest_len);
cinfo             679 drivers/crypto/ixp4xx_crypto.c 	cinfo += digest_len;
cinfo             684 drivers/crypto/ixp4xx_crypto.c 	init_len = cinfo - (dir->npe_ctx + dir->npe_ctx_idx);
cinfo             732 drivers/crypto/ixp4xx_crypto.c 	u8 *cinfo;
cinfo             740 drivers/crypto/ixp4xx_crypto.c 	cinfo = dir->npe_ctx;
cinfo             762 drivers/crypto/ixp4xx_crypto.c 	*(u32*)cinfo = cpu_to_be32(cipher_cfg);
cinfo             763 drivers/crypto/ixp4xx_crypto.c 	cinfo += sizeof(cipher_cfg);
cinfo             766 drivers/crypto/ixp4xx_crypto.c 	memcpy(cinfo, key, key_len);
cinfo             769 drivers/crypto/ixp4xx_crypto.c 		memset(cinfo + key_len, 0, DES3_EDE_KEY_SIZE -key_len);
cinfo             317 drivers/firmware/arm_scmi/clock.c 	struct clock_info *cinfo;
cinfo             324 drivers/firmware/arm_scmi/clock.c 	cinfo = devm_kzalloc(handle->dev, sizeof(*cinfo), GFP_KERNEL);
cinfo             325 drivers/firmware/arm_scmi/clock.c 	if (!cinfo)
cinfo             328 drivers/firmware/arm_scmi/clock.c 	scmi_clock_protocol_attributes_get(handle, cinfo);
cinfo             330 drivers/firmware/arm_scmi/clock.c 	cinfo->clk = devm_kcalloc(handle->dev, cinfo->num_clocks,
cinfo             331 drivers/firmware/arm_scmi/clock.c 				  sizeof(*cinfo->clk), GFP_KERNEL);
cinfo             332 drivers/firmware/arm_scmi/clock.c 	if (!cinfo->clk)
cinfo             335 drivers/firmware/arm_scmi/clock.c 	for (clkid = 0; clkid < cinfo->num_clocks; clkid++) {
cinfo             336 drivers/firmware/arm_scmi/clock.c 		struct scmi_clock_info *clk = cinfo->clk + clkid;
cinfo             344 drivers/firmware/arm_scmi/clock.c 	handle->clk_priv = cinfo;
cinfo             247 drivers/firmware/arm_scmi/driver.c 	struct scmi_chan_info *cinfo = client_to_scmi_chan_info(cl);
cinfo             248 drivers/firmware/arm_scmi/driver.c 	struct scmi_shared_mem __iomem *mem = cinfo->payload;
cinfo             352 drivers/firmware/arm_scmi/driver.c 	struct scmi_chan_info *cinfo = client_to_scmi_chan_info(cl);
cinfo             353 drivers/firmware/arm_scmi/driver.c 	struct device *dev = cinfo->dev;
cinfo             354 drivers/firmware/arm_scmi/driver.c 	struct scmi_info *info = handle_to_scmi_info(cinfo->handle);
cinfo             356 drivers/firmware/arm_scmi/driver.c 	struct scmi_shared_mem __iomem *mem = cinfo->payload;
cinfo             397 drivers/firmware/arm_scmi/driver.c scmi_xfer_poll_done(const struct scmi_chan_info *cinfo, struct scmi_xfer *xfer)
cinfo             399 drivers/firmware/arm_scmi/driver.c 	struct scmi_shared_mem __iomem *mem = cinfo->payload;
cinfo             412 drivers/firmware/arm_scmi/driver.c static bool scmi_xfer_done_no_timeout(const struct scmi_chan_info *cinfo,
cinfo             417 drivers/firmware/arm_scmi/driver.c 	return scmi_xfer_poll_done(cinfo, xfer) || ktime_after(__cur, stop);
cinfo             436 drivers/firmware/arm_scmi/driver.c 	struct scmi_chan_info *cinfo;
cinfo             438 drivers/firmware/arm_scmi/driver.c 	cinfo = idr_find(&info->tx_idr, xfer->hdr.protocol_id);
cinfo             439 drivers/firmware/arm_scmi/driver.c 	if (unlikely(!cinfo))
cinfo             442 drivers/firmware/arm_scmi/driver.c 	ret = mbox_send_message(cinfo->chan, xfer);
cinfo             454 drivers/firmware/arm_scmi/driver.c 		spin_until_cond(scmi_xfer_done_no_timeout(cinfo, xfer, stop));
cinfo             457 drivers/firmware/arm_scmi/driver.c 			scmi_fetch_response(xfer, cinfo->payload);
cinfo             479 drivers/firmware/arm_scmi/driver.c 	mbox_client_txdone(cinfo->chan, ret);
cinfo             729 drivers/firmware/arm_scmi/driver.c 	struct scmi_chan_info *cinfo;
cinfo             739 drivers/firmware/arm_scmi/driver.c 		cinfo = idr_find(idr, SCMI_PROTOCOL_BASE);
cinfo             740 drivers/firmware/arm_scmi/driver.c 		if (unlikely(!cinfo)) /* Possible only if platform has no Rx */
cinfo             745 drivers/firmware/arm_scmi/driver.c 	cinfo = devm_kzalloc(info->dev, sizeof(*cinfo), GFP_KERNEL);
cinfo             746 drivers/firmware/arm_scmi/driver.c 	if (!cinfo)
cinfo             749 drivers/firmware/arm_scmi/driver.c 	cinfo->dev = dev;
cinfo             751 drivers/firmware/arm_scmi/driver.c 	cl = &cinfo->cl;
cinfo             767 drivers/firmware/arm_scmi/driver.c 	cinfo->payload = devm_ioremap(info->dev, res.start, size);
cinfo             768 drivers/firmware/arm_scmi/driver.c 	if (!cinfo->payload) {
cinfo             773 drivers/firmware/arm_scmi/driver.c 	cinfo->chan = mbox_request_channel(cl, idx);
cinfo             774 drivers/firmware/arm_scmi/driver.c 	if (IS_ERR(cinfo->chan)) {
cinfo             775 drivers/firmware/arm_scmi/driver.c 		ret = PTR_ERR(cinfo->chan);
cinfo             783 drivers/firmware/arm_scmi/driver.c 	ret = idr_alloc(idr, cinfo, prot_id, prot_id + 1, GFP_KERNEL);
cinfo             789 drivers/firmware/arm_scmi/driver.c 	cinfo->handle = &info->handle;
cinfo             903 drivers/firmware/arm_scmi/driver.c 	struct scmi_chan_info *cinfo = p;
cinfo             906 drivers/firmware/arm_scmi/driver.c 	if (!IS_ERR_OR_NULL(cinfo->chan)) {
cinfo             907 drivers/firmware/arm_scmi/driver.c 		mbox_free_channel(cinfo->chan);
cinfo             908 drivers/firmware/arm_scmi/driver.c 		cinfo->chan = NULL;
cinfo            3300 drivers/gpu/drm/omapdrm/dss/dispc.c 		r = pll->cinfo.clkout[clkout_idx];
cinfo            3328 drivers/gpu/drm/omapdrm/dss/dispc.c 		r = pll->cinfo.clkout[clkout_idx];
cinfo            3653 drivers/gpu/drm/omapdrm/dss/dispc.c 			   struct dispc_clock_info *cinfo)
cinfo            3655 drivers/gpu/drm/omapdrm/dss/dispc.c 	if (cinfo->lck_div > 255 || cinfo->lck_div == 0)
cinfo            3657 drivers/gpu/drm/omapdrm/dss/dispc.c 	if (cinfo->pck_div < 1 || cinfo->pck_div > 255)
cinfo            3660 drivers/gpu/drm/omapdrm/dss/dispc.c 	cinfo->lck = dispc_fclk_rate / cinfo->lck_div;
cinfo            3661 drivers/gpu/drm/omapdrm/dss/dispc.c 	cinfo->pck = cinfo->lck / cinfo->pck_div;
cinfo            3728 drivers/gpu/drm/omapdrm/dss/dispc.c 			     const struct dispc_clock_info *cinfo)
cinfo            3730 drivers/gpu/drm/omapdrm/dss/dispc.c 	DSSDBG("lck = %lu (%u)\n", cinfo->lck, cinfo->lck_div);
cinfo            3731 drivers/gpu/drm/omapdrm/dss/dispc.c 	DSSDBG("pck = %lu (%u)\n", cinfo->pck, cinfo->pck_div);
cinfo            3733 drivers/gpu/drm/omapdrm/dss/dispc.c 	dispc_mgr_set_lcd_divisor(dispc, channel, cinfo->lck_div,
cinfo            3734 drivers/gpu/drm/omapdrm/dss/dispc.c 				  cinfo->pck_div);
cinfo            3739 drivers/gpu/drm/omapdrm/dss/dispc.c 			    struct dispc_clock_info *cinfo)
cinfo            3745 drivers/gpu/drm/omapdrm/dss/dispc.c 	cinfo->lck_div = REG_GET(dispc, DISPC_DIVISORo(channel), 23, 16);
cinfo            3746 drivers/gpu/drm/omapdrm/dss/dispc.c 	cinfo->pck_div = REG_GET(dispc, DISPC_DIVISORo(channel), 7, 0);
cinfo            3748 drivers/gpu/drm/omapdrm/dss/dispc.c 	cinfo->lck = fck / cinfo->lck_div;
cinfo            3749 drivers/gpu/drm/omapdrm/dss/dispc.c 	cinfo->pck = cinfo->lck / cinfo->pck_div;
cinfo            1182 drivers/gpu/drm/omapdrm/dss/dsi.c 	return dsi->pll.cinfo.clkout[HSDIV_DISPC];
cinfo            1187 drivers/gpu/drm/omapdrm/dss/dsi.c 	return dsi->pll.cinfo.clkout[HSDIV_DSI];
cinfo            1192 drivers/gpu/drm/omapdrm/dss/dsi.c 	return dsi->pll.cinfo.clkdco / 16;
cinfo            1308 drivers/gpu/drm/omapdrm/dss/dsi.c 				 struct dss_pll_clock_info *cinfo)
cinfo            1314 drivers/gpu/drm/omapdrm/dss/dsi.c 	cinfo->mX[HSDIV_DSI] = DIV_ROUND_UP(cinfo->clkdco, max_dsi_fck);
cinfo            1315 drivers/gpu/drm/omapdrm/dss/dsi.c 	cinfo->clkout[HSDIV_DSI] = cinfo->clkdco / cinfo->mX[HSDIV_DSI];
cinfo            1385 drivers/gpu/drm/omapdrm/dss/dsi.c 	struct dss_pll_clock_info *cinfo = &dsi->pll.cinfo;
cinfo            1400 drivers/gpu/drm/omapdrm/dss/dsi.c 	seq_printf(s,	"Fint\t\t%-16lun %u\n", cinfo->fint, cinfo->n);
cinfo            1403 drivers/gpu/drm/omapdrm/dss/dsi.c 			cinfo->clkdco, cinfo->m);
cinfo            1409 drivers/gpu/drm/omapdrm/dss/dsi.c 			cinfo->clkout[HSDIV_DISPC],
cinfo            1410 drivers/gpu/drm/omapdrm/dss/dsi.c 			cinfo->mX[HSDIV_DISPC],
cinfo            1418 drivers/gpu/drm/omapdrm/dss/dsi.c 			cinfo->clkout[HSDIV_DSI],
cinfo            1419 drivers/gpu/drm/omapdrm/dss/dsi.c 			cinfo->mX[HSDIV_DSI],
cinfo            1431 drivers/gpu/drm/omapdrm/dss/dsi.c 			cinfo->clkdco / 4);
cinfo            1731 drivers/gpu/drm/omapdrm/dss/dsi.c 	unsigned long ddr_clk = dsi->pll.cinfo.clkdco / 4;
cinfo            1738 drivers/gpu/drm/omapdrm/dss/dsi.c 	unsigned long ddr_clk = dsi->pll.cinfo.clkdco / 4;
cinfo            4047 drivers/gpu/drm/omapdrm/dss/dsi.c 	struct dss_pll_clock_info cinfo;
cinfo            4050 drivers/gpu/drm/omapdrm/dss/dsi.c 	cinfo = dsi->user_dsi_cinfo;
cinfo            4052 drivers/gpu/drm/omapdrm/dss/dsi.c 	r = dss_pll_set_config(&dsi->pll, &cinfo);
cinfo             147 drivers/gpu/drm/omapdrm/dss/dss.h 		const struct dss_pll_clock_info *cinfo);
cinfo             191 drivers/gpu/drm/omapdrm/dss/dss.h 	struct dss_pll_clock_info cinfo;
cinfo             411 drivers/gpu/drm/omapdrm/dss/dss.h 			   struct dispc_clock_info *cinfo);
cinfo             423 drivers/gpu/drm/omapdrm/dss/dss.h 			     const struct dispc_clock_info *cinfo);
cinfo             426 drivers/gpu/drm/omapdrm/dss/dss.h 			    struct dispc_clock_info *cinfo);
cinfo             455 drivers/gpu/drm/omapdrm/dss/dss.h 		const struct dss_pll_clock_info *cinfo);
cinfo             465 drivers/gpu/drm/omapdrm/dss/dss.h 	unsigned long target_clkout, struct dss_pll_clock_info *cinfo);
cinfo             468 drivers/gpu/drm/omapdrm/dss/dss.h 		const struct dss_pll_clock_info *cinfo);
cinfo             470 drivers/gpu/drm/omapdrm/dss/dss.h 		const struct dss_pll_clock_info *cinfo);
cinfo             160 drivers/gpu/drm/omapdrm/dss/pll.c 	memset(&pll->cinfo, 0, sizeof(pll->cinfo));
cinfo             163 drivers/gpu/drm/omapdrm/dss/pll.c int dss_pll_set_config(struct dss_pll *pll, const struct dss_pll_clock_info *cinfo)
cinfo             167 drivers/gpu/drm/omapdrm/dss/pll.c 	r = pll->ops->set_config(pll, cinfo);
cinfo             171 drivers/gpu/drm/omapdrm/dss/pll.c 	pll->cinfo = *cinfo;
cinfo             267 drivers/gpu/drm/omapdrm/dss/pll.c 	unsigned long target_clkout, struct dss_pll_clock_info *cinfo)
cinfo             310 drivers/gpu/drm/omapdrm/dss/pll.c 	cinfo->n = n;
cinfo             311 drivers/gpu/drm/omapdrm/dss/pll.c 	cinfo->m = m;
cinfo             312 drivers/gpu/drm/omapdrm/dss/pll.c 	cinfo->mf = mf;
cinfo             313 drivers/gpu/drm/omapdrm/dss/pll.c 	cinfo->mX[0] = m2;
cinfo             314 drivers/gpu/drm/omapdrm/dss/pll.c 	cinfo->sd = sd;
cinfo             316 drivers/gpu/drm/omapdrm/dss/pll.c 	cinfo->fint = fint;
cinfo             317 drivers/gpu/drm/omapdrm/dss/pll.c 	cinfo->clkdco = clkdco;
cinfo             318 drivers/gpu/drm/omapdrm/dss/pll.c 	cinfo->clkout[0] = clkout;
cinfo             391 drivers/gpu/drm/omapdrm/dss/pll.c 		const struct dss_pll_clock_info *cinfo)
cinfo             401 drivers/gpu/drm/omapdrm/dss/pll.c 	l = FLD_MOD(l, cinfo->n - 1, hw->n_msb, hw->n_lsb);	/* PLL_REGN */
cinfo             402 drivers/gpu/drm/omapdrm/dss/pll.c 	l = FLD_MOD(l, cinfo->m, hw->m_msb, hw->m_lsb);		/* PLL_REGM */
cinfo             404 drivers/gpu/drm/omapdrm/dss/pll.c 	l = FLD_MOD(l, cinfo->mX[0] ? cinfo->mX[0] - 1 : 0,
cinfo             407 drivers/gpu/drm/omapdrm/dss/pll.c 	l = FLD_MOD(l, cinfo->mX[1] ? cinfo->mX[1] - 1 : 0,
cinfo             413 drivers/gpu/drm/omapdrm/dss/pll.c 	l = FLD_MOD(l, cinfo->mX[2] ? cinfo->mX[2] - 1 : 0,
cinfo             416 drivers/gpu/drm/omapdrm/dss/pll.c 	l = FLD_MOD(l, cinfo->mX[3] ? cinfo->mX[3] - 1 : 0,
cinfo             422 drivers/gpu/drm/omapdrm/dss/pll.c 		u32 f = cinfo->fint < 1000000 ? 0x3 :
cinfo             423 drivers/gpu/drm/omapdrm/dss/pll.c 			cinfo->fint < 1250000 ? 0x4 :
cinfo             424 drivers/gpu/drm/omapdrm/dss/pll.c 			cinfo->fint < 1500000 ? 0x5 :
cinfo             425 drivers/gpu/drm/omapdrm/dss/pll.c 			cinfo->fint < 1750000 ? 0x6 :
cinfo             430 drivers/gpu/drm/omapdrm/dss/pll.c 		u32 f = cinfo->clkdco < hw->clkdco_low ? 0x2 : 0x4;
cinfo             454 drivers/gpu/drm/omapdrm/dss/pll.c 		sleep_time = DIV_ROUND_UP(1000*1000*1000, cinfo->fint);
cinfo             497 drivers/gpu/drm/omapdrm/dss/pll.c 	l = FLD_MOD(l, cinfo->mX[0] ? 1 : 0, 16, 16);	/* M4_CLOCK_EN */
cinfo             498 drivers/gpu/drm/omapdrm/dss/pll.c 	l = FLD_MOD(l, cinfo->mX[1] ? 1 : 0, 18, 18);	/* M5_CLOCK_EN */
cinfo             500 drivers/gpu/drm/omapdrm/dss/pll.c 	l = FLD_MOD(l, cinfo->mX[2] ? 1 : 0, 23, 23);	/* M6_CLOCK_EN */
cinfo             501 drivers/gpu/drm/omapdrm/dss/pll.c 	l = FLD_MOD(l, cinfo->mX[3] ? 1 : 0, 25, 25);	/* M7_CLOCK_EN */
cinfo             505 drivers/gpu/drm/omapdrm/dss/pll.c 		(cinfo->mX[0] ? BIT(7) : 0) |
cinfo             506 drivers/gpu/drm/omapdrm/dss/pll.c 		(cinfo->mX[1] ? BIT(8) : 0) |
cinfo             507 drivers/gpu/drm/omapdrm/dss/pll.c 		(cinfo->mX[2] ? BIT(10) : 0) |
cinfo             508 drivers/gpu/drm/omapdrm/dss/pll.c 		(cinfo->mX[3] ? BIT(11) : 0));
cinfo             519 drivers/gpu/drm/omapdrm/dss/pll.c 		const struct dss_pll_clock_info *cinfo)
cinfo             526 drivers/gpu/drm/omapdrm/dss/pll.c 	l = FLD_MOD(l, cinfo->m, 20, 9);	/* PLL_REGM */
cinfo             527 drivers/gpu/drm/omapdrm/dss/pll.c 	l = FLD_MOD(l, cinfo->n - 1, 8, 1);	/* PLL_REGN */
cinfo             538 drivers/gpu/drm/omapdrm/dss/pll.c 	if (cinfo->clkdco > hw->clkdco_low)
cinfo             545 drivers/gpu/drm/omapdrm/dss/pll.c 	l = FLD_MOD(l, cinfo->sd, 17, 10);	/* PLL_REGSD */
cinfo             549 drivers/gpu/drm/omapdrm/dss/pll.c 	l = FLD_MOD(l, cinfo->mX[0], 24, 18);	/* PLL_REGM2 */
cinfo             550 drivers/gpu/drm/omapdrm/dss/pll.c 	l = FLD_MOD(l, cinfo->mf, 17, 0);	/* PLL_REGM_F */
cinfo             595 drivers/hid/usbhid/hiddev.c 	struct hiddev_collection_info cinfo;
cinfo             798 drivers/hid/usbhid/hiddev.c 		if (copy_from_user(&cinfo, user_arg, sizeof(cinfo))) {
cinfo             803 drivers/hid/usbhid/hiddev.c 		if (cinfo.index >= hid->maxcollection)
cinfo             805 drivers/hid/usbhid/hiddev.c 		cinfo.index = array_index_nospec(cinfo.index,
cinfo             808 drivers/hid/usbhid/hiddev.c 		cinfo.type = hid->collection[cinfo.index].type;
cinfo             809 drivers/hid/usbhid/hiddev.c 		cinfo.usage = hid->collection[cinfo.index].usage;
cinfo             810 drivers/hid/usbhid/hiddev.c 		cinfo.level = hid->collection[cinfo.index].level;
cinfo             812 drivers/hid/usbhid/hiddev.c 		r = copy_to_user(user_arg, &cinfo, sizeof(cinfo)) ?
cinfo            1141 drivers/infiniband/hw/hfi1/file_ops.c 	struct hfi1_ctxt_info cinfo;
cinfo            1144 drivers/infiniband/hw/hfi1/file_ops.c 	if (sizeof(cinfo) != len)
cinfo            1147 drivers/infiniband/hw/hfi1/file_ops.c 	memset(&cinfo, 0, sizeof(cinfo));
cinfo            1148 drivers/infiniband/hw/hfi1/file_ops.c 	cinfo.runtime_flags = (((uctxt->flags >> HFI1_CAP_MISC_SHIFT) &
cinfo            1154 drivers/infiniband/hw/hfi1/file_ops.c 		cinfo.runtime_flags |= HFI1_CAP_TID_UNMAP; /* no caching */
cinfo            1156 drivers/infiniband/hw/hfi1/file_ops.c 	cinfo.num_active = hfi1_count_active_units();
cinfo            1157 drivers/infiniband/hw/hfi1/file_ops.c 	cinfo.unit = uctxt->dd->unit;
cinfo            1158 drivers/infiniband/hw/hfi1/file_ops.c 	cinfo.ctxt = uctxt->ctxt;
cinfo            1159 drivers/infiniband/hw/hfi1/file_ops.c 	cinfo.subctxt = fd->subctxt;
cinfo            1160 drivers/infiniband/hw/hfi1/file_ops.c 	cinfo.rcvtids = roundup(uctxt->egrbufs.alloced,
cinfo            1163 drivers/infiniband/hw/hfi1/file_ops.c 	cinfo.credits = uctxt->sc->credits;
cinfo            1164 drivers/infiniband/hw/hfi1/file_ops.c 	cinfo.numa_node = uctxt->numa_id;
cinfo            1165 drivers/infiniband/hw/hfi1/file_ops.c 	cinfo.rec_cpu = fd->rec_cpu_num;
cinfo            1166 drivers/infiniband/hw/hfi1/file_ops.c 	cinfo.send_ctxt = uctxt->sc->hw_context;
cinfo            1168 drivers/infiniband/hw/hfi1/file_ops.c 	cinfo.egrtids = uctxt->egrbufs.alloced;
cinfo            1169 drivers/infiniband/hw/hfi1/file_ops.c 	cinfo.rcvhdrq_cnt = uctxt->rcvhdrq_cnt;
cinfo            1170 drivers/infiniband/hw/hfi1/file_ops.c 	cinfo.rcvhdrq_entsize = uctxt->rcvhdrqentsize << 2;
cinfo            1171 drivers/infiniband/hw/hfi1/file_ops.c 	cinfo.sdma_ring_size = fd->cq->nentries;
cinfo            1172 drivers/infiniband/hw/hfi1/file_ops.c 	cinfo.rcvegr_size = uctxt->egrbufs.rcvtid_size;
cinfo            1174 drivers/infiniband/hw/hfi1/file_ops.c 	trace_hfi1_ctxt_info(uctxt->dd, uctxt->ctxt, fd->subctxt, &cinfo);
cinfo            1175 drivers/infiniband/hw/hfi1/file_ops.c 	if (copy_to_user((void __user *)arg, &cinfo, len))
cinfo             109 drivers/infiniband/hw/hfi1/trace_ctxts.h 		     struct hfi1_ctxt_info *cinfo),
cinfo             110 drivers/infiniband/hw/hfi1/trace_ctxts.h 	    TP_ARGS(dd, ctxt, subctxt, cinfo),
cinfo             123 drivers/infiniband/hw/hfi1/trace_ctxts.h 			    __entry->egrtids = cinfo->egrtids;
cinfo             124 drivers/infiniband/hw/hfi1/trace_ctxts.h 			    __entry->rcvhdrq_cnt = cinfo->rcvhdrq_cnt;
cinfo             125 drivers/infiniband/hw/hfi1/trace_ctxts.h 			    __entry->rcvhdrq_size = cinfo->rcvhdrq_entsize;
cinfo             126 drivers/infiniband/hw/hfi1/trace_ctxts.h 			    __entry->sdma_ring_size = cinfo->sdma_ring_size;
cinfo             127 drivers/infiniband/hw/hfi1/trace_ctxts.h 			    __entry->rcvegr_size = cinfo->rcvegr_size;
cinfo              43 drivers/input/touchscreen/mainstone-wm97xx.c static const struct continuous cinfo[] = {
cinfo             167 drivers/input/touchscreen/mainstone-wm97xx.c 	} while (reads < cinfo[sp_idx].reads);
cinfo             181 drivers/input/touchscreen/mainstone-wm97xx.c 	for (idx = 0; idx < ARRAY_SIZE(cinfo); idx++) {
cinfo             182 drivers/input/touchscreen/mainstone-wm97xx.c 		if (wm->id != cinfo[idx].id)
cinfo             185 drivers/input/touchscreen/mainstone-wm97xx.c 		if (cont_rate <= cinfo[idx].speed)
cinfo             188 drivers/input/touchscreen/mainstone-wm97xx.c 	wm->acc_rate = cinfo[sp_idx].code;
cinfo             192 drivers/input/touchscreen/mainstone-wm97xx.c 		 cinfo[sp_idx].speed);
cinfo              39 drivers/input/touchscreen/zylonite-wm97xx.c static const struct continuous cinfo[] = {
cinfo             134 drivers/input/touchscreen/zylonite-wm97xx.c 	} while (reads < cinfo[sp_idx].reads);
cinfo             148 drivers/input/touchscreen/zylonite-wm97xx.c 	for (idx = 0; idx < ARRAY_SIZE(cinfo); idx++) {
cinfo             149 drivers/input/touchscreen/zylonite-wm97xx.c 		if (wm->id != cinfo[idx].id)
cinfo             152 drivers/input/touchscreen/zylonite-wm97xx.c 		if (cont_rate <= cinfo[idx].speed)
cinfo             155 drivers/input/touchscreen/zylonite-wm97xx.c 	wm->acc_rate = cinfo[sp_idx].code;
cinfo             159 drivers/input/touchscreen/zylonite-wm97xx.c 		 cinfo[sp_idx].speed);
cinfo             188 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo             195 drivers/md/md-cluster.c 	res->ls = cinfo->lockspace;
cinfo             272 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo             278 drivers/md/md-cluster.c 		cinfo->suspend_hi = le64_to_cpu(ri.hi);
cinfo             279 drivers/md/md-cluster.c 		cinfo->suspend_lo = le64_to_cpu(ri.lo);
cinfo             289 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo             295 drivers/md/md-cluster.c 	while (cinfo->recovery_map) {
cinfo             296 drivers/md/md-cluster.c 		slot = fls64((u64)cinfo->recovery_map) - 1;
cinfo             318 drivers/md/md-cluster.c 		spin_lock_irq(&cinfo->suspend_lock);
cinfo             319 drivers/md/md-cluster.c 		cinfo->suspend_hi = 0;
cinfo             320 drivers/md/md-cluster.c 		cinfo->suspend_lo = 0;
cinfo             321 drivers/md/md-cluster.c 		cinfo->suspend_from = -1;
cinfo             322 drivers/md/md-cluster.c 		spin_unlock_irq(&cinfo->suspend_lock);
cinfo             348 drivers/md/md-cluster.c 		clear_bit(slot, &cinfo->recovery_map);
cinfo             355 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo             356 drivers/md/md-cluster.c 	set_bit(MD_CLUSTER_SUSPEND_READ_BALANCING, &cinfo->state);
cinfo             361 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo             363 drivers/md/md-cluster.c 	set_bit(slot, &cinfo->recovery_map);
cinfo             364 drivers/md/md-cluster.c 	if (!cinfo->recovery_thread) {
cinfo             365 drivers/md/md-cluster.c 		cinfo->recovery_thread = md_register_thread(recover_bitmaps,
cinfo             367 drivers/md/md-cluster.c 		if (!cinfo->recovery_thread) {
cinfo             372 drivers/md/md-cluster.c 	md_wakeup_thread(cinfo->recovery_thread);
cinfo             378 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo             383 drivers/md/md-cluster.c 			cinfo->slot_number);
cinfo             394 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo             396 drivers/md/md-cluster.c 	cinfo->slot_number = our_slot;
cinfo             399 drivers/md/md-cluster.c 	if (test_bit(MD_CLUSTER_BEGIN_JOIN_CLUSTER, &cinfo->state)) {
cinfo             400 drivers/md/md-cluster.c 		complete(&cinfo->completion);
cinfo             401 drivers/md/md-cluster.c 		clear_bit(MD_CLUSTER_BEGIN_JOIN_CLUSTER, &cinfo->state);
cinfo             403 drivers/md/md-cluster.c 	clear_bit(MD_CLUSTER_SUSPEND_READ_BALANCING, &cinfo->state);
cinfo             422 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = res->mddev->cluster_info;
cinfo             425 drivers/md/md-cluster.c 		if (test_bit(MD_CLUSTER_ALREADY_IN_CLUSTER, &cinfo->state))
cinfo             426 drivers/md/md-cluster.c 			md_wakeup_thread(cinfo->recv_thread);
cinfo             428 drivers/md/md-cluster.c 			set_bit(MD_CLUSTER_PENDING_RECV_EVENT, &cinfo->state);
cinfo             434 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo             436 drivers/md/md-cluster.c 	spin_lock_irq(&cinfo->suspend_lock);
cinfo             437 drivers/md/md-cluster.c 	cinfo->suspend_hi = 0;
cinfo             438 drivers/md/md-cluster.c 	cinfo->suspend_lo = 0;
cinfo             439 drivers/md/md-cluster.c 	spin_unlock_irq(&cinfo->suspend_lock);
cinfo             446 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo             490 drivers/md/md-cluster.c 		md_bitmap_sync_with_cluster(mddev, cinfo->sync_low,
cinfo             491 drivers/md/md-cluster.c 					    cinfo->sync_hi, lo, hi);
cinfo             492 drivers/md/md-cluster.c 	cinfo->sync_low = lo;
cinfo             493 drivers/md/md-cluster.c 	cinfo->sync_hi = hi;
cinfo             496 drivers/md/md-cluster.c 	spin_lock_irq(&cinfo->suspend_lock);
cinfo             497 drivers/md/md-cluster.c 	cinfo->suspend_from = slot;
cinfo             498 drivers/md/md-cluster.c 	cinfo->suspend_lo = lo;
cinfo             499 drivers/md/md-cluster.c 	cinfo->suspend_hi = hi;
cinfo             500 drivers/md/md-cluster.c 	spin_unlock_irq(&cinfo->suspend_lock);
cinfo             507 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo             517 drivers/md/md-cluster.c 	init_completion(&cinfo->newdisk_completion);
cinfo             518 drivers/md/md-cluster.c 	set_bit(MD_CLUSTER_WAITING_FOR_NEWDISK, &cinfo->state);
cinfo             520 drivers/md/md-cluster.c 	wait_for_completion_timeout(&cinfo->newdisk_completion,
cinfo             522 drivers/md/md-cluster.c 	clear_bit(MD_CLUSTER_WAITING_FOR_NEWDISK, &cinfo->state);
cinfo             529 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo             532 drivers/md/md-cluster.c 	dlm_lock_sync(cinfo->no_new_dev_lockres, DLM_LOCK_CR);
cinfo             535 drivers/md/md-cluster.c 		    test_bit(MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD, &cinfo->state));
cinfo             623 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = thread->mddev->cluster_info;
cinfo             624 drivers/md/md-cluster.c 	struct dlm_lock_resource *ack_lockres = cinfo->ack_lockres;
cinfo             625 drivers/md/md-cluster.c 	struct dlm_lock_resource *message_lockres = cinfo->message_lockres;
cinfo             629 drivers/md/md-cluster.c 	mutex_lock(&cinfo->recv_mutex);
cinfo             633 drivers/md/md-cluster.c 		mutex_unlock(&cinfo->recv_mutex);
cinfo             660 drivers/md/md-cluster.c 	mutex_unlock(&cinfo->recv_mutex);
cinfo             667 drivers/md/md-cluster.c static int lock_token(struct md_cluster_info *cinfo, bool mddev_locked)
cinfo             670 drivers/md/md-cluster.c 	struct mddev *mddev = cinfo->mddev;
cinfo             679 drivers/md/md-cluster.c 				      &cinfo->state)) {
cinfo             681 drivers/md/md-cluster.c 					      &cinfo->state);
cinfo             686 drivers/md/md-cluster.c 	error = dlm_lock_sync(cinfo->token_lockres, DLM_LOCK_EX);
cinfo             688 drivers/md/md-cluster.c 		clear_bit_unlock(MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD, &cinfo->state);
cinfo             695 drivers/md/md-cluster.c 	mutex_lock(&cinfo->recv_mutex);
cinfo             702 drivers/md/md-cluster.c static int lock_comm(struct md_cluster_info *cinfo, bool mddev_locked)
cinfo             704 drivers/md/md-cluster.c 	wait_event(cinfo->wait,
cinfo             705 drivers/md/md-cluster.c 		   !test_and_set_bit(MD_CLUSTER_SEND_LOCK, &cinfo->state));
cinfo             707 drivers/md/md-cluster.c 	return lock_token(cinfo, mddev_locked);
cinfo             710 drivers/md/md-cluster.c static void unlock_comm(struct md_cluster_info *cinfo)
cinfo             712 drivers/md/md-cluster.c 	WARN_ON(cinfo->token_lockres->mode != DLM_LOCK_EX);
cinfo             713 drivers/md/md-cluster.c 	mutex_unlock(&cinfo->recv_mutex);
cinfo             714 drivers/md/md-cluster.c 	dlm_unlock_sync(cinfo->token_lockres);
cinfo             715 drivers/md/md-cluster.c 	clear_bit(MD_CLUSTER_SEND_LOCK, &cinfo->state);
cinfo             716 drivers/md/md-cluster.c 	wake_up(&cinfo->wait);
cinfo             731 drivers/md/md-cluster.c static int __sendmsg(struct md_cluster_info *cinfo, struct cluster_msg *cmsg)
cinfo             734 drivers/md/md-cluster.c 	int slot = cinfo->slot_number - 1;
cinfo             738 drivers/md/md-cluster.c 	error = dlm_lock_sync(cinfo->message_lockres, DLM_LOCK_EX);
cinfo             744 drivers/md/md-cluster.c 	memcpy(cinfo->message_lockres->lksb.sb_lvbptr, (void *)cmsg,
cinfo             747 drivers/md/md-cluster.c 	error = dlm_lock_sync(cinfo->message_lockres, DLM_LOCK_CW);
cinfo             755 drivers/md/md-cluster.c 	error = dlm_lock_sync(cinfo->ack_lockres, DLM_LOCK_EX);
cinfo             763 drivers/md/md-cluster.c 	error = dlm_lock_sync(cinfo->ack_lockres, DLM_LOCK_CR);
cinfo             771 drivers/md/md-cluster.c 	error = dlm_unlock_sync(cinfo->message_lockres);
cinfo             782 drivers/md/md-cluster.c static int sendmsg(struct md_cluster_info *cinfo, struct cluster_msg *cmsg,
cinfo             787 drivers/md/md-cluster.c 	lock_comm(cinfo, mddev_locked);
cinfo             788 drivers/md/md-cluster.c 	ret = __sendmsg(cinfo, cmsg);
cinfo             789 drivers/md/md-cluster.c 	unlock_comm(cinfo);
cinfo             795 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo             808 drivers/md/md-cluster.c 		if (i == (cinfo->slot_number - 1)) {
cinfo             819 drivers/md/md-cluster.c 					(unsigned long long) cinfo->suspend_lo,
cinfo             820 drivers/md/md-cluster.c 					(unsigned long long) cinfo->suspend_hi,
cinfo             822 drivers/md/md-cluster.c 				cinfo->suspend_from = i;
cinfo             854 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo;
cinfo             858 drivers/md/md-cluster.c 	cinfo = kzalloc(sizeof(struct md_cluster_info), GFP_KERNEL);
cinfo             859 drivers/md/md-cluster.c 	if (!cinfo)
cinfo             862 drivers/md/md-cluster.c 	INIT_LIST_HEAD(&cinfo->suspend_list);
cinfo             863 drivers/md/md-cluster.c 	spin_lock_init(&cinfo->suspend_lock);
cinfo             864 drivers/md/md-cluster.c 	init_completion(&cinfo->completion);
cinfo             865 drivers/md/md-cluster.c 	set_bit(MD_CLUSTER_BEGIN_JOIN_CLUSTER, &cinfo->state);
cinfo             866 drivers/md/md-cluster.c 	init_waitqueue_head(&cinfo->wait);
cinfo             867 drivers/md/md-cluster.c 	mutex_init(&cinfo->recv_mutex);
cinfo             869 drivers/md/md-cluster.c 	mddev->cluster_info = cinfo;
cinfo             870 drivers/md/md-cluster.c 	cinfo->mddev = mddev;
cinfo             876 drivers/md/md-cluster.c 				&md_ls_ops, mddev, &ops_rv, &cinfo->lockspace);
cinfo             879 drivers/md/md-cluster.c 	wait_for_completion(&cinfo->completion);
cinfo             880 drivers/md/md-cluster.c 	if (nodes < cinfo->slot_number) {
cinfo             882 drivers/md/md-cluster.c 			cinfo->slot_number, nodes);
cinfo             888 drivers/md/md-cluster.c 	cinfo->recv_thread = md_register_thread(recv_daemon, mddev, "cluster_recv");
cinfo             889 drivers/md/md-cluster.c 	if (!cinfo->recv_thread) {
cinfo             893 drivers/md/md-cluster.c 	cinfo->message_lockres = lockres_init(mddev, "message", NULL, 1);
cinfo             894 drivers/md/md-cluster.c 	if (!cinfo->message_lockres)
cinfo             896 drivers/md/md-cluster.c 	cinfo->token_lockres = lockres_init(mddev, "token", NULL, 0);
cinfo             897 drivers/md/md-cluster.c 	if (!cinfo->token_lockres)
cinfo             899 drivers/md/md-cluster.c 	cinfo->no_new_dev_lockres = lockres_init(mddev, "no-new-dev", NULL, 0);
cinfo             900 drivers/md/md-cluster.c 	if (!cinfo->no_new_dev_lockres)
cinfo             903 drivers/md/md-cluster.c 	ret = dlm_lock_sync(cinfo->token_lockres, DLM_LOCK_EX);
cinfo             909 drivers/md/md-cluster.c 	cinfo->ack_lockres = lockres_init(mddev, "ack", ack_bast, 0);
cinfo             910 drivers/md/md-cluster.c 	if (!cinfo->ack_lockres) {
cinfo             915 drivers/md/md-cluster.c 	if (dlm_lock_sync(cinfo->ack_lockres, DLM_LOCK_CR))
cinfo             918 drivers/md/md-cluster.c 	dlm_unlock_sync(cinfo->token_lockres);
cinfo             920 drivers/md/md-cluster.c 	if (dlm_lock_sync(cinfo->no_new_dev_lockres, DLM_LOCK_CR))
cinfo             924 drivers/md/md-cluster.c 	pr_info("md-cluster: Joined cluster %s slot %d\n", str, cinfo->slot_number);
cinfo             925 drivers/md/md-cluster.c 	snprintf(str, 64, "bitmap%04d", cinfo->slot_number - 1);
cinfo             926 drivers/md/md-cluster.c 	cinfo->bitmap_lockres = lockres_init(mddev, str, NULL, 1);
cinfo             927 drivers/md/md-cluster.c 	if (!cinfo->bitmap_lockres) {
cinfo             931 drivers/md/md-cluster.c 	if (dlm_lock_sync(cinfo->bitmap_lockres, DLM_LOCK_PW)) {
cinfo             937 drivers/md/md-cluster.c 	cinfo->resync_lockres = lockres_init(mddev, "resync", NULL, 0);
cinfo             938 drivers/md/md-cluster.c 	if (!cinfo->resync_lockres) {
cinfo             945 drivers/md/md-cluster.c 	set_bit(MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD, &cinfo->state);
cinfo             946 drivers/md/md-cluster.c 	md_unregister_thread(&cinfo->recovery_thread);
cinfo             947 drivers/md/md-cluster.c 	md_unregister_thread(&cinfo->recv_thread);
cinfo             948 drivers/md/md-cluster.c 	lockres_free(cinfo->message_lockres);
cinfo             949 drivers/md/md-cluster.c 	lockres_free(cinfo->token_lockres);
cinfo             950 drivers/md/md-cluster.c 	lockres_free(cinfo->ack_lockres);
cinfo             951 drivers/md/md-cluster.c 	lockres_free(cinfo->no_new_dev_lockres);
cinfo             952 drivers/md/md-cluster.c 	lockres_free(cinfo->resync_lockres);
cinfo             953 drivers/md/md-cluster.c 	lockres_free(cinfo->bitmap_lockres);
cinfo             954 drivers/md/md-cluster.c 	if (cinfo->lockspace)
cinfo             955 drivers/md/md-cluster.c 		dlm_release_lockspace(cinfo->lockspace, 2);
cinfo             957 drivers/md/md-cluster.c 	kfree(cinfo);
cinfo             963 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo             968 drivers/md/md-cluster.c 	set_bit(MD_CLUSTER_ALREADY_IN_CLUSTER, &cinfo->state);
cinfo             970 drivers/md/md-cluster.c 	if (test_and_clear_bit(MD_CLUSTER_PENDING_RECV_EVENT, &cinfo->state))
cinfo             971 drivers/md/md-cluster.c 		md_wakeup_thread(cinfo->recv_thread);
cinfo             976 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo             981 drivers/md/md-cluster.c 	err = sendmsg(cinfo, &cmsg, 1);
cinfo             990 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo             992 drivers/md/md-cluster.c 	if (!cinfo)
cinfo            1003 drivers/md/md-cluster.c 	if ((cinfo->slot_number > 0 && mddev->recovery_cp != MaxSector) ||
cinfo            1008 drivers/md/md-cluster.c 	set_bit(MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD, &cinfo->state);
cinfo            1009 drivers/md/md-cluster.c 	md_unregister_thread(&cinfo->recovery_thread);
cinfo            1010 drivers/md/md-cluster.c 	md_unregister_thread(&cinfo->recv_thread);
cinfo            1011 drivers/md/md-cluster.c 	lockres_free(cinfo->message_lockres);
cinfo            1012 drivers/md/md-cluster.c 	lockres_free(cinfo->token_lockres);
cinfo            1013 drivers/md/md-cluster.c 	lockres_free(cinfo->ack_lockres);
cinfo            1014 drivers/md/md-cluster.c 	lockres_free(cinfo->no_new_dev_lockres);
cinfo            1015 drivers/md/md-cluster.c 	lockres_free(cinfo->resync_lockres);
cinfo            1016 drivers/md/md-cluster.c 	lockres_free(cinfo->bitmap_lockres);
cinfo            1018 drivers/md/md-cluster.c 	dlm_release_lockspace(cinfo->lockspace, 2);
cinfo            1019 drivers/md/md-cluster.c 	kfree(cinfo);
cinfo            1029 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo            1031 drivers/md/md-cluster.c 	return cinfo->slot_number - 1;
cinfo            1042 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo            1050 drivers/md/md-cluster.c 				    &cinfo->state);
cinfo            1054 drivers/md/md-cluster.c 	wait_event(cinfo->wait,
cinfo            1055 drivers/md/md-cluster.c 		   !test_and_set_bit(MD_CLUSTER_SEND_LOCK, &cinfo->state) ||
cinfo            1056 drivers/md/md-cluster.c 		   test_and_clear_bit(MD_CLUSTER_SEND_LOCKED_ALREADY, &cinfo->state));
cinfo            1059 drivers/md/md-cluster.c 	if (cinfo->token_lockres->mode == DLM_LOCK_EX) {
cinfo            1060 drivers/md/md-cluster.c 		clear_bit_unlock(MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD, &cinfo->state);
cinfo            1064 drivers/md/md-cluster.c 	ret = lock_token(cinfo, 1);
cinfo            1065 drivers/md/md-cluster.c 	clear_bit_unlock(MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD, &cinfo->state);
cinfo            1071 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo            1088 drivers/md/md-cluster.c 		ret = __sendmsg(cinfo, &cmsg);
cinfo            1091 drivers/md/md-cluster.c 	clear_bit(MD_CLUSTER_SEND_LOCKED_ALREADY, &cinfo->state);
cinfo            1092 drivers/md/md-cluster.c 	unlock_comm(cinfo);
cinfo            1098 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo            1099 drivers/md/md-cluster.c 	clear_bit(MD_CLUSTER_SEND_LOCKED_ALREADY, &cinfo->state);
cinfo            1100 drivers/md/md-cluster.c 	unlock_comm(cinfo);
cinfo            1105 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo            1111 drivers/md/md-cluster.c 	ret = sendmsg(cinfo, &cmsg, 0);
cinfo            1249 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo            1256 drivers/md/md-cluster.c 	lock_comm(cinfo, 1);
cinfo            1272 drivers/md/md-cluster.c 		ret = __sendmsg(cinfo, &cmsg);
cinfo            1276 drivers/md/md-cluster.c 			unlock_comm(cinfo);
cinfo            1281 drivers/md/md-cluster.c 		unlock_comm(cinfo);
cinfo            1293 drivers/md/md-cluster.c 		ret = __sendmsg(cinfo, &cmsg);
cinfo            1304 drivers/md/md-cluster.c 		ret = __sendmsg(cinfo, &cmsg);
cinfo            1309 drivers/md/md-cluster.c 	unlock_comm(cinfo);
cinfo            1314 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo            1315 drivers/md/md-cluster.c 	return dlm_lock_sync_interruptible(cinfo->resync_lockres, DLM_LOCK_EX, mddev);
cinfo            1320 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo            1322 drivers/md/md-cluster.c 	spin_lock_irq(&cinfo->suspend_lock);
cinfo            1323 drivers/md/md-cluster.c 	*lo = cinfo->suspend_lo;
cinfo            1324 drivers/md/md-cluster.c 	*hi = cinfo->suspend_hi;
cinfo            1325 drivers/md/md-cluster.c 	spin_unlock_irq(&cinfo->suspend_lock);
cinfo            1330 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo            1336 drivers/md/md-cluster.c 		memcpy(&ri, cinfo->bitmap_lockres->lksb.sb_lvbptr, sizeof(struct resync_info));
cinfo            1341 drivers/md/md-cluster.c 	add_resync_info(cinfo->bitmap_lockres, lo, hi);
cinfo            1343 drivers/md/md-cluster.c 	dlm_lock_sync(cinfo->bitmap_lockres, DLM_LOCK_PW);
cinfo            1353 drivers/md/md-cluster.c 		return sendmsg(cinfo, &cmsg, 1);
cinfo            1355 drivers/md/md-cluster.c 		return sendmsg(cinfo, &cmsg, 0);
cinfo            1360 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo            1371 drivers/md/md-cluster.c 	dlm_unlock_sync(cinfo->resync_lockres);
cinfo            1378 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo            1382 drivers/md/md-cluster.c 		test_bit(MD_CLUSTER_SUSPEND_READ_BALANCING, &cinfo->state))
cinfo            1385 drivers/md/md-cluster.c 	spin_lock_irq(&cinfo->suspend_lock);
cinfo            1386 drivers/md/md-cluster.c 	if (hi > cinfo->suspend_lo && lo < cinfo->suspend_hi)
cinfo            1388 drivers/md/md-cluster.c 	spin_unlock_irq(&cinfo->suspend_lock);
cinfo            1398 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo            1408 drivers/md/md-cluster.c 	lock_comm(cinfo, 1);
cinfo            1409 drivers/md/md-cluster.c 	ret = __sendmsg(cinfo, &cmsg);
cinfo            1411 drivers/md/md-cluster.c 		unlock_comm(cinfo);
cinfo            1414 drivers/md/md-cluster.c 	cinfo->no_new_dev_lockres->flags |= DLM_LKF_NOQUEUE;
cinfo            1415 drivers/md/md-cluster.c 	ret = dlm_lock_sync(cinfo->no_new_dev_lockres, DLM_LOCK_EX);
cinfo            1416 drivers/md/md-cluster.c 	cinfo->no_new_dev_lockres->flags &= ~DLM_LKF_NOQUEUE;
cinfo            1421 drivers/md/md-cluster.c 		unlock_comm(cinfo);
cinfo            1423 drivers/md/md-cluster.c 		dlm_lock_sync(cinfo->no_new_dev_lockres, DLM_LOCK_CR);
cinfo            1436 drivers/md/md-cluster.c 		set_bit(MD_CLUSTER_SEND_LOCKED_ALREADY, &cinfo->state);
cinfo            1437 drivers/md/md-cluster.c 		wake_up(&cinfo->wait);
cinfo            1444 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo            1445 drivers/md/md-cluster.c 	clear_bit(MD_CLUSTER_SEND_LOCKED_ALREADY, &cinfo->state);
cinfo            1446 drivers/md/md-cluster.c 	unlock_comm(cinfo);
cinfo            1451 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo            1453 drivers/md/md-cluster.c 	if (!test_bit(MD_CLUSTER_WAITING_FOR_NEWDISK, &cinfo->state)) {
cinfo            1459 drivers/md/md-cluster.c 		dlm_unlock_sync(cinfo->no_new_dev_lockres);
cinfo            1460 drivers/md/md-cluster.c 	complete(&cinfo->newdisk_completion);
cinfo            1467 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo            1470 drivers/md/md-cluster.c 	return sendmsg(cinfo, &cmsg, 1);
cinfo            1477 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo            1479 drivers/md/md-cluster.c 	cinfo->other_bitmap_lockres =
cinfo            1482 drivers/md/md-cluster.c 	if (!cinfo->other_bitmap_lockres) {
cinfo            1494 drivers/md/md-cluster.c 		cinfo->other_bitmap_lockres[i] = lockres_init(mddev, str, NULL, 1);
cinfo            1495 drivers/md/md-cluster.c 		if (!cinfo->other_bitmap_lockres[i])
cinfo            1498 drivers/md/md-cluster.c 		cinfo->other_bitmap_lockres[i]->flags |= DLM_LKF_NOQUEUE;
cinfo            1499 drivers/md/md-cluster.c 		ret = dlm_lock_sync(cinfo->other_bitmap_lockres[i], DLM_LOCK_PW);
cinfo            1510 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo            1514 drivers/md/md-cluster.c 	if (cinfo->other_bitmap_lockres) {
cinfo            1516 drivers/md/md-cluster.c 			if (cinfo->other_bitmap_lockres[i]) {
cinfo            1517 drivers/md/md-cluster.c 				lockres_free(cinfo->other_bitmap_lockres[i]);
cinfo            1520 drivers/md/md-cluster.c 		kfree(cinfo->other_bitmap_lockres);
cinfo            1530 drivers/md/md-cluster.c 	struct md_cluster_info *cinfo = mddev->cluster_info;
cinfo            1534 drivers/md/md-cluster.c 	err = sendmsg(cinfo, &cmsg, 1);
cinfo            1539 drivers/md/md-cluster.c 		if (sn == (cinfo->slot_number - 1))
cinfo            2417 drivers/media/pci/cx23885/cx23885-cards.c 		static struct netup_card_info cinfo;
cinfo            2426 drivers/media/pci/cx23885/cx23885-cards.c 		netup_get_card_info(&dev->i2c_bus[0].i2c_adap, &cinfo);
cinfo            2428 drivers/media/pci/cx23885/cx23885-cards.c 			cinfo.rev = netup_card_rev;
cinfo            2430 drivers/media/pci/cx23885/cx23885-cards.c 		switch (cinfo.rev) {
cinfo            2439 drivers/media/pci/cx23885/cx23885-cards.c 			cinfo.rev, filename);
cinfo            1089 drivers/media/pci/cx23885/cx23885-dvb.c 		static struct netup_card_info cinfo;
cinfo            1091 drivers/media/pci/cx23885/cx23885-dvb.c 		netup_get_card_info(&dev->i2c_bus[0].i2c_adap, &cinfo);
cinfo            1093 drivers/media/pci/cx23885/cx23885-dvb.c 				cinfo.port[port->nr - 1].mac, 6);
cinfo              82 drivers/media/pci/cx23885/netup-eeprom.c 				struct netup_card_info *cinfo)
cinfo              86 drivers/media/pci/cx23885/netup-eeprom.c 	cinfo->rev =  netup_eeprom_read(i2c_adap, 63);
cinfo              89 drivers/media/pci/cx23885/netup-eeprom.c 		cinfo->port[0].mac[j] =  netup_eeprom_read(i2c_adap, i);
cinfo              92 drivers/media/pci/cx23885/netup-eeprom.c 		cinfo->port[1].mac[j] =  netup_eeprom_read(i2c_adap, i);
cinfo              26 drivers/media/pci/cx23885/netup-eeprom.h 				struct netup_card_info *cinfo);
cinfo             458 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y 		if (symbol->info.cinfo->value > 4) {
cinfo             463 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y 		$$ = (0x1 << symbol->info.cinfo->value);
cinfo             715 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y 			$$.value = symbol->info.cinfo->value;
cinfo             743 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y 		$2->info.cinfo->value = $3.value;
cinfo             759 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y 		$2->info.cinfo->value = download_constant_count++;
cinfo             896 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y 		if (($3->info.cinfo->value + 1) > $1->info.rinfo->size) {
cinfo             902 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y 		$$.offset = $3->info.cinfo->value;
cinfo            1525 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y 		symbol->info.cinfo =
cinfo            1527 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y 		if (symbol->info.cinfo == NULL) {
cinfo            1531 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y 		memset(symbol->info.cinfo, 0,
cinfo             112 drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c 		if (symbol->info.cinfo != NULL)
cinfo             113 drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c 			free(symbol->info.cinfo);
cinfo             658 drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c 			curnode->symbol->info.cinfo->value);
cinfo             671 drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c 			curnode->symbol->info.cinfo->value);
cinfo             131 drivers/scsi/aic7xxx/aicasm/aicasm_symbol.h 		struct const_info *cinfo;
cinfo             110 drivers/scsi/lpfc/lpfc_vport.h 	struct vport_info cinfo;
cinfo             812 drivers/scsi/megaraid/megaraid_mm.c 	mcontroller_t		cinfo;
cinfo             830 drivers/scsi/megaraid/megaraid_mm.c 			hinfo_to_cinfo(hinfo, &cinfo);
cinfo             832 drivers/scsi/megaraid/megaraid_mm.c 			if (copy_to_user(kmimd.data, &cinfo, sizeof(cinfo)))
cinfo             880 drivers/scsi/megaraid/megaraid_mm.c hinfo_to_cinfo(mraid_hba_info_t *hinfo, mcontroller_t *cinfo)
cinfo             882 drivers/scsi/megaraid/megaraid_mm.c 	if (!hinfo || !cinfo)
cinfo             885 drivers/scsi/megaraid/megaraid_mm.c 	cinfo->base		= hinfo->baseport;
cinfo             886 drivers/scsi/megaraid/megaraid_mm.c 	cinfo->irq		= hinfo->irq;
cinfo             887 drivers/scsi/megaraid/megaraid_mm.c 	cinfo->numldrv		= hinfo->num_ldrv;
cinfo             888 drivers/scsi/megaraid/megaraid_mm.c 	cinfo->pcibus		= hinfo->pci_bus;
cinfo             889 drivers/scsi/megaraid/megaraid_mm.c 	cinfo->pcidev		= hinfo->pci_slot;
cinfo             890 drivers/scsi/megaraid/megaraid_mm.c 	cinfo->pcifun		= PCI_FUNC(hinfo->pci_dev_fn);
cinfo             891 drivers/scsi/megaraid/megaraid_mm.c 	cinfo->pciid		= hinfo->pci_device_id;
cinfo             892 drivers/scsi/megaraid/megaraid_mm.c 	cinfo->pcivendor	= hinfo->pci_vendor_id;
cinfo             893 drivers/scsi/megaraid/megaraid_mm.c 	cinfo->pcislot		= hinfo->pci_slot;
cinfo             894 drivers/scsi/megaraid/megaraid_mm.c 	cinfo->uid		= hinfo->unique_id;
cinfo              68 drivers/staging/isdn/avm/b1.c 	avmctrl_info *cinfo;
cinfo              75 drivers/staging/isdn/avm/b1.c 	cinfo = kcalloc(nr_controllers, sizeof(*cinfo), GFP_KERNEL);
cinfo              76 drivers/staging/isdn/avm/b1.c 	if (!cinfo) {
cinfo              81 drivers/staging/isdn/avm/b1.c 	card->ctrlinfo = cinfo;
cinfo              83 drivers/staging/isdn/avm/b1.c 		INIT_LIST_HEAD(&cinfo[i].ncci_head);
cinfo              84 drivers/staging/isdn/avm/b1.c 		cinfo[i].card = card;
cinfo             280 drivers/staging/isdn/avm/b1.c 	avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata);
cinfo             281 drivers/staging/isdn/avm/b1.c 	avmcard *card = cinfo->card;
cinfo             324 drivers/staging/isdn/avm/b1.c 	avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata);
cinfo             325 drivers/staging/isdn/avm/b1.c 	avmcard *card = cinfo->card;
cinfo             332 drivers/staging/isdn/avm/b1.c 	memset(cinfo->version, 0, sizeof(cinfo->version));
cinfo             334 drivers/staging/isdn/avm/b1.c 	capilib_release(&cinfo->ncci_head);
cinfo             343 drivers/staging/isdn/avm/b1.c 	avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata);
cinfo             344 drivers/staging/isdn/avm/b1.c 	avmcard *card = cinfo->card;
cinfo             365 drivers/staging/isdn/avm/b1.c 	avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata);
cinfo             366 drivers/staging/isdn/avm/b1.c 	avmcard *card = cinfo->card;
cinfo             371 drivers/staging/isdn/avm/b1.c 	capilib_release_appl(&cinfo->ncci_head, appl);
cinfo             379 drivers/staging/isdn/avm/b1.c 	avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata);
cinfo             380 drivers/staging/isdn/avm/b1.c 	avmcard *card = cinfo->card;
cinfo             390 drivers/staging/isdn/avm/b1.c 		retval = capilib_data_b3_req(&cinfo->ncci_head,
cinfo             416 drivers/staging/isdn/avm/b1.c void b1_parse_version(avmctrl_info *cinfo)
cinfo             418 drivers/staging/isdn/avm/b1.c 	struct capi_ctr *ctrl = &cinfo->capi_ctrl;
cinfo             419 drivers/staging/isdn/avm/b1.c 	avmcard *card = cinfo->card;
cinfo             426 drivers/staging/isdn/avm/b1.c 		cinfo->version[j] = "";
cinfo             428 drivers/staging/isdn/avm/b1.c 	     j < AVM_MAXVERSION && i < cinfo->versionlen;
cinfo             429 drivers/staging/isdn/avm/b1.c 	     j++, i += cinfo->versionbuf[i] + 1)
cinfo             430 drivers/staging/isdn/avm/b1.c 		cinfo->version[j] = &cinfo->versionbuf[i + 1];
cinfo             432 drivers/staging/isdn/avm/b1.c 	strlcpy(ctrl->serial, cinfo->version[VER_SERIAL], sizeof(ctrl->serial));
cinfo             433 drivers/staging/isdn/avm/b1.c 	memcpy(&ctrl->profile, cinfo->version[VER_PROFILE], sizeof(capi_profile));
cinfo             435 drivers/staging/isdn/avm/b1.c 	dversion = cinfo->version[VER_DRIVER];
cinfo             448 drivers/staging/isdn/avm/b1.c 	case 0: if (cinfo->version[VER_CARDTYPE])
cinfo             449 drivers/staging/isdn/avm/b1.c 			strcpy(cinfo->cardname, cinfo->version[VER_CARDTYPE]);
cinfo             450 drivers/staging/isdn/avm/b1.c 		else strcpy(cinfo->cardname, "B1");
cinfo             452 drivers/staging/isdn/avm/b1.c 	case 3: strcpy(cinfo->cardname, "PCMCIA B"); break;
cinfo             453 drivers/staging/isdn/avm/b1.c 	case 4: strcpy(cinfo->cardname, "PCMCIA M1"); break;
cinfo             454 drivers/staging/isdn/avm/b1.c 	case 5: strcpy(cinfo->cardname, "PCMCIA M2"); break;
cinfo             455 drivers/staging/isdn/avm/b1.c 	case 6: strcpy(cinfo->cardname, "B1 V3.0"); break;
cinfo             456 drivers/staging/isdn/avm/b1.c 	case 7: strcpy(cinfo->cardname, "B1 PCI"); break;
cinfo             457 drivers/staging/isdn/avm/b1.c 	default: sprintf(cinfo->cardname, "AVM?%u", (unsigned int)flag); break;
cinfo             460 drivers/staging/isdn/avm/b1.c 	       card->name, ctrl->cnr, cinfo->cardname);
cinfo             493 drivers/staging/isdn/avm/b1.c 	avmctrl_info *cinfo = &card->ctrlinfo[0];
cinfo             494 drivers/staging/isdn/avm/b1.c 	struct capi_ctr *ctrl = &cinfo->capi_ctrl;
cinfo             549 drivers/staging/isdn/avm/b1.c 				capilib_data_b3_conf(&cinfo->ncci_head, ApplId,
cinfo             562 drivers/staging/isdn/avm/b1.c 		capilib_new_ncci(&cinfo->ncci_head, ApplId, NCCI, WindowSize);
cinfo             571 drivers/staging/isdn/avm/b1.c 			capilib_free_ncci(&cinfo->ncci_head, ApplId, NCCI);
cinfo             588 drivers/staging/isdn/avm/b1.c 		cinfo->versionlen = b1_get_slice(card->port, cinfo->versionbuf);
cinfo             590 drivers/staging/isdn/avm/b1.c 		b1_parse_version(cinfo);
cinfo             593 drivers/staging/isdn/avm/b1.c 		       cinfo->version[VER_CARDTYPE],
cinfo             594 drivers/staging/isdn/avm/b1.c 		       cinfo->version[VER_DRIVER]);
cinfo             643 drivers/staging/isdn/avm/b1.c 	avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata);
cinfo             644 drivers/staging/isdn/avm/b1.c 	avmcard *card = cinfo->card;
cinfo             666 drivers/staging/isdn/avm/b1.c 	if ((s = cinfo->version[VER_DRIVER]) != NULL)
cinfo             668 drivers/staging/isdn/avm/b1.c 	if ((s = cinfo->version[VER_CARDTYPE]) != NULL)
cinfo             670 drivers/staging/isdn/avm/b1.c 	if ((s = cinfo->version[VER_SERIAL]) != NULL)
cinfo             698 drivers/staging/isdn/avm/b1.c 	seq_printf(m, "%-16s %s\n", "cardname", cinfo->cardname);
cinfo             449 drivers/staging/isdn/avm/b1dma.c 	avmctrl_info *cinfo = &card->ctrlinfo[0];
cinfo             451 drivers/staging/isdn/avm/b1dma.c 	struct capi_ctr *ctrl = &cinfo->capi_ctrl;
cinfo             494 drivers/staging/isdn/avm/b1dma.c 				capilib_data_b3_conf(&cinfo->ncci_head, ApplId,
cinfo             509 drivers/staging/isdn/avm/b1dma.c 		capilib_new_ncci(&cinfo->ncci_head, ApplId, NCCI, WindowSize);
cinfo             520 drivers/staging/isdn/avm/b1dma.c 			capilib_free_ncci(&cinfo->ncci_head, ApplId, NCCI);
cinfo             540 drivers/staging/isdn/avm/b1dma.c 		cinfo->versionlen = _get_slice(&p, cinfo->versionbuf);
cinfo             541 drivers/staging/isdn/avm/b1dma.c 		b1_parse_version(cinfo);
cinfo             544 drivers/staging/isdn/avm/b1dma.c 		       cinfo->version[VER_CARDTYPE],
cinfo             545 drivers/staging/isdn/avm/b1dma.c 		       cinfo->version[VER_DRIVER]);
cinfo             706 drivers/staging/isdn/avm/b1dma.c 	avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata);
cinfo             707 drivers/staging/isdn/avm/b1dma.c 	avmcard *card = cinfo->card;
cinfo             755 drivers/staging/isdn/avm/b1dma.c 	avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata);
cinfo             756 drivers/staging/isdn/avm/b1dma.c 	avmcard *card = cinfo->card;
cinfo             762 drivers/staging/isdn/avm/b1dma.c 	memset(cinfo->version, 0, sizeof(cinfo->version));
cinfo             763 drivers/staging/isdn/avm/b1dma.c 	capilib_release(&cinfo->ncci_head);
cinfo             774 drivers/staging/isdn/avm/b1dma.c 	avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata);
cinfo             775 drivers/staging/isdn/avm/b1dma.c 	avmcard *card = cinfo->card;
cinfo             809 drivers/staging/isdn/avm/b1dma.c 	avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata);
cinfo             810 drivers/staging/isdn/avm/b1dma.c 	avmcard *card = cinfo->card;
cinfo             816 drivers/staging/isdn/avm/b1dma.c 	capilib_release_appl(&cinfo->ncci_head, appl);
cinfo             840 drivers/staging/isdn/avm/b1dma.c 	avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata);
cinfo             841 drivers/staging/isdn/avm/b1dma.c 	avmcard *card = cinfo->card;
cinfo             847 drivers/staging/isdn/avm/b1dma.c 		retval = capilib_data_b3_req(&cinfo->ncci_head,
cinfo             864 drivers/staging/isdn/avm/b1dma.c 	avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata);
cinfo             865 drivers/staging/isdn/avm/b1dma.c 	avmcard *card = cinfo->card;
cinfo             888 drivers/staging/isdn/avm/b1dma.c 	if ((s = cinfo->version[VER_DRIVER]) != NULL)
cinfo             890 drivers/staging/isdn/avm/b1dma.c 	if ((s = cinfo->version[VER_CARDTYPE]) != NULL)
cinfo             892 drivers/staging/isdn/avm/b1dma.c 	if ((s = cinfo->version[VER_SERIAL]) != NULL)
cinfo             920 drivers/staging/isdn/avm/b1dma.c 	seq_printf(m, "%-16s %s\n", "cardname", cinfo->cardname);
cinfo              42 drivers/staging/isdn/avm/b1isa.c 	avmctrl_info *cinfo = pci_get_drvdata(pdev);
cinfo              45 drivers/staging/isdn/avm/b1isa.c 	if (!cinfo)
cinfo              48 drivers/staging/isdn/avm/b1isa.c 	card = cinfo->card;
cinfo              53 drivers/staging/isdn/avm/b1isa.c 	detach_capi_ctr(&cinfo->capi_ctrl);
cinfo              65 drivers/staging/isdn/avm/b1isa.c 	avmctrl_info *cinfo;
cinfo              76 drivers/staging/isdn/avm/b1isa.c 	cinfo = card->ctrlinfo;
cinfo             115 drivers/staging/isdn/avm/b1isa.c 	cinfo->capi_ctrl.owner = THIS_MODULE;
cinfo             116 drivers/staging/isdn/avm/b1isa.c 	cinfo->capi_ctrl.driver_name   = "b1isa";
cinfo             117 drivers/staging/isdn/avm/b1isa.c 	cinfo->capi_ctrl.driverdata    = cinfo;
cinfo             118 drivers/staging/isdn/avm/b1isa.c 	cinfo->capi_ctrl.register_appl = b1_register_appl;
cinfo             119 drivers/staging/isdn/avm/b1isa.c 	cinfo->capi_ctrl.release_appl  = b1_release_appl;
cinfo             120 drivers/staging/isdn/avm/b1isa.c 	cinfo->capi_ctrl.send_message  = b1_send_message;
cinfo             121 drivers/staging/isdn/avm/b1isa.c 	cinfo->capi_ctrl.load_firmware = b1_load_firmware;
cinfo             122 drivers/staging/isdn/avm/b1isa.c 	cinfo->capi_ctrl.reset_ctr     = b1_reset_ctr;
cinfo             123 drivers/staging/isdn/avm/b1isa.c 	cinfo->capi_ctrl.procinfo      = b1isa_procinfo;
cinfo             124 drivers/staging/isdn/avm/b1isa.c 	cinfo->capi_ctrl.proc_show     = b1_proc_show;
cinfo             125 drivers/staging/isdn/avm/b1isa.c 	strcpy(cinfo->capi_ctrl.name, card->name);
cinfo             127 drivers/staging/isdn/avm/b1isa.c 	retval = attach_capi_ctr(&cinfo->capi_ctrl);
cinfo             136 drivers/staging/isdn/avm/b1isa.c 	pci_set_drvdata(pdev, cinfo);
cinfo             151 drivers/staging/isdn/avm/b1isa.c 	avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata);
cinfo             153 drivers/staging/isdn/avm/b1isa.c 	if (!cinfo)
cinfo             155 drivers/staging/isdn/avm/b1isa.c 	sprintf(cinfo->infobuf, "%s %s 0x%x %d r%d",
cinfo             156 drivers/staging/isdn/avm/b1isa.c 		cinfo->cardname[0] ? cinfo->cardname : "-",
cinfo             157 drivers/staging/isdn/avm/b1isa.c 		cinfo->version[VER_DRIVER] ? cinfo->version[VER_DRIVER] : "-",
cinfo             158 drivers/staging/isdn/avm/b1isa.c 		cinfo->card ? cinfo->card->port : 0x0,
cinfo             159 drivers/staging/isdn/avm/b1isa.c 		cinfo->card ? cinfo->card->irq : 0,
cinfo             160 drivers/staging/isdn/avm/b1isa.c 		cinfo->card ? cinfo->card->revision : 0
cinfo             162 drivers/staging/isdn/avm/b1isa.c 	return cinfo->infobuf;
cinfo              48 drivers/staging/isdn/avm/b1pci.c 	avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata);
cinfo              50 drivers/staging/isdn/avm/b1pci.c 	if (!cinfo)
cinfo              52 drivers/staging/isdn/avm/b1pci.c 	sprintf(cinfo->infobuf, "%s %s 0x%x %d r%d",
cinfo              53 drivers/staging/isdn/avm/b1pci.c 		cinfo->cardname[0] ? cinfo->cardname : "-",
cinfo              54 drivers/staging/isdn/avm/b1pci.c 		cinfo->version[VER_DRIVER] ? cinfo->version[VER_DRIVER] : "-",
cinfo              55 drivers/staging/isdn/avm/b1pci.c 		cinfo->card ? cinfo->card->port : 0x0,
cinfo              56 drivers/staging/isdn/avm/b1pci.c 		cinfo->card ? cinfo->card->irq : 0,
cinfo              57 drivers/staging/isdn/avm/b1pci.c 		cinfo->card ? cinfo->card->revision : 0
cinfo              59 drivers/staging/isdn/avm/b1pci.c 	return cinfo->infobuf;
cinfo              67 drivers/staging/isdn/avm/b1pci.c 	avmctrl_info *cinfo;
cinfo              77 drivers/staging/isdn/avm/b1pci.c 	cinfo = card->ctrlinfo;
cinfo             107 drivers/staging/isdn/avm/b1pci.c 	cinfo->capi_ctrl.driver_name   = "b1pci";
cinfo             108 drivers/staging/isdn/avm/b1pci.c 	cinfo->capi_ctrl.driverdata    = cinfo;
cinfo             109 drivers/staging/isdn/avm/b1pci.c 	cinfo->capi_ctrl.register_appl = b1_register_appl;
cinfo             110 drivers/staging/isdn/avm/b1pci.c 	cinfo->capi_ctrl.release_appl  = b1_release_appl;
cinfo             111 drivers/staging/isdn/avm/b1pci.c 	cinfo->capi_ctrl.send_message  = b1_send_message;
cinfo             112 drivers/staging/isdn/avm/b1pci.c 	cinfo->capi_ctrl.load_firmware = b1_load_firmware;
cinfo             113 drivers/staging/isdn/avm/b1pci.c 	cinfo->capi_ctrl.reset_ctr     = b1_reset_ctr;
cinfo             114 drivers/staging/isdn/avm/b1pci.c 	cinfo->capi_ctrl.procinfo      = b1pci_procinfo;
cinfo             115 drivers/staging/isdn/avm/b1pci.c 	cinfo->capi_ctrl.proc_show     = b1_proc_show;
cinfo             116 drivers/staging/isdn/avm/b1pci.c 	strcpy(cinfo->capi_ctrl.name, card->name);
cinfo             117 drivers/staging/isdn/avm/b1pci.c 	cinfo->capi_ctrl.owner         = THIS_MODULE;
cinfo             119 drivers/staging/isdn/avm/b1pci.c 	retval = attach_capi_ctr(&cinfo->capi_ctrl);
cinfo             149 drivers/staging/isdn/avm/b1pci.c 	avmctrl_info *cinfo = card->ctrlinfo;
cinfo             155 drivers/staging/isdn/avm/b1pci.c 	detach_capi_ctr(&cinfo->capi_ctrl);
cinfo             166 drivers/staging/isdn/avm/b1pci.c 	avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata);
cinfo             168 drivers/staging/isdn/avm/b1pci.c 	if (!cinfo)
cinfo             170 drivers/staging/isdn/avm/b1pci.c 	sprintf(cinfo->infobuf, "%s %s 0x%x %d 0x%lx r%d",
cinfo             171 drivers/staging/isdn/avm/b1pci.c 		cinfo->cardname[0] ? cinfo->cardname : "-",
cinfo             172 drivers/staging/isdn/avm/b1pci.c 		cinfo->version[VER_DRIVER] ? cinfo->version[VER_DRIVER] : "-",
cinfo             173 drivers/staging/isdn/avm/b1pci.c 		cinfo->card ? cinfo->card->port : 0x0,
cinfo             174 drivers/staging/isdn/avm/b1pci.c 		cinfo->card ? cinfo->card->irq : 0,
cinfo             175 drivers/staging/isdn/avm/b1pci.c 		cinfo->card ? cinfo->card->membase : 0,
cinfo             176 drivers/staging/isdn/avm/b1pci.c 		cinfo->card ? cinfo->card->revision : 0
cinfo             178 drivers/staging/isdn/avm/b1pci.c 	return cinfo->infobuf;
cinfo             186 drivers/staging/isdn/avm/b1pci.c 	avmctrl_info *cinfo;
cinfo             203 drivers/staging/isdn/avm/b1pci.c 	cinfo = card->ctrlinfo;
cinfo             245 drivers/staging/isdn/avm/b1pci.c 	cinfo->capi_ctrl.owner         = THIS_MODULE;
cinfo             246 drivers/staging/isdn/avm/b1pci.c 	cinfo->capi_ctrl.driver_name   = "b1pciv4";
cinfo             247 drivers/staging/isdn/avm/b1pci.c 	cinfo->capi_ctrl.driverdata    = cinfo;
cinfo             248 drivers/staging/isdn/avm/b1pci.c 	cinfo->capi_ctrl.register_appl = b1dma_register_appl;
cinfo             249 drivers/staging/isdn/avm/b1pci.c 	cinfo->capi_ctrl.release_appl  = b1dma_release_appl;
cinfo             250 drivers/staging/isdn/avm/b1pci.c 	cinfo->capi_ctrl.send_message  = b1dma_send_message;
cinfo             251 drivers/staging/isdn/avm/b1pci.c 	cinfo->capi_ctrl.load_firmware = b1dma_load_firmware;
cinfo             252 drivers/staging/isdn/avm/b1pci.c 	cinfo->capi_ctrl.reset_ctr     = b1dma_reset_ctr;
cinfo             253 drivers/staging/isdn/avm/b1pci.c 	cinfo->capi_ctrl.procinfo      = b1pciv4_procinfo;
cinfo             254 drivers/staging/isdn/avm/b1pci.c 	cinfo->capi_ctrl.proc_show     = b1dma_proc_show;
cinfo             255 drivers/staging/isdn/avm/b1pci.c 	strcpy(cinfo->capi_ctrl.name, card->name);
cinfo             257 drivers/staging/isdn/avm/b1pci.c 	retval = attach_capi_ctr(&cinfo->capi_ctrl);
cinfo             262 drivers/staging/isdn/avm/b1pci.c 	card->cardnr = cinfo->capi_ctrl.cnr;
cinfo             288 drivers/staging/isdn/avm/b1pci.c 	avmctrl_info *cinfo = card->ctrlinfo;
cinfo             292 drivers/staging/isdn/avm/b1pci.c 	detach_capi_ctr(&cinfo->capi_ctrl);
cinfo              42 drivers/staging/isdn/avm/b1pcmcia.c 	avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata);
cinfo              43 drivers/staging/isdn/avm/b1pcmcia.c 	avmcard *card = cinfo->card;
cinfo              63 drivers/staging/isdn/avm/b1pcmcia.c 	avmctrl_info *cinfo;
cinfo              74 drivers/staging/isdn/avm/b1pcmcia.c 	cinfo = card->ctrlinfo;
cinfo             102 drivers/staging/isdn/avm/b1pcmcia.c 	cinfo->capi_ctrl.owner         = THIS_MODULE;
cinfo             103 drivers/staging/isdn/avm/b1pcmcia.c 	cinfo->capi_ctrl.driver_name   = "b1pcmcia";
cinfo             104 drivers/staging/isdn/avm/b1pcmcia.c 	cinfo->capi_ctrl.driverdata    = cinfo;
cinfo             105 drivers/staging/isdn/avm/b1pcmcia.c 	cinfo->capi_ctrl.register_appl = b1_register_appl;
cinfo             106 drivers/staging/isdn/avm/b1pcmcia.c 	cinfo->capi_ctrl.release_appl  = b1_release_appl;
cinfo             107 drivers/staging/isdn/avm/b1pcmcia.c 	cinfo->capi_ctrl.send_message  = b1_send_message;
cinfo             108 drivers/staging/isdn/avm/b1pcmcia.c 	cinfo->capi_ctrl.load_firmware = b1_load_firmware;
cinfo             109 drivers/staging/isdn/avm/b1pcmcia.c 	cinfo->capi_ctrl.reset_ctr     = b1_reset_ctr;
cinfo             110 drivers/staging/isdn/avm/b1pcmcia.c 	cinfo->capi_ctrl.procinfo      = b1pcmcia_procinfo;
cinfo             111 drivers/staging/isdn/avm/b1pcmcia.c 	cinfo->capi_ctrl.proc_show     = b1_proc_show;
cinfo             112 drivers/staging/isdn/avm/b1pcmcia.c 	strcpy(cinfo->capi_ctrl.name, card->name);
cinfo             114 drivers/staging/isdn/avm/b1pcmcia.c 	retval = attach_capi_ctr(&cinfo->capi_ctrl);
cinfo             129 drivers/staging/isdn/avm/b1pcmcia.c 	return cinfo->capi_ctrl.cnr;
cinfo             143 drivers/staging/isdn/avm/b1pcmcia.c 	avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata);
cinfo             145 drivers/staging/isdn/avm/b1pcmcia.c 	if (!cinfo)
cinfo             147 drivers/staging/isdn/avm/b1pcmcia.c 	sprintf(cinfo->infobuf, "%s %s 0x%x %d r%d",
cinfo             148 drivers/staging/isdn/avm/b1pcmcia.c 		cinfo->cardname[0] ? cinfo->cardname : "-",
cinfo             149 drivers/staging/isdn/avm/b1pcmcia.c 		cinfo->version[VER_DRIVER] ? cinfo->version[VER_DRIVER] : "-",
cinfo             150 drivers/staging/isdn/avm/b1pcmcia.c 		cinfo->card ? cinfo->card->port : 0x0,
cinfo             151 drivers/staging/isdn/avm/b1pcmcia.c 		cinfo->card ? cinfo->card->irq : 0,
cinfo             152 drivers/staging/isdn/avm/b1pcmcia.c 		cinfo->card ? cinfo->card->revision : 0
cinfo             154 drivers/staging/isdn/avm/b1pcmcia.c 	return cinfo->infobuf;
cinfo             507 drivers/staging/isdn/avm/c4.c 	avmctrl_info *cinfo;
cinfo             551 drivers/staging/isdn/avm/c4.c 		cinfo = &card->ctrlinfo[cidx];
cinfo             560 drivers/staging/isdn/avm/c4.c 				capilib_data_b3_conf(&cinfo->ncci_head, ApplId,
cinfo             620 drivers/staging/isdn/avm/c4.c 		cinfo = &card->ctrlinfo[cidx];
cinfo             621 drivers/staging/isdn/avm/c4.c 		ctrl = &cinfo->capi_ctrl;
cinfo             622 drivers/staging/isdn/avm/c4.c 		cinfo->versionlen = _get_slice(&p, cinfo->versionbuf);
cinfo             623 drivers/staging/isdn/avm/c4.c 		b1_parse_version(cinfo);
cinfo             626 drivers/staging/isdn/avm/c4.c 		       cinfo->version[VER_CARDTYPE],
cinfo             627 drivers/staging/isdn/avm/c4.c 		       cinfo->version[VER_DRIVER]);
cinfo             628 drivers/staging/isdn/avm/c4.c 		capi_ctr_ready(&cinfo->capi_ctrl);
cinfo             682 drivers/staging/isdn/avm/c4.c 			avmctrl_info *cinfo = &card->ctrlinfo[i];
cinfo             683 drivers/staging/isdn/avm/c4.c 			memset(cinfo->version, 0, sizeof(cinfo->version));
cinfo             685 drivers/staging/isdn/avm/c4.c 			capilib_release(&cinfo->ncci_head);
cinfo             687 drivers/staging/isdn/avm/c4.c 			capi_ctr_down(&cinfo->capi_ctrl);
cinfo             857 drivers/staging/isdn/avm/c4.c 	avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata);
cinfo             858 drivers/staging/isdn/avm/c4.c 	avmcard *card = cinfo->card;
cinfo             902 drivers/staging/isdn/avm/c4.c 	avmctrl_info *cinfo;
cinfo             913 drivers/staging/isdn/avm/c4.c 		cinfo = &card->ctrlinfo[i];
cinfo             914 drivers/staging/isdn/avm/c4.c 		memset(cinfo->version, 0, sizeof(cinfo->version));
cinfo             915 drivers/staging/isdn/avm/c4.c 		capi_ctr_down(&cinfo->capi_ctrl);
cinfo             923 drivers/staging/isdn/avm/c4.c 	avmctrl_info *cinfo;
cinfo             932 drivers/staging/isdn/avm/c4.c 		cinfo = &card->ctrlinfo[i];
cinfo             933 drivers/staging/isdn/avm/c4.c 		detach_capi_ctr(&cinfo->capi_ctrl);
cinfo             951 drivers/staging/isdn/avm/c4.c 	avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata);
cinfo             952 drivers/staging/isdn/avm/c4.c 	avmcard *card = cinfo->card;
cinfo             994 drivers/staging/isdn/avm/c4.c 	avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata);
cinfo             995 drivers/staging/isdn/avm/c4.c 	avmcard *card = cinfo->card;
cinfo            1001 drivers/staging/isdn/avm/c4.c 	capilib_release_appl(&cinfo->ncci_head, appl);
cinfo            1030 drivers/staging/isdn/avm/c4.c 	avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata);
cinfo            1031 drivers/staging/isdn/avm/c4.c 	avmcard *card = cinfo->card;
cinfo            1037 drivers/staging/isdn/avm/c4.c 		retval = capilib_data_b3_req(&cinfo->ncci_head,
cinfo            1054 drivers/staging/isdn/avm/c4.c 	avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata);
cinfo            1056 drivers/staging/isdn/avm/c4.c 	if (!cinfo)
cinfo            1058 drivers/staging/isdn/avm/c4.c 	sprintf(cinfo->infobuf, "%s %s 0x%x %d 0x%lx",
cinfo            1059 drivers/staging/isdn/avm/c4.c 		cinfo->cardname[0] ? cinfo->cardname : "-",
cinfo            1060 drivers/staging/isdn/avm/c4.c 		cinfo->version[VER_DRIVER] ? cinfo->version[VER_DRIVER] : "-",
cinfo            1061 drivers/staging/isdn/avm/c4.c 		cinfo->card ? cinfo->card->port : 0x0,
cinfo            1062 drivers/staging/isdn/avm/c4.c 		cinfo->card ? cinfo->card->irq : 0,
cinfo            1063 drivers/staging/isdn/avm/c4.c 		cinfo->card ? cinfo->card->membase : 0
cinfo            1065 drivers/staging/isdn/avm/c4.c 	return cinfo->infobuf;
cinfo            1071 drivers/staging/isdn/avm/c4.c 	avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata);
cinfo            1072 drivers/staging/isdn/avm/c4.c 	avmcard *card = cinfo->card;
cinfo            1093 drivers/staging/isdn/avm/c4.c 	if ((s = cinfo->version[VER_DRIVER]) != NULL)
cinfo            1095 drivers/staging/isdn/avm/c4.c 	if ((s = cinfo->version[VER_CARDTYPE]) != NULL)
cinfo            1097 drivers/staging/isdn/avm/c4.c 	if ((s = cinfo->version[VER_SERIAL]) != NULL)
cinfo            1125 drivers/staging/isdn/avm/c4.c 	seq_printf(m, "%-16s %s\n", "cardname", cinfo->cardname);
cinfo            1136 drivers/staging/isdn/avm/c4.c 	avmctrl_info *cinfo;
cinfo            1191 drivers/staging/isdn/avm/c4.c 		cinfo = &card->ctrlinfo[i];
cinfo            1192 drivers/staging/isdn/avm/c4.c 		cinfo->capi_ctrl.owner = THIS_MODULE;
cinfo            1193 drivers/staging/isdn/avm/c4.c 		cinfo->capi_ctrl.driver_name   = "c4";
cinfo            1194 drivers/staging/isdn/avm/c4.c 		cinfo->capi_ctrl.driverdata    = cinfo;
cinfo            1195 drivers/staging/isdn/avm/c4.c 		cinfo->capi_ctrl.register_appl = c4_register_appl;
cinfo            1196 drivers/staging/isdn/avm/c4.c 		cinfo->capi_ctrl.release_appl  = c4_release_appl;
cinfo            1197 drivers/staging/isdn/avm/c4.c 		cinfo->capi_ctrl.send_message  = c4_send_message;
cinfo            1198 drivers/staging/isdn/avm/c4.c 		cinfo->capi_ctrl.load_firmware = c4_load_firmware;
cinfo            1199 drivers/staging/isdn/avm/c4.c 		cinfo->capi_ctrl.reset_ctr     = c4_reset_ctr;
cinfo            1200 drivers/staging/isdn/avm/c4.c 		cinfo->capi_ctrl.procinfo      = c4_procinfo;
cinfo            1201 drivers/staging/isdn/avm/c4.c 		cinfo->capi_ctrl.proc_show     = c4_proc_show;
cinfo            1202 drivers/staging/isdn/avm/c4.c 		strcpy(cinfo->capi_ctrl.name, card->name);
cinfo            1204 drivers/staging/isdn/avm/c4.c 		retval = attach_capi_ctr(&cinfo->capi_ctrl);
cinfo            1208 drivers/staging/isdn/avm/c4.c 				cinfo = &card->ctrlinfo[i];
cinfo            1209 drivers/staging/isdn/avm/c4.c 				detach_capi_ctr(&cinfo->capi_ctrl);
cinfo            1214 drivers/staging/isdn/avm/c4.c 			card->cardnr = cinfo->capi_ctrl.cnr;
cinfo             138 drivers/staging/isdn/avm/t1isa.c 	avmctrl_info *cinfo = &card->ctrlinfo[0];
cinfo             139 drivers/staging/isdn/avm/t1isa.c 	struct capi_ctr *ctrl = &cinfo->capi_ctrl;
cinfo             191 drivers/staging/isdn/avm/t1isa.c 					capilib_data_b3_conf(&cinfo->ncci_head, ApplId,
cinfo             204 drivers/staging/isdn/avm/t1isa.c 			capilib_new_ncci(&cinfo->ncci_head, ApplId, NCCI, WindowSize);
cinfo             213 drivers/staging/isdn/avm/t1isa.c 				capilib_free_ncci(&cinfo->ncci_head, ApplId, NCCI);
cinfo             230 drivers/staging/isdn/avm/t1isa.c 			cinfo->versionlen = t1_get_slice(card->port, cinfo->versionbuf);
cinfo             232 drivers/staging/isdn/avm/t1isa.c 			b1_parse_version(cinfo);
cinfo             235 drivers/staging/isdn/avm/t1isa.c 			       cinfo->version[VER_CARDTYPE],
cinfo             236 drivers/staging/isdn/avm/t1isa.c 			       cinfo->version[VER_DRIVER]);
cinfo             287 drivers/staging/isdn/avm/t1isa.c 	avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata);
cinfo             288 drivers/staging/isdn/avm/t1isa.c 	avmcard *card = cinfo->card;
cinfo             330 drivers/staging/isdn/avm/t1isa.c 	avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata);
cinfo             331 drivers/staging/isdn/avm/t1isa.c 	avmcard *card = cinfo->card;
cinfo             339 drivers/staging/isdn/avm/t1isa.c 	memset(cinfo->version, 0, sizeof(cinfo->version));
cinfo             341 drivers/staging/isdn/avm/t1isa.c 	capilib_release(&cinfo->ncci_head);
cinfo             348 drivers/staging/isdn/avm/t1isa.c 	avmctrl_info *cinfo = pci_get_drvdata(pdev);
cinfo             351 drivers/staging/isdn/avm/t1isa.c 	if (!cinfo)
cinfo             354 drivers/staging/isdn/avm/t1isa.c 	card = cinfo->card;
cinfo             361 drivers/staging/isdn/avm/t1isa.c 	detach_capi_ctr(&cinfo->capi_ctrl);
cinfo             374 drivers/staging/isdn/avm/t1isa.c 	avmctrl_info *cinfo;
cinfo             385 drivers/staging/isdn/avm/t1isa.c 	cinfo = card->ctrlinfo;
cinfo             424 drivers/staging/isdn/avm/t1isa.c 	cinfo->capi_ctrl.owner = THIS_MODULE;
cinfo             425 drivers/staging/isdn/avm/t1isa.c 	cinfo->capi_ctrl.driver_name   = "t1isa";
cinfo             426 drivers/staging/isdn/avm/t1isa.c 	cinfo->capi_ctrl.driverdata    = cinfo;
cinfo             427 drivers/staging/isdn/avm/t1isa.c 	cinfo->capi_ctrl.register_appl = b1_register_appl;
cinfo             428 drivers/staging/isdn/avm/t1isa.c 	cinfo->capi_ctrl.release_appl  = b1_release_appl;
cinfo             429 drivers/staging/isdn/avm/t1isa.c 	cinfo->capi_ctrl.send_message  = t1isa_send_message;
cinfo             430 drivers/staging/isdn/avm/t1isa.c 	cinfo->capi_ctrl.load_firmware = t1isa_load_firmware;
cinfo             431 drivers/staging/isdn/avm/t1isa.c 	cinfo->capi_ctrl.reset_ctr     = t1isa_reset_ctr;
cinfo             432 drivers/staging/isdn/avm/t1isa.c 	cinfo->capi_ctrl.procinfo      = t1isa_procinfo;
cinfo             433 drivers/staging/isdn/avm/t1isa.c 	cinfo->capi_ctrl.proc_show     = b1_proc_show;
cinfo             434 drivers/staging/isdn/avm/t1isa.c 	strcpy(cinfo->capi_ctrl.name, card->name);
cinfo             436 drivers/staging/isdn/avm/t1isa.c 	retval = attach_capi_ctr(&cinfo->capi_ctrl);
cinfo             445 drivers/staging/isdn/avm/t1isa.c 	pci_set_drvdata(pdev, cinfo);
cinfo             460 drivers/staging/isdn/avm/t1isa.c 	avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata);
cinfo             461 drivers/staging/isdn/avm/t1isa.c 	avmcard *card = cinfo->card;
cinfo             471 drivers/staging/isdn/avm/t1isa.c 		retval = capilib_data_b3_req(&cinfo->ncci_head,
cinfo             496 drivers/staging/isdn/avm/t1isa.c 	avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata);
cinfo             498 drivers/staging/isdn/avm/t1isa.c 	if (!cinfo)
cinfo             500 drivers/staging/isdn/avm/t1isa.c 	sprintf(cinfo->infobuf, "%s %s 0x%x %d %d",
cinfo             501 drivers/staging/isdn/avm/t1isa.c 		cinfo->cardname[0] ? cinfo->cardname : "-",
cinfo             502 drivers/staging/isdn/avm/t1isa.c 		cinfo->version[VER_DRIVER] ? cinfo->version[VER_DRIVER] : "-",
cinfo             503 drivers/staging/isdn/avm/t1isa.c 		cinfo->card ? cinfo->card->port : 0x0,
cinfo             504 drivers/staging/isdn/avm/t1isa.c 		cinfo->card ? cinfo->card->irq : 0,
cinfo             505 drivers/staging/isdn/avm/t1isa.c 		cinfo->card ? cinfo->card->cardnr : 0
cinfo             507 drivers/staging/isdn/avm/t1isa.c 	return cinfo->infobuf;
cinfo              52 drivers/staging/isdn/avm/t1pci.c 	avmctrl_info *cinfo;
cinfo              69 drivers/staging/isdn/avm/t1pci.c 	cinfo = card->ctrlinfo;
cinfo             113 drivers/staging/isdn/avm/t1pci.c 	cinfo->capi_ctrl.owner         = THIS_MODULE;
cinfo             114 drivers/staging/isdn/avm/t1pci.c 	cinfo->capi_ctrl.driver_name   = "t1pci";
cinfo             115 drivers/staging/isdn/avm/t1pci.c 	cinfo->capi_ctrl.driverdata    = cinfo;
cinfo             116 drivers/staging/isdn/avm/t1pci.c 	cinfo->capi_ctrl.register_appl = b1dma_register_appl;
cinfo             117 drivers/staging/isdn/avm/t1pci.c 	cinfo->capi_ctrl.release_appl  = b1dma_release_appl;
cinfo             118 drivers/staging/isdn/avm/t1pci.c 	cinfo->capi_ctrl.send_message  = b1dma_send_message;
cinfo             119 drivers/staging/isdn/avm/t1pci.c 	cinfo->capi_ctrl.load_firmware = b1dma_load_firmware;
cinfo             120 drivers/staging/isdn/avm/t1pci.c 	cinfo->capi_ctrl.reset_ctr     = b1dma_reset_ctr;
cinfo             121 drivers/staging/isdn/avm/t1pci.c 	cinfo->capi_ctrl.procinfo      = t1pci_procinfo;
cinfo             122 drivers/staging/isdn/avm/t1pci.c 	cinfo->capi_ctrl.proc_show     = b1dma_proc_show;
cinfo             123 drivers/staging/isdn/avm/t1pci.c 	strcpy(cinfo->capi_ctrl.name, card->name);
cinfo             125 drivers/staging/isdn/avm/t1pci.c 	retval = attach_capi_ctr(&cinfo->capi_ctrl);
cinfo             131 drivers/staging/isdn/avm/t1pci.c 	card->cardnr = cinfo->capi_ctrl.cnr;
cinfo             158 drivers/staging/isdn/avm/t1pci.c 	avmctrl_info *cinfo = card->ctrlinfo;
cinfo             162 drivers/staging/isdn/avm/t1pci.c 	detach_capi_ctr(&cinfo->capi_ctrl);
cinfo             174 drivers/staging/isdn/avm/t1pci.c 	avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata);
cinfo             176 drivers/staging/isdn/avm/t1pci.c 	if (!cinfo)
cinfo             178 drivers/staging/isdn/avm/t1pci.c 	sprintf(cinfo->infobuf, "%s %s 0x%x %d 0x%lx",
cinfo             179 drivers/staging/isdn/avm/t1pci.c 		cinfo->cardname[0] ? cinfo->cardname : "-",
cinfo             180 drivers/staging/isdn/avm/t1pci.c 		cinfo->version[VER_DRIVER] ? cinfo->version[VER_DRIVER] : "-",
cinfo             181 drivers/staging/isdn/avm/t1pci.c 		cinfo->card ? cinfo->card->port : 0x0,
cinfo             182 drivers/staging/isdn/avm/t1pci.c 		cinfo->card ? cinfo->card->irq : 0,
cinfo             183 drivers/staging/isdn/avm/t1pci.c 		cinfo->card ? cinfo->card->membase : 0
cinfo             185 drivers/staging/isdn/avm/t1pci.c 	return cinfo->infobuf;
cinfo              67 drivers/staging/isdn/hysdn/hycapi.c 	hycapictrl_info *cinfo = ctrl->driverdata;
cinfo              72 drivers/staging/isdn/hysdn/hycapi.c 	capilib_release(&cinfo->ncci_head);
cinfo              84 drivers/staging/isdn/hysdn/hycapi.c 	hycapictrl_info *cinfo = NULL;
cinfo              89 drivers/staging/isdn/hysdn/hycapi.c 	cinfo = (hycapictrl_info *)(ctrl->driverdata);
cinfo              90 drivers/staging/isdn/hysdn/hycapi.c 	if (!cinfo) {
cinfo              94 drivers/staging/isdn/hysdn/hycapi.c 	card = cinfo->card;
cinfo             119 drivers/staging/isdn/hysdn/hycapi.c 	hycapictrl_info *cinfo = (hycapictrl_info *)(ctrl->driverdata);
cinfo             120 drivers/staging/isdn/hysdn/hycapi.c 	hysdn_card *card = cinfo->card;
cinfo             122 drivers/staging/isdn/hysdn/hycapi.c 	spin_lock_irq(&cinfo->lock);
cinfo             126 drivers/staging/isdn/hysdn/hycapi.c 	cinfo->skbs[cinfo->in_idx++] = skb;	/* add to buffer list */
cinfo             127 drivers/staging/isdn/hysdn/hycapi.c 	if (cinfo->in_idx >= HYSDN_MAX_CAPI_SKB)
cinfo             128 drivers/staging/isdn/hysdn/hycapi.c 		cinfo->in_idx = 0;	/* wrap around */
cinfo             129 drivers/staging/isdn/hysdn/hycapi.c 	cinfo->sk_count++;		/* adjust counter */
cinfo             130 drivers/staging/isdn/hysdn/hycapi.c 	if (cinfo->sk_count >= HYSDN_MAX_CAPI_SKB) {
cinfo             136 drivers/staging/isdn/hysdn/hycapi.c 	cinfo->tx_skb = skb;
cinfo             137 drivers/staging/isdn/hysdn/hycapi.c 	spin_unlock_irq(&cinfo->lock);
cinfo             155 drivers/staging/isdn/hysdn/hycapi.c 	hycapictrl_info *cinfo = (hycapictrl_info *)(ctrl->driverdata);
cinfo             156 drivers/staging/isdn/hysdn/hycapi.c 	hysdn_card *card = cinfo->card;
cinfo             227 drivers/staging/isdn/hysdn/hycapi.c 	hycapictrl_info *cinfo = (hycapictrl_info *)(ctrl->driverdata);
cinfo             228 drivers/staging/isdn/hysdn/hycapi.c 	hysdn_card *card = cinfo->card;
cinfo             264 drivers/staging/isdn/hysdn/hycapi.c 	hycapictrl_info *cinfo = (hycapictrl_info *)(ctrl->driverdata);
cinfo             265 drivers/staging/isdn/hysdn/hycapi.c 	hysdn_card *card = cinfo->card;
cinfo             271 drivers/staging/isdn/hysdn/hycapi.c 	capilib_release_appl(&cinfo->ncci_head, appl);
cinfo             325 drivers/staging/isdn/hysdn/hycapi.c 	hycapictrl_info *cinfo = card->hyctrlinfo;
cinfo             330 drivers/staging/isdn/hysdn/hycapi.c 	if (cinfo) {
cinfo             331 drivers/staging/isdn/hysdn/hycapi.c 		ctrl = &cinfo->capi_ctrl;
cinfo             345 drivers/staging/isdn/hysdn/hycapi.c 	hycapictrl_info *cinfo = card->hyctrlinfo;
cinfo             350 drivers/staging/isdn/hysdn/hycapi.c 	if (cinfo) {
cinfo             351 drivers/staging/isdn/hysdn/hycapi.c 		ctrl = &cinfo->capi_ctrl;
cinfo             376 drivers/staging/isdn/hysdn/hycapi.c 	hycapictrl_info *cinfo = ctrl->driverdata;
cinfo             397 drivers/staging/isdn/hysdn/hycapi.c 		capilib_free_ncci(&cinfo->ncci_head, appl_id,
cinfo             409 drivers/staging/isdn/hysdn/hycapi.c 			retval = capilib_data_b3_req(&cinfo->ncci_head,
cinfo             441 drivers/staging/isdn/hysdn/hycapi.c 	hycapictrl_info *cinfo = (hycapictrl_info *)(ctrl->driverdata);
cinfo             442 drivers/staging/isdn/hysdn/hycapi.c 	hysdn_card *card = cinfo->card;
cinfo             445 drivers/staging/isdn/hysdn/hycapi.c 	seq_printf(m, "%-16s %s\n", "name", cinfo->cardname);
cinfo             458 drivers/staging/isdn/hysdn/hycapi.c 	if ((s = cinfo->version[VER_DRIVER]) != NULL)
cinfo             460 drivers/staging/isdn/hysdn/hycapi.c 	if ((s = cinfo->version[VER_CARDTYPE]) != NULL)
cinfo             462 drivers/staging/isdn/hysdn/hycapi.c 	if ((s = cinfo->version[VER_SERIAL]) != NULL)
cinfo             465 drivers/staging/isdn/hysdn/hycapi.c 	seq_printf(m, "%-16s %s\n", "cardname", cinfo->cardname);
cinfo             489 drivers/staging/isdn/hysdn/hycapi.c 	hycapictrl_info *cinfo = (hycapictrl_info *)(ctrl->driverdata);
cinfo             493 drivers/staging/isdn/hysdn/hycapi.c 	if (!cinfo)
cinfo             495 drivers/staging/isdn/hysdn/hycapi.c 	sprintf(cinfo->infobuf, "%s %s 0x%x %d %s",
cinfo             496 drivers/staging/isdn/hysdn/hycapi.c 		cinfo->cardname[0] ? cinfo->cardname : "-",
cinfo             497 drivers/staging/isdn/hysdn/hycapi.c 		cinfo->version[VER_DRIVER] ? cinfo->version[VER_DRIVER] : "-",
cinfo             498 drivers/staging/isdn/hysdn/hycapi.c 		cinfo->card ? cinfo->card->iobase : 0x0,
cinfo             499 drivers/staging/isdn/hysdn/hycapi.c 		cinfo->card ? cinfo->card->irq : 0,
cinfo             502 drivers/staging/isdn/hysdn/hycapi.c 	return cinfo->infobuf;
cinfo             518 drivers/staging/isdn/hysdn/hycapi.c 	hycapictrl_info *cinfo = card->hyctrlinfo;
cinfo             527 drivers/staging/isdn/hysdn/hycapi.c 	if (!cinfo) {
cinfo             530 drivers/staging/isdn/hysdn/hycapi.c 	ctrl = &cinfo->capi_ctrl;
cinfo             567 drivers/staging/isdn/hysdn/hycapi.c 			capilib_new_ncci(&cinfo->ncci_head, ApplId, CAPIMSG_NCCI(skb->data),
cinfo             596 drivers/staging/isdn/hysdn/hycapi.c 		capilib_new_ncci(&cinfo->ncci_head, ApplId,
cinfo             601 drivers/staging/isdn/hysdn/hycapi.c 		capilib_data_b3_conf(&cinfo->ncci_head, ApplId,
cinfo             621 drivers/staging/isdn/hysdn/hycapi.c 	hycapictrl_info *cinfo = card->hyctrlinfo;
cinfo             625 drivers/staging/isdn/hysdn/hycapi.c 	if (!cinfo) {
cinfo             628 drivers/staging/isdn/hysdn/hycapi.c 	spin_lock_irq(&cinfo->lock);
cinfo             629 drivers/staging/isdn/hysdn/hycapi.c 	kfree_skb(cinfo->skbs[cinfo->out_idx]);		/* free skb */
cinfo             630 drivers/staging/isdn/hysdn/hycapi.c 	cinfo->skbs[cinfo->out_idx++] = NULL;
cinfo             631 drivers/staging/isdn/hysdn/hycapi.c 	if (cinfo->out_idx >= HYSDN_MAX_CAPI_SKB)
cinfo             632 drivers/staging/isdn/hysdn/hycapi.c 		cinfo->out_idx = 0;	/* wrap around */
cinfo             634 drivers/staging/isdn/hysdn/hycapi.c 	if (cinfo->sk_count-- == HYSDN_MAX_CAPI_SKB)	/* dec usage count */
cinfo             635 drivers/staging/isdn/hysdn/hycapi.c 		capi_ctr_resume_output(&cinfo->capi_ctrl);
cinfo             636 drivers/staging/isdn/hysdn/hycapi.c 	spin_unlock_irq(&cinfo->lock);
cinfo             649 drivers/staging/isdn/hysdn/hycapi.c 	hycapictrl_info *cinfo = card->hyctrlinfo;
cinfo             650 drivers/staging/isdn/hysdn/hycapi.c 	if (!cinfo) {
cinfo             653 drivers/staging/isdn/hysdn/hycapi.c 	if (!cinfo->sk_count)
cinfo             656 drivers/staging/isdn/hysdn/hycapi.c 	return (cinfo->skbs[cinfo->out_idx]);		/* next packet to send */
cinfo             696 drivers/staging/isdn/hysdn/hycapi.c 	hycapictrl_info *cinfo = NULL;
cinfo             698 drivers/staging/isdn/hysdn/hycapi.c 	cinfo = card->hyctrlinfo;
cinfo             699 drivers/staging/isdn/hysdn/hycapi.c 	if (!cinfo) return;
cinfo             700 drivers/staging/isdn/hysdn/hycapi.c 	ctrl = &cinfo->capi_ctrl;
cinfo             726 drivers/staging/isdn/hysdn/hycapi.c 	hycapictrl_info *cinfo = NULL;
cinfo             736 drivers/staging/isdn/hysdn/hycapi.c 		cinfo = kzalloc(sizeof(hycapictrl_info), GFP_ATOMIC);
cinfo             737 drivers/staging/isdn/hysdn/hycapi.c 		if (!cinfo) {
cinfo             741 drivers/staging/isdn/hysdn/hycapi.c 		card->hyctrlinfo = cinfo;
cinfo             742 drivers/staging/isdn/hysdn/hycapi.c 		cinfo->card = card;
cinfo             743 drivers/staging/isdn/hysdn/hycapi.c 		spin_lock_init(&cinfo->lock);
cinfo             744 drivers/staging/isdn/hysdn/hycapi.c 		INIT_LIST_HEAD(&cinfo->ncci_head);
cinfo             747 drivers/staging/isdn/hysdn/hycapi.c 		case BD_PCCARD:  strcpy(cinfo->cardname, "HYSDN Hycard"); break;
cinfo             748 drivers/staging/isdn/hysdn/hycapi.c 		case BD_ERGO: strcpy(cinfo->cardname, "HYSDN Ergo2"); break;
cinfo             749 drivers/staging/isdn/hysdn/hycapi.c 		case BD_METRO: strcpy(cinfo->cardname, "HYSDN Metro4"); break;
cinfo             750 drivers/staging/isdn/hysdn/hycapi.c 		case BD_CHAMP2: strcpy(cinfo->cardname, "HYSDN Champ2"); break;
cinfo             751 drivers/staging/isdn/hysdn/hycapi.c 		case BD_PLEXUS: strcpy(cinfo->cardname, "HYSDN Plexus30"); break;
cinfo             752 drivers/staging/isdn/hysdn/hycapi.c 		default: strcpy(cinfo->cardname, "HYSDN ???"); break;
cinfo             755 drivers/staging/isdn/hysdn/hycapi.c 		ctrl = &cinfo->capi_ctrl;
cinfo             757 drivers/staging/isdn/hysdn/hycapi.c 		ctrl->driverdata    = cinfo;
cinfo             765 drivers/staging/isdn/hysdn/hycapi.c 		strcpy(ctrl->name, cinfo->cardname);
cinfo             438 drivers/tty/cyclades.c static void cyy_chip_rx(struct cyclades_card *cinfo, int chip,
cinfo             443 drivers/tty/cyclades.c 	int len, index = cinfo->bus_index;
cinfo             452 drivers/tty/cyclades.c 	info = &cinfo->ports[channel + chip * 4];
cinfo             566 drivers/tty/cyclades.c static void cyy_chip_tx(struct cyclades_card *cinfo, unsigned int chip,
cinfo             571 drivers/tty/cyclades.c 	int char_count, index = cinfo->bus_index;
cinfo             587 drivers/tty/cyclades.c 	info = &cinfo->ports[channel + chip * 4];
cinfo             679 drivers/tty/cyclades.c static void cyy_chip_modem(struct cyclades_card *cinfo, int chip,
cinfo             684 drivers/tty/cyclades.c 	int index = cinfo->bus_index;
cinfo             690 drivers/tty/cyclades.c 	info = &cinfo->ports[channel + chip * 4];
cinfo             759 drivers/tty/cyclades.c 	struct cyclades_card *cinfo = dev_id;
cinfo             764 drivers/tty/cyclades.c 	if (unlikely(cinfo == NULL)) {
cinfo             772 drivers/tty/cyclades.c 	card_base_addr = cinfo->base_addr;
cinfo             773 drivers/tty/cyclades.c 	index = cinfo->bus_index;
cinfo             786 drivers/tty/cyclades.c 		for (chip = 0; chip < cinfo->num_chips; chip++) {
cinfo             787 drivers/tty/cyclades.c 			base_addr = cinfo->base_addr +
cinfo             800 drivers/tty/cyclades.c 				spin_lock(&cinfo->card_lock);
cinfo             802 drivers/tty/cyclades.c 					cyy_chip_rx(cinfo, chip, base_addr);
cinfo             804 drivers/tty/cyclades.c 					cyy_chip_tx(cinfo, chip, base_addr);
cinfo             806 drivers/tty/cyclades.c 					cyy_chip_modem(cinfo, chip, base_addr);
cinfo             807 drivers/tty/cyclades.c 				spin_unlock(&cinfo->card_lock);
cinfo             813 drivers/tty/cyclades.c 	spin_lock(&cinfo->card_lock);
cinfo             816 drivers/tty/cyclades.c 	spin_unlock(&cinfo->card_lock);
cinfo             876 drivers/tty/cyclades.c cyz_fetch_msg(struct cyclades_card *cinfo,
cinfo             879 drivers/tty/cyclades.c 	struct BOARD_CTRL __iomem *board_ctrl = cinfo->board_ctrl;
cinfo             882 drivers/tty/cyclades.c 	loc_doorbell = readl(&cinfo->ctl_addr.p9060->loc_doorbell);
cinfo             887 drivers/tty/cyclades.c 		cy_writel(&cinfo->ctl_addr.p9060->loc_doorbell, 0xffffffff);
cinfo             894 drivers/tty/cyclades.c cyz_issue_cmd(struct cyclades_card *cinfo,
cinfo             897 drivers/tty/cyclades.c 	struct BOARD_CTRL __iomem *board_ctrl = cinfo->board_ctrl;
cinfo             901 drivers/tty/cyclades.c 	if (!cyz_is_loaded(cinfo))
cinfo             905 drivers/tty/cyclades.c 	pci_doorbell = &cinfo->ctl_addr.p9060->pci_doorbell;
cinfo             921 drivers/tty/cyclades.c 	struct cyclades_card *cinfo = info->card;
cinfo             965 drivers/tty/cyclades.c 		memcpy_fromio(buf, cinfo->base_addr +
cinfo             977 drivers/tty/cyclades.c 		data = readb(cinfo->base_addr + rx_bufaddr +
cinfo            1008 drivers/tty/cyclades.c 	struct cyclades_card *cinfo = info->card;
cinfo            1039 drivers/tty/cyclades.c 		cy_writeb(cinfo->base_addr + tx_bufaddr + tx_put, data);
cinfo            1052 drivers/tty/cyclades.c 		memcpy_toio((char *)(cinfo->base_addr + tx_bufaddr + tx_put),
cinfo            1070 drivers/tty/cyclades.c 		cy_writeb(cinfo->base_addr + tx_bufaddr + tx_put, data);
cinfo            1083 drivers/tty/cyclades.c static void cyz_handle_cmd(struct cyclades_card *cinfo)
cinfo            1085 drivers/tty/cyclades.c 	struct BOARD_CTRL __iomem *board_ctrl = cinfo->board_ctrl;
cinfo            1094 drivers/tty/cyclades.c 	while (cyz_fetch_msg(cinfo, &channel, &cmd, &param) == 1) {
cinfo            1097 drivers/tty/cyclades.c 		info = &cinfo->ports[channel];
cinfo            1182 drivers/tty/cyclades.c 	struct cyclades_card *cinfo = dev_id;
cinfo            1184 drivers/tty/cyclades.c 	if (unlikely(!cyz_is_loaded(cinfo))) {
cinfo            1193 drivers/tty/cyclades.c 	cyz_handle_cmd(cinfo);
cinfo            1219 drivers/tty/cyclades.c 	struct cyclades_card *cinfo;
cinfo            1225 drivers/tty/cyclades.c 		cinfo = &cy_card[card];
cinfo            1227 drivers/tty/cyclades.c 		if (!cy_is_Z(cinfo))
cinfo            1229 drivers/tty/cyclades.c 		if (!cyz_is_loaded(cinfo))
cinfo            1233 drivers/tty/cyclades.c 		if (!cinfo->intr_enabled) {
cinfo            1234 drivers/tty/cyclades.c 			cinfo->intr_enabled = 1;
cinfo            1238 drivers/tty/cyclades.c 		cyz_handle_cmd(cinfo);
cinfo            1240 drivers/tty/cyclades.c 		for (port = 0; port < cinfo->nports; port++) {
cinfo            1241 drivers/tty/cyclades.c 			info = &cinfo->ports[port];
cinfo            1513 drivers/tty/cyclades.c 		struct cyclades_card *cinfo = info->card;
cinfo            1514 drivers/tty/cyclades.c 		struct FIRM_ID __iomem *firm_id = cinfo->base_addr + ID_ADDRESS;
cinfo            1516 drivers/tty/cyclades.c 		if (!cyz_is_loaded(cinfo)) {
cinfo            1517 drivers/tty/cyclades.c 			if (cinfo->hw_ver == ZE_V1 && cyz_fpga_loaded(cinfo) &&
cinfo            1535 drivers/tty/cyclades.c 			if (!cinfo->intr_enabled) {
cinfo            1539 drivers/tty/cyclades.c 				intr = readw(&cinfo->ctl_addr.p9060->
cinfo            1541 drivers/tty/cyclades.c 				cy_writew(&cinfo->ctl_addr.p9060->
cinfo            1544 drivers/tty/cyclades.c 				retval = cyz_issue_cmd(cinfo, 0,
cinfo            1550 drivers/tty/cyclades.c 				cinfo->intr_enabled = 1;
cinfo            1555 drivers/tty/cyclades.c 		if (info->line > (cinfo->first_line + cinfo->nports - 1))
cinfo            2264 drivers/tty/cyclades.c 	struct cyclades_card *cinfo = info->card;
cinfo            2271 drivers/tty/cyclades.c 			cinfo->first_line;
cinfo            2272 drivers/tty/cyclades.c 	ss->irq = cinfo->irq;
cinfo            2902 drivers/tty/cyclades.c 	struct cyclades_card *cinfo;
cinfo            2914 drivers/tty/cyclades.c 	cinfo = info->card;
cinfo            2915 drivers/tty/cyclades.c 	channel = info->line - cinfo->first_line;
cinfo            2916 drivers/tty/cyclades.c 	if (!cy_is_Z(cinfo)) {
cinfo            2917 drivers/tty/cyclades.c 		spin_lock_irqsave(&cinfo->card_lock, flags);
cinfo            2920 drivers/tty/cyclades.c 		spin_unlock_irqrestore(&cinfo->card_lock, flags);
cinfo            2926 drivers/tty/cyclades.c 	struct cyclades_card *cinfo;
cinfo            2938 drivers/tty/cyclades.c 	cinfo = info->card;
cinfo            2939 drivers/tty/cyclades.c 	channel = info->line - cinfo->first_line;
cinfo            2940 drivers/tty/cyclades.c 	if (!cy_is_Z(cinfo)) {
cinfo            2941 drivers/tty/cyclades.c 		spin_lock_irqsave(&cinfo->card_lock, flags);
cinfo            2944 drivers/tty/cyclades.c 		spin_unlock_irqrestore(&cinfo->card_lock, flags);
cinfo            2971 drivers/tty/cyclades.c 	struct cyclades_card *cinfo = info->card;
cinfo            2973 drivers/tty/cyclades.c 	int channel = info->line - cinfo->first_line;
cinfo            2976 drivers/tty/cyclades.c 	spin_lock_irqsave(&cinfo->card_lock, flags);
cinfo            2979 drivers/tty/cyclades.c 	spin_unlock_irqrestore(&cinfo->card_lock, flags);
cinfo            2988 drivers/tty/cyclades.c 	struct cyclades_card *cinfo = info->card;
cinfo            2991 drivers/tty/cyclades.c 	spin_lock_irqsave(&cinfo->card_lock, flags);
cinfo            2994 drivers/tty/cyclades.c 	spin_unlock_irqrestore(&cinfo->card_lock, flags);
cinfo            3009 drivers/tty/cyclades.c 	struct cyclades_card *cinfo = info->card;
cinfo            3011 drivers/tty/cyclades.c 	int ret, channel = info->line - cinfo->first_line;
cinfo            3020 drivers/tty/cyclades.c 	ret = cyz_issue_cmd(cinfo, channel, C_CM_IOCTLM, 0L);
cinfo            3049 drivers/tty/cyclades.c static int cy_init_card(struct cyclades_card *cinfo)
cinfo            3054 drivers/tty/cyclades.c 	spin_lock_init(&cinfo->card_lock);
cinfo            3055 drivers/tty/cyclades.c 	cinfo->intr_enabled = 0;
cinfo            3057 drivers/tty/cyclades.c 	cinfo->ports = kcalloc(cinfo->nports, sizeof(*cinfo->ports),
cinfo            3059 drivers/tty/cyclades.c 	if (cinfo->ports == NULL) {
cinfo            3064 drivers/tty/cyclades.c 	for (channel = 0, port = cinfo->first_line; channel < cinfo->nports;
cinfo            3066 drivers/tty/cyclades.c 		info = &cinfo->ports[channel];
cinfo            3069 drivers/tty/cyclades.c 		info->card = cinfo;
cinfo            3076 drivers/tty/cyclades.c 		if (cy_is_Z(cinfo)) {
cinfo            3077 drivers/tty/cyclades.c 			struct FIRM_ID *firm_id = cinfo->base_addr + ID_ADDRESS;
cinfo            3083 drivers/tty/cyclades.c 			zfw_ctrl = cinfo->base_addr +
cinfo            3088 drivers/tty/cyclades.c 			if (cinfo->hw_ver == ZO_V1)
cinfo            3097 drivers/tty/cyclades.c 			int index = cinfo->bus_index;
cinfo            3107 drivers/tty/cyclades.c 			info->u.cyy.base_addr = cinfo->base_addr +
cinfo            3132 drivers/tty/cyclades.c 	if (cy_is_Z(cinfo) && !timer_pending(&cyz_timerlist)) {
cinfo            3881 drivers/tty/cyclades.c 	struct cyclades_card *cinfo = pci_get_drvdata(pdev);
cinfo            3885 drivers/tty/cyclades.c 	if (!cy_is_Z(cinfo) && (readb(cinfo->base_addr + CyPLX_VER) & 0x0f) ==
cinfo            3887 drivers/tty/cyclades.c 		cy_writeb(cinfo->ctl_addr.p9050 + 0x4c, 0);
cinfo            3890 drivers/tty/cyclades.c 		if (!cy_is_Z(cinfo))
cinfo            3892 drivers/tty/cyclades.c 		cy_writew(&cinfo->ctl_addr.p9060->intr_ctrl_stat,
cinfo            3893 drivers/tty/cyclades.c 			readw(&cinfo->ctl_addr.p9060->intr_ctrl_stat) &
cinfo            3896 drivers/tty/cyclades.c 	iounmap(cinfo->base_addr);
cinfo            3897 drivers/tty/cyclades.c 	if (cinfo->ctl_addr.p9050)
cinfo            3898 drivers/tty/cyclades.c 		iounmap(cinfo->ctl_addr.p9050);
cinfo            3899 drivers/tty/cyclades.c 	if (cinfo->irq
cinfo            3901 drivers/tty/cyclades.c 		&& !cy_is_Z(cinfo)
cinfo            3904 drivers/tty/cyclades.c 		free_irq(cinfo->irq, cinfo);
cinfo            3907 drivers/tty/cyclades.c 	cinfo->base_addr = NULL;
cinfo            3908 drivers/tty/cyclades.c 	for (channel = 0, i = cinfo->first_line; i < cinfo->first_line +
cinfo            3909 drivers/tty/cyclades.c 			cinfo->nports; i++, channel++) {
cinfo            3911 drivers/tty/cyclades.c 		tty_port_destroy(&cinfo->ports[channel].port);
cinfo            3913 drivers/tty/cyclades.c 	cinfo->nports = 0;
cinfo            3914 drivers/tty/cyclades.c 	kfree(cinfo->ports);
cinfo             381 drivers/video/fbdev/cirrusfb.c static void switch_monitor(struct cirrusfb_info *cinfo, int on);
cinfo             382 drivers/video/fbdev/cirrusfb.c static void WGen(const struct cirrusfb_info *cinfo,
cinfo             384 drivers/video/fbdev/cirrusfb.c static unsigned char RGen(const struct cirrusfb_info *cinfo, int regnum);
cinfo             385 drivers/video/fbdev/cirrusfb.c static void AttrOn(const struct cirrusfb_info *cinfo);
cinfo             386 drivers/video/fbdev/cirrusfb.c static void WHDR(const struct cirrusfb_info *cinfo, unsigned char val);
cinfo             387 drivers/video/fbdev/cirrusfb.c static void WSFR(struct cirrusfb_info *cinfo, unsigned char val);
cinfo             388 drivers/video/fbdev/cirrusfb.c static void WSFR2(struct cirrusfb_info *cinfo, unsigned char val);
cinfo             389 drivers/video/fbdev/cirrusfb.c static void WClut(struct cirrusfb_info *cinfo, unsigned char regnum,
cinfo             392 drivers/video/fbdev/cirrusfb.c static void RClut(struct cirrusfb_info *cinfo, unsigned char regnum,
cinfo             421 drivers/video/fbdev/cirrusfb.c static inline int is_laguna(const struct cirrusfb_info *cinfo)
cinfo             423 drivers/video/fbdev/cirrusfb.c 	return cinfo->btype == BT_LAGUNA || cinfo->btype == BT_LAGUNAB;
cinfo             451 drivers/video/fbdev/cirrusfb.c 	struct cirrusfb_info *cinfo = info->par;
cinfo             452 drivers/video/fbdev/cirrusfb.c 	long mclk = vga_rseq(cinfo->regbase, CL_SEQR1F) & 0x3f;
cinfo             478 drivers/video/fbdev/cirrusfb.c 	struct cirrusfb_info *cinfo = info->par;
cinfo             486 drivers/video/fbdev/cirrusfb.c 	maxclock = cirrusfb_board_info[cinfo->btype].maxclock[maxclockidx];
cinfo             487 drivers/video/fbdev/cirrusfb.c 	cinfo->multiplexing = 0;
cinfo             502 drivers/video/fbdev/cirrusfb.c 		switch (cinfo->btype) {
cinfo             507 drivers/video/fbdev/cirrusfb.c 				cinfo->multiplexing = 1;
cinfo             511 drivers/video/fbdev/cirrusfb.c 				cinfo->multiplexing = 1;
cinfo             521 drivers/video/fbdev/cirrusfb.c 	cinfo->doubleVCLK = 0;
cinfo             522 drivers/video/fbdev/cirrusfb.c 	if (cinfo->btype == BT_SD64 && info->fix.smem_len <= MB_ &&
cinfo             524 drivers/video/fbdev/cirrusfb.c 		cinfo->doubleVCLK = 1;
cinfo             536 drivers/video/fbdev/cirrusfb.c 	struct cirrusfb_info *cinfo = info->par;
cinfo             626 drivers/video/fbdev/cirrusfb.c 	if (!is_laguna(cinfo))
cinfo             634 drivers/video/fbdev/cirrusfb.c 	struct cirrusfb_info *cinfo = info->par;
cinfo             637 drivers/video/fbdev/cirrusfb.c 	assert(cinfo != NULL);
cinfo             638 drivers/video/fbdev/cirrusfb.c 	old1f = vga_rseq(cinfo->regbase, CL_SEQR1F) & ~0x40;
cinfo             644 drivers/video/fbdev/cirrusfb.c 		old1e = vga_rseq(cinfo->regbase, CL_SEQR1E) & ~0x1;
cinfo             648 drivers/video/fbdev/cirrusfb.c 		vga_wseq(cinfo->regbase, CL_SEQR1E, old1e);
cinfo             650 drivers/video/fbdev/cirrusfb.c 	vga_wseq(cinfo->regbase, CL_SEQR1F, old1f);
cinfo             660 drivers/video/fbdev/cirrusfb.c 	struct cirrusfb_info *cinfo = info->par;
cinfo             662 drivers/video/fbdev/cirrusfb.c 	u8 __iomem *regbase = cinfo->regbase;
cinfo             697 drivers/video/fbdev/cirrusfb.c 	bi = &cirrusfb_board_info[cinfo->btype];
cinfo             735 drivers/video/fbdev/cirrusfb.c 	if (cinfo->multiplexing) {
cinfo             838 drivers/video/fbdev/cirrusfb.c 		if (cinfo->btype == BT_ALPINE || cinfo->btype == BT_SD64)
cinfo             840 drivers/video/fbdev/cirrusfb.c 	if (cinfo->multiplexing)
cinfo             842 drivers/video/fbdev/cirrusfb.c 	if (cinfo->doubleVCLK)
cinfo             855 drivers/video/fbdev/cirrusfb.c 	if (cinfo->btype == BT_ALPINE || cinfo->btype == BT_PICASSO4 ||
cinfo             856 drivers/video/fbdev/cirrusfb.c 	    cinfo->btype == BT_SD64) {
cinfo             865 drivers/video/fbdev/cirrusfb.c 	if (is_laguna(cinfo)) {
cinfo             866 drivers/video/fbdev/cirrusfb.c 		long pcifc = fb_readl(cinfo->laguna_mmio + 0x3fc);
cinfo             867 drivers/video/fbdev/cirrusfb.c 		unsigned char tile = fb_readb(cinfo->laguna_mmio + 0x407);
cinfo             870 drivers/video/fbdev/cirrusfb.c 		if (cinfo->btype == BT_LAGUNAB) {
cinfo             871 drivers/video/fbdev/cirrusfb.c 			tile_control = fb_readw(cinfo->laguna_mmio + 0x2c4);
cinfo             873 drivers/video/fbdev/cirrusfb.c 			fb_writew(tile_control, cinfo->laguna_mmio + 0x2c4);
cinfo             876 drivers/video/fbdev/cirrusfb.c 		fb_writel(pcifc | 0x10000000l, cinfo->laguna_mmio + 0x3fc);
cinfo             877 drivers/video/fbdev/cirrusfb.c 		fb_writeb(tile & 0x3f, cinfo->laguna_mmio + 0x407);
cinfo             878 drivers/video/fbdev/cirrusfb.c 		control = fb_readw(cinfo->laguna_mmio + 0x402);
cinfo             879 drivers/video/fbdev/cirrusfb.c 		threshold = fb_readw(cinfo->laguna_mmio + 0xea);
cinfo             889 drivers/video/fbdev/cirrusfb.c 		if ((cinfo->btype == BT_SD64) ||
cinfo             890 drivers/video/fbdev/cirrusfb.c 		    (cinfo->btype == BT_ALPINE) ||
cinfo             891 drivers/video/fbdev/cirrusfb.c 		    (cinfo->btype == BT_GD5480))
cinfo             895 drivers/video/fbdev/cirrusfb.c 		if (is_laguna(cinfo)) {
cinfo             926 drivers/video/fbdev/cirrusfb.c 	WGen(cinfo, VGA_MIS_W, tmp);
cinfo             945 drivers/video/fbdev/cirrusfb.c 		switch (cinfo->btype) {
cinfo             954 drivers/video/fbdev/cirrusfb.c 				 cinfo->multiplexing ?
cinfo             970 drivers/video/fbdev/cirrusfb.c 		switch (cinfo->btype) {
cinfo             998 drivers/video/fbdev/cirrusfb.c 		WGen(cinfo, VGA_PEL_MSK, 0x01);
cinfo             999 drivers/video/fbdev/cirrusfb.c 		if (cinfo->multiplexing)
cinfo            1001 drivers/video/fbdev/cirrusfb.c 			WHDR(cinfo, 0x4a);
cinfo            1004 drivers/video/fbdev/cirrusfb.c 			WHDR(cinfo, 0);
cinfo            1019 drivers/video/fbdev/cirrusfb.c 		switch (cinfo->btype) {
cinfo            1028 drivers/video/fbdev/cirrusfb.c 				  cinfo->multiplexing ?
cinfo            1044 drivers/video/fbdev/cirrusfb.c 		switch (cinfo->btype) {
cinfo            1072 drivers/video/fbdev/cirrusfb.c 		if (cinfo->multiplexing)
cinfo            1074 drivers/video/fbdev/cirrusfb.c 			WHDR(cinfo, 0x4a);
cinfo            1077 drivers/video/fbdev/cirrusfb.c 			WHDR(cinfo, 0);
cinfo            1088 drivers/video/fbdev/cirrusfb.c 		switch (cinfo->btype) {
cinfo            1107 drivers/video/fbdev/cirrusfb.c 					cinfo->doubleVCLK ? 0xa3 : 0xa7);
cinfo            1132 drivers/video/fbdev/cirrusfb.c 		WHDR(cinfo, cinfo->doubleVCLK ? 0xe1 : 0xc1);
cinfo            1135 drivers/video/fbdev/cirrusfb.c 		WHDR(cinfo, 0xa0);	/* hidden dac reg: nothing special */
cinfo            1147 drivers/video/fbdev/cirrusfb.c 		switch (cinfo->btype) {
cinfo            1190 drivers/video/fbdev/cirrusfb.c 		WHDR(cinfo, 0xc5);
cinfo            1214 drivers/video/fbdev/cirrusfb.c 	if (cirrusfb_board_info[cinfo->btype].scrn_start_bit19)
cinfo            1217 drivers/video/fbdev/cirrusfb.c 	if (is_laguna(cinfo)) {
cinfo            1241 drivers/video/fbdev/cirrusfb.c 	AttrOn(cinfo);
cinfo            1243 drivers/video/fbdev/cirrusfb.c 	if (is_laguna(cinfo)) {
cinfo            1245 drivers/video/fbdev/cirrusfb.c 		fb_writew(control | 0x1000, cinfo->laguna_mmio + 0x402);
cinfo            1246 drivers/video/fbdev/cirrusfb.c 		fb_writew(format, cinfo->laguna_mmio + 0xc0);
cinfo            1247 drivers/video/fbdev/cirrusfb.c 		fb_writew(threshold, cinfo->laguna_mmio + 0xea);
cinfo            1280 drivers/video/fbdev/cirrusfb.c 	struct cirrusfb_info *cinfo = info->par;
cinfo            1297 drivers/video/fbdev/cirrusfb.c 		cinfo->pseudo_palette[regno] = v;
cinfo            1302 drivers/video/fbdev/cirrusfb.c 		WClut(cinfo, regno, red >> 10, green >> 10, blue >> 10);
cinfo            1319 drivers/video/fbdev/cirrusfb.c 	struct cirrusfb_info *cinfo = info->par;
cinfo            1338 drivers/video/fbdev/cirrusfb.c 	if (!is_laguna(cinfo))
cinfo            1339 drivers/video/fbdev/cirrusfb.c 		cirrusfb_WaitBLT(cinfo->regbase);
cinfo            1342 drivers/video/fbdev/cirrusfb.c 	vga_wcrt(cinfo->regbase, VGA_CRTC_START_LO, base & 0xff);
cinfo            1343 drivers/video/fbdev/cirrusfb.c 	vga_wcrt(cinfo->regbase, VGA_CRTC_START_HI, (base >> 8) & 0xff);
cinfo            1346 drivers/video/fbdev/cirrusfb.c 	tmp = vga_rcrt(cinfo->regbase, CL_CRT1B) & 0xf2;
cinfo            1355 drivers/video/fbdev/cirrusfb.c 	vga_wcrt(cinfo->regbase, CL_CRT1B, tmp);
cinfo            1358 drivers/video/fbdev/cirrusfb.c 	if (cirrusfb_board_info[cinfo->btype].scrn_start_bit19) {
cinfo            1359 drivers/video/fbdev/cirrusfb.c 		tmp = vga_rcrt(cinfo->regbase, CL_CRT1D);
cinfo            1360 drivers/video/fbdev/cirrusfb.c 		if (is_laguna(cinfo))
cinfo            1364 drivers/video/fbdev/cirrusfb.c 		vga_wcrt(cinfo->regbase, CL_CRT1D, tmp);
cinfo            1372 drivers/video/fbdev/cirrusfb.c 		vga_wattr(cinfo->regbase, CL_AR33, xpix);
cinfo            1391 drivers/video/fbdev/cirrusfb.c 	struct cirrusfb_info *cinfo = info->par;
cinfo            1392 drivers/video/fbdev/cirrusfb.c 	int current_mode = cinfo->blank_mode;
cinfo            1411 drivers/video/fbdev/cirrusfb.c 	val |= vga_rseq(cinfo->regbase, VGA_SEQ_CLOCK_MODE) & 0xdf;
cinfo            1412 drivers/video/fbdev/cirrusfb.c 	vga_wseq(cinfo->regbase, VGA_SEQ_CLOCK_MODE, val);
cinfo            1433 drivers/video/fbdev/cirrusfb.c 	vga_wgfx(cinfo->regbase, CL_GRE, val);
cinfo            1435 drivers/video/fbdev/cirrusfb.c 	cinfo->blank_mode = blank_mode;
cinfo            1448 drivers/video/fbdev/cirrusfb.c 	struct cirrusfb_info *cinfo = info->par;
cinfo            1451 drivers/video/fbdev/cirrusfb.c 	assert(cinfo != NULL);
cinfo            1453 drivers/video/fbdev/cirrusfb.c 	bi = &cirrusfb_board_info[cinfo->btype];
cinfo            1456 drivers/video/fbdev/cirrusfb.c 	switch (cinfo->btype) {
cinfo            1458 drivers/video/fbdev/cirrusfb.c 		WSFR(cinfo, 0x01);
cinfo            1460 drivers/video/fbdev/cirrusfb.c 		WSFR(cinfo, 0x51);
cinfo            1464 drivers/video/fbdev/cirrusfb.c 		WSFR2(cinfo, 0xff);
cinfo            1469 drivers/video/fbdev/cirrusfb.c 		WSFR(cinfo, 0x1f);
cinfo            1471 drivers/video/fbdev/cirrusfb.c 		WSFR(cinfo, 0x4f);
cinfo            1476 drivers/video/fbdev/cirrusfb.c 		vga_wcrt(cinfo->regbase, CL_CRT51, 0x00);
cinfo            1479 drivers/video/fbdev/cirrusfb.c 		vga_wgfx(cinfo->regbase, CL_GR31, 0x00);
cinfo            1483 drivers/video/fbdev/cirrusfb.c 		vga_wgfx(cinfo->regbase, CL_GR2F, 0x00);
cinfo            1487 drivers/video/fbdev/cirrusfb.c 		vga_wgfx(cinfo->regbase, CL_GR33, 0x00);
cinfo            1507 drivers/video/fbdev/cirrusfb.c 	if (cinfo->btype != BT_PICASSO4) {
cinfo            1508 drivers/video/fbdev/cirrusfb.c 		WGen(cinfo, CL_VSSM, 0x10);	/* EGS: 0x16 */
cinfo            1509 drivers/video/fbdev/cirrusfb.c 		WGen(cinfo, CL_POS102, 0x01);
cinfo            1510 drivers/video/fbdev/cirrusfb.c 		WGen(cinfo, CL_VSSM, 0x08);	/* EGS: 0x0e */
cinfo            1512 drivers/video/fbdev/cirrusfb.c 		if (cinfo->btype != BT_SD64)
cinfo            1513 drivers/video/fbdev/cirrusfb.c 			WGen(cinfo, CL_VSSM2, 0x01);
cinfo            1516 drivers/video/fbdev/cirrusfb.c 		vga_wseq(cinfo->regbase, VGA_SEQ_RESET, 0x03);
cinfo            1519 drivers/video/fbdev/cirrusfb.c 		vga_wseq(cinfo->regbase, VGA_SEQ_CLOCK_MODE, 0x21);
cinfo            1524 drivers/video/fbdev/cirrusfb.c 		vga_wseq(cinfo->regbase, CL_SEQR6, 0x12);
cinfo            1526 drivers/video/fbdev/cirrusfb.c 		switch (cinfo->btype) {
cinfo            1528 drivers/video/fbdev/cirrusfb.c 			vga_wseq(cinfo->regbase, CL_SEQRF, 0x98);
cinfo            1536 drivers/video/fbdev/cirrusfb.c 			vga_wseq(cinfo->regbase, CL_SEQRF, 0xb8);
cinfo            1540 drivers/video/fbdev/cirrusfb.c 			vga_wseq(cinfo->regbase, CL_SEQR16, 0x0f);
cinfo            1541 drivers/video/fbdev/cirrusfb.c 			vga_wseq(cinfo->regbase, CL_SEQRF, 0xb0);
cinfo            1546 drivers/video/fbdev/cirrusfb.c 	vga_wseq(cinfo->regbase, VGA_SEQ_PLANE_WRITE, 0xff);
cinfo            1548 drivers/video/fbdev/cirrusfb.c 	vga_wseq(cinfo->regbase, VGA_SEQ_CHARACTER_MAP, 0x00);
cinfo            1550 drivers/video/fbdev/cirrusfb.c 	vga_wseq(cinfo->regbase, VGA_SEQ_MEMORY_MODE, 0x0a);
cinfo            1554 drivers/video/fbdev/cirrusfb.c 		vga_wseq(cinfo->regbase, CL_SEQR7, bi->sr07);
cinfo            1560 drivers/video/fbdev/cirrusfb.c 	vga_wseq(cinfo->regbase, CL_SEQR10, 0x00);
cinfo            1562 drivers/video/fbdev/cirrusfb.c 	vga_wseq(cinfo->regbase, CL_SEQR11, 0x00);
cinfo            1564 drivers/video/fbdev/cirrusfb.c 	vga_wseq(cinfo->regbase, CL_SEQR12, 0x00);
cinfo            1566 drivers/video/fbdev/cirrusfb.c 	vga_wseq(cinfo->regbase, CL_SEQR13, 0x00);
cinfo            1569 drivers/video/fbdev/cirrusfb.c 	if (cinfo->btype != BT_PICASSO4) {
cinfo            1571 drivers/video/fbdev/cirrusfb.c 		vga_wseq(cinfo->regbase, CL_SEQR17, 0x00);
cinfo            1573 drivers/video/fbdev/cirrusfb.c 		vga_wseq(cinfo->regbase, CL_SEQR18, 0x02);
cinfo            1577 drivers/video/fbdev/cirrusfb.c 	vga_wcrt(cinfo->regbase, VGA_CRTC_PRESET_ROW, 0x00);
cinfo            1579 drivers/video/fbdev/cirrusfb.c 	vga_wcrt(cinfo->regbase, VGA_CRTC_CURSOR_START, 0x20);
cinfo            1581 drivers/video/fbdev/cirrusfb.c 	vga_wcrt(cinfo->regbase, VGA_CRTC_CURSOR_END, 0x00);
cinfo            1583 drivers/video/fbdev/cirrusfb.c 	vga_wcrt(cinfo->regbase, VGA_CRTC_CURSOR_HI, 0x00);
cinfo            1585 drivers/video/fbdev/cirrusfb.c 	vga_wcrt(cinfo->regbase, VGA_CRTC_CURSOR_LO, 0x00);
cinfo            1588 drivers/video/fbdev/cirrusfb.c 	vga_wcrt(cinfo->regbase, VGA_CRTC_UNDERLINE, 0x00);
cinfo            1591 drivers/video/fbdev/cirrusfb.c 	vga_wcrt(cinfo->regbase, CL_CRT1B, 0x02);
cinfo            1594 drivers/video/fbdev/cirrusfb.c 	vga_wgfx(cinfo->regbase, VGA_GFX_SR_VALUE, 0x00);
cinfo            1596 drivers/video/fbdev/cirrusfb.c 	vga_wgfx(cinfo->regbase, VGA_GFX_SR_ENABLE, 0x00);
cinfo            1598 drivers/video/fbdev/cirrusfb.c 	vga_wgfx(cinfo->regbase, VGA_GFX_COMPARE_VALUE, 0x00);
cinfo            1600 drivers/video/fbdev/cirrusfb.c 	vga_wgfx(cinfo->regbase, VGA_GFX_DATA_ROTATE, 0x00);
cinfo            1602 drivers/video/fbdev/cirrusfb.c 	vga_wgfx(cinfo->regbase, VGA_GFX_PLANE_READ, 0x00);
cinfo            1604 drivers/video/fbdev/cirrusfb.c 	vga_wgfx(cinfo->regbase, VGA_GFX_MODE, 0x00);
cinfo            1606 drivers/video/fbdev/cirrusfb.c 	vga_wgfx(cinfo->regbase, VGA_GFX_MISC, 0x01);
cinfo            1608 drivers/video/fbdev/cirrusfb.c 	vga_wgfx(cinfo->regbase, VGA_GFX_COMPARE_MASK, 0x0f);
cinfo            1610 drivers/video/fbdev/cirrusfb.c 	vga_wgfx(cinfo->regbase, VGA_GFX_BIT_MASK, 0xff);
cinfo            1612 drivers/video/fbdev/cirrusfb.c 	if (cinfo->btype == BT_ALPINE || cinfo->btype == BT_SD64 ||
cinfo            1613 drivers/video/fbdev/cirrusfb.c 	    is_laguna(cinfo))
cinfo            1615 drivers/video/fbdev/cirrusfb.c 		vga_wgfx(cinfo->regbase, CL_GRB, 0x20);
cinfo            1620 drivers/video/fbdev/cirrusfb.c 		vga_wgfx(cinfo->regbase, CL_GRB, 0x28);
cinfo            1622 drivers/video/fbdev/cirrusfb.c 	vga_wgfx(cinfo->regbase, CL_GRC, 0xff);	/* Color Key compare: - */
cinfo            1623 drivers/video/fbdev/cirrusfb.c 	vga_wgfx(cinfo->regbase, CL_GRD, 0x00);	/* Color Key compare mask: - */
cinfo            1624 drivers/video/fbdev/cirrusfb.c 	vga_wgfx(cinfo->regbase, CL_GRE, 0x00);	/* Miscellaneous control: - */
cinfo            1630 drivers/video/fbdev/cirrusfb.c 	vga_wattr(cinfo->regbase, VGA_ATC_PALETTE0, 0x00);
cinfo            1631 drivers/video/fbdev/cirrusfb.c 	vga_wattr(cinfo->regbase, VGA_ATC_PALETTE1, 0x01);
cinfo            1632 drivers/video/fbdev/cirrusfb.c 	vga_wattr(cinfo->regbase, VGA_ATC_PALETTE2, 0x02);
cinfo            1633 drivers/video/fbdev/cirrusfb.c 	vga_wattr(cinfo->regbase, VGA_ATC_PALETTE3, 0x03);
cinfo            1634 drivers/video/fbdev/cirrusfb.c 	vga_wattr(cinfo->regbase, VGA_ATC_PALETTE4, 0x04);
cinfo            1635 drivers/video/fbdev/cirrusfb.c 	vga_wattr(cinfo->regbase, VGA_ATC_PALETTE5, 0x05);
cinfo            1636 drivers/video/fbdev/cirrusfb.c 	vga_wattr(cinfo->regbase, VGA_ATC_PALETTE6, 0x06);
cinfo            1637 drivers/video/fbdev/cirrusfb.c 	vga_wattr(cinfo->regbase, VGA_ATC_PALETTE7, 0x07);
cinfo            1638 drivers/video/fbdev/cirrusfb.c 	vga_wattr(cinfo->regbase, VGA_ATC_PALETTE8, 0x08);
cinfo            1639 drivers/video/fbdev/cirrusfb.c 	vga_wattr(cinfo->regbase, VGA_ATC_PALETTE9, 0x09);
cinfo            1640 drivers/video/fbdev/cirrusfb.c 	vga_wattr(cinfo->regbase, VGA_ATC_PALETTEA, 0x0a);
cinfo            1641 drivers/video/fbdev/cirrusfb.c 	vga_wattr(cinfo->regbase, VGA_ATC_PALETTEB, 0x0b);
cinfo            1642 drivers/video/fbdev/cirrusfb.c 	vga_wattr(cinfo->regbase, VGA_ATC_PALETTEC, 0x0c);
cinfo            1643 drivers/video/fbdev/cirrusfb.c 	vga_wattr(cinfo->regbase, VGA_ATC_PALETTED, 0x0d);
cinfo            1644 drivers/video/fbdev/cirrusfb.c 	vga_wattr(cinfo->regbase, VGA_ATC_PALETTEE, 0x0e);
cinfo            1645 drivers/video/fbdev/cirrusfb.c 	vga_wattr(cinfo->regbase, VGA_ATC_PALETTEF, 0x0f);
cinfo            1648 drivers/video/fbdev/cirrusfb.c 	vga_wattr(cinfo->regbase, VGA_ATC_MODE, 0x01);
cinfo            1650 drivers/video/fbdev/cirrusfb.c 	vga_wattr(cinfo->regbase, VGA_ATC_OVERSCAN, 0x00);
cinfo            1652 drivers/video/fbdev/cirrusfb.c 	vga_wattr(cinfo->regbase, VGA_ATC_PLANE_ENABLE, 0x0f);
cinfo            1654 drivers/video/fbdev/cirrusfb.c 	vga_wattr(cinfo->regbase, VGA_ATC_COLOR_PAGE, 0x00);
cinfo            1656 drivers/video/fbdev/cirrusfb.c 	WGen(cinfo, VGA_PEL_MSK, 0xff);	/* Pixel mask: no mask */
cinfo            1659 drivers/video/fbdev/cirrusfb.c 	vga_wgfx(cinfo->regbase, CL_GR31, 0x04);
cinfo            1661 drivers/video/fbdev/cirrusfb.c 	vga_wgfx(cinfo->regbase, CL_GR31, 0x00);
cinfo            1664 drivers/video/fbdev/cirrusfb.c 	WHDR(cinfo, 0);	/* Hidden DAC register: - */
cinfo            1668 drivers/video/fbdev/cirrusfb.c static void switch_monitor(struct cirrusfb_info *cinfo, int on)
cinfo            1673 drivers/video/fbdev/cirrusfb.c 	if (cinfo->btype == BT_PICASSO4)
cinfo            1675 drivers/video/fbdev/cirrusfb.c 	if (cinfo->btype == BT_ALPINE)
cinfo            1677 drivers/video/fbdev/cirrusfb.c 	if (cinfo->btype == BT_GD5480)
cinfo            1679 drivers/video/fbdev/cirrusfb.c 	if (cinfo->btype == BT_PICASSO) {
cinfo            1681 drivers/video/fbdev/cirrusfb.c 			WSFR(cinfo, 0xff);
cinfo            1685 drivers/video/fbdev/cirrusfb.c 		switch (cinfo->btype) {
cinfo            1687 drivers/video/fbdev/cirrusfb.c 			WSFR(cinfo, cinfo->SFR | 0x21);
cinfo            1690 drivers/video/fbdev/cirrusfb.c 			WSFR(cinfo, cinfo->SFR | 0x28);
cinfo            1693 drivers/video/fbdev/cirrusfb.c 			WSFR(cinfo, 0x6f);
cinfo            1698 drivers/video/fbdev/cirrusfb.c 		switch (cinfo->btype) {
cinfo            1700 drivers/video/fbdev/cirrusfb.c 			WSFR(cinfo, cinfo->SFR & 0xde);
cinfo            1703 drivers/video/fbdev/cirrusfb.c 			WSFR(cinfo, cinfo->SFR & 0xd7);
cinfo            1706 drivers/video/fbdev/cirrusfb.c 			WSFR(cinfo, 0x4f);
cinfo            1721 drivers/video/fbdev/cirrusfb.c 	struct cirrusfb_info *cinfo = info->par;
cinfo            1723 drivers/video/fbdev/cirrusfb.c 	if (!is_laguna(cinfo)) {
cinfo            1724 drivers/video/fbdev/cirrusfb.c 		while (vga_rgfx(cinfo->regbase, CL_GR31) & 0x03)
cinfo            1735 drivers/video/fbdev/cirrusfb.c 	struct cirrusfb_info *cinfo = info->par;
cinfo            1738 drivers/video/fbdev/cirrusfb.c 		cinfo->pseudo_palette[region->color] : region->color;
cinfo            1761 drivers/video/fbdev/cirrusfb.c 	cirrusfb_RectFill(cinfo->regbase,
cinfo            1774 drivers/video/fbdev/cirrusfb.c 	struct cirrusfb_info *cinfo = info->par;
cinfo            1802 drivers/video/fbdev/cirrusfb.c 	cirrusfb_BitBLT(cinfo->regbase, info->var.bits_per_pixel,
cinfo            1813 drivers/video/fbdev/cirrusfb.c 	struct cirrusfb_info *cinfo = info->par;
cinfo            1821 drivers/video/fbdev/cirrusfb.c 	else if ((cinfo->btype == BT_ALPINE || cinfo->btype == BT_SD64) &&
cinfo            1838 drivers/video/fbdev/cirrusfb.c 			cirrusfb_RectFill(cinfo->regbase,
cinfo            1846 drivers/video/fbdev/cirrusfb.c 		cirrusfb_RectFill(cinfo->regbase,
cinfo            1867 drivers/video/fbdev/cirrusfb.c 	struct cirrusfb_info *cinfo = info->par;
cinfo            1869 drivers/video/fbdev/cirrusfb.c 	if (is_laguna(cinfo)) {
cinfo            1895 drivers/video/fbdev/cirrusfb.c 		if (cinfo->btype != BT_ALPINE && (SRF & 0x80) != 0)
cinfo            1929 drivers/video/fbdev/cirrusfb.c 	struct cirrusfb_info *cinfo = info->par;
cinfo            1931 drivers/video/fbdev/cirrusfb.c 	if (cinfo->laguna_mmio == NULL)
cinfo            1932 drivers/video/fbdev/cirrusfb.c 		iounmap(cinfo->laguna_mmio);
cinfo            1946 drivers/video/fbdev/cirrusfb.c 	struct cirrusfb_info *cinfo = info->par;
cinfo            1952 drivers/video/fbdev/cirrusfb.c 		iounmap(cinfo->regbase);
cinfo            1976 drivers/video/fbdev/cirrusfb.c 	struct cirrusfb_info *cinfo = info->par;
cinfo            1979 drivers/video/fbdev/cirrusfb.c 	info->pseudo_palette = cinfo->pseudo_palette;
cinfo            1986 drivers/video/fbdev/cirrusfb.c 	if (noaccel || is_laguna(cinfo)) {
cinfo            1994 drivers/video/fbdev/cirrusfb.c 	if (cinfo->btype == BT_GD5480) {
cinfo            2002 drivers/video/fbdev/cirrusfb.c 	strlcpy(info->fix.id, cirrusfb_board_info[cinfo->btype].name,
cinfo            2025 drivers/video/fbdev/cirrusfb.c 	struct cirrusfb_info *cinfo = info->par;
cinfo            2029 drivers/video/fbdev/cirrusfb.c 	assert(cinfo->btype != BT_NONE);
cinfo            2069 drivers/video/fbdev/cirrusfb.c 	struct cirrusfb_info *cinfo = info->par;
cinfo            2071 drivers/video/fbdev/cirrusfb.c 	switch_monitor(cinfo, 0);
cinfo            2075 drivers/video/fbdev/cirrusfb.c 	cinfo->unmap(info);
cinfo            2083 drivers/video/fbdev/cirrusfb.c 	struct cirrusfb_info *cinfo;
cinfo            2100 drivers/video/fbdev/cirrusfb.c 	cinfo = info->par;
cinfo            2101 drivers/video/fbdev/cirrusfb.c 	cinfo->btype = (enum cirrus_board) ent->driver_data;
cinfo            2105 drivers/video/fbdev/cirrusfb.c 		(unsigned long long)pdev->resource[0].start,  cinfo->btype);
cinfo            2113 drivers/video/fbdev/cirrusfb.c 	cinfo->regbase = NULL;
cinfo            2114 drivers/video/fbdev/cirrusfb.c 	cinfo->laguna_mmio = ioremap(info->fix.mmio_start, 0x1000);
cinfo            2119 drivers/video/fbdev/cirrusfb.c 	board_size = (cinfo->btype == BT_GD5480) ?
cinfo            2120 drivers/video/fbdev/cirrusfb.c 		32 * MB_ : cirrusfb_get_memsize(info, cinfo->regbase);
cinfo            2147 drivers/video/fbdev/cirrusfb.c 	cinfo->unmap = cirrusfb_pci_unmap;
cinfo            2168 drivers/video/fbdev/cirrusfb.c 	if (cinfo->laguna_mmio != NULL)
cinfo            2169 drivers/video/fbdev/cirrusfb.c 		iounmap(cinfo->laguna_mmio);
cinfo            2205 drivers/video/fbdev/cirrusfb.c 	struct cirrusfb_info *cinfo;
cinfo            2253 drivers/video/fbdev/cirrusfb.c 	cinfo = info->par;
cinfo            2254 drivers/video/fbdev/cirrusfb.c 	cinfo->btype = btype;
cinfo            2257 drivers/video/fbdev/cirrusfb.c 	cinfo->regbase = regbase > 16 * MB_ ? ioremap(regbase, 64 * 1024)
cinfo            2259 drivers/video/fbdev/cirrusfb.c 	if (!cinfo->regbase) {
cinfo            2275 drivers/video/fbdev/cirrusfb.c 	cinfo->unmap = cirrusfb_zorro_unmap;
cinfo            2283 drivers/video/fbdev/cirrusfb.c 		vga_wseq(cinfo->regbase, CL_SEQR1F,
cinfo            2302 drivers/video/fbdev/cirrusfb.c 		iounmap(cinfo->regbase);
cinfo            2407 drivers/video/fbdev/cirrusfb.c static void WGen(const struct cirrusfb_info *cinfo,
cinfo            2412 drivers/video/fbdev/cirrusfb.c 	if (cinfo->btype == BT_PICASSO) {
cinfo            2420 drivers/video/fbdev/cirrusfb.c 	vga_w(cinfo->regbase, regofs + regnum, val);
cinfo            2424 drivers/video/fbdev/cirrusfb.c static unsigned char RGen(const struct cirrusfb_info *cinfo, int regnum)
cinfo            2428 drivers/video/fbdev/cirrusfb.c 	if (cinfo->btype == BT_PICASSO) {
cinfo            2436 drivers/video/fbdev/cirrusfb.c 	return vga_r(cinfo->regbase, regofs + regnum);
cinfo            2440 drivers/video/fbdev/cirrusfb.c static void AttrOn(const struct cirrusfb_info *cinfo)
cinfo            2442 drivers/video/fbdev/cirrusfb.c 	assert(cinfo != NULL);
cinfo            2444 drivers/video/fbdev/cirrusfb.c 	if (vga_rcrt(cinfo->regbase, CL_CRT24) & 0x80) {
cinfo            2447 drivers/video/fbdev/cirrusfb.c 		vga_w(cinfo->regbase, VGA_ATT_IW,
cinfo            2448 drivers/video/fbdev/cirrusfb.c 		      vga_r(cinfo->regbase, VGA_ATT_R));
cinfo            2452 drivers/video/fbdev/cirrusfb.c 	vga_w(cinfo->regbase, VGA_ATT_IW, 0x33);
cinfo            2455 drivers/video/fbdev/cirrusfb.c 	vga_w(cinfo->regbase, VGA_ATT_IW, 0x00);
cinfo            2464 drivers/video/fbdev/cirrusfb.c static void WHDR(const struct cirrusfb_info *cinfo, unsigned char val)
cinfo            2468 drivers/video/fbdev/cirrusfb.c 	if (is_laguna(cinfo))
cinfo            2470 drivers/video/fbdev/cirrusfb.c 	if (cinfo->btype == BT_PICASSO) {
cinfo            2473 drivers/video/fbdev/cirrusfb.c 		WGen(cinfo, VGA_PEL_MSK, 0x00);
cinfo            2476 drivers/video/fbdev/cirrusfb.c 		dummy = RGen(cinfo, VGA_PEL_IW);
cinfo            2481 drivers/video/fbdev/cirrusfb.c 	dummy = RGen(cinfo, VGA_PEL_MSK);
cinfo            2483 drivers/video/fbdev/cirrusfb.c 	dummy = RGen(cinfo, VGA_PEL_MSK);
cinfo            2485 drivers/video/fbdev/cirrusfb.c 	dummy = RGen(cinfo, VGA_PEL_MSK);
cinfo            2487 drivers/video/fbdev/cirrusfb.c 	dummy = RGen(cinfo, VGA_PEL_MSK);
cinfo            2490 drivers/video/fbdev/cirrusfb.c 	WGen(cinfo, VGA_PEL_MSK, val);
cinfo            2493 drivers/video/fbdev/cirrusfb.c 	if (cinfo->btype == BT_PICASSO) {
cinfo            2495 drivers/video/fbdev/cirrusfb.c 		dummy = RGen(cinfo, VGA_PEL_IW);
cinfo            2500 drivers/video/fbdev/cirrusfb.c 		WGen(cinfo, VGA_PEL_MSK, 0xff);
cinfo            2506 drivers/video/fbdev/cirrusfb.c static void WSFR(struct cirrusfb_info *cinfo, unsigned char val)
cinfo            2509 drivers/video/fbdev/cirrusfb.c 	assert(cinfo->regbase != NULL);
cinfo            2510 drivers/video/fbdev/cirrusfb.c 	cinfo->SFR = val;
cinfo            2511 drivers/video/fbdev/cirrusfb.c 	z_writeb(val, cinfo->regbase + 0x8000);
cinfo            2516 drivers/video/fbdev/cirrusfb.c static void WSFR2(struct cirrusfb_info *cinfo, unsigned char val)
cinfo            2521 drivers/video/fbdev/cirrusfb.c 	assert(cinfo->regbase != NULL);
cinfo            2522 drivers/video/fbdev/cirrusfb.c 	cinfo->SFR = val;
cinfo            2523 drivers/video/fbdev/cirrusfb.c 	z_writeb(val, cinfo->regbase + 0x9000);
cinfo            2528 drivers/video/fbdev/cirrusfb.c static void WClut(struct cirrusfb_info *cinfo, unsigned char regnum, unsigned char red,
cinfo            2534 drivers/video/fbdev/cirrusfb.c 	vga_w(cinfo->regbase, VGA_PEL_IW, regnum);
cinfo            2536 drivers/video/fbdev/cirrusfb.c 	if (cinfo->btype == BT_PICASSO || cinfo->btype == BT_PICASSO4 ||
cinfo            2537 drivers/video/fbdev/cirrusfb.c 	    cinfo->btype == BT_ALPINE || cinfo->btype == BT_GD5480 ||
cinfo            2538 drivers/video/fbdev/cirrusfb.c 	    cinfo->btype == BT_SD64 || is_laguna(cinfo)) {
cinfo            2540 drivers/video/fbdev/cirrusfb.c 		if (cinfo->btype == BT_PICASSO)
cinfo            2542 drivers/video/fbdev/cirrusfb.c 		vga_w(cinfo->regbase, data, red);
cinfo            2543 drivers/video/fbdev/cirrusfb.c 		vga_w(cinfo->regbase, data, green);
cinfo            2544 drivers/video/fbdev/cirrusfb.c 		vga_w(cinfo->regbase, data, blue);
cinfo            2546 drivers/video/fbdev/cirrusfb.c 		vga_w(cinfo->regbase, data, blue);
cinfo            2547 drivers/video/fbdev/cirrusfb.c 		vga_w(cinfo->regbase, data, green);
cinfo            2548 drivers/video/fbdev/cirrusfb.c 		vga_w(cinfo->regbase, data, red);
cinfo            2554 drivers/video/fbdev/cirrusfb.c static void RClut(struct cirrusfb_info *cinfo, unsigned char regnum, unsigned char *red,
cinfo            2559 drivers/video/fbdev/cirrusfb.c 	vga_w(cinfo->regbase, VGA_PEL_IR, regnum);
cinfo            2561 drivers/video/fbdev/cirrusfb.c 	if (cinfo->btype == BT_PICASSO || cinfo->btype == BT_PICASSO4 ||
cinfo            2562 drivers/video/fbdev/cirrusfb.c 	    cinfo->btype == BT_ALPINE || cinfo->btype == BT_GD5480) {
cinfo            2563 drivers/video/fbdev/cirrusfb.c 		if (cinfo->btype == BT_PICASSO)
cinfo            2565 drivers/video/fbdev/cirrusfb.c 		*red = vga_r(cinfo->regbase, data);
cinfo            2566 drivers/video/fbdev/cirrusfb.c 		*green = vga_r(cinfo->regbase, data);
cinfo            2567 drivers/video/fbdev/cirrusfb.c 		*blue = vga_r(cinfo->regbase, data);
cinfo            2569 drivers/video/fbdev/cirrusfb.c 		*blue = vga_r(cinfo->regbase, data);
cinfo            2570 drivers/video/fbdev/cirrusfb.c 		*green = vga_r(cinfo->regbase, data);
cinfo            2571 drivers/video/fbdev/cirrusfb.c 		*red = vga_r(cinfo->regbase, data);
cinfo            3324 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		r = pll->cinfo.clkout[0];
cinfo            3331 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		r = pll->cinfo.clkout[0];
cinfo            3362 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 			r = pll->cinfo.clkout[0];
cinfo            3369 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 			r = pll->cinfo.clkout[0];
cinfo            3690 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		struct dispc_clock_info *cinfo)
cinfo            3692 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	if (cinfo->lck_div > 255 || cinfo->lck_div == 0)
cinfo            3694 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	if (cinfo->pck_div < 1 || cinfo->pck_div > 255)
cinfo            3697 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	cinfo->lck = dispc_fclk_rate / cinfo->lck_div;
cinfo            3698 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	cinfo->pck = cinfo->lck / cinfo->pck_div;
cinfo            3764 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		const struct dispc_clock_info *cinfo)
cinfo            3766 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	DSSDBG("lck = %lu (%u)\n", cinfo->lck, cinfo->lck_div);
cinfo            3767 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	DSSDBG("pck = %lu (%u)\n", cinfo->pck, cinfo->pck_div);
cinfo            3769 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	dispc_mgr_set_lcd_divisor(channel, cinfo->lck_div, cinfo->pck_div);
cinfo            3773 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		struct dispc_clock_info *cinfo)
cinfo            3779 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	cinfo->lck_div = REG_GET(DISPC_DIVISORo(channel), 23, 16);
cinfo            3780 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	cinfo->pck_div = REG_GET(DISPC_DIVISORo(channel), 7, 0);
cinfo            3782 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	cinfo->lck = fck / cinfo->lck_div;
cinfo            3783 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	cinfo->pck = cinfo->lck / cinfo->pck_div;
cinfo            1231 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	return dsi->pll.cinfo.clkout[HSDIV_DISPC];
cinfo            1238 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	return dsi->pll.cinfo.clkout[HSDIV_DSI];
cinfo            1245 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	return dsi->pll.cinfo.clkdco / 16;
cinfo            1365 drivers/video/fbdev/omap2/omapfb/dss/dsi.c static void dsi_pll_calc_dsi_fck(struct dss_pll_clock_info *cinfo)
cinfo            1371 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	cinfo->mX[HSDIV_DSI] = DIV_ROUND_UP(cinfo->clkdco, max_dsi_fck);
cinfo            1372 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	cinfo->clkout[HSDIV_DSI] = cinfo->clkdco / cinfo->mX[HSDIV_DSI];
cinfo            1465 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	struct dss_pll_clock_info *cinfo = &dsi->pll.cinfo;
cinfo            1480 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	seq_printf(s,	"Fint\t\t%-16lun %u\n", cinfo->fint, cinfo->n);
cinfo            1483 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 			cinfo->clkdco, cinfo->m);
cinfo            1489 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 			cinfo->clkout[HSDIV_DISPC],
cinfo            1490 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 			cinfo->mX[HSDIV_DISPC],
cinfo            1498 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 			cinfo->clkout[HSDIV_DSI],
cinfo            1499 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 			cinfo->mX[HSDIV_DSI],
cinfo            1512 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 			cinfo->clkdco / 4);
cinfo            1851 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	unsigned long ddr_clk = dsi->pll.cinfo.clkdco / 4;
cinfo            1859 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	unsigned long ddr_clk = dsi->pll.cinfo.clkdco / 4;
cinfo            4160 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	struct dss_pll_clock_info cinfo;
cinfo            4163 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	cinfo = dsi->user_dsi_cinfo;
cinfo            4165 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	r = dss_pll_set_config(&dsi->pll, &cinfo);
cinfo             137 drivers/video/fbdev/omap2/omapfb/dss/dss.h 		const struct dss_pll_clock_info *cinfo);
cinfo             172 drivers/video/fbdev/omap2/omapfb/dss/dss.h 	struct dss_pll_clock_info cinfo;
cinfo             392 drivers/video/fbdev/omap2/omapfb/dss/dss.h 		struct dispc_clock_info *cinfo);
cinfo             401 drivers/video/fbdev/omap2/omapfb/dss/dss.h 		const struct dispc_clock_info *cinfo);
cinfo             403 drivers/video/fbdev/omap2/omapfb/dss/dss.h 		struct dispc_clock_info *cinfo);
cinfo             488 drivers/video/fbdev/omap2/omapfb/dss/dss.h 		const struct dss_pll_clock_info *cinfo);
cinfo             497 drivers/video/fbdev/omap2/omapfb/dss/dss.h 		const struct dss_pll_clock_info *cinfo);
cinfo             499 drivers/video/fbdev/omap2/omapfb/dss/dss.h 		const struct dss_pll_clock_info *cinfo);
cinfo             186 drivers/video/fbdev/omap2/omapfb/dss/manager.c 	struct dispc_clock_info cinfo = config->clock_info;
cinfo             191 drivers/video/fbdev/omap2/omapfb/dss/manager.c 	if (cinfo.lck_div < 1 || cinfo.lck_div > 255)
cinfo             194 drivers/video/fbdev/omap2/omapfb/dss/manager.c 	if (cinfo.pck_div < 1 || cinfo.pck_div > 255)
cinfo             105 drivers/video/fbdev/omap2/omapfb/dss/pll.c 	memset(&pll->cinfo, 0, sizeof(pll->cinfo));
cinfo             108 drivers/video/fbdev/omap2/omapfb/dss/pll.c int dss_pll_set_config(struct dss_pll *pll, const struct dss_pll_clock_info *cinfo)
cinfo             112 drivers/video/fbdev/omap2/omapfb/dss/pll.c 	r = pll->ops->set_config(pll, cinfo);
cinfo             116 drivers/video/fbdev/omap2/omapfb/dss/pll.c 	pll->cinfo = *cinfo;
cinfo             239 drivers/video/fbdev/omap2/omapfb/dss/pll.c 		const struct dss_pll_clock_info *cinfo)
cinfo             249 drivers/video/fbdev/omap2/omapfb/dss/pll.c 	l = FLD_MOD(l, cinfo->n - 1, hw->n_msb, hw->n_lsb);	/* PLL_REGN */
cinfo             250 drivers/video/fbdev/omap2/omapfb/dss/pll.c 	l = FLD_MOD(l, cinfo->m, hw->m_msb, hw->m_lsb);		/* PLL_REGM */
cinfo             252 drivers/video/fbdev/omap2/omapfb/dss/pll.c 	l = FLD_MOD(l, cinfo->mX[0] ? cinfo->mX[0] - 1 : 0,
cinfo             255 drivers/video/fbdev/omap2/omapfb/dss/pll.c 	l = FLD_MOD(l, cinfo->mX[1] ? cinfo->mX[1] - 1 : 0,
cinfo             261 drivers/video/fbdev/omap2/omapfb/dss/pll.c 	l = FLD_MOD(l, cinfo->mX[2] ? cinfo->mX[2] - 1 : 0,
cinfo             264 drivers/video/fbdev/omap2/omapfb/dss/pll.c 	l = FLD_MOD(l, cinfo->mX[3] ? cinfo->mX[3] - 1 : 0,
cinfo             270 drivers/video/fbdev/omap2/omapfb/dss/pll.c 		u32 f = cinfo->fint < 1000000 ? 0x3 :
cinfo             271 drivers/video/fbdev/omap2/omapfb/dss/pll.c 			cinfo->fint < 1250000 ? 0x4 :
cinfo             272 drivers/video/fbdev/omap2/omapfb/dss/pll.c 			cinfo->fint < 1500000 ? 0x5 :
cinfo             273 drivers/video/fbdev/omap2/omapfb/dss/pll.c 			cinfo->fint < 1750000 ? 0x6 :
cinfo             278 drivers/video/fbdev/omap2/omapfb/dss/pll.c 		u32 f = cinfo->clkdco < hw->clkdco_low ? 0x2 : 0x4;
cinfo             309 drivers/video/fbdev/omap2/omapfb/dss/pll.c 	l = FLD_MOD(l, cinfo->mX[0] ? 1 : 0, 16, 16);	/* M4_CLOCK_EN */
cinfo             310 drivers/video/fbdev/omap2/omapfb/dss/pll.c 	l = FLD_MOD(l, cinfo->mX[1] ? 1 : 0, 18, 18);	/* M5_CLOCK_EN */
cinfo             312 drivers/video/fbdev/omap2/omapfb/dss/pll.c 	l = FLD_MOD(l, cinfo->mX[2] ? 1 : 0, 23, 23);	/* M6_CLOCK_EN */
cinfo             313 drivers/video/fbdev/omap2/omapfb/dss/pll.c 	l = FLD_MOD(l, cinfo->mX[3] ? 1 : 0, 25, 25);	/* M7_CLOCK_EN */
cinfo             317 drivers/video/fbdev/omap2/omapfb/dss/pll.c 		(cinfo->mX[0] ? BIT(7) : 0) |
cinfo             318 drivers/video/fbdev/omap2/omapfb/dss/pll.c 		(cinfo->mX[1] ? BIT(8) : 0) |
cinfo             319 drivers/video/fbdev/omap2/omapfb/dss/pll.c 		(cinfo->mX[2] ? BIT(10) : 0) |
cinfo             320 drivers/video/fbdev/omap2/omapfb/dss/pll.c 		(cinfo->mX[3] ? BIT(11) : 0));
cinfo             331 drivers/video/fbdev/omap2/omapfb/dss/pll.c 		const struct dss_pll_clock_info *cinfo)
cinfo             338 drivers/video/fbdev/omap2/omapfb/dss/pll.c 	l = FLD_MOD(l, cinfo->m, 20, 9);	/* PLL_REGM */
cinfo             339 drivers/video/fbdev/omap2/omapfb/dss/pll.c 	l = FLD_MOD(l, cinfo->n - 1, 8, 1);	/* PLL_REGN */
cinfo             350 drivers/video/fbdev/omap2/omapfb/dss/pll.c 	if (cinfo->clkdco > hw->clkdco_low)
cinfo             357 drivers/video/fbdev/omap2/omapfb/dss/pll.c 	l = FLD_MOD(l, cinfo->sd, 17, 10);	/* PLL_REGSD */
cinfo             361 drivers/video/fbdev/omap2/omapfb/dss/pll.c 	l = FLD_MOD(l, cinfo->mX[0], 24, 18);	/* PLL_REGM2 */
cinfo             362 drivers/video/fbdev/omap2/omapfb/dss/pll.c 	l = FLD_MOD(l, cinfo->mf, 17, 0);	/* PLL_REGM_F */
cinfo             286 fs/nfs/direct.c void nfs_init_cinfo_from_dreq(struct nfs_commit_info *cinfo,
cinfo             289 fs/nfs/direct.c 	cinfo->inode = dreq->inode;
cinfo             290 fs/nfs/direct.c 	cinfo->mds = &dreq->mds_cinfo;
cinfo             291 fs/nfs/direct.c 	cinfo->ds = &dreq->ds_cinfo;
cinfo             292 fs/nfs/direct.c 	cinfo->dreq = dreq;
cinfo             293 fs/nfs/direct.c 	cinfo->completion_ops = &nfs_direct_commit_completion_ops;
cinfo             611 fs/nfs/direct.c 				  struct nfs_commit_info *cinfo)
cinfo             613 fs/nfs/direct.c 	mutex_lock(&NFS_I(cinfo->inode)->commit_mutex);
cinfo             615 fs/nfs/direct.c 	if (cinfo->ds != NULL && cinfo->ds->nwritten != 0)
cinfo             616 fs/nfs/direct.c 		NFS_SERVER(inode)->pnfs_curr_ld->recover_commit_reqs(list, cinfo);
cinfo             618 fs/nfs/direct.c 	nfs_scan_commit_list(&cinfo->mds->list, list, cinfo, 0);
cinfo             619 fs/nfs/direct.c 	mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex);
cinfo             627 fs/nfs/direct.c 	struct nfs_commit_info cinfo;
cinfo             630 fs/nfs/direct.c 	nfs_init_cinfo_from_dreq(&cinfo, dreq);
cinfo             631 fs/nfs/direct.c 	nfs_direct_write_scan_commit_list(dreq->inode, &reqs, &cinfo);
cinfo             650 fs/nfs/direct.c 			spin_lock(&cinfo.inode->i_lock);
cinfo             656 fs/nfs/direct.c 			spin_unlock(&cinfo.inode->i_lock);
cinfo             675 fs/nfs/direct.c 	struct nfs_commit_info cinfo;
cinfo             679 fs/nfs/direct.c 	nfs_init_cinfo_from_dreq(&cinfo, dreq);
cinfo             693 fs/nfs/direct.c 			nfs_mark_request_commit(req, NULL, &cinfo, 0);
cinfo             699 fs/nfs/direct.c 	if (atomic_dec_and_test(&cinfo.mds->rpcs_out))
cinfo             703 fs/nfs/direct.c static void nfs_direct_resched_write(struct nfs_commit_info *cinfo,
cinfo             706 fs/nfs/direct.c 	struct nfs_direct_req *dreq = cinfo->dreq;
cinfo             711 fs/nfs/direct.c 	nfs_mark_request_commit(req, NULL, cinfo, 0);
cinfo             722 fs/nfs/direct.c 	struct nfs_commit_info cinfo;
cinfo             725 fs/nfs/direct.c 	nfs_init_cinfo_from_dreq(&cinfo, dreq);
cinfo             726 fs/nfs/direct.c 	nfs_scan_commit(dreq->inode, &mds_list, &cinfo);
cinfo             727 fs/nfs/direct.c 	res = nfs_generic_commit_list(dreq->inode, &mds_list, 0, &cinfo);
cinfo             759 fs/nfs/direct.c 	struct nfs_commit_info cinfo;
cinfo             763 fs/nfs/direct.c 	nfs_init_cinfo_from_dreq(&cinfo, dreq);
cinfo             796 fs/nfs/direct.c 			nfs_mark_request_commit(req, hdr->lseg, &cinfo,
cinfo             764 fs/nfs/filelayout/filelayout.c 			     struct nfs_commit_info *cinfo,
cinfo             777 fs/nfs/filelayout/filelayout.c 	if (cinfo->ds->nbuckets >= size) {
cinfo             798 fs/nfs/filelayout/filelayout.c 	spin_lock(&cinfo->inode->i_lock);
cinfo             799 fs/nfs/filelayout/filelayout.c 	if (cinfo->ds->nbuckets >= size)
cinfo             801 fs/nfs/filelayout/filelayout.c 	for (i = 0; i < cinfo->ds->nbuckets; i++) {
cinfo             802 fs/nfs/filelayout/filelayout.c 		list_splice(&cinfo->ds->buckets[i].written,
cinfo             804 fs/nfs/filelayout/filelayout.c 		list_splice(&cinfo->ds->buckets[i].committing,
cinfo             807 fs/nfs/filelayout/filelayout.c 			cinfo->ds->buckets[i].direct_verf.committed;
cinfo             808 fs/nfs/filelayout/filelayout.c 		buckets[i].wlseg = cinfo->ds->buckets[i].wlseg;
cinfo             809 fs/nfs/filelayout/filelayout.c 		buckets[i].clseg = cinfo->ds->buckets[i].clseg;
cinfo             811 fs/nfs/filelayout/filelayout.c 	swap(cinfo->ds->buckets, buckets);
cinfo             812 fs/nfs/filelayout/filelayout.c 	cinfo->ds->nbuckets = size;
cinfo             814 fs/nfs/filelayout/filelayout.c 	spin_unlock(&cinfo->inode->i_lock);
cinfo             941 fs/nfs/filelayout/filelayout.c 	struct nfs_commit_info cinfo;
cinfo             963 fs/nfs/filelayout/filelayout.c 	nfs_init_cinfo(&cinfo, pgio->pg_inode, pgio->pg_dreq);
cinfo             964 fs/nfs/filelayout/filelayout.c 	status = filelayout_alloc_commit_info(pgio->pg_lseg, &cinfo, GFP_NOFS);
cinfo            1000 fs/nfs/filelayout/filelayout.c 			       struct nfs_commit_info *cinfo,
cinfo            1008 fs/nfs/filelayout/filelayout.c 		nfs_request_add_commit_list(req, cinfo);
cinfo            1018 fs/nfs/filelayout/filelayout.c 		pnfs_layout_mark_request_commit(req, lseg, cinfo, i);
cinfo            1089 fs/nfs/filelayout/filelayout.c filelayout_search_commit_reqs(struct nfs_commit_info *cinfo, struct page *page)
cinfo            1097 fs/nfs/filelayout/filelayout.c 	for (i = 0, b = cinfo->ds->buckets; i < cinfo->ds->nbuckets; i++, b++) {
cinfo            1113 fs/nfs/filelayout/filelayout.c 			   int how, struct nfs_commit_info *cinfo)
cinfo            1115 fs/nfs/filelayout/filelayout.c 	return pnfs_generic_commit_pagelist(inode, mds_pages, how, cinfo,
cinfo             751 fs/nfs/flexfilelayout/flexfilelayout.c 			    struct nfs_commit_info *cinfo,
cinfo             758 fs/nfs/flexfilelayout/flexfilelayout.c 	if (cinfo->ds->nbuckets != 0) {
cinfo             776 fs/nfs/flexfilelayout/flexfilelayout.c 		spin_lock(&cinfo->inode->i_lock);
cinfo             777 fs/nfs/flexfilelayout/flexfilelayout.c 		if (cinfo->ds->nbuckets != 0)
cinfo             780 fs/nfs/flexfilelayout/flexfilelayout.c 			cinfo->ds->buckets = buckets;
cinfo             781 fs/nfs/flexfilelayout/flexfilelayout.c 			cinfo->ds->nbuckets = size;
cinfo             790 fs/nfs/flexfilelayout/flexfilelayout.c 		spin_unlock(&cinfo->inode->i_lock);
cinfo             956 fs/nfs/flexfilelayout/flexfilelayout.c 	struct nfs_commit_info cinfo;
cinfo             981 fs/nfs/flexfilelayout/flexfilelayout.c 	nfs_init_cinfo(&cinfo, pgio->pg_inode, pgio->pg_dreq);
cinfo             982 fs/nfs/flexfilelayout/flexfilelayout.c 	status = ff_layout_alloc_commit_info(pgio->pg_lseg, &cinfo, GFP_NOFS);
cinfo            1987 fs/nfs/flexfilelayout/flexfilelayout.c 			   int how, struct nfs_commit_info *cinfo)
cinfo            1989 fs/nfs/flexfilelayout/flexfilelayout.c 	return pnfs_generic_commit_pagelist(inode, mds_pages, how, cinfo,
cinfo             481 fs/nfs/internal.h 			    struct nfs_commit_info *cinfo);
cinfo             483 fs/nfs/internal.h 			 struct nfs_commit_info *cinfo, int max);
cinfo             486 fs/nfs/internal.h 		    struct nfs_commit_info *cinfo);
cinfo             489 fs/nfs/internal.h 			     struct nfs_commit_info *cinfo,
cinfo             494 fs/nfs/internal.h 			    int how, struct nfs_commit_info *cinfo);
cinfo             497 fs/nfs/internal.h 		      struct nfs_commit_info *cinfo,
cinfo             501 fs/nfs/internal.h 				 struct nfs_commit_info *cinfo);
cinfo             504 fs/nfs/internal.h 		struct nfs_commit_info *cinfo);
cinfo             506 fs/nfs/internal.h 				    struct nfs_commit_info *cinfo);
cinfo             507 fs/nfs/internal.h void nfs_init_cinfo(struct nfs_commit_info *cinfo,
cinfo             519 fs/nfs/internal.h void nfs_clear_pnfs_ds_commit_verifiers(struct pnfs_ds_commit_info *cinfo)
cinfo             523 fs/nfs/internal.h 	for (i = 0; i < cinfo->nbuckets; i++)
cinfo             524 fs/nfs/internal.h 		cinfo->buckets[i].direct_verf.committed = NFS_INVALID_STABLE_HOW;
cinfo             528 fs/nfs/internal.h void nfs_clear_pnfs_ds_commit_verifiers(struct pnfs_ds_commit_info *cinfo)
cinfo             553 fs/nfs/internal.h void nfs_init_cinfo_from_dreq(struct nfs_commit_info *cinfo,
cinfo             658 fs/nfs/internal.h void nfs_mark_page_unstable(struct page *page, struct nfs_commit_info *cinfo)
cinfo             660 fs/nfs/internal.h 	if (!cinfo->dreq) {
cinfo            1148 fs/nfs/nfs4proc.c update_changeattr_locked(struct inode *dir, struct nfs4_change_info *cinfo,
cinfo            1157 fs/nfs/nfs4proc.c 	if (cinfo->atomic && cinfo->before == inode_peek_iversion_raw(dir)) {
cinfo            1162 fs/nfs/nfs4proc.c 		if (cinfo->before != inode_peek_iversion_raw(dir))
cinfo            1166 fs/nfs/nfs4proc.c 	inode_set_iversion_raw(dir, cinfo->after);
cinfo            1174 fs/nfs/nfs4proc.c update_changeattr(struct inode *dir, struct nfs4_change_info *cinfo,
cinfo            1178 fs/nfs/nfs4proc.c 	update_changeattr_locked(dir, cinfo, timestamp, cache_validity);
cinfo            2624 fs/nfs/nfs4proc.c 		else if (o_res->cinfo.before != o_res->cinfo.after)
cinfo            2627 fs/nfs/nfs4proc.c 		    inode_peek_iversion_raw(dir) != o_res->cinfo.after)
cinfo            2628 fs/nfs/nfs4proc.c 			update_changeattr(dir, &o_res->cinfo,
cinfo            4501 fs/nfs/nfs4proc.c 		update_changeattr_locked(dir, &res.cinfo, timestamp, 0);
cinfo            4585 fs/nfs/nfs4proc.c 		update_changeattr(dir, &res->cinfo,
cinfo            4680 fs/nfs/nfs4proc.c 		update_changeattr(dir, &res.cinfo, res.fattr->time_start, 0);
cinfo            4224 fs/nfs/nfs4xdr.c static int decode_change_info(struct xdr_stream *xdr, struct nfs4_change_info *cinfo)
cinfo            4231 fs/nfs/nfs4xdr.c 	cinfo->atomic = be32_to_cpup(p++);
cinfo            4232 fs/nfs/nfs4xdr.c 	p = xdr_decode_hyper(p, &cinfo->before);
cinfo            4233 fs/nfs/nfs4xdr.c 	xdr_decode_hyper(p, &cinfo->after);
cinfo            4330 fs/nfs/nfs4xdr.c static int decode_create(struct xdr_stream *xdr, struct nfs4_change_info *cinfo)
cinfo            4339 fs/nfs/nfs4xdr.c 	if ((status = decode_change_info(xdr, cinfo)))
cinfo            4894 fs/nfs/nfs4xdr.c static int decode_link(struct xdr_stream *xdr, struct nfs4_change_info *cinfo)
cinfo            4901 fs/nfs/nfs4xdr.c 	return decode_change_info(xdr, cinfo);
cinfo            5101 fs/nfs/nfs4xdr.c 	decode_change_info(xdr, &res->cinfo);
cinfo            5240 fs/nfs/nfs4xdr.c static int decode_remove(struct xdr_stream *xdr, struct nfs4_change_info *cinfo)
cinfo            5247 fs/nfs/nfs4xdr.c 	status = decode_change_info(xdr, cinfo);
cinfo            6192 fs/nfs/nfs4xdr.c 	status = decode_remove(xdr, &res->cinfo);
cinfo            6252 fs/nfs/nfs4xdr.c 	status = decode_link(xdr, &res->cinfo);
cinfo             564 fs/nfs/pagelist.c 			      int how, struct nfs_commit_info *cinfo)
cinfo             585 fs/nfs/pagelist.c 		if (nfs_reqs_to_commit(cinfo))
cinfo             767 fs/nfs/pagelist.c 	struct nfs_commit_info cinfo;
cinfo             787 fs/nfs/pagelist.c 	nfs_init_cinfo(&cinfo, desc->pg_inode, desc->pg_dreq);
cinfo             809 fs/nfs/pagelist.c 	    (desc->pg_moreio || nfs_reqs_to_commit(&cinfo)))
cinfo             813 fs/nfs/pagelist.c 	nfs_pgio_rpcsetup(hdr, mirror->pg_count, desc->pg_ioflags, &cinfo);
cinfo             153 fs/nfs/pnfs.h  				     struct nfs_commit_info *cinfo,
cinfo             156 fs/nfs/pnfs.h  				      struct nfs_commit_info *cinfo);
cinfo             157 fs/nfs/pnfs.h  	int (*scan_commit_lists) (struct nfs_commit_info *cinfo,
cinfo             160 fs/nfs/pnfs.h  				     struct nfs_commit_info *cinfo);
cinfo             161 fs/nfs/pnfs.h  	struct nfs_page * (*search_commit_reqs)(struct nfs_commit_info *cinfo,
cinfo             166 fs/nfs/pnfs.h  			       struct nfs_commit_info *cinfo);
cinfo             364 fs/nfs/pnfs.h  				       struct nfs_commit_info *cinfo);
cinfo             369 fs/nfs/pnfs.h  				      struct nfs_commit_info *cinfo);
cinfo             373 fs/nfs/pnfs.h  				 struct nfs_commit_info *cinfo,
cinfo             376 fs/nfs/pnfs.h  int pnfs_generic_scan_commit_lists(struct nfs_commit_info *cinfo, int max);
cinfo             390 fs/nfs/pnfs.h  				     struct nfs_commit_info *cinfo,
cinfo             439 fs/nfs/pnfs.h  		 struct nfs_commit_info *cinfo)
cinfo             441 fs/nfs/pnfs.h  	if (cinfo->ds == NULL || cinfo->ds->ncommitting == 0)
cinfo             443 fs/nfs/pnfs.h  	return NFS_SERVER(inode)->pnfs_curr_ld->commit_pagelist(inode, mds_pages, how, cinfo);
cinfo             464 fs/nfs/pnfs.h  			 struct nfs_commit_info *cinfo, u32 ds_commit_idx)
cinfo             471 fs/nfs/pnfs.h  	ld->mark_request_commit(req, lseg, cinfo, ds_commit_idx);
cinfo             476 fs/nfs/pnfs.h  pnfs_clear_request_commit(struct nfs_page *req, struct nfs_commit_info *cinfo)
cinfo             483 fs/nfs/pnfs.h  	ld->clear_request_commit(req, cinfo);
cinfo             488 fs/nfs/pnfs.h  pnfs_scan_commit_lists(struct inode *inode, struct nfs_commit_info *cinfo,
cinfo             491 fs/nfs/pnfs.h  	if (cinfo->ds == NULL || cinfo->ds->nwritten == 0)
cinfo             494 fs/nfs/pnfs.h  		return NFS_SERVER(inode)->pnfs_curr_ld->scan_commit_lists(cinfo, max);
cinfo             498 fs/nfs/pnfs.h  pnfs_search_commit_reqs(struct inode *inode, struct nfs_commit_info *cinfo,
cinfo             505 fs/nfs/pnfs.h  	return ld->search_commit_reqs(cinfo, page);
cinfo             742 fs/nfs/pnfs.h  		 struct nfs_commit_info *cinfo)
cinfo             755 fs/nfs/pnfs.h  			 struct nfs_commit_info *cinfo, u32 ds_commit_idx)
cinfo             761 fs/nfs/pnfs.h  pnfs_clear_request_commit(struct nfs_page *req, struct nfs_commit_info *cinfo)
cinfo             767 fs/nfs/pnfs.h  pnfs_scan_commit_lists(struct inode *inode, struct nfs_commit_info *cinfo,
cinfo             774 fs/nfs/pnfs.h  pnfs_search_commit_reqs(struct inode *inode, struct nfs_commit_info *cinfo,
cinfo              68 fs/nfs/pnfs_nfs.c 				  struct nfs_commit_info *cinfo)
cinfo              74 fs/nfs/pnfs_nfs.c 	cinfo->ds->nwritten--;
cinfo              85 fs/nfs/pnfs_nfs.c 	nfs_request_remove_commit_list(req, cinfo);
cinfo              92 fs/nfs/pnfs_nfs.c 				 struct nfs_commit_info *cinfo,
cinfo              99 fs/nfs/pnfs_nfs.c 	lockdep_assert_held(&NFS_I(cinfo->inode)->commit_mutex);
cinfo             100 fs/nfs/pnfs_nfs.c 	ret = nfs_scan_commit_list(src, dst, cinfo, max);
cinfo             102 fs/nfs/pnfs_nfs.c 		cinfo->ds->nwritten -= ret;
cinfo             103 fs/nfs/pnfs_nfs.c 		cinfo->ds->ncommitting += ret;
cinfo             117 fs/nfs/pnfs_nfs.c int pnfs_generic_scan_commit_lists(struct nfs_commit_info *cinfo,
cinfo             122 fs/nfs/pnfs_nfs.c 	lockdep_assert_held(&NFS_I(cinfo->inode)->commit_mutex);
cinfo             123 fs/nfs/pnfs_nfs.c 	for (i = 0; i < cinfo->ds->nbuckets && max != 0; i++) {
cinfo             124 fs/nfs/pnfs_nfs.c 		cnt = pnfs_generic_scan_ds_commit_list(&cinfo->ds->buckets[i],
cinfo             125 fs/nfs/pnfs_nfs.c 						       cinfo, max);
cinfo             135 fs/nfs/pnfs_nfs.c 				      struct nfs_commit_info *cinfo)
cinfo             142 fs/nfs/pnfs_nfs.c 	lockdep_assert_held(&NFS_I(cinfo->inode)->commit_mutex);
cinfo             144 fs/nfs/pnfs_nfs.c 	for (i = 0, b = cinfo->ds->buckets; i < cinfo->ds->nbuckets; i++, b++) {
cinfo             145 fs/nfs/pnfs_nfs.c 		nwritten = nfs_scan_commit_list(&b->written, dst, cinfo, 0);
cinfo             148 fs/nfs/pnfs_nfs.c 		cinfo->ds->nwritten -= nwritten;
cinfo             159 fs/nfs/pnfs_nfs.c static void pnfs_generic_retry_commit(struct nfs_commit_info *cinfo, int idx)
cinfo             161 fs/nfs/pnfs_nfs.c 	struct pnfs_ds_commit_info *fl_cinfo = cinfo->ds;
cinfo             168 fs/nfs/pnfs_nfs.c 	mutex_lock(&NFS_I(cinfo->inode)->commit_mutex);
cinfo             176 fs/nfs/pnfs_nfs.c 			cinfo->ds->ncommitting--;
cinfo             178 fs/nfs/pnfs_nfs.c 		mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex);
cinfo             179 fs/nfs/pnfs_nfs.c 		nfs_retry_commit(&pages, freeme, cinfo, i);
cinfo             181 fs/nfs/pnfs_nfs.c 		mutex_lock(&NFS_I(cinfo->inode)->commit_mutex);
cinfo             183 fs/nfs/pnfs_nfs.c 	mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex);
cinfo             187 fs/nfs/pnfs_nfs.c pnfs_generic_alloc_ds_commits(struct nfs_commit_info *cinfo,
cinfo             196 fs/nfs/pnfs_nfs.c 	fl_cinfo = cinfo->ds;
cinfo             210 fs/nfs/pnfs_nfs.c 	pnfs_generic_retry_commit(cinfo, i);
cinfo             217 fs/nfs/pnfs_nfs.c 		struct nfs_commit_info *cinfo)
cinfo             222 fs/nfs/pnfs_nfs.c 	bucket = &cinfo->ds->buckets[data->ds_commit_index];
cinfo             223 fs/nfs/pnfs_nfs.c 	mutex_lock(&NFS_I(cinfo->inode)->commit_mutex);
cinfo             225 fs/nfs/pnfs_nfs.c 		cinfo->ds->ncommitting--;
cinfo             229 fs/nfs/pnfs_nfs.c 	mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex);
cinfo             242 fs/nfs/pnfs_nfs.c 					  struct nfs_commit_info *cinfo)
cinfo             245 fs/nfs/pnfs_nfs.c 		if (atomic_dec_and_test(&cinfo->mds->rpcs_out))
cinfo             246 fs/nfs/pnfs_nfs.c 			wake_up_var(&cinfo->mds->rpcs_out);
cinfo             261 fs/nfs/pnfs_nfs.c 			     int how, struct nfs_commit_info *cinfo,
cinfo             276 fs/nfs/pnfs_nfs.c 	nreq += pnfs_generic_alloc_ds_commits(cinfo, &list);
cinfo             281 fs/nfs/pnfs_nfs.c 	atomic_add(nreq, &cinfo->mds->rpcs_out);
cinfo             288 fs/nfs/pnfs_nfs.c 				data, cinfo))
cinfo             291 fs/nfs/pnfs_nfs.c 			nfs_init_commit(data, mds_pages, NULL, cinfo);
cinfo             298 fs/nfs/pnfs_nfs.c 			pnfs_fetch_commit_bucket_list(&pages, data, cinfo);
cinfo             302 fs/nfs/pnfs_nfs.c 				data, cinfo))
cinfo             305 fs/nfs/pnfs_nfs.c 			nfs_init_commit(data, &pages, data->lseg, cinfo);
cinfo             929 fs/nfs/pnfs_nfs.c 				struct nfs_commit_info *cinfo,
cinfo             935 fs/nfs/pnfs_nfs.c 	mutex_lock(&NFS_I(cinfo->inode)->commit_mutex);
cinfo             936 fs/nfs/pnfs_nfs.c 	buckets = cinfo->ds->buckets;
cinfo             940 fs/nfs/pnfs_nfs.c 			mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex);
cinfo             941 fs/nfs/pnfs_nfs.c 			cinfo->completion_ops->resched_write(cinfo, req);
cinfo             954 fs/nfs/pnfs_nfs.c 	cinfo->ds->nwritten++;
cinfo             956 fs/nfs/pnfs_nfs.c 	nfs_request_add_commit_list_locked(req, list, cinfo);
cinfo             957 fs/nfs/pnfs_nfs.c 	mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex);
cinfo             958 fs/nfs/pnfs_nfs.c 	nfs_mark_page_unstable(req->wb_page, cinfo);
cinfo              62 fs/nfs/write.c static void nfs_init_cinfo_from_inode(struct nfs_commit_info *cinfo,
cinfo             836 fs/nfs/write.c 	struct nfs_commit_info cinfo;
cinfo             839 fs/nfs/write.c 	nfs_init_cinfo_from_inode(&cinfo, inode);
cinfo             842 fs/nfs/write.c 	freq = pnfs_search_commit_reqs(inode, &cinfo, page);
cinfo             847 fs/nfs/write.c 	list_for_each_entry_safe(freq, t, &cinfo.mds->list, wb_list) {
cinfo             870 fs/nfs/write.c 			    struct nfs_commit_info *cinfo)
cinfo             874 fs/nfs/write.c 	atomic_long_inc(&cinfo->mds->ncommit);
cinfo             891 fs/nfs/write.c nfs_request_add_commit_list(struct nfs_page *req, struct nfs_commit_info *cinfo)
cinfo             893 fs/nfs/write.c 	mutex_lock(&NFS_I(cinfo->inode)->commit_mutex);
cinfo             894 fs/nfs/write.c 	nfs_request_add_commit_list_locked(req, &cinfo->mds->list, cinfo);
cinfo             895 fs/nfs/write.c 	mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex);
cinfo             897 fs/nfs/write.c 		nfs_mark_page_unstable(req->wb_page, cinfo);
cinfo             914 fs/nfs/write.c 			       struct nfs_commit_info *cinfo)
cinfo             919 fs/nfs/write.c 	atomic_long_dec(&cinfo->mds->ncommit);
cinfo             923 fs/nfs/write.c static void nfs_init_cinfo_from_inode(struct nfs_commit_info *cinfo,
cinfo             926 fs/nfs/write.c 	cinfo->inode = inode;
cinfo             927 fs/nfs/write.c 	cinfo->mds = &NFS_I(inode)->commit_info;
cinfo             928 fs/nfs/write.c 	cinfo->ds = pnfs_get_ds_info(inode);
cinfo             929 fs/nfs/write.c 	cinfo->dreq = NULL;
cinfo             930 fs/nfs/write.c 	cinfo->completion_ops = &nfs_commit_completion_ops;
cinfo             933 fs/nfs/write.c void nfs_init_cinfo(struct nfs_commit_info *cinfo,
cinfo             938 fs/nfs/write.c 		nfs_init_cinfo_from_dreq(cinfo, dreq);
cinfo             940 fs/nfs/write.c 		nfs_init_cinfo_from_inode(cinfo, inode);
cinfo             949 fs/nfs/write.c 			struct nfs_commit_info *cinfo, u32 ds_commit_idx)
cinfo             951 fs/nfs/write.c 	if (pnfs_mark_request_commit(req, lseg, cinfo, ds_commit_idx))
cinfo             953 fs/nfs/write.c 	nfs_request_add_commit_list(req, cinfo);
cinfo             971 fs/nfs/write.c 		struct nfs_commit_info cinfo;
cinfo             973 fs/nfs/write.c 		nfs_init_cinfo_from_inode(&cinfo, inode);
cinfo             975 fs/nfs/write.c 		if (!pnfs_clear_request_commit(req, &cinfo)) {
cinfo             976 fs/nfs/write.c 			nfs_request_remove_commit_list(req, &cinfo);
cinfo             997 fs/nfs/write.c 	struct nfs_commit_info cinfo;
cinfo            1002 fs/nfs/write.c 	nfs_init_cinfo_from_inode(&cinfo, hdr->inode);
cinfo            1018 fs/nfs/write.c 			nfs_mark_request_commit(req, hdr->lseg, &cinfo,
cinfo            1034 fs/nfs/write.c nfs_reqs_to_commit(struct nfs_commit_info *cinfo)
cinfo            1036 fs/nfs/write.c 	return atomic_long_read(&cinfo->mds->ncommit);
cinfo            1042 fs/nfs/write.c 		     struct nfs_commit_info *cinfo, int max)
cinfo            1059 fs/nfs/write.c 			mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex);
cinfo            1062 fs/nfs/write.c 			mutex_lock(&NFS_I(cinfo->inode)->commit_mutex);
cinfo            1067 fs/nfs/write.c 		nfs_request_remove_commit_list(req, cinfo);
cinfo            1071 fs/nfs/write.c 		if ((ret == max) && !cinfo->dreq)
cinfo            1090 fs/nfs/write.c 		struct nfs_commit_info *cinfo)
cinfo            1094 fs/nfs/write.c 	if (!atomic_long_read(&cinfo->mds->ncommit))
cinfo            1096 fs/nfs/write.c 	mutex_lock(&NFS_I(cinfo->inode)->commit_mutex);
cinfo            1097 fs/nfs/write.c 	if (atomic_long_read(&cinfo->mds->ncommit) > 0) {
cinfo            1100 fs/nfs/write.c 		ret = nfs_scan_commit_list(&cinfo->mds->list, dst,
cinfo            1101 fs/nfs/write.c 					   cinfo, max);
cinfo            1102 fs/nfs/write.c 		ret += pnfs_scan_commit_lists(inode, cinfo, max - ret);
cinfo            1104 fs/nfs/write.c 	mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex);
cinfo            1665 fs/nfs/write.c static int wait_on_commit(struct nfs_mds_commit_info *cinfo)
cinfo            1667 fs/nfs/write.c 	return wait_var_event_killable(&cinfo->rpcs_out,
cinfo            1668 fs/nfs/write.c 				       !atomic_read(&cinfo->rpcs_out));
cinfo            1671 fs/nfs/write.c static void nfs_commit_begin(struct nfs_mds_commit_info *cinfo)
cinfo            1673 fs/nfs/write.c 	atomic_inc(&cinfo->rpcs_out);
cinfo            1676 fs/nfs/write.c static void nfs_commit_end(struct nfs_mds_commit_info *cinfo)
cinfo            1678 fs/nfs/write.c 	if (atomic_dec_and_test(&cinfo->rpcs_out))
cinfo            1679 fs/nfs/write.c 		wake_up_var(&cinfo->rpcs_out);
cinfo            1745 fs/nfs/write.c 		     struct nfs_commit_info *cinfo)
cinfo            1763 fs/nfs/write.c 	data->completion_ops = cinfo->completion_ops;
cinfo            1764 fs/nfs/write.c 	data->dreq	  = cinfo->dreq;
cinfo            1779 fs/nfs/write.c 		      struct nfs_commit_info *cinfo,
cinfo            1787 fs/nfs/write.c 		nfs_mark_request_commit(req, lseg, cinfo, ds_commit_idx);
cinfo            1788 fs/nfs/write.c 		if (!cinfo->dreq)
cinfo            1796 fs/nfs/write.c nfs_commit_resched_write(struct nfs_commit_info *cinfo,
cinfo            1807 fs/nfs/write.c 		struct nfs_commit_info *cinfo)
cinfo            1818 fs/nfs/write.c 	nfs_init_commit(data, head, NULL, cinfo);
cinfo            1819 fs/nfs/write.c 	atomic_inc(&cinfo->mds->rpcs_out);
cinfo            1844 fs/nfs/write.c 	struct nfs_commit_info cinfo;
cinfo            1890 fs/nfs/write.c 	nfs_init_cinfo(&cinfo, data->inode, data->dreq);
cinfo            1891 fs/nfs/write.c 	nfs_commit_end(cinfo.mds);
cinfo            1914 fs/nfs/write.c 			    int how, struct nfs_commit_info *cinfo)
cinfo            1918 fs/nfs/write.c 	status = pnfs_commit_list(inode, head, how, cinfo);
cinfo            1920 fs/nfs/write.c 		status = nfs_commit_list(inode, head, how, cinfo);
cinfo            1928 fs/nfs/write.c 	struct nfs_commit_info cinfo;
cinfo            1932 fs/nfs/write.c 	nfs_init_cinfo_from_inode(&cinfo, inode);
cinfo            1933 fs/nfs/write.c 	nfs_commit_begin(cinfo.mds);
cinfo            1935 fs/nfs/write.c 		ret = nscan = nfs_scan_commit(inode, &head, &cinfo);
cinfo            1938 fs/nfs/write.c 		ret = nfs_generic_commit_list(inode, &head, how, &cinfo);
cinfo            1952 fs/nfs/write.c 	nfs_commit_end(cinfo.mds);
cinfo            1955 fs/nfs/write.c 	return wait_on_commit(cinfo.mds);
cinfo             715 fs/nfsd/xdr4.h set_change_info(struct nfsd4_change_info *cinfo, struct svc_fh *fhp)
cinfo             718 fs/nfsd/xdr4.h 	cinfo->atomic = (u32)fhp->fh_post_saved;
cinfo             719 fs/nfsd/xdr4.h 	cinfo->change_supported = IS_I_VERSION(d_inode(fhp->fh_dentry));
cinfo             721 fs/nfsd/xdr4.h 	cinfo->before_change = fhp->fh_pre_change;
cinfo             722 fs/nfsd/xdr4.h 	cinfo->after_change = fhp->fh_post_change;
cinfo             723 fs/nfsd/xdr4.h 	cinfo->before_ctime_sec = fhp->fh_pre_ctime.tv_sec;
cinfo             724 fs/nfsd/xdr4.h 	cinfo->before_ctime_nsec = fhp->fh_pre_ctime.tv_nsec;
cinfo             725 fs/nfsd/xdr4.h 	cinfo->after_ctime_sec = fhp->fh_post_attr.ctime.tv_sec;
cinfo             726 fs/nfsd/xdr4.h 	cinfo->after_ctime_nsec = fhp->fh_post_attr.ctime.tv_nsec;
cinfo             481 include/linux/nfs_xdr.h 	struct nfs4_change_info	cinfo;
cinfo             704 include/linux/nfs_xdr.h 	struct nfs4_change_info	cinfo;
cinfo            1061 include/linux/nfs_xdr.h 	struct nfs4_change_info		cinfo;
cinfo            1391 include/linux/nfs_xdr.h nfs_free_pnfs_ds_cinfo(struct pnfs_ds_commit_info *cinfo)
cinfo            1393 include/linux/nfs_xdr.h 	kfree(cinfo->buckets);
cinfo            1402 include/linux/nfs_xdr.h nfs_free_pnfs_ds_cinfo(struct pnfs_ds_commit_info *cinfo)
cinfo             398 net/bluetooth/l2cap_sock.c 	struct l2cap_conninfo cinfo;
cinfo             476 net/bluetooth/l2cap_sock.c 		memset(&cinfo, 0, sizeof(cinfo));
cinfo             477 net/bluetooth/l2cap_sock.c 		cinfo.hci_handle = chan->conn->hcon->handle;
cinfo             478 net/bluetooth/l2cap_sock.c 		memcpy(cinfo.dev_class, chan->conn->hcon->dev_class, 3);
cinfo             480 net/bluetooth/l2cap_sock.c 		len = min_t(unsigned int, len, sizeof(cinfo));
cinfo             481 net/bluetooth/l2cap_sock.c 		if (copy_to_user(optval, (char *) &cinfo, len))
cinfo             764 net/bluetooth/rfcomm/sock.c 	struct rfcomm_conninfo cinfo;
cinfo             815 net/bluetooth/rfcomm/sock.c 		memset(&cinfo, 0, sizeof(cinfo));
cinfo             816 net/bluetooth/rfcomm/sock.c 		cinfo.hci_handle = conn->hcon->handle;
cinfo             817 net/bluetooth/rfcomm/sock.c 		memcpy(cinfo.dev_class, conn->hcon->dev_class, 3);
cinfo             819 net/bluetooth/rfcomm/sock.c 		len = min_t(unsigned int, len, sizeof(cinfo));
cinfo             820 net/bluetooth/rfcomm/sock.c 		if (copy_to_user(optval, (char *) &cinfo, len))
cinfo             863 net/bluetooth/sco.c 	struct sco_conninfo cinfo;
cinfo             900 net/bluetooth/sco.c 		memset(&cinfo, 0, sizeof(cinfo));
cinfo             901 net/bluetooth/sco.c 		cinfo.hci_handle = sco_pi(sk)->conn->hcon->handle;
cinfo             902 net/bluetooth/sco.c 		memcpy(cinfo.dev_class, sco_pi(sk)->conn->hcon->dev_class, 3);
cinfo             904 net/bluetooth/sco.c 		len = min_t(unsigned int, len, sizeof(cinfo));
cinfo             905 net/bluetooth/sco.c 		if (copy_to_user(optval, (char *)&cinfo, len))
cinfo             729 net/rds/connection.c 	struct rds_info_connection *cinfo = buffer;
cinfo             735 net/rds/connection.c 	cinfo->next_tx_seq = cp->cp_next_tx_seq;
cinfo             736 net/rds/connection.c 	cinfo->next_rx_seq = cp->cp_next_rx_seq;
cinfo             737 net/rds/connection.c 	cinfo->laddr = conn->c_laddr.s6_addr32[3];
cinfo             738 net/rds/connection.c 	cinfo->faddr = conn->c_faddr.s6_addr32[3];
cinfo             739 net/rds/connection.c 	cinfo->tos = conn->c_tos;
cinfo             740 net/rds/connection.c 	strncpy(cinfo->transport, conn->c_trans->t_name,
cinfo             741 net/rds/connection.c 		sizeof(cinfo->transport));
cinfo             742 net/rds/connection.c 	cinfo->flags = 0;
cinfo             744 net/rds/connection.c 	rds_conn_info_set(cinfo->flags, test_bit(RDS_IN_XMIT, &cp->cp_flags),
cinfo             747 net/rds/connection.c 	rds_conn_info_set(cinfo->flags,
cinfo             750 net/rds/connection.c 	rds_conn_info_set(cinfo->flags,
cinfo             112 net/smc/smc_diag.c 		struct smc_diag_conninfo cinfo = {
cinfo             145 net/smc/smc_diag.c 		if (nla_put(skb, SMC_DIAG_CONNINFO, sizeof(cinfo), &cinfo) < 0)
cinfo             652 sound/soc/generic/simple-card.c 		struct asoc_simple_card_info *cinfo;
cinfo             661 sound/soc/generic/simple-card.c 		cinfo = dev->platform_data;
cinfo             662 sound/soc/generic/simple-card.c 		if (!cinfo) {
cinfo             667 sound/soc/generic/simple-card.c 		if (!cinfo->name ||
cinfo             668 sound/soc/generic/simple-card.c 		    !cinfo->codec_dai.name ||
cinfo             669 sound/soc/generic/simple-card.c 		    !cinfo->codec ||
cinfo             670 sound/soc/generic/simple-card.c 		    !cinfo->platform ||
cinfo             671 sound/soc/generic/simple-card.c 		    !cinfo->cpu_dai.name) {
cinfo             680 sound/soc/generic/simple-card.c 		cpus->dai_name		= cinfo->cpu_dai.name;
cinfo             683 sound/soc/generic/simple-card.c 		codecs->name		= cinfo->codec;
cinfo             684 sound/soc/generic/simple-card.c 		codecs->dai_name	= cinfo->codec_dai.name;
cinfo             687 sound/soc/generic/simple-card.c 		platform->name		= cinfo->platform;
cinfo             689 sound/soc/generic/simple-card.c 		card->name		= (cinfo->card) ? cinfo->card : cinfo->name;
cinfo             690 sound/soc/generic/simple-card.c 		dai_link->name		= cinfo->name;
cinfo             691 sound/soc/generic/simple-card.c 		dai_link->stream_name	= cinfo->name;
cinfo             692 sound/soc/generic/simple-card.c 		dai_link->dai_fmt	= cinfo->daifmt;
cinfo             694 sound/soc/generic/simple-card.c 		memcpy(dai_props->cpu_dai, &cinfo->cpu_dai,
cinfo             696 sound/soc/generic/simple-card.c 		memcpy(dai_props->codec_dai, &cinfo->codec_dai,
cinfo              71 tools/gpio/lsgpio.c 	struct gpiochip_info cinfo;
cinfo              89 tools/gpio/lsgpio.c 	ret = ioctl(fd, GPIO_GET_CHIPINFO_IOCTL, &cinfo);
cinfo              96 tools/gpio/lsgpio.c 		cinfo.name, cinfo.label, cinfo.lines);
cinfo              99 tools/gpio/lsgpio.c 	for (i = 0; i < cinfo.lines; i++) {
cinfo             129 tools/testing/selftests/gpio/gpio-mockup-chardev.c 	struct gpiochip_info *cinfo;
cinfo             137 tools/testing/selftests/gpio/gpio-mockup-chardev.c 	cinfo = calloc(sizeof(struct gpiochip_info) * 4, GC_NUM + 1);
cinfo             138 tools/testing/selftests/gpio/gpio-mockup-chardev.c 	if (!cinfo)
cinfo             141 tools/testing/selftests/gpio/gpio-mockup-chardev.c 	current = cinfo;
cinfo             179 tools/testing/selftests/gpio/gpio-mockup-chardev.c 		free(cinfo);
cinfo             180 tools/testing/selftests/gpio/gpio-mockup-chardev.c 		cinfo = NULL;
cinfo             183 tools/testing/selftests/gpio/gpio-mockup-chardev.c 		cinfo = realloc(cinfo, sizeof(struct gpiochip_info) * 4 * i);
cinfo             193 tools/testing/selftests/gpio/gpio-mockup-chardev.c 	return cinfo;
cinfo             196 tools/testing/selftests/gpio/gpio-mockup-chardev.c int gpio_pin_test(struct gpiochip_info *cinfo, int line, int flag, int value)
cinfo             206 tools/testing/selftests/gpio/gpio-mockup-chardev.c 	ret = gpiotools_request_linehandle(cinfo->name, lines, 1, flag, &data,
cinfo             237 tools/testing/selftests/gpio/gpio-mockup-chardev.c 		    cinfo->name, line, flag, value);
cinfo             242 tools/testing/selftests/gpio/gpio-mockup-chardev.c void gpio_pin_tests(struct gpiochip_info *cinfo, unsigned int line)
cinfo             245 tools/testing/selftests/gpio/gpio-mockup-chardev.c 	gpio_pin_test(cinfo, line, GPIOHANDLE_REQUEST_OUTPUT, 0);
cinfo             247 tools/testing/selftests/gpio/gpio-mockup-chardev.c 	gpio_pin_test(cinfo, line, GPIOHANDLE_REQUEST_OUTPUT, 1);
cinfo             249 tools/testing/selftests/gpio/gpio-mockup-chardev.c 	gpio_pin_test(cinfo, line,
cinfo             253 tools/testing/selftests/gpio/gpio-mockup-chardev.c 	gpio_pin_test(cinfo, line,
cinfo             257 tools/testing/selftests/gpio/gpio-mockup-chardev.c 	gpio_pin_test(cinfo, line, GPIOHANDLE_REQUEST_INPUT, 0);
cinfo             274 tools/testing/selftests/gpio/gpio-mockup-chardev.c 	struct gpiochip_info *cinfo;
cinfo             288 tools/testing/selftests/gpio/gpio-mockup-chardev.c 	cinfo = list_gpiochip(prefix, &ret);
cinfo             289 tools/testing/selftests/gpio/gpio-mockup-chardev.c 	if (!cinfo) {
cinfo             298 tools/testing/selftests/gpio/gpio-mockup-chardev.c 	} else if (cinfo && !valid) {
cinfo             302 tools/testing/selftests/gpio/gpio-mockup-chardev.c 	current = cinfo;
cinfo             316 tools/testing/selftests/gpio/gpio-mockup-chardev.c 	if (cinfo)
cinfo             317 tools/testing/selftests/gpio/gpio-mockup-chardev.c 		free(cinfo);