Lines Matching defs:val
48 uint32_t val;
52 val = nlm_read_usb_reg(port_addr, USB_INT_EN);
53 val = USB_CTRL_INTERRUPT_EN | USB_OHCI_INTERRUPT_EN |
55 nlm_write_usb_reg(port_addr, USB_INT_EN, val);
62 uint32_t val;
66 val = nlm_read_usb_reg(port_addr, USB_PHY_0);
67 val &= ~(USB_PHY_RESET | USB_PHY_PORT_RESET_0 | USB_PHY_PORT_RESET_1);
68 nlm_write_usb_reg(port_addr, USB_PHY_0, val);
71 val = nlm_read_usb_reg(port_addr, USB_CTL_0);
72 val &= ~(USB_CONTROLLER_RESET);
73 val |= 0x4;
74 nlm_write_usb_reg(port_addr, USB_CTL_0, val);