Lines Matching defs:dst_idx
393 * @dst_idx: Index of the destination where the source entries are intended to
412 int src_idx, int dst_idx,
418 dst_idx >= KSZ9477_ACL_MAX_ENTRIES) {
434 if (dst_idx + *src_count >= KSZ9477_ACL_MAX_ENTRIES) {
442 ret = ksz9477_acl_get_cont_entr(dev, port, dst_idx);
535 * @dst_idx: Index of the starting destination ACL entry.
548 u16 src_idx, u16 dst_idx)
556 if (src_idx == dst_idx)
559 ret = ksz9477_validate_and_get_src_count(dev, port, src_idx, dst_idx,
566 * downwards and the size of the entry located at dst_idx.
568 if (dst_idx > src_idx)
569 dst_idx = dst_idx + dst_count - src_count;
575 src_idx + i, dst_idx + i);
581 if (dst_idx > src_idx) {
583 src_count, dst_idx);
586 src_count, dst_idx);
593 acles->entries[dst_idx + i] = buffer[i];