mst               497 arch/mips/include/asm/txx9/tx4939.h #define TX4939_SCLK0(mst)	\
mst               498 arch/mips/include/asm/txx9/tx4939.h 	((((mst) + 245/2) / 245UL * 429 * 16 + 19) / 19 / 2)
mst              2470 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c 	bool mst          = false;
mst              2491 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c 			mst = true;
mst              2493 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c 	return mst;
mst              1240 drivers/gpu/drm/nouveau/dispnv50/disp.c 		struct nv50_disp_sor_dp_mst_link_v0 mst;
mst              1246 drivers/gpu/drm/nouveau/dispnv50/disp.c 		.mst.state = state,
mst                35 drivers/gpu/drm/nouveau/nouveau_dp.c MODULE_PARM_DESC(mst, "Enable DisplayPort multi-stream (default: enabled)");
mst                37 drivers/gpu/drm/nouveau/nouveau_dp.c module_param_named(mst, nouveau_mst, int, 0400);
mst               405 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c 		ior->dp.mst = dp->lt.mst;
mst               471 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c 		 dataKBps, linkKBps, ior->dp.mst, dp->lt.mst);
mst               472 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c 	if (linkKBps < dataKBps || ior->dp.mst != dp->lt.mst) {
mst                29 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.h 		bool mst;
mst                39 drivers/gpu/drm/nouveau/nvkm/engine/disp/ior.h 		bool mst;
mst               240 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c 			dp->lt.mst = !!args->v0.state;
mst               109 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c 	if (sor->dp.mst)
mst                48 drivers/gpu/drm/nouveau/nvkm/engine/disp/sortu102.c 	if (sor->dp.mst)
mst               164 drivers/gpu/drm/radeon/radeon_dp_mst.c static int radeon_dp_mst_set_vcp_size(struct radeon_encoder *mst, s64 avg_time_slots_per_mtp)
mst               166 drivers/gpu/drm/radeon/radeon_dp_mst.c 	struct drm_device *dev = mst->base.dev;
mst               168 drivers/gpu/drm/radeon/radeon_dp_mst.c 	struct radeon_encoder_mst *mst_enc = mst->enc_priv;
mst               298 drivers/gpu/drm/radeon/radeon_drv.c MODULE_PARM_DESC(mst, "DisplayPort MST experimental support (1 = enable, 0 = disable)");
mst               299 drivers/gpu/drm/radeon/radeon_drv.c module_param_named(mst, radeon_mst, int, 0444);
mst                20 drivers/media/dvb-frontends/dibx000_common.c static int dibx000_write_word(struct dibx000_i2c_master *mst, u16 reg, u16 val)
mst                24 drivers/media/dvb-frontends/dibx000_common.c 	if (mutex_lock_interruptible(&mst->i2c_buffer_lock) < 0) {
mst                29 drivers/media/dvb-frontends/dibx000_common.c 	mst->i2c_write_buffer[0] = (reg >> 8) & 0xff;
mst                30 drivers/media/dvb-frontends/dibx000_common.c 	mst->i2c_write_buffer[1] = reg & 0xff;
mst                31 drivers/media/dvb-frontends/dibx000_common.c 	mst->i2c_write_buffer[2] = (val >> 8) & 0xff;
mst                32 drivers/media/dvb-frontends/dibx000_common.c 	mst->i2c_write_buffer[3] = val & 0xff;
mst                34 drivers/media/dvb-frontends/dibx000_common.c 	memset(mst->msg, 0, sizeof(struct i2c_msg));
mst                35 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[0].addr = mst->i2c_addr;
mst                36 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[0].flags = 0;
mst                37 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[0].buf = mst->i2c_write_buffer;
mst                38 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[0].len = 4;
mst                40 drivers/media/dvb-frontends/dibx000_common.c 	ret = i2c_transfer(mst->i2c_adap, mst->msg, 1) != 1 ? -EREMOTEIO : 0;
mst                41 drivers/media/dvb-frontends/dibx000_common.c 	mutex_unlock(&mst->i2c_buffer_lock);
mst                46 drivers/media/dvb-frontends/dibx000_common.c static u16 dibx000_read_word(struct dibx000_i2c_master *mst, u16 reg)
mst                50 drivers/media/dvb-frontends/dibx000_common.c 	if (mutex_lock_interruptible(&mst->i2c_buffer_lock) < 0) {
mst                55 drivers/media/dvb-frontends/dibx000_common.c 	mst->i2c_write_buffer[0] = reg >> 8;
mst                56 drivers/media/dvb-frontends/dibx000_common.c 	mst->i2c_write_buffer[1] = reg & 0xff;
mst                58 drivers/media/dvb-frontends/dibx000_common.c 	memset(mst->msg, 0, 2 * sizeof(struct i2c_msg));
mst                59 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[0].addr = mst->i2c_addr;
mst                60 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[0].flags = 0;
mst                61 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[0].buf = mst->i2c_write_buffer;
mst                62 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[0].len = 2;
mst                63 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[1].addr = mst->i2c_addr;
mst                64 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[1].flags = I2C_M_RD;
mst                65 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[1].buf = mst->i2c_read_buffer;
mst                66 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[1].len = 2;
mst                68 drivers/media/dvb-frontends/dibx000_common.c 	if (i2c_transfer(mst->i2c_adap, mst->msg, 2) != 2)
mst                71 drivers/media/dvb-frontends/dibx000_common.c 	ret = (mst->i2c_read_buffer[0] << 8) | mst->i2c_read_buffer[1];
mst                72 drivers/media/dvb-frontends/dibx000_common.c 	mutex_unlock(&mst->i2c_buffer_lock);
mst                77 drivers/media/dvb-frontends/dibx000_common.c static int dibx000_is_i2c_done(struct dibx000_i2c_master *mst)
mst                82 drivers/media/dvb-frontends/dibx000_common.c 	while (((status = dibx000_read_word(mst, mst->base_reg + 2)) & 0x0100) == 0 && --i > 0)
mst                96 drivers/media/dvb-frontends/dibx000_common.c static int dibx000_master_i2c_write(struct dibx000_i2c_master *mst, struct i2c_msg *msg, u8 stop)
mst               105 drivers/media/dvb-frontends/dibx000_common.c 		dibx000_read_word(mst, mst->base_reg + 2);
mst               112 drivers/media/dvb-frontends/dibx000_common.c 			dibx000_write_word(mst, mst->base_reg, data);
mst               129 drivers/media/dvb-frontends/dibx000_common.c 		dibx000_write_word(mst, mst->base_reg+1, da);
mst               131 drivers/media/dvb-frontends/dibx000_common.c 		if (dibx000_is_i2c_done(mst) != 0)
mst               139 drivers/media/dvb-frontends/dibx000_common.c static int dibx000_master_i2c_read(struct dibx000_i2c_master *mst, struct i2c_msg *msg)
mst               161 drivers/media/dvb-frontends/dibx000_common.c 		dibx000_write_word(mst, mst->base_reg+1, da);
mst               163 drivers/media/dvb-frontends/dibx000_common.c 		if (dibx000_is_i2c_done(mst) != 0)
mst               169 drivers/media/dvb-frontends/dibx000_common.c 			da = dibx000_read_word(mst, mst->base_reg);
mst               184 drivers/media/dvb-frontends/dibx000_common.c 	struct dibx000_i2c_master *mst = i2c_get_adapdata(i2c_adap);
mst               186 drivers/media/dvb-frontends/dibx000_common.c 	if (mst->device_rev < DIB7000MC && speed < 235)
mst               188 drivers/media/dvb-frontends/dibx000_common.c 	return dibx000_write_word(mst, mst->base_reg + 3, (u16)(60000 / speed));
mst               198 drivers/media/dvb-frontends/dibx000_common.c static int dibx000_i2c_select_interface(struct dibx000_i2c_master *mst,
mst               201 drivers/media/dvb-frontends/dibx000_common.c 	if (mst->device_rev > DIB3000MC && mst->selected_interface != intf) {
mst               203 drivers/media/dvb-frontends/dibx000_common.c 		mst->selected_interface = intf;
mst               204 drivers/media/dvb-frontends/dibx000_common.c 		return dibx000_write_word(mst, mst->base_reg + 4, intf);
mst               211 drivers/media/dvb-frontends/dibx000_common.c 	struct dibx000_i2c_master *mst = i2c_get_adapdata(i2c_adap);
mst               215 drivers/media/dvb-frontends/dibx000_common.c 	dibx000_i2c_select_interface(mst, DIBX000_I2C_INTERFACE_GPIO_1_2);
mst               218 drivers/media/dvb-frontends/dibx000_common.c 			ret = dibx000_master_i2c_read(mst, &msg[msg_index]);
mst               222 drivers/media/dvb-frontends/dibx000_common.c 			ret = dibx000_master_i2c_write(mst, &msg[msg_index], 1);
mst               233 drivers/media/dvb-frontends/dibx000_common.c 	struct dibx000_i2c_master *mst = i2c_get_adapdata(i2c_adap);
mst               237 drivers/media/dvb-frontends/dibx000_common.c 	dibx000_i2c_select_interface(mst, DIBX000_I2C_INTERFACE_GPIO_3_4);
mst               240 drivers/media/dvb-frontends/dibx000_common.c 			ret = dibx000_master_i2c_read(mst, &msg[msg_index]);
mst               244 drivers/media/dvb-frontends/dibx000_common.c 			ret = dibx000_master_i2c_write(mst, &msg[msg_index], 1);
mst               263 drivers/media/dvb-frontends/dibx000_common.c static int dibx000_i2c_gate_ctrl(struct dibx000_i2c_master *mst, u8 tx[4],
mst               274 drivers/media/dvb-frontends/dibx000_common.c 	if (mst->device_rev > DIB7000)
mst               277 drivers/media/dvb-frontends/dibx000_common.c 	tx[0] = (((mst->base_reg + 1) >> 8) & 0xff);
mst               278 drivers/media/dvb-frontends/dibx000_common.c 	tx[1] = ((mst->base_reg + 1) & 0xff);
mst               288 drivers/media/dvb-frontends/dibx000_common.c 	struct dibx000_i2c_master *mst = i2c_get_adapdata(i2c_adap);
mst               297 drivers/media/dvb-frontends/dibx000_common.c 	dibx000_i2c_select_interface(mst, DIBX000_I2C_INTERFACE_GPIO_6_7);
mst               299 drivers/media/dvb-frontends/dibx000_common.c 	if (mutex_lock_interruptible(&mst->i2c_buffer_lock) < 0) {
mst               304 drivers/media/dvb-frontends/dibx000_common.c 	memset(mst->msg, 0, sizeof(struct i2c_msg) * (2 + num));
mst               307 drivers/media/dvb-frontends/dibx000_common.c 	dibx000_i2c_gate_ctrl(mst, &mst->i2c_write_buffer[0], msg[0].addr, 1);
mst               308 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[0].addr = mst->i2c_addr;
mst               309 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[0].buf = &mst->i2c_write_buffer[0];
mst               310 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[0].len = 4;
mst               312 drivers/media/dvb-frontends/dibx000_common.c 	memcpy(&mst->msg[1], msg, sizeof(struct i2c_msg) * num);
mst               315 drivers/media/dvb-frontends/dibx000_common.c 	dibx000_i2c_gate_ctrl(mst, &mst->i2c_write_buffer[4], 0, 0);
mst               316 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[num + 1].addr = mst->i2c_addr;
mst               317 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[num + 1].buf = &mst->i2c_write_buffer[4];
mst               318 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[num + 1].len = 4;
mst               320 drivers/media/dvb-frontends/dibx000_common.c 	ret = (i2c_transfer(mst->i2c_adap, mst->msg, 2 + num) == 2 + num ?
mst               323 drivers/media/dvb-frontends/dibx000_common.c 	mutex_unlock(&mst->i2c_buffer_lock);
mst               335 drivers/media/dvb-frontends/dibx000_common.c 	struct dibx000_i2c_master *mst = i2c_get_adapdata(i2c_adap);
mst               344 drivers/media/dvb-frontends/dibx000_common.c 	dibx000_i2c_select_interface(mst, DIBX000_I2C_INTERFACE_TUNER);
mst               346 drivers/media/dvb-frontends/dibx000_common.c 	if (mutex_lock_interruptible(&mst->i2c_buffer_lock) < 0) {
mst               350 drivers/media/dvb-frontends/dibx000_common.c 	memset(mst->msg, 0, sizeof(struct i2c_msg) * (2 + num));
mst               353 drivers/media/dvb-frontends/dibx000_common.c 	dibx000_i2c_gate_ctrl(mst, &mst->i2c_write_buffer[0], msg[0].addr, 1);
mst               354 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[0].addr = mst->i2c_addr;
mst               355 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[0].buf = &mst->i2c_write_buffer[0];
mst               356 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[0].len = 4;
mst               358 drivers/media/dvb-frontends/dibx000_common.c 	memcpy(&mst->msg[1], msg, sizeof(struct i2c_msg) * num);
mst               361 drivers/media/dvb-frontends/dibx000_common.c 	dibx000_i2c_gate_ctrl(mst, &mst->i2c_write_buffer[4], 0, 0);
mst               362 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[num + 1].addr = mst->i2c_addr;
mst               363 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[num + 1].buf = &mst->i2c_write_buffer[4];
mst               364 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[num + 1].len = 4;
mst               366 drivers/media/dvb-frontends/dibx000_common.c 	ret = (i2c_transfer(mst->i2c_adap, mst->msg, 2 + num) == 2 + num ?
mst               368 drivers/media/dvb-frontends/dibx000_common.c 	mutex_unlock(&mst->i2c_buffer_lock);
mst               377 drivers/media/dvb-frontends/dibx000_common.c struct i2c_adapter *dibx000_get_i2c_adapter(struct dibx000_i2c_master *mst,
mst               386 drivers/media/dvb-frontends/dibx000_common.c 			i2c = &mst->gated_tuner_i2c_adap;
mst               390 drivers/media/dvb-frontends/dibx000_common.c 			i2c = &mst->master_i2c_adap_gpio12;
mst               394 drivers/media/dvb-frontends/dibx000_common.c 			i2c = &mst->master_i2c_adap_gpio34;
mst               398 drivers/media/dvb-frontends/dibx000_common.c 			i2c = &mst->master_i2c_adap_gpio67;
mst               410 drivers/media/dvb-frontends/dibx000_common.c void dibx000_reset_i2c_master(struct dibx000_i2c_master *mst)
mst               414 drivers/media/dvb-frontends/dibx000_common.c 	struct i2c_msg m = {.addr = mst->i2c_addr,.buf = tx,.len = 4 };
mst               416 drivers/media/dvb-frontends/dibx000_common.c 	dibx000_i2c_gate_ctrl(mst, tx, 0, 0);
mst               417 drivers/media/dvb-frontends/dibx000_common.c 	i2c_transfer(mst->i2c_adap, &m, 1);
mst               418 drivers/media/dvb-frontends/dibx000_common.c 	mst->selected_interface = 0xff;	// the first time force a select of the I2C
mst               419 drivers/media/dvb-frontends/dibx000_common.c 	dibx000_i2c_select_interface(mst, DIBX000_I2C_INTERFACE_TUNER);
mst               426 drivers/media/dvb-frontends/dibx000_common.c 				struct dibx000_i2c_master *mst)
mst               431 drivers/media/dvb-frontends/dibx000_common.c 	i2c_set_adapdata(i2c_adap, mst);
mst               437 drivers/media/dvb-frontends/dibx000_common.c int dibx000_init_i2c_master(struct dibx000_i2c_master *mst, u16 device_rev,
mst               442 drivers/media/dvb-frontends/dibx000_common.c 	mutex_init(&mst->i2c_buffer_lock);
mst               443 drivers/media/dvb-frontends/dibx000_common.c 	if (mutex_lock_interruptible(&mst->i2c_buffer_lock) < 0) {
mst               447 drivers/media/dvb-frontends/dibx000_common.c 	memset(mst->msg, 0, sizeof(struct i2c_msg));
mst               448 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[0].addr = i2c_addr >> 1;
mst               449 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[0].flags = 0;
mst               450 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[0].buf = mst->i2c_write_buffer;
mst               451 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[0].len = 4;
mst               453 drivers/media/dvb-frontends/dibx000_common.c 	mst->device_rev = device_rev;
mst               454 drivers/media/dvb-frontends/dibx000_common.c 	mst->i2c_adap = i2c_adap;
mst               455 drivers/media/dvb-frontends/dibx000_common.c 	mst->i2c_addr = i2c_addr >> 1;
mst               458 drivers/media/dvb-frontends/dibx000_common.c 		mst->base_reg = 1024;
mst               460 drivers/media/dvb-frontends/dibx000_common.c 		mst->base_reg = 768;
mst               462 drivers/media/dvb-frontends/dibx000_common.c 	mst->gated_tuner_i2c_adap.dev.parent = mst->i2c_adap->dev.parent;
mst               464 drivers/media/dvb-frontends/dibx000_common.c 			(&mst->gated_tuner_i2c_adap, &dibx000_i2c_gated_tuner_algo,
mst               465 drivers/media/dvb-frontends/dibx000_common.c 			 "DiBX000 tuner I2C bus", mst) != 0)
mst               468 drivers/media/dvb-frontends/dibx000_common.c 	mst->master_i2c_adap_gpio12.dev.parent = mst->i2c_adap->dev.parent;
mst               470 drivers/media/dvb-frontends/dibx000_common.c 			(&mst->master_i2c_adap_gpio12, &dibx000_i2c_master_gpio12_xfer_algo,
mst               471 drivers/media/dvb-frontends/dibx000_common.c 			 "DiBX000 master GPIO12 I2C bus", mst) != 0)
mst               474 drivers/media/dvb-frontends/dibx000_common.c 	mst->master_i2c_adap_gpio34.dev.parent = mst->i2c_adap->dev.parent;
mst               476 drivers/media/dvb-frontends/dibx000_common.c 			(&mst->master_i2c_adap_gpio34, &dibx000_i2c_master_gpio34_xfer_algo,
mst               477 drivers/media/dvb-frontends/dibx000_common.c 			 "DiBX000 master GPIO34 I2C bus", mst) != 0)
mst               480 drivers/media/dvb-frontends/dibx000_common.c 	mst->master_i2c_adap_gpio67.dev.parent = mst->i2c_adap->dev.parent;
mst               482 drivers/media/dvb-frontends/dibx000_common.c 			(&mst->master_i2c_adap_gpio67, &dibx000_i2c_gated_gpio67_algo,
mst               483 drivers/media/dvb-frontends/dibx000_common.c 			 "DiBX000 master GPIO67 I2C bus", mst) != 0)
mst               487 drivers/media/dvb-frontends/dibx000_common.c 	dibx000_i2c_gate_ctrl(mst, mst->i2c_write_buffer, 0, 0);
mst               489 drivers/media/dvb-frontends/dibx000_common.c 	ret = (i2c_transfer(i2c_adap, mst->msg, 1) == 1);
mst               490 drivers/media/dvb-frontends/dibx000_common.c 	mutex_unlock(&mst->i2c_buffer_lock);
mst               497 drivers/media/dvb-frontends/dibx000_common.c void dibx000_exit_i2c_master(struct dibx000_i2c_master *mst)
mst               499 drivers/media/dvb-frontends/dibx000_common.c 	i2c_del_adapter(&mst->gated_tuner_i2c_adap);
mst               500 drivers/media/dvb-frontends/dibx000_common.c 	i2c_del_adapter(&mst->master_i2c_adap_gpio12);
mst               501 drivers/media/dvb-frontends/dibx000_common.c 	i2c_del_adapter(&mst->master_i2c_adap_gpio34);
mst               502 drivers/media/dvb-frontends/dibx000_common.c 	i2c_del_adapter(&mst->master_i2c_adap_gpio67);
mst                40 drivers/media/dvb-frontends/dibx000_common.h extern int dibx000_init_i2c_master(struct dibx000_i2c_master *mst,
mst                44 drivers/media/dvb-frontends/dibx000_common.h 							*mst,
mst                47 drivers/media/dvb-frontends/dibx000_common.h extern void dibx000_exit_i2c_master(struct dibx000_i2c_master *mst);
mst                48 drivers/media/dvb-frontends/dibx000_common.h extern void dibx000_reset_i2c_master(struct dibx000_i2c_master *mst);
mst               154 drivers/w1/w1_int.c 	msg.id.mst.id = dev->id;
mst               213 drivers/w1/w1_int.c 	msg.id.mst.id = dev->id;
mst               522 drivers/w1/w1_netlink.c 		struct w1_master *dev = w1_search_master_id(msg->id.mst.id);
mst               658 drivers/w1/w1_netlink.c 			dev = w1_search_master_id(msg->id.mst.id);
mst                74 drivers/w1/w1_netlink.h 		} mst;
mst               359 fs/ubifs/debug.c 		const struct ubifs_mst_node *mst = node;
mst               362 fs/ubifs/debug.c 		       (unsigned long long)le64_to_cpu(mst->highest_inum));
mst               364 fs/ubifs/debug.c 		       (unsigned long long)le64_to_cpu(mst->cmt_no));
mst               365 fs/ubifs/debug.c 		pr_err("\tflags          %#x\n", le32_to_cpu(mst->flags));
mst               366 fs/ubifs/debug.c 		pr_err("\tlog_lnum       %u\n", le32_to_cpu(mst->log_lnum));
mst               367 fs/ubifs/debug.c 		pr_err("\troot_lnum      %u\n", le32_to_cpu(mst->root_lnum));
mst               368 fs/ubifs/debug.c 		pr_err("\troot_offs      %u\n", le32_to_cpu(mst->root_offs));
mst               369 fs/ubifs/debug.c 		pr_err("\troot_len       %u\n", le32_to_cpu(mst->root_len));
mst               370 fs/ubifs/debug.c 		pr_err("\tgc_lnum        %u\n", le32_to_cpu(mst->gc_lnum));
mst               371 fs/ubifs/debug.c 		pr_err("\tihead_lnum     %u\n", le32_to_cpu(mst->ihead_lnum));
mst               372 fs/ubifs/debug.c 		pr_err("\tihead_offs     %u\n", le32_to_cpu(mst->ihead_offs));
mst               374 fs/ubifs/debug.c 		       (unsigned long long)le64_to_cpu(mst->index_size));
mst               375 fs/ubifs/debug.c 		pr_err("\tlpt_lnum       %u\n", le32_to_cpu(mst->lpt_lnum));
mst               376 fs/ubifs/debug.c 		pr_err("\tlpt_offs       %u\n", le32_to_cpu(mst->lpt_offs));
mst               377 fs/ubifs/debug.c 		pr_err("\tnhead_lnum     %u\n", le32_to_cpu(mst->nhead_lnum));
mst               378 fs/ubifs/debug.c 		pr_err("\tnhead_offs     %u\n", le32_to_cpu(mst->nhead_offs));
mst               379 fs/ubifs/debug.c 		pr_err("\tltab_lnum      %u\n", le32_to_cpu(mst->ltab_lnum));
mst               380 fs/ubifs/debug.c 		pr_err("\tltab_offs      %u\n", le32_to_cpu(mst->ltab_offs));
mst               381 fs/ubifs/debug.c 		pr_err("\tlsave_lnum     %u\n", le32_to_cpu(mst->lsave_lnum));
mst               382 fs/ubifs/debug.c 		pr_err("\tlsave_offs     %u\n", le32_to_cpu(mst->lsave_offs));
mst               383 fs/ubifs/debug.c 		pr_err("\tlscan_lnum     %u\n", le32_to_cpu(mst->lscan_lnum));
mst               384 fs/ubifs/debug.c 		pr_err("\tleb_cnt        %u\n", le32_to_cpu(mst->leb_cnt));
mst               385 fs/ubifs/debug.c 		pr_err("\tempty_lebs     %u\n", le32_to_cpu(mst->empty_lebs));
mst               386 fs/ubifs/debug.c 		pr_err("\tidx_lebs       %u\n", le32_to_cpu(mst->idx_lebs));
mst               388 fs/ubifs/debug.c 		       (unsigned long long)le64_to_cpu(mst->total_free));
mst               390 fs/ubifs/debug.c 		       (unsigned long long)le64_to_cpu(mst->total_dirty));
mst               392 fs/ubifs/debug.c 		       (unsigned long long)le64_to_cpu(mst->total_used));
mst               394 fs/ubifs/debug.c 		       (unsigned long long)le64_to_cpu(mst->total_dead));
mst               396 fs/ubifs/debug.c 		       (unsigned long long)le64_to_cpu(mst->total_dark));
mst                65 fs/ubifs/master.c 			       const struct ubifs_mst_node *mst,
mst                69 fs/ubifs/master.c 	const void *node = mst;
mst                98 fs/ubifs/recovery.c 			   struct ubifs_mst_node **mst, void **cor)
mst               153 fs/ubifs/recovery.c 			*mst = buf;
mst               180 fs/ubifs/recovery.c 	*mst = NULL;
mst               193 fs/ubifs/recovery.c 				struct ubifs_mst_node *mst)
mst               200 fs/ubifs/recovery.c 	save_flags = mst->flags;
mst               201 fs/ubifs/recovery.c 	mst->flags |= cpu_to_le32(UBIFS_MST_RCVRY);
mst               203 fs/ubifs/recovery.c 	err = ubifs_prepare_node_hmac(c, mst, UBIFS_MST_NODE_SZ,
mst               207 fs/ubifs/recovery.c 	err = ubifs_leb_change(c, lnum, mst, sz);
mst               210 fs/ubifs/recovery.c 	err = ubifs_leb_change(c, lnum + 1, mst, sz);
mst               214 fs/ubifs/recovery.c 	mst->flags = save_flags;
mst               230 fs/ubifs/recovery.c 	struct ubifs_mst_node *mst1 = NULL, *mst2 = NULL, *mst;
mst               253 fs/ubifs/recovery.c 			mst = mst1;
mst               260 fs/ubifs/recovery.c 				mst = mst1;
mst               265 fs/ubifs/recovery.c 				mst = mst1;
mst               271 fs/ubifs/recovery.c 				mst = mst1;
mst               282 fs/ubifs/recovery.c 			mst = mst1;
mst               294 fs/ubifs/recovery.c 		mst = mst2;
mst               298 fs/ubifs/recovery.c 		  (mst == mst1 ? UBIFS_MST_LNUM : UBIFS_MST_LNUM + 1));
mst               300 fs/ubifs/recovery.c 	memcpy(c->mst_node, mst, UBIFS_MST_NODE_SZ);
mst               338 fs/ubifs/recovery.c 		c->max_sqnum = le64_to_cpu(mst->ch.sqnum) - 1;
mst                75 fs/ubifs/sb.c  	struct ubifs_mst_node *mst;
mst               162 fs/ubifs/sb.c  	mst = kzalloc(c->mst_node_alsz, GFP_KERNEL);
mst               168 fs/ubifs/sb.c  	if (!sup || !mst || !idx || !ino || !cs) {
mst               224 fs/ubifs/sb.c  	mst->ch.node_type = UBIFS_MST_NODE;
mst               225 fs/ubifs/sb.c  	mst->log_lnum     = cpu_to_le32(UBIFS_LOG_LNUM);
mst               226 fs/ubifs/sb.c  	mst->highest_inum = cpu_to_le64(UBIFS_FIRST_INO);
mst               227 fs/ubifs/sb.c  	mst->cmt_no       = 0;
mst               228 fs/ubifs/sb.c  	mst->root_lnum    = cpu_to_le32(main_first + DEFAULT_IDX_LEB);
mst               229 fs/ubifs/sb.c  	mst->root_offs    = 0;
mst               231 fs/ubifs/sb.c  	mst->root_len     = cpu_to_le32(tmp);
mst               232 fs/ubifs/sb.c  	mst->gc_lnum      = cpu_to_le32(main_first + DEFAULT_GC_LEB);
mst               233 fs/ubifs/sb.c  	mst->ihead_lnum   = cpu_to_le32(main_first + DEFAULT_IDX_LEB);
mst               234 fs/ubifs/sb.c  	mst->ihead_offs   = cpu_to_le32(ALIGN(tmp, c->min_io_size));
mst               235 fs/ubifs/sb.c  	mst->index_size   = cpu_to_le64(ALIGN(tmp, 8));
mst               236 fs/ubifs/sb.c  	mst->lpt_lnum     = cpu_to_le32(c->lpt_lnum);
mst               237 fs/ubifs/sb.c  	mst->lpt_offs     = cpu_to_le32(c->lpt_offs);
mst               238 fs/ubifs/sb.c  	mst->nhead_lnum   = cpu_to_le32(c->nhead_lnum);
mst               239 fs/ubifs/sb.c  	mst->nhead_offs   = cpu_to_le32(c->nhead_offs);
mst               240 fs/ubifs/sb.c  	mst->ltab_lnum    = cpu_to_le32(c->ltab_lnum);
mst               241 fs/ubifs/sb.c  	mst->ltab_offs    = cpu_to_le32(c->ltab_offs);
mst               242 fs/ubifs/sb.c  	mst->lsave_lnum   = cpu_to_le32(c->lsave_lnum);
mst               243 fs/ubifs/sb.c  	mst->lsave_offs   = cpu_to_le32(c->lsave_offs);
mst               244 fs/ubifs/sb.c  	mst->lscan_lnum   = cpu_to_le32(main_first);
mst               245 fs/ubifs/sb.c  	mst->empty_lebs   = cpu_to_le32(main_lebs - 2);
mst               246 fs/ubifs/sb.c  	mst->idx_lebs     = cpu_to_le32(1);
mst               247 fs/ubifs/sb.c  	mst->leb_cnt      = cpu_to_le32(c->leb_cnt);
mst               248 fs/ubifs/sb.c  	ubifs_copy_hash(c, hash_lpt, mst->hash_lpt);
mst               254 fs/ubifs/sb.c  	mst->total_free = cpu_to_le64(tmp64);
mst               261 fs/ubifs/sb.c  	mst->total_dirty = cpu_to_le64(tmp64);
mst               265 fs/ubifs/sb.c  	mst->total_dark = cpu_to_le64(tmp64);
mst               267 fs/ubifs/sb.c  	mst->total_used = cpu_to_le64(UBIFS_INO_NODE_SZ);
mst               339 fs/ubifs/sb.c  	ubifs_copy_hash(c, hash, mst->hash_root_idx);
mst               341 fs/ubifs/sb.c  	err = ubifs_write_node_hmac(c, mst, UBIFS_MST_NODE_SZ, UBIFS_MST_LNUM, 0,
mst               346 fs/ubifs/sb.c  	err = ubifs_write_node_hmac(c, mst, UBIFS_MST_NODE_SZ, UBIFS_MST_LNUM + 1,
mst               360 fs/ubifs/sb.c  	kfree(mst);