Home
last modified time | relevance | path

Searched refs:filters (Results 1 – 23 of 23) sorted by relevance

/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_vfpf.c740 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()
1666 struct vfpf_q_mac_vlan_filter *msg_filter = &tlv->filters[i]; in bnx2x_vf_mbx_macvlan_list()
1670 memset(&fl->filters[j], 0, sizeof(fl->filters[j])); in bnx2x_vf_mbx_macvlan_list()
1672 fl->filters[j].mac = msg_filter->mac; in bnx2x_vf_mbx_macvlan_list()
[all …]
Dbnx2x_sriov.c455 struct bnx2x_vf_mac_vlan_filters *filters, in bnx2x_vf_mac_vlan_config_list() argument
466 for (i = 0; i < filters->count; i++) { in bnx2x_vf_mac_vlan_config_list()
468 &filters->filters[i], drv_only); in bnx2x_vf_mac_vlan_config_list()
474 if (i != filters->count) { in bnx2x_vf_mac_vlan_config_list()
476 i, filters->count + 1); in bnx2x_vf_mac_vlan_config_list()
478 if (!filters->filters[i].applied) in bnx2x_vf_mac_vlan_config_list()
480 filters->filters[i].add = !filters->filters[i].add; in bnx2x_vf_mac_vlan_config_list()
482 &filters->filters[i], in bnx2x_vf_mac_vlan_config_list()
488 kfree(filters); in bnx2x_vf_mac_vlan_config_list()
Dbnx2x_sriov.h124 struct bnx2x_vf_mac_vlan_filter filters[]; member
449 struct bnx2x_vf_mac_vlan_filters *filters,
Dbnx2x_vfpf.h325 struct vfpf_q_mac_vlan_filter filters[PFVF_MAX_FILTERS]; member
/drivers/net/wireless/cw1200/
Dpm.c25 struct wsm_udp_port_filter filters[WSM_MAX_FILTER_ELEMENTS]; member
31 struct wsm_ether_type_filter filters[WSM_MAX_FILTER_ELEMENTS]; member
36 .filters = {
60 .filters = {
/drivers/media/dvb-frontends/
Drtl2830.c648 set_bit(index, &dev->filters); in rtl2830_pid_filter()
650 clear_bit(index, &dev->filters); in rtl2830_pid_filter()
653 buf[0] = (dev->filters >> 0) & 0xff; in rtl2830_pid_filter()
654 buf[1] = (dev->filters >> 8) & 0xff; in rtl2830_pid_filter()
655 buf[2] = (dev->filters >> 16) & 0xff; in rtl2830_pid_filter()
656 buf[3] = (dev->filters >> 24) & 0xff; in rtl2830_pid_filter()
Drtl2830_priv.h35 unsigned long filters; member
Drtl2832.c1172 set_bit(index, &dev->filters); in rtl2832_pid_filter()
1174 clear_bit(index, &dev->filters); in rtl2832_pid_filter()
1177 buf[0] = (dev->filters >> 0) & 0xff; in rtl2832_pid_filter()
1178 buf[1] = (dev->filters >> 8) & 0xff; in rtl2832_pid_filter()
1179 buf[2] = (dev->filters >> 16) & 0xff; in rtl2832_pid_filter()
1180 buf[3] = (dev->filters >> 24) & 0xff; in rtl2832_pid_filter()
Drtl2832_priv.h48 unsigned long filters; /* PID filter */ member
/drivers/media/usb/dvb-usb/
Dm920x.h64 u16 filters[M9206_MAX_ADAPTERS][M9206_MAX_FILTERS]; member
Dm920x.c363 if (m->filters[adap->id][i] == 8192) in m920x_update_filters()
377 if (m->filters[adap->id][i] == 0) in m920x_update_filters()
380 if ((ret = m920x_set_filter(adap->dev, ep, filter + 2, m->filters[adap->id][i])) != 0) in m920x_update_filters()
403 m->filters[adap->id][index] = onoff ? pid : 0; in m920x_pid_filter()
/drivers/media/rc/img-ir/
Dimg-ir-hw.c385 ft = img_ir_free_timing_dynamic(regs->ft, &hw->filters[type]); in img_ir_write_timings()
427 hw->filters[RC_FILTER_NORMAL] = *filter; in _img_ir_set_filter()
452 hw->filters[RC_FILTER_WAKEUP] = *filter; in _img_ir_set_wake_filter()
739 img_ir_write_filter(priv, &hw->filters[RC_FILTER_WAKEUP]); in img_ir_enable_wake()
769 &hw->filters[RC_FILTER_NORMAL]); in img_ir_disable_wake()
Dimg-ir-hw.h247 struct img_ir_filter filters[RC_FILTER_MAX]; member
/drivers/net/vmxnet3/
Dvmxnet3_drv.c3398 pmConf->filters[i].patternSize = ETH_ALEN; in vmxnet3_suspend()
3399 pmConf->filters[i].maskSize = 1; in vmxnet3_suspend()
3400 memcpy(pmConf->filters[i].pattern, netdev->dev_addr, ETH_ALEN); in vmxnet3_suspend()
3401 pmConf->filters[i].mask[0] = 0x3F; /* LSB ETH_ALEN bits */ in vmxnet3_suspend()
3416 pmConf->filters[i].patternSize = ETH_HLEN + /* Ethernet header*/ in vmxnet3_suspend()
3420 pmConf->filters[i].maskSize = in vmxnet3_suspend()
3421 (pmConf->filters[i].patternSize - 1) / 8 + 1; in vmxnet3_suspend()
3424 ehdr = (struct ethhdr *)pmConf->filters[i].pattern; in vmxnet3_suspend()
3428 ahdr = (struct arphdr *)&pmConf->filters[i].pattern[ETH_HLEN]; in vmxnet3_suspend()
3437 pmConf->filters[i].mask[0] = 0x00; in vmxnet3_suspend()
[all …]
Dvmxnet3_defs.h581 struct Vmxnet3_PM_PktFilter filters[VMXNET3_PM_MAX_FILTERS]; member
/drivers/gpu/drm/nouveau/dispnv04/
Dtvmodesnv17.c321 uint32_t (*filters[])[4][7] = {&tv_enc->state.hfilter, in tv_setup_filter() local
348 (*filters[k])[j][i] = (c + id5/2) >> 39 in tv_setup_filter()
/drivers/net/wireless/iwlwifi/mvm/
Ddebugfs.c1011 for (i = 0; cmd.filters[i].attrs[0].mask; i++) { in iwl_dbgfs_bcast_filters_read()
1012 filter = &cmd.filters[i]; in iwl_dbgfs_bcast_filters_read()
1054 if (filter_id >= ARRAY_SIZE(mvm->dbgfs_bcast_filtering.cmd.filters) || in iwl_dbgfs_bcast_filters_write()
1080 memcpy(&mvm->dbgfs_bcast_filtering.cmd.filters[filter_id], in iwl_dbgfs_bcast_filters_write()
1146 attached_filters >= BIT(ARRAY_SIZE(cmd.filters))) in iwl_dbgfs_bcast_filters_macs_write()
Dmac80211.c2145 ARRAY_SIZE(cmd->filters))) { in iwl_mvm_bcast_filter_iterator()
2153 &cmd->filters[data->current_filter]); in iwl_mvm_bcast_filter_iterator()
2156 if (!cmd->filters[data->current_filter].num_attrs) in iwl_mvm_bcast_filter_iterator()
2179 cmd->max_bcast_filters = ARRAY_SIZE(cmd->filters); in iwl_mvm_bcast_filter_build_cmd()
2185 memcpy(cmd->filters, &mvm->dbgfs_bcast_filtering.cmd.filters, in iwl_mvm_bcast_filter_build_cmd()
2186 sizeof(cmd->filters)); in iwl_mvm_bcast_filter_build_cmd()
Dfw-api.h1269 struct iwl_fw_bcast_filter filters[MAX_BCAST_FILTERS]; member
/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c252 list_add_tail(&filter->next, &priv->filters); in mlx4_en_filter_alloc()
368 list_for_each_entry_safe(filter, tmp, &priv->filters, next) { in mlx4_en_cleanup_filters()
387 list_for_each_entry_safe(filter, tmp, &priv->filters, next) { in mlx4_en_filter_rfs_expire()
404 if (last_filter && (&last_filter->next != priv->filters.next)) in mlx4_en_filter_rfs_expire()
405 list_move(&priv->filters, &last_filter->next); in mlx4_en_filter_rfs_expire()
2870 INIT_LIST_HEAD(&priv->filters); in mlx4_en_init_netdev()
Dmlx4_en.h603 struct list_head filters; member
/drivers/net/wireless/ath/ath5k/
Dbase.c1455 unsigned int filters; in ath5k_receive_frame_ok() local
1505 filters = AR5K_RXERR_DECRYPT; in ath5k_receive_frame_ok()
1507 filters |= AR5K_RXERR_CRC; in ath5k_receive_frame_ok()
1509 if (rs->rs_status & ~filters) in ath5k_receive_frame_ok()
/drivers/media/usb/ttusb-budget/
Ddvb-ttusb-budget.c940 #error TODO: allocate filters in ttusb_start_feed()