/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_vfpf.c | 740 req->filters[0].flags = VFPF_Q_FILTER_DEST_MAC_VALID; in bnx2x_vfpf_config_mac() 742 req->filters[0].flags |= VFPF_Q_FILTER_SET; in bnx2x_vfpf_config_mac() 748 memcpy(req->filters[0].mac, addr, ETH_ALEN); in bnx2x_vfpf_config_mac() 775 memcpy(req->filters[0].mac, bp->dev->dev_addr, in bnx2x_vfpf_config_mac() 949 req->filters[0].flags = VFPF_Q_FILTER_VLAN_TAG_VALID; in bnx2x_vfpf_update_vlan() 952 req->filters[0].flags |= VFPF_Q_FILTER_SET; in bnx2x_vfpf_update_vlan() 963 req->filters[0].vlan_tag = vid; in bnx2x_vfpf_update_vlan() 1655 fl = kzalloc(struct_size(fl, filters, tlv->n_mac_vlan_filters), in bnx2x_vf_mbx_macvlan_list() 1661 struct vfpf_q_mac_vlan_filter *msg_filter = &tlv->filters[i]; in bnx2x_vf_mbx_macvlan_list() 1665 memset(&fl->filters[j], 0, sizeof(fl->filters[j])); in bnx2x_vf_mbx_macvlan_list() [all …]
|
D | bnx2x_sriov.c | 435 struct bnx2x_vf_mac_vlan_filters *filters, in bnx2x_vf_mac_vlan_config_list() argument 446 for (i = 0; i < filters->count; i++) { in bnx2x_vf_mac_vlan_config_list() 448 &filters->filters[i], drv_only); in bnx2x_vf_mac_vlan_config_list() 454 if (i != filters->count) { in bnx2x_vf_mac_vlan_config_list() 456 i, filters->count); in bnx2x_vf_mac_vlan_config_list() 458 if (!filters->filters[i].applied) in bnx2x_vf_mac_vlan_config_list() 460 filters->filters[i].add = !filters->filters[i].add; in bnx2x_vf_mac_vlan_config_list() 462 &filters->filters[i], in bnx2x_vf_mac_vlan_config_list() 468 kfree(filters); in bnx2x_vf_mac_vlan_config_list()
|
D | bnx2x_sriov.h | 124 struct bnx2x_vf_mac_vlan_filter filters[]; member 452 struct bnx2x_vf_mac_vlan_filters *filters,
|
D | bnx2x_vfpf.h | 325 struct vfpf_q_mac_vlan_filter filters[PFVF_MAX_FILTERS]; member
|
/drivers/hwtracing/coresight/ |
D | coresight-etm-perf.c | 149 struct etm_filters *filters; in etm_addr_filters_alloc() local 152 filters = kzalloc_node(sizeof(struct etm_filters), GFP_KERNEL, node); in etm_addr_filters_alloc() 153 if (!filters) in etm_addr_filters_alloc() 157 memcpy(filters, event->parent->hw.addr_filters, in etm_addr_filters_alloc() 158 sizeof(*filters)); in etm_addr_filters_alloc() 160 event->hw.addr_filters = filters; in etm_addr_filters_alloc() 619 static int etm_addr_filters_validate(struct list_head *filters) in etm_addr_filters_validate() argument 625 list_for_each_entry(filter, filters, entry) { in etm_addr_filters_validate() 663 struct etm_filters *filters = event->hw.addr_filters; in etm_addr_filters_sync() local 671 etm_filter = &filters->etm_filter[i]; in etm_addr_filters_sync() [all …]
|
D | coresight-etm4x-core.c | 848 struct etm_filters *filters = event->hw.addr_filters; in etm4_disable_perf() local 871 filters->ssstatus = (control & BIT(9)); in etm4_disable_perf() 1445 struct etm_filters *filters = event->hw.addr_filters; in etm4_set_event_filters() local 1447 if (!filters) in etm4_set_event_filters() 1457 if (!filters->nr_filters) in etm4_set_event_filters() 1460 for (i = 0; i < filters->nr_filters; i++) { in etm4_set_event_filters() 1461 struct etm_filter *filter = &filters->etm_filter[i]; in etm4_set_event_filters() 1508 if (filters->ssstatus) in etm4_set_event_filters()
|
/drivers/net/wireless/st/cw1200/ |
D | pm.c | 22 struct wsm_udp_port_filter filters[WSM_MAX_FILTER_ELEMENTS]; member 28 struct wsm_ether_type_filter filters[WSM_MAX_FILTER_ELEMENTS]; member 33 .filters = { 57 .filters = {
|
/drivers/media/dvb-frontends/ |
D | rtl2830.c | 616 set_bit(index, &dev->filters); in rtl2830_pid_filter() 618 clear_bit(index, &dev->filters); in rtl2830_pid_filter() 621 buf[0] = (dev->filters >> 0) & 0xff; in rtl2830_pid_filter() 622 buf[1] = (dev->filters >> 8) & 0xff; in rtl2830_pid_filter() 623 buf[2] = (dev->filters >> 16) & 0xff; in rtl2830_pid_filter() 624 buf[3] = (dev->filters >> 24) & 0xff; in rtl2830_pid_filter()
|
D | rtl2830_priv.h | 26 unsigned long filters; member
|
D | rtl2832.c | 990 set_bit(index, &dev->filters); in rtl2832_pid_filter() 992 clear_bit(index, &dev->filters); in rtl2832_pid_filter() 995 buf[0] = (dev->filters >> 0) & 0xff; in rtl2832_pid_filter() 996 buf[1] = (dev->filters >> 8) & 0xff; in rtl2832_pid_filter() 997 buf[2] = (dev->filters >> 16) & 0xff; in rtl2832_pid_filter() 998 buf[3] = (dev->filters >> 24) & 0xff; in rtl2832_pid_filter()
|
D | rtl2832_priv.h | 33 unsigned long filters; /* PID filter */ member
|
/drivers/media/usb/dvb-usb/ |
D | m920x.h | 65 u16 filters[M9206_MAX_ADAPTERS][M9206_MAX_FILTERS]; member
|
D | m920x.c | 354 if (m->filters[adap->id][i] == 8192) in m920x_update_filters() 368 if (m->filters[adap->id][i] == 0) in m920x_update_filters() 371 if ((ret = m920x_set_filter(adap->dev, ep, filter + 2, m->filters[adap->id][i])) != 0) in m920x_update_filters() 394 m->filters[adap->id][index] = onoff ? pid : 0; in m920x_pid_filter()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_prototype.h | 249 struct i40e_aqc_cloud_filters_element_bb *filters, 252 struct i40e_aqc_cloud_filters_element_data *filters, 255 struct i40e_aqc_cloud_filters_element_data *filters, 258 struct i40e_aqc_cloud_filters_element_bb *filters,
|
D | i40e_common.c | 5729 struct i40e_aqc_cloud_filters_element_data *filters, in i40e_aq_add_cloud_filters() argument 5741 buff_len = filter_count * sizeof(*filters); in i40e_aq_add_cloud_filters() 5747 status = i40e_asq_send_command(hw, &desc, filters, buff_len, NULL); in i40e_aq_add_cloud_filters() 5766 struct i40e_aqc_cloud_filters_element_bb *filters, in i40e_aq_add_cloud_filters_bb() argument 5779 buff_len = filter_count * sizeof(*filters); in i40e_aq_add_cloud_filters_bb() 5790 tnl_type = (le16_to_cpu(filters[i].element.flags) & in i40e_aq_add_cloud_filters_bb() 5799 ti = le32_to_cpu(filters[i].element.tenant_id); in i40e_aq_add_cloud_filters_bb() 5800 filters[i].element.tenant_id = cpu_to_le32(ti << 8); in i40e_aq_add_cloud_filters_bb() 5804 status = i40e_asq_send_command(hw, &desc, filters, buff_len, NULL); in i40e_aq_add_cloud_filters_bb() 5823 struct i40e_aqc_cloud_filters_element_data *filters, in i40e_aq_rem_cloud_filters() argument [all …]
|
/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | filter.h | 123 struct iwl_fw_bcast_filter filters[MAX_BCAST_FILTERS]; member
|
/drivers/media/rc/img-ir/ |
D | img-ir-hw.c | 381 ft = img_ir_free_timing_dynamic(regs->ft, &hw->filters[type]); in img_ir_write_timings() 423 hw->filters[RC_FILTER_NORMAL] = *filter; in _img_ir_set_filter() 448 hw->filters[RC_FILTER_WAKEUP] = *filter; in _img_ir_set_wake_filter() 738 img_ir_write_filter(priv, &hw->filters[RC_FILTER_WAKEUP]); in img_ir_enable_wake() 768 &hw->filters[RC_FILTER_NORMAL]); in img_ir_disable_wake()
|
D | img-ir-hw.h | 243 struct img_ir_filter filters[RC_FILTER_MAX]; member
|
/drivers/net/vmxnet3/ |
D | vmxnet3_drv.c | 3876 pmConf->filters[i].patternSize = ETH_ALEN; in vmxnet3_suspend() 3877 pmConf->filters[i].maskSize = 1; in vmxnet3_suspend() 3878 memcpy(pmConf->filters[i].pattern, netdev->dev_addr, ETH_ALEN); in vmxnet3_suspend() 3879 pmConf->filters[i].mask[0] = 0x3F; /* LSB ETH_ALEN bits */ in vmxnet3_suspend() 3900 pmConf->filters[i].patternSize = ETH_HLEN + /* Ethernet header*/ in vmxnet3_suspend() 3904 pmConf->filters[i].maskSize = in vmxnet3_suspend() 3905 (pmConf->filters[i].patternSize - 1) / 8 + 1; in vmxnet3_suspend() 3908 ehdr = (struct ethhdr *)pmConf->filters[i].pattern; in vmxnet3_suspend() 3912 ahdr = (struct arphdr *)&pmConf->filters[i].pattern[ETH_HLEN]; in vmxnet3_suspend() 3923 pmConf->filters[i].mask[0] = 0x00; in vmxnet3_suspend() [all …]
|
D | vmxnet3_defs.h | 638 struct Vmxnet3_PM_PktFilter filters[VMXNET3_PM_MAX_FILTERS]; member
|
/drivers/gpu/drm/nouveau/dispnv04/ |
D | tvmodesnv17.c | 320 uint32_t (*filters[])[4][7] = {&tv_enc->state.hfilter, in tv_setup_filter() local 347 (*filters[k])[j][i] = (c + id5/2) >> 39 in tv_setup_filter()
|
/drivers/net/ethernet/broadcom/ |
D | bcmsysport.c | 1089 for_each_set_bit(index, priv->filters, RXCHK_BRCM_TAG_MAX) { in bcm_sysport_resume_from_wol() 2144 for_each_set_bit(index, priv->filters, RXCHK_BRCM_TAG_MAX) { in bcm_sysport_rule_find() 2187 if (bitmap_weight(priv->filters, RXCHK_BRCM_TAG_MAX) == in bcm_sysport_rule_set() 2191 index = find_first_zero_bit(priv->filters, RXCHK_BRCM_TAG_MAX); in bcm_sysport_rule_set() 2205 set_bit(index, priv->filters); in bcm_sysport_rule_set() 2223 clear_bit(index, priv->filters); in bcm_sysport_rule_del() 2697 for_each_set_bit(index, priv->filters, RXCHK_BRCM_TAG_MAX) { in bcm_sysport_suspend_to_wol()
|
D | bcmsysport.h | 751 DECLARE_BITMAP(filters, RXCHK_BRCM_TAG_MAX);
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | debugfs.c | 1398 for (i = 0; cmd.filters[i].attrs[0].mask; i++) { in iwl_dbgfs_bcast_filters_read() 1399 filter = &cmd.filters[i]; in iwl_dbgfs_bcast_filters_read() 1441 if (filter_id >= ARRAY_SIZE(mvm->dbgfs_bcast_filtering.cmd.filters) || in iwl_dbgfs_bcast_filters_write() 1467 memcpy(&mvm->dbgfs_bcast_filtering.cmd.filters[filter_id], in iwl_dbgfs_bcast_filters_write() 1534 attached_filters >= BIT(ARRAY_SIZE(cmd.filters))) in iwl_dbgfs_bcast_filters_macs_write()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_netdev.c | 313 list_add_tail(&filter->next, &priv->filters); in mlx4_en_filter_alloc() 429 list_for_each_entry_safe(filter, tmp, &priv->filters, next) { in mlx4_en_cleanup_filters() 448 list_for_each_entry_safe(filter, tmp, &priv->filters, next) { in mlx4_en_filter_rfs_expire() 465 if (last_filter && (&last_filter->next != priv->filters.next)) in mlx4_en_filter_rfs_expire() 466 list_move(&priv->filters, &last_filter->next); in mlx4_en_filter_rfs_expire() 3194 INIT_LIST_HEAD(&priv->filters); in mlx4_en_init_netdev()
|