Lines Matching refs:mux_bytes
275 unsigned val, mux_bytes; in pcs_pin_dbg_show() local
281 mux_bytes = pcs->width / BITS_PER_BYTE; in pcs_pin_dbg_show()
282 offset = pin * mux_bytes; in pcs_pin_dbg_show()
384 int mux_bytes = 0; in pcs_request_gpio() local
396 mux_bytes = pcs->width / BITS_PER_BYTE; in pcs_request_gpio()
402 offset = (byte_num / mux_bytes) * mux_bytes; in pcs_request_gpio()
411 data = pcs->read(pcs->base + pin * mux_bytes); in pcs_request_gpio()
414 pcs->write(data, pcs->base + pin * mux_bytes); in pcs_request_gpio()
701 int mux_bytes, nr_pins, i; in pcs_allocate_pin_table() local
704 mux_bytes = pcs->width / BITS_PER_BYTE; in pcs_allocate_pin_table()
711 nr_pins = pcs->size / mux_bytes; in pcs_allocate_pin_table()
732 offset = (byte_num / mux_bytes) * mux_bytes; in pcs_allocate_pin_table()
735 offset = i * mux_bytes; in pcs_allocate_pin_table()
1605 int i, mux_bytes; in pcs_save_context() local
1610 mux_bytes = pcs->width / BITS_PER_BYTE; in pcs_save_context()
1621 for (i = 0; i < pcs->size; i += mux_bytes) in pcs_save_context()
1626 for (i = 0; i < pcs->size; i += mux_bytes) in pcs_save_context()
1631 for (i = 0; i < pcs->size; i += mux_bytes) in pcs_save_context()
1641 int i, mux_bytes; in pcs_restore_context() local
1646 mux_bytes = pcs->width / BITS_PER_BYTE; in pcs_restore_context()
1651 for (i = 0; i < pcs->size; i += mux_bytes) in pcs_restore_context()
1656 for (i = 0; i < pcs->size; i += mux_bytes) in pcs_restore_context()
1661 for (i = 0; i < pcs->size; i += mux_bytes) in pcs_restore_context()