/* Set execution bit: cleared when operation completed */
t |= 1;
- // Start execution
+ /* Start execution */
sw_w32(t, gpios->ext_gpio_indrt_access);
do {
udelay(1);
/* Set execution bit: cleared when operation completed */
t |= 1;
- // Start execution
+ /* Start execution */
sw_w32(t, gpios->ext_gpio_indrt_access);
do {
udelay(1);
gpios->reg_cached = 0;
if (soc_info.family == RTL8390_FAMILY_ID) {
- // RTL8390: Enable external gpio in global led control register
+ /* RTL8390: Enable external gpio in global led control register */
sw_w32_mask(0x7 << 18, 0x4 << 18, RTL839X_LED_GLB_CTRL);
} else if (soc_info.family == RTL8380_FAMILY_ID) {
- // RTL8380: Enable RTL8231 indirect access mode
+ /* RTL8380: Enable RTL8231 indirect access mode */
sw_w32_mask(0, 1, RTL838X_EXTRA_GPIO_CTRL);
sw_w32_mask(3, 1, RTL838X_DMY_REG5);
}