Home
last modified time | relevance | path

Searched full:lnk (Results 1 – 25 of 39) sorted by relevance

12

/linux/net/smc/
H A Dsmc_ib.c47 static int smc_ib_modify_qp_init(struct smc_link *lnk) in smc_ib_modify_qp_init() argument
54 qp_attr.port_num = lnk->ibport; in smc_ib_modify_qp_init()
57 return ib_modify_qp(lnk->roce_qp, &qp_attr, in smc_ib_modify_qp_init()
62 static int smc_ib_modify_qp_rtr(struct smc_link *lnk) in smc_ib_modify_qp_rtr() argument
72 qp_attr.path_mtu = min(lnk->path_mtu, lnk->peer_mtu); in smc_ib_modify_qp_rtr()
74 rdma_ah_set_port_num(&qp_attr.ah_attr, lnk->ibport); in smc_ib_modify_qp_rtr()
75 if (lnk->lgr->smc_version == SMC_V2 && lnk->lgr->uses_gateway) in smc_ib_modify_qp_rtr()
77 rdma_ah_set_grh(&qp_attr.ah_attr, NULL, 0, lnk in smc_ib_modify_qp_rtr()
95 smc_ib_modify_qp_rts(struct smc_link * lnk) smc_ib_modify_qp_rts() argument
114 smc_ib_modify_qp_error(struct smc_link * lnk) smc_ib_modify_qp_error() argument
123 smc_ib_ready_link(struct smc_link * lnk) smc_ib_ready_link() argument
451 smc_ib_dealloc_protection_domain(struct smc_link * lnk) smc_ib_dealloc_protection_domain() argument
458 smc_ib_create_protection_domain(struct smc_link * lnk) smc_ib_create_protection_domain() argument
636 struct smc_link *lnk = (struct smc_link *)priv; smc_ib_qp_event_handler() local
655 smc_ib_destroy_queue_pair(struct smc_link * lnk) smc_ib_destroy_queue_pair() argument
663 smc_ib_create_queue_pair(struct smc_link * lnk) smc_ib_create_queue_pair() argument
738 smc_ib_is_sg_need_sync(struct smc_link * lnk,struct smc_buf_desc * buf_slot) smc_ib_is_sg_need_sync() argument
765 smc_ib_sync_sg_for_cpu(struct smc_link * lnk,struct smc_buf_desc * buf_slot,enum dma_data_direction data_direction) smc_ib_sync_sg_for_cpu() argument
788 smc_ib_sync_sg_for_device(struct smc_link * lnk,struct smc_buf_desc * buf_slot,enum dma_data_direction data_direction) smc_ib_sync_sg_for_device() argument
811 smc_ib_buf_map_sg(struct smc_link * lnk,struct smc_buf_desc * buf_slot,enum dma_data_direction data_direction) smc_ib_buf_map_sg() argument
827 smc_ib_buf_unmap_sg(struct smc_link * lnk,struct smc_buf_desc * buf_slot,enum dma_data_direction data_direction) smc_ib_buf_unmap_sg() argument
[all...]
H A Dsmc_tracepoint.h54 __string(name, smc->conn.lnk->ibname)
87 TP_PROTO(const struct smc_link *lnk, void *location),
89 TP_ARGS(lnk, location),
92 __field(const void *, lnk)
96 __string(name, lnk->ibname)
101 const struct smc_link_group *lgr = lnk->lgr;
103 __entry->lnk = lnk;
106 __entry->state = lnk->state;
111 TP_printk("lnk
[all...]
H A Dsmc_wr.h73 static inline void smc_wr_drain_cq(struct smc_link *lnk) in smc_wr_tx_link_put()
75 wait_event(lnk->wr_rx_empty_wait, lnk->wr_rx_id_compl == lnk->wr_rx_id); in smc_wr_drain_cq() argument
78 static inline void smc_wr_wakeup_tx_wait(struct smc_link *lnk) in smc_wr_drain_cq()
80 wake_up_all(&lnk->wr_tx_wait); in smc_wr_wakeup_tx_wait() argument
83 static inline void smc_wr_wakeup_reg_wait(struct smc_link *lnk) in smc_wr_wakeup_tx_wait()
85 wake_up(&lnk->wr_reg_wait); in smc_wr_wakeup_reg_wait() argument
103 int smc_wr_create_link(struct smc_link *lnk); in smc_wr_rx_post()
104 int smc_wr_alloc_link_mem(struct smc_link *lnk);
[all...]
H A Dsmc_ib.h87 int smc_ib_buf_map_sg(struct smc_link *lnk,
90 void smc_ib_buf_unmap_sg(struct smc_link *lnk,
93 void smc_ib_dealloc_protection_domain(struct smc_link *lnk);
94 int smc_ib_create_protection_domain(struct smc_link *lnk);
95 void smc_ib_destroy_queue_pair(struct smc_link *lnk);
96 int smc_ib_create_queue_pair(struct smc_link *lnk);
97 int smc_ib_ready_link(struct smc_link *lnk);
98 int smc_ib_modify_qp_rts(struct smc_link *lnk);
99 int smc_ib_modify_qp_error(struct smc_link *lnk);
104 bool smc_ib_is_sg_need_sync(struct smc_link *lnk,
[all …]
H A Dsmc_llc.h68 if (smc_link_usable(&lgr->lnk[i])) in smc_llc_usable_link()
69 return &lgr->lnk[i]; in smc_llc_usable_link()
82 int smc_llc_send_confirm_link(struct smc_link *lnk,
108 struct smc_link *lnk,
H A Dsmc_cdc.c116 struct smc_link *link = conn->lnk; in smc_cdc_msg_send()
148 struct smc_link *link = conn->lnk; in smcr_cdc_msg_send_validation()
183 link = conn->lnk; in smcr_cdc_get_slot_and_msg_send()
191 if (link != conn->lnk) { in smcr_cdc_get_slot_and_msg_send()
322 conn->lnk = link; in smc_cdc_msg_validate()
H A Dsmc_stats.h117 bool is_smcd = !__smc->conn.lnk; \
132 bool is_smcd = !__smc->conn.lnk; \
230 bool is_smcd = !(__smc)->conn.lnk; \
/linux/io_uring/
H A Dfs.c243 struct io_link *lnk = io_kiocb_to_cmd(req, struct io_link); in io_linkat_prep() local
251 lnk->old_dfd = READ_ONCE(sqe->fd); in io_linkat_prep()
252 lnk->new_dfd = READ_ONCE(sqe->len); in io_linkat_prep()
255 lnk->flags = READ_ONCE(sqe->hardlink_flags); in io_linkat_prep()
257 lnk->oldpath = getname_uflags(oldf, lnk->flags); in io_linkat_prep()
258 if (IS_ERR(lnk->oldpath)) in io_linkat_prep()
259 return PTR_ERR(lnk->oldpath); in io_linkat_prep()
261 lnk->newpath = getname(newf); in io_linkat_prep()
262 if (IS_ERR(lnk in io_linkat_prep()
274 struct io_link *lnk = io_kiocb_to_cmd(req, struct io_link); io_linkat() local
[all...]
/linux/sound/soc/generic/
H A Daudio-graph-card2.c256 static enum graph_type __graph_get_type(struct device_node *lnk) in __graph_get_type() argument
264 * => lnk: port@0 { ... }; in __graph_get_type()
269 np = of_get_parent(lnk); in __graph_get_type()
303 struct device_node *lnk) in graph_get_type() argument
305 enum graph_type type = __graph_get_type(lnk); in graph_get_type()
318 if (graph_util_is_ports0(lnk)) in graph_get_type()
330 dev_dbg(dev, "%pOF (%s)", lnk, str); in graph_get_type()
336 static int graph_lnk_is_multi(struct device_node *lnk) in graph_lnk_is_multi() argument
338 return __graph_get_type(lnk) == GRAPH_MULTI; in graph_lnk_is_multi()
349 * => lnk: port@0 { ... }; // to pair in graph_get_next_multi_ep()
[all …]
H A Daudio-graph-card2-custom-sample.c68 struct device_node *lnk, in custom_normal() argument
79 return audio_graph2_link_normal(priv, lnk, li); in custom_normal()
83 struct device_node *lnk, in custom_dpcm() argument
94 return audio_graph2_link_dpcm(priv, lnk, li); in custom_dpcm()
98 struct device_node *lnk, in custom_c2c() argument
109 return audio_graph2_link_c2c(priv, lnk, li); in custom_c2c()
/linux/include/sound/
H A Dgraph_card.h13 struct device_node *lnk,
29 struct device_node *lnk, struct link_info *li);
31 struct device_node *lnk, struct link_info *li);
33 struct device_node *lnk, struct link_info *li);
/linux/fs/qnx4/
H A Dnamei.c92 struct qnx4_link_info *lnk; in qnx4_lookup() local
102 lnk = (struct qnx4_link_info *) de; in qnx4_lookup()
103 ino = (le32_to_cpu(lnk->dl_inode_blk) - 1) * in qnx4_lookup()
105 lnk->dl_inode_ndx; in qnx4_lookup()
/linux/drivers/net/wireless/ti/wlcore/
H A Dtx.c510 struct wl1271_link *lnk, u8 q) in wlcore_lnk_dequeue() argument
515 skb = skb_dequeue(&lnk->tx_queue[q]); in wlcore_lnk_dequeue()
520 if (lnk->wlvif) { in wlcore_lnk_dequeue()
521 WARN_ON_ONCE(lnk->wlvif->tx_queue_count[q] <= 0); in wlcore_lnk_dequeue()
522 lnk->wlvif->tx_queue_count[q]--; in wlcore_lnk_dequeue()
534 struct wl1271_link *lnk = &wl->links[hlid]; in wlcore_lnk_dequeue_high_prio() local
536 if (!wlcore_hw_lnk_high_prio(wl, hlid, lnk)) { in wlcore_lnk_dequeue_high_prio()
538 !skb_queue_empty(&lnk->tx_queue[ac]) && in wlcore_lnk_dequeue_high_prio()
539 wlcore_hw_lnk_low_prio(wl, hlid, lnk)) in wlcore_lnk_dequeue_high_prio()
546 return wlcore_lnk_dequeue(wl, lnk, ac); in wlcore_lnk_dequeue_high_prio()
[all …]
H A Dps.c84 struct wl1271_link *lnk = &wl->links[hlid]; in wl1271_ps_filter_frames() local
89 while ((skb = skb_dequeue(&lnk->tx_queue[i]))) { in wl1271_ps_filter_frames()
105 if (lnk->wlvif) in wl1271_ps_filter_frames()
106 lnk->wlvif->tx_queue_count[i] -= filtered[i]; in wl1271_ps_filter_frames()
H A Devent.c146 struct wl1271_link *lnk; in wl1271_stop_ba_event() local
149 lnk = &wl->links[hlid]; in wl1271_stop_ba_event()
150 if (!lnk->ba_bitmap) in wl1271_stop_ba_event()
154 lnk->ba_bitmap, in wl1271_stop_ba_event()
155 lnk->addr); in wl1271_stop_ba_event()
H A Dhw_ops.h255 struct wl1271_link *lnk) in wlcore_hw_lnk_high_prio() argument
260 return wl->ops->lnk_high_prio(wl, hlid, lnk); in wlcore_hw_lnk_high_prio()
265 struct wl1271_link *lnk) in wlcore_hw_lnk_low_prio() argument
270 return wl->ops->lnk_low_prio(wl, hlid, lnk); in wlcore_hw_lnk_low_prio()
H A Dwlcore.h105 struct wl1271_link *lnk);
107 struct wl1271_link *lnk);
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dgm200.c120 int lnk[2], sor[2], m, s; in gm200_sor_route_get() local
125 lnk[s] = (data & 0x00000010) >> 4; in gm200_sor_route_get()
129 *link |= lnk[s]; in gm200_sor_route_get()
134 if (sor[0] != sor[1] || WARN_ON(lnk[0] || !lnk[1])) in gm200_sor_route_get()
/linux/Documentation/userspace-api/media/mediactl/
H A Dmedia-types.rst391 .. _MEDIA-LNK-FL-ENABLED:
392 .. _MEDIA-LNK-FL-IMMUTABLE:
393 .. _MEDIA-LNK-FL-DYNAMIC:
394 .. _MEDIA-LNK-FL-LINK-TYPE:
417 .. _MEDIA-LNK-FL-DATA-LINK:
422 .. _MEDIA-LNK-FL-INTERFACE-LINK:
427 .. _MEDIA-LNK-FL-ANCILLARY-LINK:
/linux/include/uapi/linux/
H A Dsmc_diag.h95 struct smc_diag_linkinfo lnk[1]; member
H A Dif.h262 #define ifr_dstaddr ifr_ifru.ifru_dstaddr /* other end of p-p lnk */
/linux/include/trace/misc/
H A Dfs.h20 { DT_LNK, "LNK" }, \
/linux/Documentation/sound/soc/
H A Dusb.rst27 | |DAI LNK | |DAI LNK |
/linux/Documentation/devicetree/bindings/display/panel/
H A Dpanel-edp.yaml65 lnk data----------------+LnkTrn| Idle |Valid vid data| Idle/off+-------------
/linux/fs/proc/
H A Dbase.c174 #define LNK(NAME, get_link) \ macro
3342 LNK("cwd", proc_cwd_link),
3343 LNK("root", proc_root_link),
3344 LNK("exe", proc_exe_link),
3687 LNK("cwd", proc_cwd_link),
3688 LNK("root", proc_root_link),
3689 LNK("exe", proc_exe_link),

12