Searched refs:pad_type (Results 1 – 3 of 3) sorted by relevance
814 static int __init gc_setup_pad(struct gc *gc, int idx, int pad_type) in gc_setup_pad() argument821 if (pad_type < 1 || pad_type >= GC_MAX) { in gc_setup_pad()822 pr_err("Pad type %d unknown\n", pad_type); in gc_setup_pad()832 pad->type = pad_type; in gc_setup_pad()837 input_dev->name = gc_names[pad_type]; in gc_setup_pad()841 input_dev->id.product = pad_type; in gc_setup_pad()849 if (pad_type != GC_SNESMOUSE) { in gc_setup_pad()857 gc->pad_count[pad_type]++; in gc_setup_pad()859 switch (pad_type) { in gc_setup_pad()
37 u32 h, u32 c, u32 pad_type, u32 op_grp, u32 op, 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