Home
last modified time | relevance | path

Searched refs:llc (Results 1 – 25 of 45) sorted by relevance

12

/linux/net/nfc/hci/
H A Dllc.c87 struct nfc_llc *llc; in nfc_llc_allocate() local
93 llc = kzalloc_obj(struct nfc_llc); in nfc_llc_allocate()
94 if (llc == NULL) in nfc_llc_allocate()
97 llc->data = llc_engine->ops->init(hdev, xmit_to_drv, rcv_to_hci, in nfc_llc_allocate()
99 &llc->rx_headroom, &llc->rx_tailroom, in nfc_llc_allocate()
101 if (llc->data == NULL) { in nfc_llc_allocate()
102 kfree(llc); in nfc_llc_allocate()
105 llc->ops = llc_engine->ops; in nfc_llc_allocate()
107 return llc; in nfc_llc_allocate()
110 void nfc_llc_free(struct nfc_llc *llc) in nfc_llc_free() argument
[all …]
H A Dllc_nop.c45 static void llc_nop_deinit(struct nfc_llc *llc) in llc_nop_deinit() argument
47 kfree(nfc_llc_get_data(llc)); in llc_nop_deinit()
50 static int llc_nop_start(struct nfc_llc *llc) in llc_nop_start() argument
55 static int llc_nop_stop(struct nfc_llc *llc) in llc_nop_stop() argument
60 static void llc_nop_rcv_from_drv(struct nfc_llc *llc, struct sk_buff *skb) in llc_nop_rcv_from_drv() argument
62 struct llc_nop *llc_nop = nfc_llc_get_data(llc); in llc_nop_rcv_from_drv()
67 static int llc_nop_xmit_from_hci(struct nfc_llc *llc, struct sk_buff *skb) in llc_nop_xmit_from_hci() argument
69 struct llc_nop *llc_nop = nfc_llc_get_data(llc); in llc_nop_xmit_from_hci()
H A Dllc.h20 void (*deinit) (struct nfc_llc *llc);
21 int (*start) (struct nfc_llc *llc);
22 int (*stop) (struct nfc_llc *llc);
23 void (*rcv_from_drv) (struct nfc_llc *llc, struct sk_buff *skb);
24 int (*xmit_from_hci) (struct nfc_llc *llc, struct sk_buff *skb);
40 void *nfc_llc_get_data(struct nfc_llc *llc);
H A Dllc_shdlc.c761 static void llc_shdlc_deinit(struct nfc_llc *llc) in llc_shdlc_deinit() argument
763 struct llc_shdlc *shdlc = nfc_llc_get_data(llc); in llc_shdlc_deinit()
780 static int llc_shdlc_start(struct nfc_llc *llc) in llc_shdlc_start() argument
782 struct llc_shdlc *shdlc = nfc_llc_get_data(llc); in llc_shdlc_start()
787 static int llc_shdlc_stop(struct nfc_llc *llc) in llc_shdlc_stop() argument
789 struct llc_shdlc *shdlc = nfc_llc_get_data(llc); in llc_shdlc_stop()
796 static void llc_shdlc_rcv_from_drv(struct nfc_llc *llc, struct sk_buff *skb) in llc_shdlc_rcv_from_drv() argument
798 struct llc_shdlc *shdlc = nfc_llc_get_data(llc); in llc_shdlc_rcv_from_drv()
803 static int llc_shdlc_xmit_from_hci(struct nfc_llc *llc, struct sk_buff *skb) in llc_shdlc_xmit_from_hci() argument
805 struct llc_shdlc *shdlc = nfc_llc_get_data(llc); in llc_shdlc_xmit_from_hci()
H A Dcore.c99 r = nfc_llc_xmit_from_hci(hdev->llc, skb); in nfc_hci_msg_tx_work()
590 r = nfc_llc_start(hdev->llc); in hci_dev_up()
616 nfc_llc_stop(hdev->llc); in hci_dev_up()
629 nfc_llc_stop(hdev->llc); in hci_dev_down()
981 hdev->llc = nfc_llc_allocate(llc_name, hdev, ops->xmit, in nfc_hci_allocate_device()
984 if (hdev->llc == NULL) { in nfc_hci_allocate_device()
993 nfc_llc_free(hdev->llc); in nfc_hci_allocate_device()
1015 nfc_llc_free(hdev->llc); in nfc_hci_free_device()
1097 nfc_llc_rcv_from_drv(hdev->llc, skb); in nfc_hci_recv_frame()
H A DMakefile8 hci-y := core.o hcp.o command.o llc.o llc_nop.o
/linux/net/llc/
H A Dllc_conn.c59 struct llc_sock *llc = llc_sk(skb->sk); in llc_conn_state_process() local
126 if (!llc_data_accept_state(llc->state)) in llc_conn_state_process()
129 rc = llc->failed_data_req = 1; in llc_conn_state_process()
210 struct llc_sock *llc; in llc_conn_resend_i_pdu_as_cmd() local
220 llc = llc_sk(sk); in llc_conn_resend_i_pdu_as_cmd()
222 while ((skb = skb_dequeue(&llc->pdu_unack_q)) != NULL) { in llc_conn_resend_i_pdu_as_cmd()
228 llc->vS = LLC_I_GET_NS(pdu); in llc_conn_resend_i_pdu_as_cmd()
232 llc->vS = (llc->vS + 1) % LLC_2_SEQ_NBR_MODULO; in llc_conn_resend_i_pdu_as_cmd()
252 struct llc_sock *llc = llc_sk(sk); in llc_conn_resend_i_pdu_as_rsp() local
262 while ((skb = skb_dequeue(&llc->pdu_unack_q)) != NULL) { in llc_conn_resend_i_pdu_as_rsp()
[all …]
H A Daf_llc.c124 struct llc_sock* llc = llc_sk(sk); in llc_ui_send_data() local
126 if (unlikely(llc_data_accept_state(llc->state) || in llc_ui_send_data()
127 llc->remote_busy_flag || in llc_ui_send_data()
128 llc->p_flag)) { in llc_ui_send_data()
198 struct llc_sock *llc; in llc_ui_release() local
204 llc = llc_sk(sk); in llc_ui_release()
206 llc->laddr.lsap, llc->daddr.lsap); in llc_ui_release()
210 struct llc_sap *sap = llc->sap; in llc_ui_release()
216 llc_sap_remove_socket(llc->sap, sk); in llc_ui_release()
222 netdev_put(llc->dev, &llc->dev_tracker); in llc_ui_release()
[all …]
/linux/drivers/gpu/drm/i915/gt/
H A Dselftest_llc.c9 static int gen6_verify_ring_freq(struct intel_llc *llc) in gen6_verify_ring_freq() argument
11 struct drm_i915_private *i915 = llc_to_gt(llc)->i915; in gen6_verify_ring_freq()
17 wakeref = intel_runtime_pm_get(llc_to_gt(llc)->uncore->rpm); in gen6_verify_ring_freq()
19 if (!get_ia_constants(llc, &consts)) in gen6_verify_ring_freq()
25 struct intel_rps *rps = &llc_to_gt(llc)->rps; in gen6_verify_ring_freq()
30 calc_ia_freq(llc, gpu_freq, &consts, &ia_freq, &ring_freq); in gen6_verify_ring_freq()
33 if (snb_pcode_read(llc_to_gt(llc)->uncore, GEN6_PCODE_READ_MIN_FREQ_TABLE, in gen6_verify_ring_freq()
63 intel_runtime_pm_put(llc_to_gt(llc)->uncore->rpm, wakeref); in gen6_verify_ring_freq()
67 int st_llc_verify(struct intel_llc *llc) in st_llc_verify() argument
69 return gen6_verify_ring_freq(llc); in st_llc_verify()
H A Dintel_llc.h11 void intel_llc_enable(struct intel_llc *llc);
12 void intel_llc_disable(struct intel_llc *llc);
H A Dselftest_llc.h11 int st_llc_verify(struct intel_llc *llc);
H A Dintel_gt_types.h170 struct intel_llc llc; member
/linux/net/bridge/netfilter/
H A Debt_802_3.c27 __be16 type = hdr->llc.ui.ctrl & IS_UI ? hdr->llc.ui.type : hdr->llc.ni.type; in ebt_802_3_mt()
30 if (NF_INVF(info, EBT_802_3_SAP, info->sap != hdr->llc.ui.ssap)) in ebt_802_3_mt()
32 if (NF_INVF(info, EBT_802_3_SAP, info->sap != hdr->llc.ui.dsap)) in ebt_802_3_mt()
37 if (!(hdr->llc.ui.dsap == CHECK_TYPE && hdr->llc.ui.ssap == CHECK_TYPE)) in ebt_802_3_mt()
/linux/include/net/nfc/
H A Dllc.h27 void nfc_llc_free(struct nfc_llc *llc);
29 int nfc_llc_start(struct nfc_llc *llc);
30 int nfc_llc_stop(struct nfc_llc *llc);
31 void nfc_llc_rcv_from_drv(struct nfc_llc *llc, struct sk_buff *skb);
32 int nfc_llc_xmit_from_hci(struct nfc_llc *llc, struct sk_buff *skb);
/linux/net/smc/
H A Dsmc_llc.c205 static void smc_llc_enqueue(struct smc_link *link, union smc_llc_msg *llc);
1033 struct smc_llc_msg_add_link *llc = &qentry->msg.add_link; in smc_llc_cli_add_link() local
1040 if (!llc->qp_mtu) in smc_llc_cli_add_link()
1058 ini->smcrv2.daddr = smc_ib_gid_to_ipv4(llc->sender_gid); in smc_llc_cli_add_link()
1061 if (!memcmp(llc->sender_gid, link->peer_gid, SMC_GID_SIZE) && in smc_llc_cli_add_link()
1063 !memcmp(llc->sender_mac, link->peer_mac, ETH_ALEN))) { in smc_llc_cli_add_link()
1084 smc_llc_save_add_link_info(lnk_new, llc); in smc_llc_cli_add_link()
1085 lnk_new->link_id = llc->link_num; /* SMC server assigns link id */ in smc_llc_cli_add_link()
1103 (u8 *)lgr->wr_rx_buf_v2 : (u8 *)llc; in smc_llc_cli_add_link()
1128 struct smc_llc_msg_req_add_link_v2 *llc; in smc_llc_send_request_add_link() local
[all …]
/linux/samples/bpf/
H A DREADME.rst23 'llc' must support target 'bpf', list version and supported targets with
24 command: ``llc --version``
71 To generate a smaller llc binary one can use::
91 It is also possible to point make to the newly compiled 'llc' or
94 …make M=samples/bpf LLC=~/git/llvm-project/llvm/build/bin/llc CLANG=~/git/llvm-project/llvm/build/b…
/linux/Documentation/driver-api/nfc/
H A Dnfc-hci.rst142 layers such as an llc to store the frame for re-emission, this
154 A new llc must implement the following functions::
161 void (*deinit) (struct nfc_llc *llc);
162 int (*start) (struct nfc_llc *llc);
163 int (*stop) (struct nfc_llc *llc);
164 void (*rcv_from_drv) (struct nfc_llc *llc, struct sk_buff *skb);
165 int (*xmit_from_hci) (struct nfc_llc *llc, struct sk_buff *skb);
181 The llc must be registered with nfc before it can be used. Do that by
186 Again, note that the llc does not handle the physical link. It is thus very
187 easy to mix any physical link with any llc for a given chip driver.
[all …]
/linux/net/openvswitch/
H A Dflow.c521 struct llc_snap_hdr *llc; in parse_ethertype() local
536 llc = (struct llc_snap_hdr *) skb->data; in parse_ethertype()
537 if (llc->dsap != LLC_SAP_SNAP || in parse_ethertype()
538 llc->ssap != LLC_SAP_SNAP || in parse_ethertype()
539 (llc->oui[0] | llc->oui[1] | llc->oui[2]) != 0) in parse_ethertype()
544 if (eth_proto_is_802_3(llc->ethertype)) in parse_ethertype()
545 return llc->ethertype; in parse_ethertype()
/linux/include/uapi/linux/
H A Dif_fc.h47 __u8 llc; /* LLC control field */ member
/linux/include/uapi/linux/netfilter_bridge/
H A Debt_802_3.h53 } llc; member
/linux/drivers/net/ethernet/aquantia/atlantic/macsec/
H A Dmacsec_struct.h75 u32 llc; member
374 u32 llc; member
/linux/drivers/net/ethernet/mscc/
H A Docelot_vcap.c412 struct ocelot_vcap_key_llc *llc = &filter->key.llc; in is2_entry_set() local
416 llc->dmac.value, llc->dmac.mask); in is2_entry_set()
418 llc->smac.value, llc->smac.mask); in is2_entry_set()
420 payload.value[i] = llc->llc.value[i]; in is2_entry_set()
421 payload.mask[i] = llc->llc.mask[i]; in is2_entry_set()
/linux/net/802/
H A Dfc.c51 fcllc->llc = UI_CMD; in fc_header()
/linux/drivers/nfc/st21nfca/
H A Dvendor_cmds.c176 r = nfc_llc_stop(hdev->llc); in st21nfca_hci_dm_reset()
180 return nfc_llc_start(hdev->llc); in st21nfca_hci_dm_reset()
/linux/kernel/bpf/preload/iterators/
H A DMakefile6 LLC ?= llc

12