Home
last modified time | relevance | path

Searched refs:cmd32 (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/staging/comedi/
Dcomedi_compat32.c157 struct comedi32_cmd_struct __user *cmd32) in get_compat_cmd() argument
166 if (!access_ok(cmd32, sizeof(*cmd32)) || in get_compat_cmd()
171 err |= __get_user(temp.uint, &cmd32->subdev); in get_compat_cmd()
173 err |= __get_user(temp.uint, &cmd32->flags); in get_compat_cmd()
175 err |= __get_user(temp.uint, &cmd32->start_src); in get_compat_cmd()
177 err |= __get_user(temp.uint, &cmd32->start_arg); in get_compat_cmd()
179 err |= __get_user(temp.uint, &cmd32->scan_begin_src); in get_compat_cmd()
181 err |= __get_user(temp.uint, &cmd32->scan_begin_arg); in get_compat_cmd()
183 err |= __get_user(temp.uint, &cmd32->convert_src); in get_compat_cmd()
185 err |= __get_user(temp.uint, &cmd32->convert_arg); in get_compat_cmd()
[all …]
/Linux-v5.4/net/atm/
Dioctl.c206 unsigned int cmd32; member
290 static int do_atm_ioctl(struct socket *sock, unsigned int cmd32, in do_atm_ioctl() argument
296 switch (cmd32) { in do_atm_ioctl()
305 return do_atmif_sioc(sock, cmd32, arg); in do_atm_ioctl()
309 if (cmd32 == atm_ioctl_map[i].cmd32) { in do_atm_ioctl()
/Linux-v5.4/drivers/staging/rtl8712/
Drtl871x_mp.c93 u32 cmd32 = 0, val32 = 0; in fw_iocmd_read() local
98 cmd32 = (iocmd_class << 24) | (iocmd_value << 8) | iocmd_idx; in fw_iocmd_read()
99 if (r8712_fw_cmd(pAdapter, cmd32)) in fw_iocmd_read()
109 u32 cmd32 = 0; in fw_iocmd_write() local
116 cmd32 = (iocmd_class << 24) | (iocmd_value << 8) | iocmd_idx; in fw_iocmd_write()
117 return r8712_fw_cmd(pAdapter, cmd32); in fw_iocmd_write()