Lines Matching refs:field
299 * Lookup the bit information for a JTAG field name
314 cvmx_dprintf("__cvmx_qlm_lookup_field: Illegal field name %s\n", name);
319 * Get a field in a QLM JTAG chain
323 * @param name String name of field
325 * @return JTAG field value
329 const __cvmx_qlm_jtag_field_t *field = __cvmx_qlm_lookup_field(name);
333 if (!field)
339 cvmx_helper_qlm_jtag_shift_zeros(qlm, qlm_jtag_length * (num_lanes-1-lane)); /* Shift to the start of the field */
340 cvmx_helper_qlm_jtag_shift_zeros(qlm, field->start_bit);
342 return cvmx_helper_qlm_jtag_shift(qlm, field->stop_bit - field->start_bit + 1, 0);
346 * Set a field in a QLM JTAG chain
350 * @param name String name of field
351 * @param value Value of the field
358 const __cvmx_qlm_jtag_field_t *field = __cvmx_qlm_lookup_field(name);
363 if (!field)
378 for (bits = field->start_bit + (num_lanes-1-l)*qlm_jtag_length;
379 bits <= field->stop_bit + (num_lanes-1-l)*qlm_jtag_length;