Lines Matching refs:dev2
103 int dev2; member
210 int dev1, dev2; in fsa9480_show_device() local
213 dev2 = fsa9480_read_reg(client, FSA9480_REG_DEV_T2); in fsa9480_show_device()
215 if (!dev1 && !dev2) in fsa9480_show_device()
219 if (dev1 & DEV_T1_USB_MASK || dev2 & DEV_T2_USB_MASK) in fsa9480_show_device()
223 if (dev1 & DEV_T1_UART_MASK || dev2 & DEV_T2_UART_MASK) in fsa9480_show_device()
231 if (dev2 & DEV_T2_JIG_MASK) in fsa9480_show_device()
320 usbsw->dev2 & DEV_T2_USB_MASK) { in fsa9480_detect_dev()
327 usbsw->dev2 & DEV_T2_UART_MASK) { in fsa9480_detect_dev()
339 if (usbsw->dev2 & DEV_T2_JIG_MASK) { in fsa9480_detect_dev()
346 usbsw->dev2 = val2; in fsa9480_detect_dev()
498 int dev1, dev2; in fsa9480_resume() local
512 dev2 = fsa9480_read_reg(client, FSA9480_REG_DEV_T2); in fsa9480_resume()
515 fsa9480_detect_dev(usbsw, (dev1 || dev2) ? INT_ATTACH : INT_DETACH); in fsa9480_resume()