Searched refs:ncf (Results 1 – 4 of 4) sorted by relevance
365 struct ncsi_channel_vlan_filter *ncf; in ncsi_rsp_handler_svf() local377 ncf = &nc->vlan_filter; in ncsi_rsp_handler_svf()378 if (cmd->index == 0 || cmd->index > ncf->n_vids) in ncsi_rsp_handler_svf()383 bitmap = &ncf->bitmap; in ncsi_rsp_handler_svf()386 ncf->vids[cmd->index - 1] = 0; in ncsi_rsp_handler_svf()389 ncf->vids[cmd->index - 1] = ntohs(cmd->vlan); in ncsi_rsp_handler_svf()454 struct ncsi_channel_mac_filter *ncf; in ncsi_rsp_handler_sma() local473 ncf = &nc->mac_filter; in ncsi_rsp_handler_sma()474 bitmap = &ncf->bitmap; in ncsi_rsp_handler_sma()477 cmd->index > ncf->n_uc + ncf->n_mc + ncf->n_mixed) in ncsi_rsp_handler_sma()[all …]
601 struct ncsi_channel_vlan_filter *ncf; in clear_one_vid() local607 ncf = &nc->vlan_filter; in clear_one_vid()608 bitmap = &ncf->bitmap; in clear_one_vid()611 index = find_next_bit(bitmap, ncf->n_vids, 0); in clear_one_vid()612 if (index >= ncf->n_vids) { in clear_one_vid()616 vid = ncf->vids[index]; in clear_one_vid()619 ncf->vids[index] = 0; in clear_one_vid()636 struct ncsi_channel_vlan_filter *ncf; in set_one_vid() local646 ncf = &nc->vlan_filter; in set_one_vid()647 bitmap = &ncf->bitmap; in set_one_vid()[all …]
61 struct ncsi_channel_vlan_filter *ncf; in ncsi_write_channel_info() local81 ncf = &nc->vlan_filter; in ncsi_write_channel_info()83 while ((i = find_next_bit((void *)&ncf->bitmap, ncf->n_vids, in ncsi_write_channel_info()84 i + 1)) < ncf->n_vids) { in ncsi_write_channel_info()85 if (ncf->vids[i]) in ncsi_write_channel_info()87 ncf->vids[i]); in ncsi_write_channel_info()
203 struct canfd_frame *ncf; in isotp_send_fc() local223 ncf = (struct canfd_frame *)nskb->data; in isotp_send_fc()227 ncf->can_id = so->txid; in isotp_send_fc()230 memset(ncf->data, so->opt.txpad_content, CAN_MAX_DLEN); in isotp_send_fc()231 ncf->len = CAN_MAX_DLEN; in isotp_send_fc()233 ncf->len = ae + FC_CONTENT_SZ; in isotp_send_fc()236 ncf->data[ae] = N_PCI_FC | flowstatus; in isotp_send_fc()237 ncf->data[ae + 1] = so->rxfc.bs; in isotp_send_fc()238 ncf->data[ae + 2] = so->rxfc.stmin; in isotp_send_fc()241 ncf->data[0] = so->opt.ext_address; in isotp_send_fc()[all …]