/drivers/pnp/ |
H A D | manager.c | 22 unsigned char rule, 28 /* when the resource already exists, set its resource bits from rule */ 31 res->flags |= rule & IORESOURCE_BITS; 37 static int pnp_assign_port(struct pnp_dev *dev, struct pnp_port *rule, int idx) argument 41 res = pnp_find_resource(dev, rule->flags, IORESOURCE_IO, idx); 50 res->flags = rule->flags | IORESOURCE_AUTO; 54 if (!rule->size) { 60 res->start = rule->min; 61 res->end = res->start + rule->size - 1; 64 res->start += rule 21 pnp_find_resource(struct pnp_dev *dev, unsigned char rule, unsigned long type, unsigned int bar) argument 80 pnp_assign_mem(struct pnp_dev *dev, struct pnp_mem *rule, int idx) argument 133 pnp_assign_irq(struct pnp_dev *dev, struct pnp_irq *rule, int idx) argument 192 pnp_assign_dma(struct pnp_dev *dev, struct pnp_dma *rule, int idx) argument [all...] |
/drivers/staging/lustre/lustre/ptlrpc/ |
H A D | sec_config.c | 170 static void sptlrpc_rule_init(struct sptlrpc_rule *rule) argument 172 rule->sr_netid = LNET_NIDNET(LNET_NID_ANY); 173 rule->sr_from = LUSTRE_SP_ANY; 174 rule->sr_to = LUSTRE_SP_ANY; 175 rule->sr_padding = 0; 177 get_default_flavor(&rule->sr_flvr); 183 int sptlrpc_parse_rule(char *param, struct sptlrpc_rule *rule) argument 188 sptlrpc_rule_init(rule); 203 rule->sr_netid = libcfs_str2net(param); 204 if (rule 287 rule_spec_dir(struct sptlrpc_rule *rule) argument 292 rule_spec_net(struct sptlrpc_rule *rule) argument 311 sptlrpc_rule_set_merge(struct sptlrpc_rule_set *rset, struct sptlrpc_rule *rule) argument 584 sptlrpc_conf_merge_rule(struct sptlrpc_conf *conf, const char *target, struct sptlrpc_rule *rule) argument 617 struct sptlrpc_rule rule; local [all...] |
/drivers/net/ethernet/sfc/ |
H A D | ethtool.c | 790 struct ethtool_rx_flow_spec *rule) 792 struct ethtool_tcpip4_spec *ip_entry = &rule->h_u.tcp_ip4_spec; 793 struct ethtool_tcpip4_spec *ip_mask = &rule->m_u.tcp_ip4_spec; 794 struct ethhdr *mac_entry = &rule->h_u.ether_spec; 795 struct ethhdr *mac_mask = &rule->m_u.ether_spec; 800 rule->location, &spec); 805 rule->ring_cookie = RX_CLS_FLOW_DISC; 807 rule->ring_cookie = spec.dmaq_id; 818 rule->flow_type = ((spec.ip_proto == IPPROTO_TCP) ? 840 rule 789 efx_ethtool_get_class_rule(struct efx_nic *efx, struct ethtool_rx_flow_spec *rule) argument 949 efx_ethtool_set_class_rule(struct efx_nic *efx, struct ethtool_rx_flow_spec *rule) argument [all...] |
/drivers/isdn/divert/ |
H A D | isdn_divert.c | 39 divert_rule rule; /* used rule */ member in struct:deflect_struc 271 /* insert a new rule before idx */ 281 ds->rule = *newrule; /* set rule */ 315 /* delete the rule at position idx */ 365 /* get a pointer to a specific rule number */ 374 return (&ds->rule); 397 if (((dv->rule.callopt == 1) && (ic->command == ISDN_STAT_ICALLW)) || 398 ((dv->rule [all...] |
H A D | isdn_divert.h | 22 #define IIOCGETRULE _IO('I', 4) /* read one rule */ 23 #define IIOCMODRULE _IO('I', 5) /* modify/replace a rule */ 24 #define IIOCINSRULE _IO('I', 6) /* insert/append one rule */ 25 #define IIOCDELRULE _IO('I', 7) /* delete a rule */ 75 int ruleidx; /* index of rule */ 76 divert_rule rule; /* rule parms */ member in struct:__anon1755::__anon1757 85 data from rule used if empty */
|
H A D | divert_procfs.c | 216 dioctl.getsetrule.rule = *rulep; /* copy data */ 223 *rulep = dioctl.getsetrule.rule; /* copy data */ 229 return (insertrule(dioctl.getsetrule.ruleidx, &dioctl.getsetrule.rule));
|
/drivers/s390/crypto/ |
H A D | zcrypt_msgtype6.h | 134 char rule[8]; member in struct:__anon5000 162 memcpy(msg->rule, "RANDOM ", 8);
|
/drivers/net/ethernet/freescale/ |
H A D | gianfar_ethtool.c | 797 "No parse rule found, can't create hash rules\n"); 802 /* If a match was found, then it begins the starting of a cluster rule 894 /* Sets the properties for arbitrary filer rule 1127 static inline u32 vlan_tci_vid(struct ethtool_rx_flow_spec *rule) argument 1129 return be16_to_cpu(rule->h_ext.vlan_tci) & VLAN_VID_MASK; 1132 static inline u32 vlan_tci_vidm(struct ethtool_rx_flow_spec *rule) argument 1134 return be16_to_cpu(rule->m_ext.vlan_tci) & VLAN_VID_MASK; 1137 static inline u32 vlan_tci_cfi(struct ethtool_rx_flow_spec *rule) argument 1139 return be16_to_cpu(rule->h_ext.vlan_tci) & VLAN_CFI_MASK; 1142 static inline u32 vlan_tci_cfim(struct ethtool_rx_flow_spec *rule) argument 1147 vlan_tci_prio(struct ethtool_rx_flow_spec *rule) argument 1153 vlan_tci_priom(struct ethtool_rx_flow_spec *rule) argument 1160 gfar_convert_to_filer(struct ethtool_rx_flow_spec *rule, struct filer_table *tab) argument [all...] |
/drivers/net/ethernet/mellanox/mlx4/ |
H A D | mcg.c | 800 mlx4_err(dev, "Invalid network rule id. id = %d\n", id); 827 mlx4_err(dev, "Invalid network rule id. id = %d\n", id); 900 struct mlx4_net_trans_rule *rule) 910 rule->port, rule->priority, rule->qpn); 912 list_for_each_entry(cur, &rule->list, list) { 973 mlx4_err(dev, "Network rule error message was truncated, print buffer is too small\n"); 977 struct mlx4_net_trans_rule *rule, u64 *reg_id) 988 trans_rule_ctrl_to_hw(rule, mailbo 899 mlx4_err_rule(struct mlx4_dev *dev, char *str, struct mlx4_net_trans_rule *rule) argument 976 mlx4_flow_attach(struct mlx4_dev *dev, struct mlx4_net_trans_rule *rule, u64 *reg_id) argument 1035 struct mlx4_net_trans_rule rule = { local 1346 struct mlx4_net_trans_rule rule = { local 1438 struct mlx4_net_trans_rule rule; local [all...] |
H A D | en_ethtool.c | 933 struct mlx4_net_trans_rule rule = { local 940 rule.port = priv->port; 941 rule.priority = MLX4_DOMAIN_ETHTOOL | cmd->fs.location; 942 INIT_LIST_HEAD(&rule.list); 962 rule.qpn = qpn; 963 err = mlx4_en_ethtool_to_net_trans_rule(dev, cmd, &rule.list); 971 en_err(priv, "Fail to detach network rule at location %d. registration id = %llx\n", 980 err = mlx4_flow_attach(priv->mdev->dev, &rule, ®_id); 982 en_err(priv, "Fail to attach network rule at location %d\n", 992 list_for_each_entry_safe(spec, tmp_spec, &rule 1003 struct ethtool_flow_id *rule; local 1033 struct ethtool_flow_id *rule; local [all...] |
H A D | en_netdev.c | 168 struct mlx4_net_trans_rule rule = { local 169 .list = LIST_HEAD_INIT(rule.list), 185 list_add_tail(&spec_eth.list, &rule.list); 186 list_add_tail(&spec_ip.list, &rule.list); 187 list_add_tail(&spec_tcp_udp.list, &rule.list); 189 rule.qpn = priv->rss_map.qps[filter->rxq_index].qpn; 201 rc = mlx4_flow_attach(priv->mdev->dev, &rule, &filter->reg_id); 484 en_err(priv, "failed to add vxlan steering rule, err %d\n", err); 487 en_dbg(DRV, priv, "added vxlan steering rule, mac %pM reg_id %llx\n", addr, *reg_id); 515 struct mlx4_net_trans_rule rule local [all...] |
/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_ethtool.c | 1644 * i40e_get_ethtool_fdir_all - Populates the rule count of a command 1647 * @rule_locs: Array of used rule locations 1649 * This function populates both the total and actual rule count of 1658 struct i40e_fdir_filter *rule; local 1662 /* report total rule count */ 1665 hlist_for_each_entry_safe(rule, node2, 1670 rule_locs[cnt] = rule->fd_id; 1694 struct i40e_fdir_filter *rule = NULL; local 1697 hlist_for_each_entry_safe(rule, node2, 1699 if (fsp->location <= rule 1893 i40e_match_fdir_input_set(struct i40e_fdir_filter *rule, struct i40e_fdir_filter *input) argument 1921 struct i40e_fdir_filter *rule, *parent; local [all...] |
/drivers/net/wireless/mwifiex/ |
H A D | sta_cmd.c | 1481 struct coalesce_receive_filt_rule *rule; local 1488 rule = coalesce_cfg->rule; 1491 rule->header.type = cpu_to_le16(TLV_TYPE_COALESCE_RULE); 1492 rule->max_coalescing_delay = 1493 cpu_to_le16(cfg->rule[cnt].max_coalescing_delay); 1494 rule->pkt_type = cfg->rule[cnt].pkt_type; 1495 rule->num_of_fields = cfg->rule[cn [all...] |
H A D | ioctl.h | 439 struct mwifiex_coalesce_rule rule[MWIFIEX_COALESCE_MAX_RULES]; member in struct:mwifiex_ds_coalesce_cfg
|
H A D | fw.h | 1810 struct coalesce_receive_filt_rule rule[0]; member in struct:host_cmd_ds_coalesce_cfg
|
H A D | cfg80211.c | 2595 &coalesce_cfg.rule[i]); 2598 "Recheck the patterns provided for rule %d\n",
|
/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ethtool.c | 2318 struct ixgbe_fdir_filter *rule = NULL; local 2320 /* report total rule count */ 2323 hlist_for_each_entry_safe(rule, node2, 2325 if (fsp->location <= rule->sw_idx) 2329 if (!rule || fsp->location != rule->sw_idx) 2335 switch (rule->filter.formatted.flow_type) { 2355 fsp->h_u.tcp_ip4_spec.psrc = rule->filter.formatted.src_port; 2357 fsp->h_u.tcp_ip4_spec.pdst = rule->filter.formatted.dst_port; 2359 fsp->h_u.tcp_ip4_spec.ip4src = rule 2385 struct ixgbe_fdir_filter *rule; local 2483 struct ixgbe_fdir_filter *rule, *parent; local [all...] |
/drivers/net/wireless/brcm80211/brcmsmac/ |
H A D | channel.c | 666 const struct ieee80211_reg_rule *rule; local 682 rule = freq_reg_info(wiphy, 684 if (IS_ERR(rule)) 687 if (!(rule->flags & NL80211_RRF_NO_IR))
|
/drivers/acpi/acpica/ |
H A D | acinterp.h | 463 void acpi_ex_acquire_global_lock(u32 rule); 465 void acpi_ex_release_global_lock(u32 rule);
|
/drivers/staging/lustre/lustre/include/ |
H A D | lustre_sec.h | 302 * A rule specifies a flavor to be used by a ptlrpc connection between 336 struct sptlrpc_rule *rule); 1052 int sptlrpc_parse_rule(char *param, struct sptlrpc_rule *rule);
|
/drivers/net/wireless/ti/wl12xx/ |
H A D | main.c | 226 .rule = CONF_BCN_RULE_PASS_ON_APPEARANCE, 230 .rule = CONF_BCN_RULE_PASS_ON_CHANGE, 234 .rule = CONF_BCN_RULE_PASS_ON_CHANGE,
|
/drivers/net/wireless/ti/wlcore/ |
H A D | conf.h | 741 * IE number to which to associate a rule. 752 u8 rule; member in struct:conf_bcn_filt_rule
|
H A D | acx.c | 417 ie_table->table[idx++] = r->rule;
|
/drivers/net/wireless/ti/wl18xx/ |
H A D | main.c | 354 .rule = CONF_BCN_RULE_PASS_ON_APPEARANCE, 358 .rule = CONF_BCN_RULE_PASS_ON_CHANGE, 362 .rule = CONF_BCN_RULE_PASS_ON_CHANGE,
|
/drivers/net/wireless/libertas/ |
H A D | host.h | 842 struct host_wol_rule rule[MAX_WOL_RULES]; member in struct:wol_config
|