Searched refs:pad_type (Results 1 – 4 of 4) sorted by relevance
815 static int gc_setup_pad(struct gc *gc, int idx, int pad_type) in gc_setup_pad() argument822 if (pad_type < 1 || pad_type >= GC_MAX) { in gc_setup_pad()823 pr_err("Pad type %d unknown\n", pad_type); in gc_setup_pad()833 pad->type = pad_type; in gc_setup_pad()838 input_dev->name = gc_names[pad_type]; in gc_setup_pad()842 input_dev->id.product = pad_type; in gc_setup_pad()850 if (pad_type != GC_SNESMOUSE) { in gc_setup_pad()858 gc->pad_count[pad_type]++; in gc_setup_pad()860 switch (pad_type) { in gc_setup_pad()
37 u32 hdr_proc, u32 h, u32 c, u32 pad_type, in set_dynamic_sa_command_0() argument48 sa->sa_command_0.bf.pad_type = pad_type & 3; in set_dynamic_sa_command_0()49 sa->sa_command_0.bf.extend_pad = pad_type >> 2; in set_dynamic_sa_command_0()
105 u32 pad_type:2; member
4779 u8 pad_type; member