Home
last modified time | relevance | path

Searched refs:wi (Results 1 – 25 of 36) sorted by relevance

12

/linux/fs/nilfs2/
A Dsegbuf.c363 wi->bio = NULL; in nilfs_segbuf_submit_bio()
364 wi->rest_blocks -= wi->end - wi->start; in nilfs_segbuf_submit_bio()
365 wi->nr_vecs = min(wi->max_pages, wi->rest_blocks); in nilfs_segbuf_submit_bio()
366 wi->start = wi->end; in nilfs_segbuf_submit_bio()
370 wi->bio = NULL; in nilfs_segbuf_submit_bio()
400 wi->bio = NULL; in nilfs_segbuf_prepare_write()
403 wi->nr_vecs = min(wi->max_pages, wi->rest_blocks); in nilfs_segbuf_prepare_write()
404 wi->start = wi->end = 0; in nilfs_segbuf_prepare_write()
417 wi->bio = nilfs_alloc_seg_bio(wi->nilfs, wi->blocknr + wi->end, in nilfs_segbuf_submit_bh()
425 wi->end++; in nilfs_segbuf_submit_bh()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Den_tx.c455 sq->pc += wi->num_wqebbs; in mlx5e_txwqe_complete()
600 wi = &sq->db.wqe_info[pi]; in mlx5e_tx_mpwqe_session_complete()
609 sq->pc += wi->num_wqebbs; in mlx5e_tx_mpwqe_session_complete()
838 sqcc += wi->num_wqebbs; in mlx5e_poll_tx_cq()
840 if (likely(wi->skb)) { in mlx5e_poll_tx_cq()
853 if (wi->num_fifo_pkts) { in mlx5e_poll_tx_cq()
918 sqcc += wi->num_wqebbs; in mlx5e_free_txqsq_descs()
920 if (likely(wi->skb)) { in mlx5e_free_txqsq_descs()
925 nbytes += wi->num_bytes; in mlx5e_free_txqsq_descs()
932 if (wi->num_fifo_pkts) { in mlx5e_free_txqsq_descs()
[all …]
A Den_rx.c691 wi->consumed_strides = 0; in mlx5e_alloc_rx_mpwqe()
816 wi = &sq->db.wqe_info[ci]; in mlx5e_free_icosq_descs()
817 sqcc += wi->num_wqebbs; in mlx5e_free_icosq_descs()
819 switch (wi->wqe_type) { in mlx5e_free_icosq_descs()
889 wi = &sq->db.wqe_info[ci]; in mlx5e_poll_ico_cq()
890 sqcc += wi->num_wqebbs; in mlx5e_poll_ico_cq()
904 switch (wi->wqe_type) { in mlx5e_poll_ico_cq()
926 wi->wqe_type); in mlx5e_poll_ico_cq()
1575 mlx5e_add_skb_frag(rq, skb, wi->di, wi->offset + frag_headlen, in mlx5e_skb_from_cqe_nonlinear()
1580 wi++; in mlx5e_skb_from_cqe_nonlinear()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
A Dktls_txrx.h25 void mlx5e_ktls_handle_ctx_completion(struct mlx5e_icosq_wqe_info *wi);
26 void mlx5e_ktls_handle_get_psv_completion(struct mlx5e_icosq_wqe_info *wi,
30 struct mlx5e_tx_wqe_info *wi,
34 struct mlx5e_tx_wqe_info *wi, in mlx5e_ktls_tx_try_handle_resync_dump_comp() argument
37 if (unlikely(wi->resync_dump_frag_page)) { in mlx5e_ktls_tx_try_handle_resync_dump_comp()
38 mlx5e_ktls_tx_handle_resync_dump_comp(sq, wi, dma_fifo_cc); in mlx5e_ktls_tx_try_handle_resync_dump_comp()
54 struct mlx5e_tx_wqe_info *wi, in mlx5e_ktls_tx_try_handle_resync_dump_comp() argument
A Dktls_rx.c130 struct mlx5e_icosq_wqe_info *wi) in icosq_fill_wi() argument
132 sq->db.wqe_info[pi] = *wi; in icosq_fill_wi()
140 struct mlx5e_icosq_wqe_info wi; in post_static_params() local
153 wi = (struct mlx5e_icosq_wqe_info) { in post_static_params()
158 icosq_fill_wi(sq, pi, &wi); in post_static_params()
170 struct mlx5e_icosq_wqe_info wi; in post_progress_params() local
183 wi = (struct mlx5e_icosq_wqe_info) { in post_progress_params()
189 icosq_fill_wi(sq, pi, &wi); in post_progress_params()
257 struct mlx5e_icosq_wqe_info wi; in resync_post_get_progress_params() local
306 wi = (struct mlx5e_icosq_wqe_info) { in resync_post_get_progress_params()
[all …]
A Dktls_tx.c151 struct mlx5e_tx_wqe_info *wi = &sq->db.wqe_info[pi]; in tx_fill_wi() local
153 *wi = (struct mlx5e_tx_wqe_info) { in tx_fill_wi()
350 struct mlx5e_tx_wqe_info *wi, in mlx5e_ktls_tx_handle_resync_dump_comp() argument
360 put_page(wi->resync_dump_frag_page); in mlx5e_ktls_tx_handle_resync_dump_comp()
362 stats->tls_dump_bytes += wi->num_bytes; in mlx5e_ktls_tx_handle_resync_dump_comp()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dxdp.c176 wi = &sq->db.wqe_info[pi]; in mlx5e_xdpsq_get_next_pi()
177 edge_wi = wi + contig_wqebbs; in mlx5e_xdpsq_get_next_pi()
180 for (; wi < edge_wi; wi++) { in mlx5e_xdpsq_get_next_pi()
233 sq->pc += wi->num_wqebbs; in mlx5e_xdp_mpwqe_complete()
367 struct mlx5e_xdp_wqe_info *wi, in mlx5e_free_xdpsq_desc() argument
426 struct mlx5e_xdp_wqe_info *wi; in mlx5e_poll_xdpsq_cq() local
437 wi = &sq->db.wqe_info[ci]; in mlx5e_poll_xdpsq_cq()
439 sqcc += wi->num_wqebbs; in mlx5e_poll_xdpsq_cq()
480 struct mlx5e_xdp_wqe_info *wi; in mlx5e_free_xdpsq_descs() local
484 wi = &sq->db.wqe_info[ci]; in mlx5e_free_xdpsq_descs()
[all …]
A Dtxrx.h150 struct mlx5e_tx_wqe_info *wi, *edge_wi; in mlx5e_txqsq_get_next_pi() local
152 wi = &sq->db.wqe_info[pi]; in mlx5e_txqsq_get_next_pi()
153 edge_wi = wi + contig_wqebbs; in mlx5e_txqsq_get_next_pi()
156 for (; wi < edge_wi; wi++) { in mlx5e_txqsq_get_next_pi()
157 *wi = (struct mlx5e_tx_wqe_info) { in mlx5e_txqsq_get_next_pi()
205 struct mlx5e_icosq_wqe_info *wi, *edge_wi; in mlx5e_icosq_get_next_pi() local
207 wi = &sq->db.wqe_info[pi]; in mlx5e_icosq_get_next_pi()
208 edge_wi = wi + contig_wqebbs; in mlx5e_icosq_get_next_pi()
211 for (; wi < edge_wi; wi++) { in mlx5e_icosq_get_next_pi()
212 *wi = (struct mlx5e_icosq_wqe_info) { in mlx5e_icosq_get_next_pi()
/linux/drivers/video/fbdev/
A Dleo.c452 struct fb_wid_item *wi; in leo_wid_put() local
461 for (i = 0, wi = wl->wl_list; i < wl->wl_count; i++, wi++) { in leo_wid_put()
462 switch (wi->wi_type) { in leo_wid_put()
488 struct fb_wid_item wi; in leo_init_wids() local
492 wl.wl_list = &wi; in leo_init_wids()
494 wi.wi_index = 0; in leo_init_wids()
497 wi.wi_index = 1; in leo_init_wids()
498 wi.wi_values [0] = 0x30; in leo_init_wids()
500 wi.wi_index = 2; in leo_init_wids()
501 wi.wi_values [0] = 0x20; in leo_init_wids()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
A Drx.c27 struct mlx5e_mpw_info *wi, in mlx5e_xsk_skb_from_cqe_mpwrq_linear() argument
32 struct xdp_buff *xdp = wi->umr.dma_info[page_idx].xsk; in mlx5e_xsk_skb_from_cqe_mpwrq_linear()
70 __set_bit(page_idx, wi->xdp_xmit_bitmap); /* non-atomic */ in mlx5e_xsk_skb_from_cqe_mpwrq_linear()
82 struct mlx5e_wqe_frag_info *wi, in mlx5e_xsk_skb_from_cqe_linear() argument
85 struct xdp_buff *xdp = wi->di->xsk; in mlx5e_xsk_skb_from_cqe_linear()
92 WARN_ON_ONCE(wi->offset); in mlx5e_xsk_skb_from_cqe_linear()
A Dtx.c56 struct mlx5e_xdp_wqe_info *wi = &sq->db.wqe_info[pi]; in mlx5e_xsk_tx_post_err() local
59 wi->num_wqebbs = 1; in mlx5e_xsk_tx_post_err()
60 wi->num_pkts = 1; in mlx5e_xsk_tx_post_err()
A Drx.h13 struct mlx5e_mpw_info *wi,
19 struct mlx5e_wqe_frag_info *wi,
/linux/arch/mips/mm/
A Dinit.c278 struct maar_walk_info *wi = data; in maar_res_walk() local
279 struct maar_config *cfg = &wi->cfg[wi->num_cfg]; in maar_res_walk()
291 if (!WARN_ON(wi->num_cfg >= ARRAY_SIZE(wi->cfg))) in maar_res_walk()
292 wi->num_cfg++; in maar_res_walk()
301 struct maar_walk_info wi; in platform_maar_init() local
303 wi.num_cfg = 0; in platform_maar_init()
304 walk_system_ram_range(0, max_pfn, &wi, maar_res_walk); in platform_maar_init()
306 num_configured = maar_config(wi.cfg, wi.num_cfg, num_pairs); in platform_maar_init()
307 if (num_configured < wi.num_cfg) in platform_maar_init()
309 num_pairs, wi.num_cfg); in platform_maar_init()
/linux/drivers/input/serio/
A Dhp_sdc.c140 hp_sdc.wi = 0xff; in hp_sdc_status_out8()
491 if (hp_sdc.wi > 0x73 || hp_sdc.wi < 0x70 || in hp_sdc_put()
492 w7[hp_sdc.wi - 0x70] == hp_sdc.r7[hp_sdc.wi - 0x70]) { in hp_sdc_put()
501 hp_sdc.wi = 0x70 + i; in hp_sdc_put()
514 hp_sdc_data_out8(w7[hp_sdc.wi - 0x70]); in hp_sdc_put()
515 hp_sdc.r7[hp_sdc.wi - 0x70] = w7[hp_sdc.wi - 0x70]; in hp_sdc_put()
516 hp_sdc.wi++; /* write index register autoincrements */ in hp_sdc_put()
846 hp_sdc.wi = 0xff; in hp_sdc_init()
/linux/drivers/md/persistent-data/
A Ddm-array.c861 struct walk_info *wi = context; in walk_ablock() local
871 r = get_ablock(wi->info, le64_to_cpu(block_le), &block, &ab); in walk_ablock()
878 r = wi->fn(wi->context, keys[0] * max_entries + i, in walk_ablock()
879 element_at(wi->info, ab, i)); in walk_ablock()
885 unlock_ablock(wi->info, block); in walk_ablock()
893 struct walk_info wi; in dm_array_walk() local
895 wi.info = info; in dm_array_walk()
896 wi.fn = fn; in dm_array_walk()
897 wi.context = context; in dm_array_walk()
899 return dm_btree_walk(&info->btree_info, root, walk_ablock, &wi); in dm_array_walk()
/linux/drivers/staging/greybus/
A Daudio_topology.c428 int ret, wi, max, connect; in gbcodec_mixer_dapm_ctl_put() local
470 for (wi = 0; wi < wlist->num_widgets; wi++) { in gbcodec_mixer_dapm_ctl_put()
471 widget = wlist->widgets[wi]; in gbcodec_mixer_dapm_ctl_put()
758 int ret, wi, ctl_id; in gbcodec_enum_dapm_ctl_put() local
838 for (wi = 0; wi < wlist->num_widgets; wi++) { in gbcodec_enum_dapm_ctl_put()
839 widget = wlist->widgets[wi]; in gbcodec_enum_dapm_ctl_put()
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
A Dmain.c1195 struct mt76_ethtool_worker_info *wi = wi_data; in mt7915_ethtool_worker() local
1198 if (msta->vif->idx != wi->idx) in mt7915_ethtool_worker()
1201 mt76_ethtool_worker(wi, &msta->stats); in mt7915_ethtool_worker()
1212 struct mt76_ethtool_worker_info wi = { in mt7915_get_et_stats() local
1285 wi.initial_stat_idx = ei; in mt7915_get_et_stats()
1286 ieee80211_iterate_stations_atomic(hw, mt7915_ethtool_worker, &wi); in mt7915_get_et_stats()
1290 if (wi.sta_count == 0) in mt7915_get_et_stats()
1293 ei += wi.worker_stat_count; in mt7915_get_et_stats()
/linux/drivers/net/wireless/mediatek/mt76/mt7921/
A Dmain.c955 struct mt76_ethtool_worker_info *wi = wi_data; in mt7921_ethtool_worker() local
957 if (msta->vif->mt76.idx != wi->idx) in mt7921_ethtool_worker()
960 mt76_ethtool_worker(wi, &msta->stats); in mt7921_ethtool_worker()
971 struct mt76_ethtool_worker_info wi = { in mt7921_get_et_stats() local
1014 wi.initial_stat_idx = ei; in mt7921_get_et_stats()
1015 ieee80211_iterate_stations_atomic(hw, mt7921_ethtool_worker, &wi); in mt7921_get_et_stats()
1019 if (!wi.sta_count) in mt7921_get_et_stats()
1022 ei += wi.worker_stat_count; in mt7921_get_et_stats()
/linux/drivers/net/ethernet/brocade/bna/
A Dbfi_enet.h100 } __packed wi; member
104 #define wi_hdr wi.base
105 #define wi_ext_hdr wi.ext
A Dbnad.c2819 txqent->hdr.wi.vlan_tag = htons(vlan_tag); in bnad_txq_wi_prepare()
2830 txqent->hdr.wi.lso_mss = 0; in bnad_txq_wi_prepare()
2834 txqent->hdr.wi.lso_mss = htons(gso_size); in bnad_txq_wi_prepare()
2843 txqent->hdr.wi.l4_hdr_size_n_offset = in bnad_txq_wi_prepare()
2848 txqent->hdr.wi.lso_mss = 0; in bnad_txq_wi_prepare()
2869 txqent->hdr.wi.l4_hdr_size_n_offset = in bnad_txq_wi_prepare()
2883 txqent->hdr.wi.l4_hdr_size_n_offset = in bnad_txq_wi_prepare()
2900 txqent->hdr.wi.l4_hdr_size_n_offset = 0; in bnad_txq_wi_prepare()
2903 txqent->hdr.wi.flags = htons(flags); in bnad_txq_wi_prepare()
3009 txqent->hdr.wi.reserved = 0; in bnad_start_xmit()
[all …]
/linux/drivers/gpu/drm/omapdrm/dss/
A Ddispc.c2810 const struct omap_dss_writeback_info *wi, in dispc_wb_setup() argument
2830 "rot %d\n", wi->paddr, wi->p_uv_addr, in_width, in dispc_wb_setup()
2831 in_height, wi->width, wi->height, wi->fourcc, wi->rotation); in dispc_wb_setup()
2833 r = dispc_ovl_setup_common(dispc, plane, caps, wi->paddr, wi->p_uv_addr, in dispc_wb_setup()
2834 wi->buf_width, pos_x, pos_y, in_width, in_height, wi->width, in dispc_wb_setup()
2835 wi->height, wi->fourcc, wi->rotation, zorder, in dispc_wb_setup()
2836 wi->pre_mult_alpha, global_alpha, wi->rotation_type, in dispc_wb_setup()
2842 switch (wi->fourcc) { in dispc_wb_setup()
/linux/arch/s390/kernel/vdso32/
A Dvdso32.lds.S85 .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
/linux/arch/s390/kernel/vdso64/
A Dvdso64.lds.S85 .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
/linux/drivers/net/wireless/mediatek/mt76/
A Dmac80211.c1512 void mt76_ethtool_worker(struct mt76_ethtool_worker_info *wi, in mt76_ethtool_worker() argument
1515 int i, ei = wi->initial_stat_idx; in mt76_ethtool_worker()
1516 u64 *data = wi->data; in mt76_ethtool_worker()
1518 wi->sta_count++; in mt76_ethtool_worker()
1536 wi->worker_stat_count = ei - wi->initial_stat_idx; in mt76_ethtool_worker()
/linux/include/linux/
A Dhp_sdc.h274 uint8_t wi; /* current i8042 write index */ member

Completed in 94 milliseconds

12