/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/ |
H A D | vas-sysfs.c | 124 struct vas_caps_entry *centry; in vas_type_show() local 128 centry = to_caps_entry(kobj); in vas_type_show() 129 caps = centry->caps; in vas_type_show() 141 struct vas_caps_entry *centry; in vas_type_store() local 145 centry = to_caps_entry(kobj); in vas_type_store() 146 caps = centry->caps; in vas_type_store() 156 struct vas_caps_entry *centry = to_caps_entry(kobj); in vas_type_release() local 157 kfree(centry); in vas_type_release() 177 static char *vas_caps_kobj_name(struct vas_caps_entry *centry, in vas_caps_kobj_name() argument 180 struct vas_cop_feat_caps *caps = centry in vas_caps_kobj_name() 200 struct vas_caps_entry *centry; sysfs_add_vas_caps() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_acl_ctcam.c | 42 struct mlxsw_sp_acl_ctcam_entry *centry, in mlxsw_sp_acl_ctcam_region_entry_insert() 62 centry->parman_item.index, priority); in mlxsw_sp_acl_ctcam_region_entry_insert() 67 err = cregion->ops->entry_insert(cregion, centry, mask); in mlxsw_sp_acl_ctcam_region_entry_insert() 82 cregion->ops->entry_remove(cregion, centry); in mlxsw_sp_acl_ctcam_region_entry_insert() 89 struct mlxsw_sp_acl_ctcam_entry *centry) in mlxsw_sp_acl_ctcam_region_entry_remove() 95 centry->parman_item.index, 0); in mlxsw_sp_acl_ctcam_region_entry_remove() 97 cregion->ops->entry_remove(cregion, centry); in mlxsw_sp_acl_ctcam_region_entry_remove() 103 struct mlxsw_sp_acl_ctcam_entry *centry, in mlxsw_sp_acl_ctcam_region_entry_action_replace() 112 centry->parman_item.index, priority); in mlxsw_sp_acl_ctcam_region_entry_action_replace() 191 struct mlxsw_sp_acl_ctcam_entry *centry, in mlxsw_sp_acl_ctcam_entry_add() 40 mlxsw_sp_acl_ctcam_region_entry_insert(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_ctcam_region *cregion, struct mlxsw_sp_acl_ctcam_entry *centry, struct mlxsw_sp_acl_rule_info *rulei, bool fillup_priority) mlxsw_sp_acl_ctcam_region_entry_insert() argument 87 mlxsw_sp_acl_ctcam_region_entry_remove(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_ctcam_region *cregion, struct mlxsw_sp_acl_ctcam_entry *centry) mlxsw_sp_acl_ctcam_region_entry_remove() argument 101 mlxsw_sp_acl_ctcam_region_entry_action_replace(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_ctcam_region *cregion, struct mlxsw_sp_acl_ctcam_entry *centry, struct mlxsw_afa_block *afa_block, unsigned int priority) mlxsw_sp_acl_ctcam_region_entry_action_replace() argument 188 mlxsw_sp_acl_ctcam_entry_add(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_ctcam_region *cregion, struct mlxsw_sp_acl_ctcam_chunk *cchunk, struct mlxsw_sp_acl_ctcam_entry *centry, struct mlxsw_sp_acl_rule_info *rulei, bool fillup_priority) mlxsw_sp_acl_ctcam_entry_add() argument 214 mlxsw_sp_acl_ctcam_entry_del(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_ctcam_region *cregion, struct mlxsw_sp_acl_ctcam_chunk *cchunk, struct mlxsw_sp_acl_ctcam_entry *centry) mlxsw_sp_acl_ctcam_entry_del() argument 224 mlxsw_sp_acl_ctcam_entry_action_replace(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_ctcam_region *cregion, struct mlxsw_sp_acl_ctcam_entry *centry, struct mlxsw_sp_acl_rule_info *rulei) mlxsw_sp_acl_ctcam_entry_action_replace() argument [all...] |
H A D | spectrum1_acl_tcam.c | 17 struct mlxsw_sp_acl_ctcam_entry centry; member 27 struct mlxsw_sp_acl_ctcam_entry centry; member 32 struct mlxsw_sp_acl_ctcam_entry *centry, in mlxsw_sp1_acl_ctcam_region_entry_insert() 40 struct mlxsw_sp_acl_ctcam_entry *centry) in mlxsw_sp1_acl_ctcam_region_entry_remove() 83 ®ion->catchall.centry, in mlxsw_sp1_acl_ctcam_region_catchall_add() 107 ®ion->catchall.centry); in mlxsw_sp1_acl_ctcam_region_catchall_del() 180 &chunk->cchunk, &entry->centry, in mlxsw_sp1_acl_tcam_entry_add() 193 &chunk->cchunk, &entry->centry); in mlxsw_sp1_acl_tcam_entry_del() 231 offset = mlxsw_sp_acl_ctcam_entry_offset(&entry->centry); in mlxsw_sp1_acl_tcam_entry_activity_get() 31 mlxsw_sp1_acl_ctcam_region_entry_insert(struct mlxsw_sp_acl_ctcam_region *cregion, struct mlxsw_sp_acl_ctcam_entry *centry, const char *mask) mlxsw_sp1_acl_ctcam_region_entry_insert() argument 39 mlxsw_sp1_acl_ctcam_region_entry_remove(struct mlxsw_sp_acl_ctcam_region *cregion, struct mlxsw_sp_acl_ctcam_entry *centry) mlxsw_sp1_acl_ctcam_region_entry_remove() argument
|
H A D | spectrum_acl_tcam.h | 110 struct mlxsw_sp_acl_ctcam_entry *centry, 113 struct mlxsw_sp_acl_ctcam_entry *centry); 129 struct mlxsw_sp_acl_ctcam_entry *centry, 135 struct mlxsw_sp_acl_ctcam_entry *centry); 138 struct mlxsw_sp_acl_ctcam_entry *centry, 141 mlxsw_sp_acl_ctcam_entry_offset(struct mlxsw_sp_acl_ctcam_entry *centry) in mlxsw_sp_acl_ctcam_entry_offset() argument 143 return centry->parman_item.index; in mlxsw_sp_acl_ctcam_entry_offset() 196 struct mlxsw_sp_acl_ctcam_entry centry; member 208 mlxsw_sp_acl_tcam_centry_aentry(struct mlxsw_sp_acl_ctcam_entry *centry) in mlxsw_sp_acl_tcam_centry_aentry() argument 210 return container_of(centry, struc in mlxsw_sp_acl_tcam_centry_aentry() [all...] |
H A D | spectrum2_acl_tcam.c | 32 struct mlxsw_sp_acl_ctcam_entry *centry, in mlxsw_sp2_acl_ctcam_region_entry_insert() 40 aentry = mlxsw_sp_acl_tcam_centry_aentry(centry); in mlxsw_sp2_acl_ctcam_region_entry_insert() 52 struct mlxsw_sp_acl_ctcam_entry *centry) in mlxsw_sp2_acl_ctcam_region_entry_remove() 58 aentry = mlxsw_sp_acl_tcam_centry_aentry(centry); in mlxsw_sp2_acl_ctcam_region_entry_remove() 31 mlxsw_sp2_acl_ctcam_region_entry_insert(struct mlxsw_sp_acl_ctcam_region *cregion, struct mlxsw_sp_acl_ctcam_entry *centry, const char *mask) mlxsw_sp2_acl_ctcam_region_entry_insert() argument 51 mlxsw_sp2_acl_ctcam_region_entry_remove(struct mlxsw_sp_acl_ctcam_region *cregion, struct mlxsw_sp_acl_ctcam_entry *centry) mlxsw_sp2_acl_ctcam_region_entry_remove() argument
|
H A D | spectrum_acl_atcam.c | 584 &achunk->cchunk, &aentry->centry, in mlxsw_sp_acl_atcam_entry_add() 599 &achunk->cchunk, &aentry->centry); in mlxsw_sp_acl_atcam_entry_del() 615 &aentry->centry, in mlxsw_sp_acl_atcam_entry_action_replace()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_acl_ctcam.c | 42 struct mlxsw_sp_acl_ctcam_entry *centry, in mlxsw_sp_acl_ctcam_region_entry_insert() 62 centry->parman_item.index, priority); in mlxsw_sp_acl_ctcam_region_entry_insert() 67 err = cregion->ops->entry_insert(cregion, centry, mask); in mlxsw_sp_acl_ctcam_region_entry_insert() 82 cregion->ops->entry_remove(cregion, centry); in mlxsw_sp_acl_ctcam_region_entry_insert() 89 struct mlxsw_sp_acl_ctcam_entry *centry) in mlxsw_sp_acl_ctcam_region_entry_remove() 95 centry->parman_item.index, 0); in mlxsw_sp_acl_ctcam_region_entry_remove() 97 cregion->ops->entry_remove(cregion, centry); in mlxsw_sp_acl_ctcam_region_entry_remove() 103 struct mlxsw_sp_acl_ctcam_entry *centry, in mlxsw_sp_acl_ctcam_region_entry_action_replace() 112 centry->parman_item.index, priority); in mlxsw_sp_acl_ctcam_region_entry_action_replace() 191 struct mlxsw_sp_acl_ctcam_entry *centry, in mlxsw_sp_acl_ctcam_entry_add() 40 mlxsw_sp_acl_ctcam_region_entry_insert(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_ctcam_region *cregion, struct mlxsw_sp_acl_ctcam_entry *centry, struct mlxsw_sp_acl_rule_info *rulei, bool fillup_priority) mlxsw_sp_acl_ctcam_region_entry_insert() argument 87 mlxsw_sp_acl_ctcam_region_entry_remove(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_ctcam_region *cregion, struct mlxsw_sp_acl_ctcam_entry *centry) mlxsw_sp_acl_ctcam_region_entry_remove() argument 101 mlxsw_sp_acl_ctcam_region_entry_action_replace(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_ctcam_region *cregion, struct mlxsw_sp_acl_ctcam_entry *centry, struct mlxsw_afa_block *afa_block, unsigned int priority) mlxsw_sp_acl_ctcam_region_entry_action_replace() argument 188 mlxsw_sp_acl_ctcam_entry_add(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_ctcam_region *cregion, struct mlxsw_sp_acl_ctcam_chunk *cchunk, struct mlxsw_sp_acl_ctcam_entry *centry, struct mlxsw_sp_acl_rule_info *rulei, bool fillup_priority) mlxsw_sp_acl_ctcam_entry_add() argument 214 mlxsw_sp_acl_ctcam_entry_del(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_ctcam_region *cregion, struct mlxsw_sp_acl_ctcam_chunk *cchunk, struct mlxsw_sp_acl_ctcam_entry *centry) mlxsw_sp_acl_ctcam_entry_del() argument 224 mlxsw_sp_acl_ctcam_entry_action_replace(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_ctcam_region *cregion, struct mlxsw_sp_acl_ctcam_entry *centry, struct mlxsw_sp_acl_rule_info *rulei) mlxsw_sp_acl_ctcam_entry_action_replace() argument [all...] |
H A D | spectrum1_acl_tcam.c | 17 struct mlxsw_sp_acl_ctcam_entry centry; member 27 struct mlxsw_sp_acl_ctcam_entry centry; member 32 struct mlxsw_sp_acl_ctcam_entry *centry, in mlxsw_sp1_acl_ctcam_region_entry_insert() 40 struct mlxsw_sp_acl_ctcam_entry *centry) in mlxsw_sp1_acl_ctcam_region_entry_remove() 83 ®ion->catchall.centry, in mlxsw_sp1_acl_ctcam_region_catchall_add() 107 ®ion->catchall.centry); in mlxsw_sp1_acl_ctcam_region_catchall_del() 180 &chunk->cchunk, &entry->centry, in mlxsw_sp1_acl_tcam_entry_add() 193 &chunk->cchunk, &entry->centry); in mlxsw_sp1_acl_tcam_entry_del() 231 offset = mlxsw_sp_acl_ctcam_entry_offset(&entry->centry); in mlxsw_sp1_acl_tcam_entry_activity_get() 31 mlxsw_sp1_acl_ctcam_region_entry_insert(struct mlxsw_sp_acl_ctcam_region *cregion, struct mlxsw_sp_acl_ctcam_entry *centry, const char *mask) mlxsw_sp1_acl_ctcam_region_entry_insert() argument 39 mlxsw_sp1_acl_ctcam_region_entry_remove(struct mlxsw_sp_acl_ctcam_region *cregion, struct mlxsw_sp_acl_ctcam_entry *centry) mlxsw_sp1_acl_ctcam_region_entry_remove() argument
|
H A D | spectrum_acl_tcam.h | 105 struct mlxsw_sp_acl_ctcam_entry *centry, 108 struct mlxsw_sp_acl_ctcam_entry *centry); 124 struct mlxsw_sp_acl_ctcam_entry *centry, 130 struct mlxsw_sp_acl_ctcam_entry *centry); 133 struct mlxsw_sp_acl_ctcam_entry *centry, 136 mlxsw_sp_acl_ctcam_entry_offset(struct mlxsw_sp_acl_ctcam_entry *centry) in mlxsw_sp_acl_ctcam_entry_offset() argument 138 return centry->parman_item.index; in mlxsw_sp_acl_ctcam_entry_offset() 191 struct mlxsw_sp_acl_ctcam_entry centry; member 203 mlxsw_sp_acl_tcam_centry_aentry(struct mlxsw_sp_acl_ctcam_entry *centry) in mlxsw_sp_acl_tcam_centry_aentry() argument 205 return container_of(centry, struc in mlxsw_sp_acl_tcam_centry_aentry() [all...] |
H A D | spectrum2_acl_tcam.c | 32 struct mlxsw_sp_acl_ctcam_entry *centry, in mlxsw_sp2_acl_ctcam_region_entry_insert() 40 aentry = mlxsw_sp_acl_tcam_centry_aentry(centry); in mlxsw_sp2_acl_ctcam_region_entry_insert() 52 struct mlxsw_sp_acl_ctcam_entry *centry) in mlxsw_sp2_acl_ctcam_region_entry_remove() 58 aentry = mlxsw_sp_acl_tcam_centry_aentry(centry); in mlxsw_sp2_acl_ctcam_region_entry_remove() 31 mlxsw_sp2_acl_ctcam_region_entry_insert(struct mlxsw_sp_acl_ctcam_region *cregion, struct mlxsw_sp_acl_ctcam_entry *centry, const char *mask) mlxsw_sp2_acl_ctcam_region_entry_insert() argument 51 mlxsw_sp2_acl_ctcam_region_entry_remove(struct mlxsw_sp_acl_ctcam_region *cregion, struct mlxsw_sp_acl_ctcam_entry *centry) mlxsw_sp2_acl_ctcam_region_entry_remove() argument
|
H A D | spectrum_acl_atcam.c | 584 &achunk->cchunk, &aentry->centry, in mlxsw_sp_acl_atcam_entry_add() 599 &achunk->cchunk, &aentry->centry); in mlxsw_sp_acl_atcam_entry_del() 615 &aentry->centry, in mlxsw_sp_acl_atcam_entry_action_replace()
|