Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/comedi/
Dcomedi_compat32.c157 struct comedi32_cmd_struct __user *cmd32) in get_compat_cmd() argument
166 if (!access_ok(VERIFY_READ, 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-v4.19/net/atm/
Dioctl.c222 unsigned int cmd32; member
306 static int do_atm_ioctl(struct socket *sock, unsigned int cmd32, in do_atm_ioctl() argument
312 switch (cmd32) { in do_atm_ioctl()
321 return do_atmif_sioc(sock, cmd32, arg); in do_atm_ioctl()
325 if (cmd32 == atm_ioctl_map[i].cmd32) { in do_atm_ioctl()
/Linux-v4.19/drivers/staging/rtl8712/
Drtl871x_mp.c108 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()