Lines Matching defs:function
41 * @synchronous_mode: array of index function synchronous mode configurations
42 * @index_polarity: array of index function polarity configurations
426 /* Index function must be non-synchronous in non-quadrature mode */
479 /* Synchronous function not supported in non-quadrature mode */
708 struct counter_count *count, size_t *function)
718 *function = QUAD8_COUNT_FUNCTION_QUADRATURE_X1;
721 *function = QUAD8_COUNT_FUNCTION_QUADRATURE_X2;
724 *function = QUAD8_COUNT_FUNCTION_QUADRATURE_X4;
728 *function = QUAD8_COUNT_FUNCTION_PULSE_DIRECTION;
736 struct counter_count *count, size_t function)
752 if (function == QUAD8_COUNT_FUNCTION_PULSE_DIRECTION) {
758 /* Synchronous function not supported in non-quadrature mode */
761 /* Disable synchronous function mode */
767 switch (function) {
830 size_t function = 0;
844 err = quad8_function_get(counter, count, &function);
851 /* Determine action mode based on current count function mode */
852 switch (function) {
951 /* Index function must be non-synchronous in non-quadrature mode */
1554 /* Reset all counters and disable interrupt function */
1578 /* Disable index function; negative index polarity */