Searched refs:cmd32 (Results 1 – 2 of 2) sorted by relevance
/drivers/staging/comedi/ |
D | comedi_compat32.c | 171 struct comedi32_cmd_struct __user *cmd32) in get_compat_cmd() argument 180 if (!access_ok(VERIFY_READ, cmd32, sizeof(*cmd32)) in get_compat_cmd() 185 err |= __get_user(temp.uint, &cmd32->subdev); in get_compat_cmd() 187 err |= __get_user(temp.uint, &cmd32->flags); in get_compat_cmd() 189 err |= __get_user(temp.uint, &cmd32->start_src); in get_compat_cmd() 191 err |= __get_user(temp.uint, &cmd32->start_arg); in get_compat_cmd() 193 err |= __get_user(temp.uint, &cmd32->scan_begin_src); in get_compat_cmd() 195 err |= __get_user(temp.uint, &cmd32->scan_begin_arg); in get_compat_cmd() 197 err |= __get_user(temp.uint, &cmd32->convert_src); in get_compat_cmd() 199 err |= __get_user(temp.uint, &cmd32->convert_arg); in get_compat_cmd() [all …]
|
/drivers/staging/rtl8712/ |
D | rtl871x_mp.c | 108 u32 cmd32 = 0, val32 = 0; in fw_iocmd_read() local 113 cmd32 = (iocmd_class << 24) | (iocmd_value << 8) | iocmd_idx ; in fw_iocmd_read() 114 if (r8712_fw_cmd(pAdapter, cmd32)) in fw_iocmd_read() 124 u32 cmd32 = 0; in fw_iocmd_write() local 131 cmd32 = (iocmd_class << 24) | (iocmd_value << 8) | iocmd_idx ; in fw_iocmd_write() 132 return r8712_fw_cmd(pAdapter, cmd32); in fw_iocmd_write()
|