• Home
  • Raw
  • Download

Lines Matching refs:Opcode

3 use super::{Ioctl, IoctlOutput, Opcode, RawOpcode};
13 pub struct NoArg<Opcode> {
15 _opcode: PhantomData<Opcode>,
18 impl<Opcode: CompileTimeOpcode> fmt::Debug for NoArg<Opcode> {
20 f.debug_tuple("NoArg").field(&Opcode::OPCODE).finish() in fmt()
24 impl<Opcode: CompileTimeOpcode> NoArg<Opcode> {
38 unsafe impl<Opcode: CompileTimeOpcode> Ioctl for NoArg<Opcode> {
42 const OPCODE: self::Opcode = Opcode::OPCODE;
57 pub struct Getter<Opcode, Output> {
62 _opcode: PhantomData<Opcode>,
65 impl<Opcode: CompileTimeOpcode, Output> fmt::Debug for Getter<Opcode, Output> {
67 f.debug_tuple("Getter").field(&Opcode::OPCODE).finish() in fmt()
71 impl<Opcode: CompileTimeOpcode, Output> Getter<Opcode, Output> {
88 unsafe impl<Opcode: CompileTimeOpcode, Output> Ioctl for Getter<Opcode, Output> {
92 const OPCODE: self::Opcode = Opcode::OPCODE;
107 pub struct Setter<Opcode, Input> {
112 _opcode: PhantomData<Opcode>,
115 impl<Opcode: CompileTimeOpcode, Input: fmt::Debug> fmt::Debug for Setter<Opcode, Input> {
118 .field(&Opcode::OPCODE) in fmt()
124 impl<Opcode: CompileTimeOpcode, Input> Setter<Opcode, Input> {
141 unsafe impl<Opcode: CompileTimeOpcode, Input> Ioctl for Setter<Opcode, Input> {
145 const OPCODE: self::Opcode = Opcode::OPCODE;
160 pub struct Updater<'a, Opcode, Value> {
165 _opcode: PhantomData<Opcode>,
168 impl<'a, Opcode: CompileTimeOpcode, Value> Updater<'a, Opcode, Value> {
185 unsafe impl<'a, Opcode: CompileTimeOpcode, T> Ioctl for Updater<'a, Opcode, T> {
189 const OPCODE: self::Opcode = Opcode::OPCODE;
203 const OPCODE: Opcode;
210 const OPCODE: Opcode = Opcode::old(OPCODE);
221 const OPCODE: Opcode = Opcode::read::<Data>(GROUP, NUM);
232 const OPCODE: Opcode = Opcode::write::<Data>(GROUP, NUM);
243 const OPCODE: Opcode = Opcode::read_write::<Data>(GROUP, NUM);
255 const OPCODE: Opcode = Opcode::none::<Data>(GROUP, NUM);