Searched refs:max_num (Results 1 – 8 of 8) sorted by relevance
/drivers/net/wireless/realtek/rtw88/ |
D | pci.h | 241 u32 max_num; in max_num_of_tx_queue() local 245 max_num = RTK_BEQ_TX_DESC_NUM; in max_num_of_tx_queue() 248 max_num = 1; in max_num_of_tx_queue() 251 max_num = RTK_DEFAULT_TX_DESC_NUM; in max_num_of_tx_queue() 255 return max_num; in max_num_of_tx_queue()
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_binding.c | 729 u32 max_num) in vmw_collect_view_ids() argument 736 for (i = 0; i < max_num; ++i, ++biv) { in vmw_collect_view_ids() 763 u32 max_num) in vmw_collect_dirty_view_ids() argument 770 i = find_first_bit(dirty, max_num); in vmw_collect_dirty_view_ids() 775 for (; i < max_num; ++i, ++biv) { in vmw_collect_dirty_view_ids() 781 next_bit = find_next_bit(dirty, max_num, i + 1); in vmw_collect_dirty_view_ids() 782 if (next_bit >= max_num) in vmw_collect_dirty_view_ids() 886 u32 max_num) in vmw_collect_so_targets() argument 894 for (i = 0; i < max_num; ++i, ++biso, ++so_buffer, in vmw_collect_so_targets() 990 u32 max_num) in vmw_collect_dirty_vbs() argument [all …]
|
/drivers/vhost/ |
D | vringh.c | 221 unsigned int flag, new_num = (iov->max_num & ~VRINGH_IOV_ALLOCATED) * 2; in resize_iovec() 226 flag = (iov->max_num & VRINGH_IOV_ALLOCATED); in resize_iovec() 234 iov->max_num * sizeof(struct iovec)); in resize_iovec() 241 iov->max_num = (new_num | flag); in resize_iovec() 403 if (unlikely(iov->used == (iov->max_num & ~VRINGH_IOV_ALLOCATED))) { in __vringh_iov() 729 BUILD_BUG_ON(offsetof(struct vringh_kiov, max_num) != in vringh_getdesc_user() 730 offsetof(struct vringh_iov, max_num)); in vringh_getdesc_user()
|
/drivers/soc/mediatek/ |
D | mtk-scpsys.c | 210 static void scpsys_clk_disable(struct clk *clk[], int max_num) in scpsys_clk_disable() argument 214 for (i = max_num - 1; i >= 0; i--) in scpsys_clk_disable() 218 static int scpsys_clk_enable(struct clk *clk[], int max_num) in scpsys_clk_enable() argument 222 for (i = 0; i < max_num && clk[i]; i++) { in scpsys_clk_enable()
|
/drivers/i2c/ |
D | i2c-core-base.c | 2014 int max_num = q->max_num_msgs, i; in i2c_check_for_quirks() local 2018 max_num = 2; in i2c_check_for_quirks() 2041 if (i2c_quirk_exceeded(num, max_num)) in i2c_check_for_quirks()
|
/drivers/net/wireless/quantenna/qtnfmac/ |
D | qlink.h | 1519 __le16 max_num; member
|
D | commands.c | 1101 limits[i].max = le16_to_cpu(lim->max_num); in qtnf_parse_variable_mac_info()
|
/drivers/infiniband/hw/mlx5/ |
D | main.c | 1067 resp.cqe_comp_caps.max_num = in mlx5_ib_query_device()
|