Lines Matching refs:bits_per_pin
196 unsigned bits_per_pin; member
401 byte_num = (pcs->bits_per_pin * pin) / BITS_PER_BYTE; in pcs_request_gpio()
403 pin_shift = pin % (pcs->width / pcs->bits_per_pin) * in pcs_request_gpio()
404 pcs->bits_per_pin; in pcs_request_gpio()
707 pcs->bits_per_pin = fls(pcs->fmask); in pcs_allocate_pin_table()
708 nr_pins = (pcs->size * BITS_PER_BYTE) / pcs->bits_per_pin; in pcs_allocate_pin_table()
709 num_pins_in_register = pcs->width / pcs->bits_per_pin; in pcs_allocate_pin_table()
731 byte_num = (pcs->bits_per_pin * i) / BITS_PER_BYTE; in pcs_allocate_pin_table()
808 index = (offset * BITS_PER_BYTE) / pcs->bits_per_pin; in pcs_get_pin_by_offset()
1102 npins_in_row = pcs->width / pcs->bits_per_pin; in pcs_parse_bits_in_pinctrl_entry()
1144 pin_num_from_lsb = bit_pos / pcs->bits_per_pin; in pcs_parse_bits_in_pinctrl_entry()