Home
last modified time | relevance | path

Searched refs:ncf (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/fs/unicode/
Dutf8-selftest.c93 unsigned char ncf[30]; member
99 .ncf = {0x61, 0x62, 0x62, 0x61, 0x00},
104 .ncf = "abcdefghijklmnopqrstuvwxyz0.1",
110 .ncf = {0x73, 0x73, 0x00},
116 .ncf = {0x61, 0xcc, 0x8a, 0x00},
126 .ncf = {0xe1, 0x8e, 0xa0, 0x00},
131 .ncf = {0xe1, 0x8f, 0xb0, 0x00},
137 .ncf = {0xf0, 0x90, 0xb3, 0x83, 0x00},
144 .ncf = {0xf0, 0x90, 0x93, 0x9d, 0x00},
150 .ncf = {0xc9, 0xaa, 0x00},
[all …]
/linux-5.19.10/net/ncsi/
Dncsi-rsp.c352 struct ncsi_channel_vlan_filter *ncf; in ncsi_rsp_handler_svf() local
364 ncf = &nc->vlan_filter; in ncsi_rsp_handler_svf()
365 if (cmd->index == 0 || cmd->index > ncf->n_vids) in ncsi_rsp_handler_svf()
370 bitmap = &ncf->bitmap; in ncsi_rsp_handler_svf()
373 ncf->vids[cmd->index - 1] = 0; in ncsi_rsp_handler_svf()
376 ncf->vids[cmd->index - 1] = ntohs(cmd->vlan); in ncsi_rsp_handler_svf()
441 struct ncsi_channel_mac_filter *ncf; in ncsi_rsp_handler_sma() local
460 ncf = &nc->mac_filter; in ncsi_rsp_handler_sma()
461 bitmap = &ncf->bitmap; in ncsi_rsp_handler_sma()
464 cmd->index > ncf->n_uc + ncf->n_mc + ncf->n_mixed) in ncsi_rsp_handler_sma()
[all …]
Dncsi-netlink.c61 struct ncsi_channel_vlan_filter *ncf; in ncsi_write_channel_info() local
81 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()
Dncsi-manage.c601 struct ncsi_channel_vlan_filter *ncf; in clear_one_vid() local
607 ncf = &nc->vlan_filter; in clear_one_vid()
608 bitmap = &ncf->bitmap; in clear_one_vid()
611 index = find_first_bit(bitmap, ncf->n_vids); 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() local
646 ncf = &nc->vlan_filter; in set_one_vid()
647 bitmap = &ncf->bitmap; in set_one_vid()
[all …]
/linux-5.19.10/net/can/
Disotp.c205 struct canfd_frame *ncf; in isotp_send_fc() local
225 ncf = (struct canfd_frame *)nskb->data; in isotp_send_fc()
229 ncf->can_id = so->txid; in isotp_send_fc()
232 memset(ncf->data, so->opt.txpad_content, CAN_MAX_DLEN); in isotp_send_fc()
233 ncf->len = CAN_MAX_DLEN; in isotp_send_fc()
235 ncf->len = ae + FC_CONTENT_SZ; in isotp_send_fc()
238 ncf->data[ae] = N_PCI_FC | flowstatus; in isotp_send_fc()
239 ncf->data[ae + 1] = so->rxfc.bs; in isotp_send_fc()
240 ncf->data[ae + 2] = so->rxfc.stmin; in isotp_send_fc()
243 ncf->data[0] = so->opt.ext_address; in isotp_send_fc()
[all …]