| /linux/drivers/block/ |
| H A D | swim3.c | 209 #define swim3_err(fmt, arg...) dev_err(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg) 210 #define swim3_warn(fmt, arg...) dev_warn(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg) 211 #define swim3_info(fmt, arg...) dev_info(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg) 214 #define swim3_dbg(fmt, arg...) dev_dbg(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg) 237 static void seek_track(struct floppy_state *fs, int n); 238 static void act(struct floppy_state *fs); 245 static int grab_drive(struct floppy_state *fs, enum swim_state state, 247 static void release_drive(struct floppy_state *fs); 248 static int fd_eject(struct floppy_state *fs); 256 static bool swim3_end_request(struct floppy_state *fs, blk_status_t err, unsigned int nr_bytes) in swim3_end_request() argument [all …]
|
| H A D | swim.c | 426 static inline int swim_track(struct floppy_state *fs, int track) in swim_track() argument 428 struct swim __iomem *base = fs->swd->base; in swim_track() 431 ret = swim_seek(base, track - fs->track); in swim_track() 434 fs->track = track; in swim_track() 437 fs->track = 0; in swim_track() 443 static int floppy_eject(struct floppy_state *fs) in floppy_eject() argument 445 struct swim __iomem *base = fs->swd->base; in floppy_eject() 447 swim_drive(base, fs->location); in floppy_eject() 451 fs->disk_in = 0; in floppy_eject() 452 fs->ejected = 1; in floppy_eject() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_fs.c | 74 static int mlx5e_add_l2_flow_rule(struct mlx5e_flow_steering *fs, 76 static void mlx5e_del_l2_flow_rule(struct mlx5e_flow_steering *fs, 109 struct dentry *mlx5e_fs_get_debugfs_root(struct mlx5e_flow_steering *fs) in mlx5e_fs_get_debugfs_root() argument 111 return fs->dfs_root; in mlx5e_fs_get_debugfs_root() 170 static int mlx5e_vport_context_update_vlans(struct mlx5e_flow_steering *fs) in mlx5e_vport_context_update_vlans() argument 180 for_each_set_bit(vlan, fs->vlan->active_cvlans, VLAN_N_VID) in mlx5e_vport_context_update_vlans() 183 max_list_size = 1 << MLX5_CAP_GEN(fs->mdev, log_max_vlan_list); in mlx5e_vport_context_update_vlans() 186 …fs_warn(fs, "netdev vlans list size (%d) > (%d) max vport list size, some vlans will be dropped\n", in mlx5e_vport_context_update_vlans() 196 for_each_set_bit(vlan, fs->vlan->active_cvlans, VLAN_N_VID) { in mlx5e_vport_context_update_vlans() 202 err = mlx5_modify_nic_vport_vlans(fs->mdev, vlans, list_size); in mlx5e_vport_context_update_vlans() [all …]
|
| H A D | en_fs_ethtool.c | 82 struct ethtool_rx_flow_spec *fs, in get_flow_table() argument 85 struct mlx5e_ethtool_steering *ethtool = mlx5e_fs_get_ethtool(priv->fs); in get_flow_table() 94 switch (flow_type_mask(fs->flow_type)) { in get_flow_table() 233 parse_tcp4(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_tcp4() argument 235 struct ethtool_tcpip4_spec *l4_mask = &fs->m_u.tcp_ip4_spec; in parse_tcp4() 236 struct ethtool_tcpip4_spec *l4_val = &fs->h_u.tcp_ip4_spec; in parse_tcp4() 246 parse_udp4(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_udp4() argument 248 struct ethtool_tcpip4_spec *l4_mask = &fs->m_u.udp_ip4_spec; in parse_udp4() 249 struct ethtool_tcpip4_spec *l4_val = &fs->h_u.udp_ip4_spec; in parse_udp4() 259 parse_ip4(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_ip4() argument [all …]
|
| H A D | en_arfs.c | 122 static int arfs_disable(struct mlx5e_flow_steering *fs) in arfs_disable() argument 124 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in arfs_disable() 131 fs_err(fs, in arfs_disable() 140 static void arfs_del_rules(struct mlx5e_flow_steering *fs); 142 int mlx5e_arfs_disable(struct mlx5e_flow_steering *fs) in mlx5e_arfs_disable() argument 151 if (!mlx5e_fs_get_arfs(fs)) in mlx5e_arfs_disable() 154 arfs_del_rules(fs); in mlx5e_arfs_disable() 156 return arfs_disable(fs); in mlx5e_arfs_disable() 159 int mlx5e_arfs_enable(struct mlx5e_flow_steering *fs) in mlx5e_arfs_enable() argument 161 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in mlx5e_arfs_enable() [all …]
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | cxgb4_filter.c | 75 set_wr_txq(skb, CPL_PRIORITY_CONTROL, f->fs.val.iport & 0x3); in set_tcb_field() 168 u8 *nat_lp = (u8 *)&f->fs.nat_lport; in set_nat_params() 169 u8 *nat_fp = (u8 *)&f->fs.nat_fport; in set_nat_params() 172 if (f->fs.type) { in set_nat_params() 174 WORD_MASK, f->fs.nat_lip[15] | in set_nat_params() 175 f->fs.nat_lip[14] << 8 | in set_nat_params() 176 f->fs.nat_lip[13] << 16 | in set_nat_params() 177 (u64)f->fs.nat_lip[12] << 24, 1); in set_nat_params() 180 WORD_MASK, f->fs.nat_lip[11] | in set_nat_params() 181 f->fs.nat_lip[10] << 8 | in set_nat_params() [all …]
|
| H A D | cxgb4_tc_flower.c | 128 static void cxgb4_action_natmode_tweak(struct ch_filter_specification *fs, in cxgb4_action_natmode_tweak() argument 140 fs->nat_mode = cxgb4_natmode_config_array[i].natmode; in cxgb4_action_natmode_tweak() 165 struct ch_filter_specification *fs) in cxgb4_process_flow_match() argument 182 fs->type = 1; in cxgb4_process_flow_match() 184 fs->val.ethtype = ethtype_key; in cxgb4_process_flow_match() 185 fs->mask.ethtype = ethtype_mask; in cxgb4_process_flow_match() 186 fs->val.proto = match.key->ip_proto; in cxgb4_process_flow_match() 187 fs->mask.proto = match.mask->ip_proto; in cxgb4_process_flow_match() 194 fs->type = 0; in cxgb4_process_flow_match() 195 memcpy(&fs->val.lip[0], &match.key->dst, sizeof(match.key->dst)); in cxgb4_process_flow_match() [all …]
|
| H A D | cxgb4_tc_u32.c | 45 struct ch_filter_specification *fs, in fill_match_fields() argument 75 err = entry[j].val(fs, val, mask); in fill_match_fields() 91 struct ch_filter_specification *fs, in fill_action_fields() argument 110 fs->action = FILTER_DROP; in fill_action_fields() 125 fs->action = FILTER_SWITCH; in fill_action_fields() 126 fs->eport = i; in fill_action_fields() 155 struct ch_filter_specification fs; in cxgb4_config_knode() local 198 memset(&fs, 0, sizeof(fs)); in cxgb4_config_knode() 201 fs.prio = 1; in cxgb4_config_knode() 202 fs.tc_prio = cls->common.prio; in cxgb4_config_knode() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | fs.h | 106 int mlx5e_arfs_create_tables(struct mlx5e_flow_steering *fs, 108 void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple); 109 int mlx5e_arfs_enable(struct mlx5e_flow_steering *fs); 110 int mlx5e_arfs_disable(struct mlx5e_flow_steering *fs); 114 static inline int mlx5e_arfs_create_tables(struct mlx5e_flow_steering *fs, in mlx5e_arfs_create_tables() argument 117 static inline void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple) {} in mlx5e_arfs_destroy_tables() argument 118 static inline int mlx5e_arfs_enable(struct mlx5e_flow_steering *fs) in mlx5e_arfs_enable() argument 120 static inline int mlx5e_arfs_disable(struct mlx5e_flow_steering *fs) in mlx5e_arfs_disable() argument 133 void mlx5e_set_ttc_params(struct mlx5e_flow_steering *fs, 138 void mlx5e_destroy_ttc_table(struct mlx5e_flow_steering *fs); [all …]
|
| H A D | fs_tt_redirect.c | 77 mlx5e_fs_tt_redirect_udp_add_rule(struct mlx5e_flow_steering *fs, in mlx5e_fs_tt_redirect_udp_add_rule() argument 81 struct mlx5e_fs_udp *fs_udp = mlx5e_fs_get_udp(fs); in mlx5e_fs_tt_redirect_udp_add_rule() 108 fs_err(fs, "%s: add %s rule failed, err %d\n", in mlx5e_fs_tt_redirect_udp_add_rule() 114 static int fs_udp_add_default_rule(struct mlx5e_flow_steering *fs, enum fs_udp_type type) in fs_udp_add_default_rule() argument 116 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in fs_udp_add_default_rule() 117 struct mlx5e_fs_udp *fs_udp = mlx5e_fs_get_udp(fs); in fs_udp_add_default_rule() 130 fs_err(fs, "%s: add default rule failed, fs type=%d, err %d\n", in fs_udp_add_default_rule() 208 static int fs_udp_create_table(struct mlx5e_flow_steering *fs, enum fs_udp_type type) in fs_udp_create_table() argument 210 struct mlx5_flow_namespace *ns = mlx5e_fs_get_ns(fs, false); in fs_udp_create_table() 211 struct mlx5e_fs_udp *fs_udp = mlx5e_fs_get_udp(fs); in fs_udp_create_table() [all …]
|
| /linux/drivers/clk/st/ |
| H A D | clkgen-fsyn.c | 82 unsigned long output, struct stm_fs *fs); 322 static int clk_fs660c32_vco_get_rate(unsigned long input, struct stm_fs *fs, in clk_fs660c32_vco_get_rate() argument 325 unsigned long nd = fs->ndiv + 16; /* ndiv value */ in clk_fs660c32_vco_get_rate() 350 unsigned long output, struct stm_fs *fs) in clk_fs660c32_vco_get_params() argument 373 fs->ndiv = n - 16; /* Converting formula value to reg value */ in clk_fs660c32_vco_get_params() 532 static void quadfs_fsynth_program_enable(struct st_clk_quadfs_fsynth *fs) in quadfs_fsynth_program_enable() argument 538 CLKGEN_WRITE(fs, en[fs->chan], 1); in quadfs_fsynth_program_enable() 539 CLKGEN_WRITE(fs, en[fs->chan], 0); in quadfs_fsynth_program_enable() 542 static void quadfs_fsynth_program_rate(struct st_clk_quadfs_fsynth *fs) in quadfs_fsynth_program_rate() argument 551 CLKGEN_WRITE(fs, en[fs->chan], 0); in quadfs_fsynth_program_rate() [all …]
|
| /linux/include/math-emu/ |
| H A D | op-common.h | 36 #define _FP_UNPACK_CANONICAL(fs, wc, X) \ argument 41 _FP_FRAC_HIGH_RAW_##fs(X) |= _FP_IMPLBIT_##fs; \ 43 X##_e -= _FP_EXPBIAS_##fs; \ 55 _shift -= _FP_FRACXBITS_##fs; \ 57 X##_e -= _FP_EXPBIAS_##fs - 1 + _shift; \ 68 case _FP_EXPMAX_##fs: \ 75 if (!(_FP_FRAC_HIGH_RAW_##fs(X) & _FP_QNANBIT_##fs)) \ 89 #define _FP_PACK_CANONICAL(fs, wc, X) \ argument 94 X##_e += _FP_EXPBIAS_##fs; \ 98 if (_FP_FRAC_OVERP_##wc(fs, X)) \ [all …]
|
| H A D | op-1.h | 60 #define _FP_FRAC_OVERP_1(fs,X) (X##_f & _FP_OVERFLOW_##fs) argument 61 #define _FP_FRAC_CLEAR_OVERP_1(fs,X) (X##_f &= ~_FP_OVERFLOW_##fs) argument 75 #define _FP_UNPACK_RAW_1(fs, X, val) \ argument 77 union _FP_UNION_##fs _flo; _flo.flt = (val); \ 84 #define _FP_UNPACK_RAW_1_P(fs, X, val) \ argument 86 union _FP_UNION_##fs *_flo = \ 87 (union _FP_UNION_##fs *)(val); \ 98 #define _FP_PACK_RAW_1(fs, val, X) \ argument 100 union _FP_UNION_##fs _flo; \ 109 #define _FP_PACK_RAW_1_P(fs, val, X) \ argument [all …]
|
| /linux/fs/fuse/ |
| H A D | virtio_fs.c | 155 struct virtio_fs *fs = vq->vdev->priv; in vq_to_fsvq() local 157 return &fs->vqs[vq->index]; in vq_to_fsvq() 178 struct virtio_fs *fs = container_of(kobj, struct virtio_fs, kobj); in tag_show() local 180 return sysfs_emit(buf, "%s\n", fs->tag); in tag_show() 206 static struct virtio_fs_vq *virtio_fs_kobj_to_vq(struct virtio_fs *fs, in virtio_fs_kobj_to_vq() argument 211 for (i = 0; i < fs->nvqs; i++) { in virtio_fs_kobj_to_vq() 212 if (kobj == fs->vqs[i].kobj) in virtio_fs_kobj_to_vq() 213 return &fs->vqs[i]; in virtio_fs_kobj_to_vq() 221 struct virtio_fs *fs = container_of(kobj->parent->parent, struct virtio_fs, kobj); in name_show() local 222 struct virtio_fs_vq *fsvq = virtio_fs_kobj_to_vq(fs, kobj); in name_show() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| H A D | psp.c | 67 struct mlx5e_flow_steering *fs; member 80 static void accel_psp_fs_rx_err_del_rules(struct mlx5e_psp_fs *fs, in accel_psp_fs_rx_err_del_rules() argument 104 mlx5_modify_header_dealloc(fs->mdev, rx_err->copy_modify_hdr); in accel_psp_fs_rx_err_del_rules() 109 static void accel_psp_fs_rx_err_destroy_ft(struct mlx5e_psp_fs *fs, in accel_psp_fs_rx_err_destroy_ft() argument 112 accel_psp_fs_rx_err_del_rules(fs, rx_err); in accel_psp_fs_rx_err_destroy_ft() 132 static int accel_psp_fs_rx_err_add_rule(struct mlx5e_psp_fs *fs, in accel_psp_fs_rx_err_add_rule() argument 137 struct mlx5_core_dev *mdev = fs->mdev; in accel_psp_fs_rx_err_add_rule() 175 dest[1].counter = fs->rx_fs->rx_counter; in accel_psp_fs_rx_err_add_rule() 192 dest[0].counter = fs->rx_fs->rx_auth_fail_counter; in accel_psp_fs_rx_err_add_rule() 210 dest[0].counter = fs->rx_fs->rx_err_counter; in accel_psp_fs_rx_err_add_rule() [all …]
|
| H A D | fs_tcp.c | 74 struct mlx5_flow_handle *mlx5e_accel_fs_add_sk(struct mlx5e_flow_steering *fs, in mlx5e_accel_fs_add_sk() argument 78 struct mlx5e_accel_fs_tcp *fs_tcp = mlx5e_fs_get_accel_tcp(fs); in mlx5e_accel_fs_add_sk() 95 fs_dbg(fs, "%s flow is %pI4:%d -> %pI4:%d\n", __func__, in mlx5e_accel_fs_add_sk() 141 fs_err(fs, "mlx5_add_flow_rules() failed, flow is %pe\n", flow); in mlx5e_accel_fs_add_sk() 148 static int accel_fs_tcp_add_default_rule(struct mlx5e_flow_steering *fs, in accel_fs_tcp_add_default_rule() argument 151 struct mlx5e_accel_fs_tcp *fs_tcp = mlx5e_fs_get_accel_tcp(fs); in accel_fs_tcp_add_default_rule() 152 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in accel_fs_tcp_add_default_rule() 165 fs_err(fs, "%s: add default rule failed, accel_fs type=%d, err %d\n", in accel_fs_tcp_add_default_rule() 265 static int accel_fs_tcp_create_table(struct mlx5e_flow_steering *fs, enum accel_fs_tcp_type type) in accel_fs_tcp_create_table() argument 267 struct mlx5e_accel_fs_tcp *accel_tcp = mlx5e_fs_get_accel_tcp(fs); in accel_fs_tcp_create_table() [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-fs-nilfs2 | 2 What: /sys/fs/nilfs2/features/revision 10 What: /sys/fs/nilfs2/features/README 14 Describe attributes of /sys/fs/nilfs2/features group. 16 What: /sys/fs/nilfs2/<device>/revision 24 What: /sys/fs/nilfs2/<device>/blocksize 30 What: /sys/fs/nilfs2/<device>/device_size 36 What: /sys/fs/nilfs2/<device>/free_blocks 42 What: /sys/fs/nilfs2/<device>/uuid 48 What: /sys/fs/nilfs2/<device>/volume_name 54 What: /sys/fs/nilfs2/<device>/README [all …]
|
| /linux/fs/ |
| H A D | Kconfig | 35 source "fs/ext2/Kconfig" 36 source "fs/ext4/Kconfig" 37 source "fs/jbd2/Kconfig" 46 source "fs/jfs/Kconfig" 48 source "fs/xfs/Kconfig" 49 source "fs/gfs2/Kconfig" 50 source "fs/ocfs2/Kconfig" 51 source "fs/btrfs/Kconfig" 52 source "fs/nilfs2/Kconfig" 53 source "fs/f2fs/Kconfig" [all …]
|
| /linux/drivers/net/dsa/ |
| H A D | bcm_sf2_cfp.c | 24 struct ethtool_rx_flow_spec fs; member 349 struct ethtool_rx_flow_spec *fs) in bcm_sf2_cfp_ipv4_rule_set() argument 364 switch (fs->flow_type & ~FLOW_EXT) { in bcm_sf2_cfp_ipv4_rule_set() 375 ip_frag = !!(be32_to_cpu(fs->h_ext.data[0]) & 1); in bcm_sf2_cfp_ipv4_rule_set() 378 if (fs->flow_type & FLOW_EXT) { in bcm_sf2_cfp_ipv4_rule_set() 379 vlan_tci = fs->h_ext.vlan_tci; in bcm_sf2_cfp_ipv4_rule_set() 380 vlan_m_tci = fs->m_ext.vlan_tci; in bcm_sf2_cfp_ipv4_rule_set() 384 if (fs->location == RX_CLS_LOC_ANY) in bcm_sf2_cfp_ipv4_rule_set() 388 rule_index = fs->location; in bcm_sf2_cfp_ipv4_rule_set() 393 input.fs = fs; in bcm_sf2_cfp_ipv4_rule_set() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
| H A D | ct_fs_hmfs.c | 45 static int mlx5_ct_fs_hmfs_init(struct mlx5_ct_fs *fs, struct mlx5_flow_table *ct, in mlx5_ct_fs_hmfs_init() argument 50 struct mlx5_ct_fs_hmfs *fs_hmfs = mlx5_ct_fs_priv(fs); in mlx5_ct_fs_hmfs_init() 58 netdev_warn(fs->netdev, "ct_fs_hmfs: failed to init, missing backing hws tables"); in mlx5_ct_fs_hmfs_init() 62 netdev_dbg(fs->netdev, "using hmfs steering"); in mlx5_ct_fs_hmfs_init() 71 netdev_warn(fs->netdev, "ct_fs_hmfs: failed to create fwd action\n"); in mlx5_ct_fs_hmfs_init() 76 netdev_warn(fs->netdev, "ct_fs_hmfs: failed to create last action\n"); in mlx5_ct_fs_hmfs_init() 84 static void mlx5_ct_fs_hmfs_destroy(struct mlx5_ct_fs *fs) in mlx5_ct_fs_hmfs_destroy() argument 86 struct mlx5_ct_fs_hmfs *fs_hmfs = mlx5_ct_fs_priv(fs); in mlx5_ct_fs_hmfs_destroy() 93 mlx5_ct_fs_hmfs_matcher_create(struct mlx5_ct_fs *fs, struct mlx5hws_table *tbl, in mlx5_ct_fs_hmfs_matcher_create() argument 112 mlx5_ct_fs_hmfs_matcher_get(struct mlx5_ct_fs *fs, struct mlx5_flow_spec *spec, in mlx5_ct_fs_hmfs_matcher_get() argument [all …]
|
| H A D | ct_fs_smfs.c | 15 netdev_dbg(fs->netdev, "ct_fs_smfs debug: " fmt "\n", ##args) 46 mlx5_ct_fs_smfs_fill_mask(struct mlx5_ct_fs *fs, struct mlx5_flow_spec *spec, bool ipv4, bool tcp, in mlx5_ct_fs_smfs_fill_mask() argument 51 if (likely(MLX5_CAP_FLOWTABLE_NIC_RX(fs->dev, ft_field_support.outer_ip_version))) in mlx5_ct_fs_smfs_fill_mask() 89 mlx5_ct_fs_smfs_matcher_create(struct mlx5_ct_fs *fs, struct mlx5dr_table *tbl, bool ipv4, in mlx5_ct_fs_smfs_matcher_create() argument 99 mlx5_ct_fs_smfs_fill_mask(fs, spec, ipv4, tcp, gre); in mlx5_ct_fs_smfs_matcher_create() 111 mlx5_ct_fs_smfs_matcher_get(struct mlx5_ct_fs *fs, bool nat, bool ipv4, bool tcp, bool gre) in mlx5_ct_fs_smfs_matcher_get() argument 113 struct mlx5_ct_fs_smfs *fs_smfs = mlx5_ct_fs_priv(fs); in mlx5_ct_fs_smfs_matcher_get() 148 dr_matcher = mlx5_ct_fs_smfs_matcher_create(fs, tbl, ipv4, tcp, gre, prio); in mlx5_ct_fs_smfs_matcher_get() 150 netdev_warn(fs->netdev, in mlx5_ct_fs_smfs_matcher_get() 169 mlx5_ct_fs_smfs_matcher_put(struct mlx5_ct_fs *fs, struct mlx5_ct_fs_smfs_matcher *smfs_matcher) in mlx5_ct_fs_smfs_matcher_put() argument [all …]
|
| /linux/include/linux/ |
| H A D | fs_struct.h | 27 static inline void get_fs_root(struct fs_struct *fs, struct path *root) in get_fs_root() argument 29 read_seqlock_excl(&fs->seq); in get_fs_root() 30 *root = fs->root; in get_fs_root() 32 read_sequnlock_excl(&fs->seq); in get_fs_root() 35 static inline void get_fs_pwd(struct fs_struct *fs, struct path *pwd) in get_fs_pwd() argument 37 read_seqlock_excl(&fs->seq); in get_fs_pwd() 38 *pwd = fs->pwd; in get_fs_pwd() 40 read_sequnlock_excl(&fs->seq); in get_fs_pwd() 47 return current->fs->umask; in current_umask()
|
| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net_ethtool.c | 1332 struct ethtool_rx_flow_spec *fs = &cmd->fs; in nfp_net_fs_to_ethtool() local 1339 fs->h_u.tcp_ip4_spec.ip4src = entry->key.sip4; in nfp_net_fs_to_ethtool() 1340 fs->h_u.tcp_ip4_spec.ip4dst = entry->key.dip4; in nfp_net_fs_to_ethtool() 1341 fs->h_u.tcp_ip4_spec.psrc = entry->key.sport; in nfp_net_fs_to_ethtool() 1342 fs->h_u.tcp_ip4_spec.pdst = entry->key.dport; in nfp_net_fs_to_ethtool() 1343 fs->m_u.tcp_ip4_spec.ip4src = entry->msk.sip4; in nfp_net_fs_to_ethtool() 1344 fs->m_u.tcp_ip4_spec.ip4dst = entry->msk.dip4; in nfp_net_fs_to_ethtool() 1345 fs->m_u.tcp_ip4_spec.psrc = entry->msk.sport; in nfp_net_fs_to_ethtool() 1346 fs->m_u.tcp_ip4_spec.pdst = entry->msk.dport; in nfp_net_fs_to_ethtool() 1352 fs->h_u.tcp_ip6_spec.ip6src[i] = entry->key.sip6[i]; in nfp_net_fs_to_ethtool() [all …]
|
| /linux/drivers/net/ethernet/broadcom/asp2/ |
| H A D | bcmasp.c | 392 struct ethtool_rx_flow_spec *fs = &nfilt->fs; in bcmasp_netfilt_wr_to_hw() local 403 if (fs->flow_type & FLOW_MAC_EXT) { in bcmasp_netfilt_wr_to_hw() 404 bcmasp_netfilt_wr_m_wake(priv, nfilt, 0, &fs->h_ext.h_dest, in bcmasp_netfilt_wr_to_hw() 405 &fs->m_ext.h_dest, in bcmasp_netfilt_wr_to_hw() 406 sizeof(fs->h_ext.h_dest)); in bcmasp_netfilt_wr_to_hw() 409 if ((fs->flow_type & FLOW_EXT) && in bcmasp_netfilt_wr_to_hw() 410 (fs->m_ext.vlan_etype || fs->m_ext.vlan_tci)) { in bcmasp_netfilt_wr_to_hw() 412 &fs->h_ext.vlan_etype, in bcmasp_netfilt_wr_to_hw() 413 &fs->m_ext.vlan_etype, in bcmasp_netfilt_wr_to_hw() 414 sizeof(fs->h_ext.vlan_etype)); in bcmasp_netfilt_wr_to_hw() [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | tfa9879.c | 29 int fs; in tfa9879_hw_params() local 34 fs = TFA9879_I2S_FS_8000; in tfa9879_hw_params() 37 fs = TFA9879_I2S_FS_11025; in tfa9879_hw_params() 40 fs = TFA9879_I2S_FS_12000; in tfa9879_hw_params() 43 fs = TFA9879_I2S_FS_16000; in tfa9879_hw_params() 46 fs = TFA9879_I2S_FS_22050; in tfa9879_hw_params() 49 fs = TFA9879_I2S_FS_24000; in tfa9879_hw_params() 52 fs = TFA9879_I2S_FS_32000; in tfa9879_hw_params() 55 fs = TFA9879_I2S_FS_44100; in tfa9879_hw_params() 58 fs = TFA9879_I2S_FS_48000; in tfa9879_hw_params() [all …]
|