Lines Matching refs:args
51 if (args && args->count && !args->u[0].v) in macio_do_gpio_write()
72 if (args == NULL || args->count == 0 || args->u[0].p == NULL) in macio_do_gpio_read()
76 *args->u[0].p = ((value & mask) >> rshift) ^ xor; in macio_do_gpio_read()
162 if (args == NULL || args->count == 0 || args->u[0].p == NULL) in macio_do_read_reg32()
165 *args->u[0].p = MACIO_IN32(offset); in macio_do_read_reg32()
185 if (args == NULL || args->count == 0 || args->u[0].p == NULL) in macio_do_read_reg8()
188 *((u8 *)(args->u[0].p)) = MACIO_IN8(offset); in macio_do_read_reg8()
198 if (args == NULL || args->count == 0 || args->u[0].p == NULL) in macio_do_read_reg32_msrx()
201 *args->u[0].p = ((MACIO_IN32(offset) & mask) >> shift) ^ xor; in macio_do_read_reg32_msrx()
211 if (args == NULL || args->count == 0 || args->u[0].p == NULL) in macio_do_read_reg8_msrx()
214 *((u8 *)(args->u[0].p)) = ((MACIO_IN8(offset) & mask) >> shift) ^ xor; in macio_do_read_reg8_msrx()
226 if (args == NULL || args->count == 0) in macio_do_write_reg32_slm()
231 val = args->u[0].v << shift; in macio_do_write_reg32_slm()
246 if (args == NULL || args->count == 0) in macio_do_write_reg8_slm()
251 val = args->u[0].v << shift; in macio_do_write_reg8_slm()