Lines Matching defs:val
80 uint8_t val;
84 error = SDIO_READ_DIRECT(pdev, 0, addr, &val);
88 enabled = (val & (1 << fn)) ? true : false;
93 val |= (1 << fn);
95 val &= ~(1 << fn);
96 error = SDIO_WRITE_DIRECT(pdev, 0, addr, val);
160 sdio_writeb(struct sdio_func *f, uint8_t val, uint32_t addr, int *err)
164 error = SDIO_WRITE_DIRECT(device_get_parent(f->dev), f->fn, addr, val);
189 sdio_writel(struct sdio_func *f, uint32_t val, uint32_t addr, int *err)
194 sizeof(val), (uint8_t *)&val, false);
218 sdio_f0_writeb(struct sdio_func *f, uint8_t val, uint32_t addr, int *err)
222 error = SDIO_WRITE_DIRECT(device_get_parent(f->dev), 0, addr, val);