1
  ?   ˆl–Ðz¾”Ši?u8 Ap.Üh
bÑ¿�þ_e•œp.:Ëï€ÏÂƒ-·Á_ˆI|¥�+y,ÁÀ  /   ˆ{‹„„-i[D<†ªoZƒ›Ù«Ä574_‘I|¥‰ÓMdœv ©ƒ†ü+=ÄÃ 	3    /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef LINUX_MMC_IOCTL_H
#define LINUX_MMC_IOCTL_H

#include <linux/types.h>
#include <linux/major.h>

struct mmc_ioc_cmd {
	/*
	 * Direction of data: nonzero = write, zero = read.
	 * Bit 31 selects 'Reliable Write' for RPMB.
	 */
	int write_flag;

	/* Application-specific command.  true = precede with CMD55 */
	int is_acmd;

	__u32 opcode;
	__u32 arg;
	__u32 response[4];  /* CMD response */
	unsigned int flags;
	unsigned int blksz;
	unsigned int blocks;

	/*
	 * Sleep at least postsleep_min_us useconds, and at most
	 * postsleep_max_us useconds *after* issuing command.  Needed for
	 * some read commands for which cards have no other way of indicating
	 * they're ready for the next command (i.e. there is no equivalent of
	 * a "busy" indicator for read operations).
	 */
	unsigned int postsleep_min_us;
	unsigned int postsleep_max_us;

	/*
	 * Override driver-computed timeouts.  Note the difference in units!
	 */
	unsigned int data_timeout_ns;
	unsigned int cmd_timeout_ms;

	/*
	 * For 64-bit machines, the next member, ``__u64 data_ptr``, wants to
	 * be 8-byte aligned.  Make sure this struct is the same size when
	 * built for 32-bit.
	 */
	__u32 __pad;

	/* DAT buffer */
	__u64 data_ptr;
};
#define mmc_ioc_cmd_set_data(ic, ptr) ic.data_ptr = (__u64)(unsigned long) ptr

/**
 * struct mmc_ioc_multi_cmd - multi command information
 * @num_of_cmds: Number of commands to send. Must be equal to or less than
 *	MMC_IOC_MAX_CMDS.
 * @cmds: Array of commands with length equal to 'num_of_cmds'
 */
struct mmc_ioc_multi_cmd {
	__u64 num_of_cmds;
	struct mmc_ioc_cmd cmds[];
};

#define MMC_IOC_CMD _IOWR(MMC_BLOCK_MAJOR, 0, struct mmc_ioc_cmd)
/*
 * MMC_IOC_MULTI_CMD: Used to send an array of MMC commands described by
 *	the structure mmc_ioc_multi_cmd. The MMC driver will issue all
 *	commands in array in sequence to card.
 */
#define MMC_IOC_MULTI_CMD _IOWR(MMC_BLOCK_MAJOR, 1, struct mmc_ioc_multi_cmd)
/*
 * Since this ioctl is only meant to enhance (and not replace) normal access
 * to the mmc bus device, an upper data transfer limit of MMC_IOC_MAX_BYTES
 * is enforced per ioctl call.  For larger data transfers, use the normal
 * block device operations.
 */
#define MMC_IOC_MAX_BYTES  (512L * 1024)
#define MMC_IOC_MAX_CMDS    255
#endif /* LINUX_MMC_IOCTL_H */
 >    ‹      Õ–ßoÚ0ÇßûWx~Ø„2im’©#HCkQ¦iš&dbC,;²/Pö×Ï!LÐ´nÚ¦å!òùòõù>çü8ÿE4êM?�ûäÝôî–Œ?¼½ôm |ìô ¢iTÝ¸l¶Ú ý!%4AÌ¯ 6›MsÓij³„éÌÒK°hdŒMŽœ†~é/ˆŸÆÝH|”˜Šp ¸x zA@h%nÝÖk[Ú(2ˆó¢¼<Pš‹d"ÓfÛõ ×a|¨B¹à°�îÏ5ß–›¶ÿÌ.Î.e6ßíSš&ô1!k–Ê¥
(êœ†¾Ì–Äš8  c­,ÌS¦VÍ¥\PÂRèçAoôÅé “ruè3’±è›^0¼‡,>°Óš;§¹¡á-³H2ÍåB
~V|_‰ïå×ó£J	™£Ôê ‡xŒëÔæÌ±vAbŽU•„ÿ¬,~TŒñÍ¤?œFƒIU^†8d÷[ÇEÃ13B!‰¤1:çž§
þRÍm~ý}JöÙ¹L�†„4ÈIå/ j¥ôFSº
žäcv«bî†ã$Ÿdåµ¼W�v»áu‰×ºêt9#tïäû™~�Ú6ŠÏ¸HÙv–YGsÂ[C8§G£Sî�"˜B¡ÌÄŒÅ(×b¶’ÜÏ	gýÑJû´Ò®1šPåŸ†°öŽ#YdX=ƒÕüÙ@Þëÿ¨úÎ	þä	|ì¯ñ‰–-�¸vÓ¿�óÌŽö½˜»VÏ‡ª¿üî6ÿjÂ
       ˆÀ¿Å606¾ÄÃ ^    ‹      Õ–ßoÚ0ÇßûWx~ØÐnmðÔ¤¡Q@-Ó4M2¶!V;²iö×ïBØJ+Ð6i�”‡øç×w÷±å‹£Wñt0ÿ2’ó›1™}z?m|> Äó¸ž¸hwº Ã	%4	!¿(Š¢]œ·­[Ãü’�¥àƒÓ"´e�”�EÕ;#Q¢¸ÄšDA‡T±‘‘ê�Ø»	^K…ëJRmµP¾j•�È7Õ×ƒ•vYÁ�Z+äIéµàiÝ\$
te°AmÂÞc´´²¬é¾œS´½CãË�ïªéX²å©^›>6§,ÒÙšx'ú´°ÆÃ2åæ¾½Ö+Jxúôëh0ý†:IµšEœ$N­úôÝ ?¹šöcÊ&<SðãšÔ\S6æ>�ÌJ½ÒJžßÕâ;ýý´Á¸ÖÄÊ§ó ­y”"¢
›úœ#ë$HÜ¡ª–ÈßíO6cv};œÌãÑm½%²2ñÝ¿:BÊf8o‰µS"XWîk¯ÍÒçW?»dàô:	”Ò"G•A½1÷Ææ7õ(²°‰ÂPE¹HµQ�'GÙ‘ÁC€g÷:½·­n·Õë�NçKrBˆWýãDÓ˜+´l`à©Úª”²]ÕÀðÍ&[*·°«…WÁSö´ß@ _W|wrîð€i‹²Dô	&,¹Àü†,ý?h6RÆó'DØo"Ð.774‡2Çà«²�Áo0t[×(xé«Ì½·Bó ·:””~y¼?|àÁþéÁîµAýìÿ—ÙŠ‡Y    $   	ˆÀ¿Å578¾a–äY>”ji?u8 _¸Ð.61hßÄ B    	‹      Õ–ßoÚ0ÇßûWx~ØºImÈÔ¤¡Q@”iš¦	™Ø‹ÄŽìŒýõsi›¶©<D>_¾>ßç.?ì¿GÝé§q�¼›ÞÈøÃÛA¿Khàc«NÃòF»Þð zCJhŒ˜Ý l6›ú¦U×f	Ó	Ä˜&m°hd„uŽœW~á®ˆÆÝH|”˜ˆ ¯¸øJô‚€ÎÑJ.Üº­.Ö2¶°Q¤eyq5Ai.�ŠT›m»™ÞãCÊ‡}t®ù¶ØÔû;¸8»”Ù|·OašÀÇ˜¬Y"—ªCQg4ðeº$ÖD
2ÒÊÂ<ajU_Ê%,ÁýÜïŽ¾8`\¬|Fb#ú¦ÛÞŽ:!†,>°ãš{§¹£Á€Y$©ær!?)~(ÅòÛé€a©	…�ŒÌPju�‚C¬