Home
last modified time | relevance | path

Searched refs:vinfo (Results 1 – 25 of 55) sorted by relevance

123

/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/
H A Dvnic_main.c79 static void hfi1_vnic_update_stats(struct hfi1_vnic_vport_info *vinfo, in hfi1_vnic_update_stats() argument
82 struct net_device *netdev = vinfo->netdev; in hfi1_vnic_update_stats()
86 for (i = 0; i < vinfo->num_tx_q; i++) { in hfi1_vnic_update_stats()
87 struct opa_vnic_stats *qstats = &vinfo->stats[i]; in hfi1_vnic_update_stats()
88 struct rtnl_link_stats64 *qnstats = &vinfo->stats[i].netstats; in hfi1_vnic_update_stats()
101 for (i = 0; i < vinfo->num_rx_q; i++) { in hfi1_vnic_update_stats()
102 struct opa_vnic_stats *qstats = &vinfo->stats[i]; in hfi1_vnic_update_stats()
103 struct rtnl_link_stats64 *qnstats = &vinfo->stats[i].netstats; in hfi1_vnic_update_stats()
165 static void hfi1_vnic_update_tx_counters(struct hfi1_vnic_vport_info *vinfo, in hfi1_vnic_update_tx_counters() argument
169 struct opa_vnic_stats *stats = &vinfo->stats[q_idx]; in hfi1_vnic_update_tx_counters()
[all …]
H A Dvnic_sdma.c168 struct hfi1_vnic_vport_info *vinfo, in hfi1_vnic_send_dma() argument
171 struct hfi1_vnic_sdma *vnic_sdma = &vinfo->sdma[q_idx]; in hfi1_vnic_send_dma()
262 struct hfi1_vnic_vport_info *vinfo = vnic_sdma->vinfo; in hfi1_vnic_sdma_wakeup() local
265 if (__netif_subqueue_stopped(vinfo->netdev, vnic_sdma->q_idx)) in hfi1_vnic_sdma_wakeup()
266 netif_wake_subqueue(vinfo->netdev, vnic_sdma->q_idx); in hfi1_vnic_sdma_wakeup()
269 inline bool hfi1_vnic_sdma_write_avail(struct hfi1_vnic_vport_info *vinfo, in hfi1_vnic_sdma_write_avail() argument
272 struct hfi1_vnic_sdma *vnic_sdma = &vinfo->sdma[q_idx]; in hfi1_vnic_sdma_write_avail()
277 void hfi1_vnic_sdma_init(struct hfi1_vnic_vport_info *vinfo) in hfi1_vnic_sdma_init() argument
281 for (i = 0; i < vinfo->num_tx_q; i++) { in hfi1_vnic_sdma_init()
282 struct hfi1_vnic_sdma *vnic_sdma = &vinfo->sdma[i]; in hfi1_vnic_sdma_init()
[all …]
H A Dvnic.h87 struct hfi1_vnic_vport_info *vinfo; member
105 struct hfi1_vnic_vport_info *vinfo; member
141 netdev_dbg(vinfo->netdev, format, ## arg)
143 netdev_err(vinfo->netdev, format, ## arg)
145 netdev_info(vinfo->netdev, format, ## arg)
153 void hfi1_vnic_sdma_init(struct hfi1_vnic_vport_info *vinfo);
154 bool hfi1_vnic_sdma_write_avail(struct hfi1_vnic_vport_info *vinfo,
165 struct hfi1_vnic_vport_info *vinfo,
/OK3568_Linux_fs/kernel/drivers/video/fbdev/vermilion/
H A Dvermilion.c166 static void vmlfb_free_vram(struct vml_info *vinfo) in vmlfb_free_vram() argument
170 for (i = 0; i < vinfo->num_areas; ++i) { in vmlfb_free_vram()
171 vmlfb_free_vram_area(&vinfo->vram[i]); in vmlfb_free_vram()
173 vinfo->num_areas = 0; in vmlfb_free_vram()
183 static int vmlfb_alloc_vram(struct vml_info *vinfo, in vmlfb_alloc_vram() argument
194 vinfo->num_areas = 0; in vmlfb_alloc_vram()
196 va = &vinfo->vram[i]; in vmlfb_alloc_vram()
208 vinfo->vram_start = va->phys; in vmlfb_alloc_vram()
209 vinfo->vram_logical = (void __iomem *) va->logical; in vmlfb_alloc_vram()
210 vinfo->vram_contig_size = va->size; in vmlfb_alloc_vram()
[all …]
/OK3568_Linux_fs/kernel/drivers/firmware/arm_scmi/
H A Dvoltage.c63 struct voltage_info *vinfo) in scmi_protocol_attributes_get() argument
75 vinfo->num_domains = in scmi_protocol_attributes_get()
113 struct voltage_info *vinfo) in scmi_voltage_descriptors_get() argument
133 for (dom = 0; dom < vinfo->num_domains; dom++) { in scmi_voltage_descriptors_get()
146 v = vinfo->domains + dom; in scmi_voltage_descriptors_get()
221 struct voltage_info *vinfo = ph->get_priv(ph); in __scmi_voltage_get_u32() local
223 if (domain_id >= vinfo->num_domains) in __scmi_voltage_get_u32()
244 struct voltage_info *vinfo = ph->get_priv(ph); in scmi_voltage_config_set() local
247 if (domain_id >= vinfo->num_domains) in scmi_voltage_config_set()
277 struct voltage_info *vinfo = ph->get_priv(ph); in scmi_voltage_level_set() local
[all …]
/OK3568_Linux_fs/external/gstreamer-rockchip/gst/rkximage/
H A Dgstkmsallocator.c171 GstKMSMemory * kmsmem, GstVideoInfo * vinfo) in gst_kms_allocator_memory_create() argument
176 gint num_planes = GST_VIDEO_INFO_N_PLANES (vinfo); in gst_kms_allocator_memory_create()
189 fmt = gst_drm_format_from_video (GST_VIDEO_INFO_FORMAT (vinfo)); in gst_kms_allocator_memory_create()
191 arg.width = GST_VIDEO_INFO_WIDTH (vinfo); in gst_kms_allocator_memory_create()
192 h = GST_VIDEO_INFO_HEIGHT (vinfo); in gst_kms_allocator_memory_create()
210 pitch = extrapolate_stride (vinfo->finfo, i, arg.pitch); in gst_kms_allocator_memory_create()
211 GST_VIDEO_INFO_PLANE_STRIDE (vinfo, i) = pitch; in gst_kms_allocator_memory_create()
212 GST_VIDEO_INFO_PLANE_OFFSET (vinfo, i) = offs; in gst_kms_allocator_memory_create()
216 offs += pitch * GST_VIDEO_FORMAT_INFO_SCALE_HEIGHT (vinfo->finfo, i, h); in gst_kms_allocator_memory_create()
220 GST_VIDEO_INFO_PLANE_STRIDE (vinfo, i), in gst_kms_allocator_memory_create()
[all …]
H A Dgstkmsbufferpool.c40 GstVideoInfo vinfo; member
69 GstVideoInfo vinfo; in gst_kms_buffer_pool_set_config() local
83 if (!gst_video_info_from_caps (&vinfo, caps)) in gst_kms_buffer_pool_set_config()
98 priv->vinfo = vinfo; in gst_kms_buffer_pool_set_config()
143 info = &priv->vinfo; in gst_kms_buffer_pool_alloc_buffer()
H A Dgstkmsallocator.h81 GstVideoInfo *vinfo);
87 GstVideoInfo *vinfo);
/OK3568_Linux_fs/kernel/drivers/regulator/
H A Dscmi-regulator.c140 const struct scmi_voltage_info *vinfo) in scmi_config_linear_regulator_mappings() argument
150 delta_uV = (vinfo->levels_uv[SCMI_VOLTAGE_SEGMENT_HIGH] - in scmi_config_linear_regulator_mappings()
151 vinfo->levels_uv[SCMI_VOLTAGE_SEGMENT_LOW]); in scmi_config_linear_regulator_mappings()
157 vinfo->levels_uv[SCMI_VOLTAGE_SEGMENT_LOW], in scmi_config_linear_regulator_mappings()
158 vinfo->levels_uv[SCMI_VOLTAGE_SEGMENT_HIGH], in scmi_config_linear_regulator_mappings()
166 vinfo->levels_uv[SCMI_VOLTAGE_SEGMENT_LOW]; in scmi_config_linear_regulator_mappings()
172 vinfo->levels_uv[SCMI_VOLTAGE_SEGMENT_LOW]; in scmi_config_linear_regulator_mappings()
174 vinfo->levels_uv[SCMI_VOLTAGE_SEGMENT_STEP]; in scmi_config_linear_regulator_mappings()
185 const struct scmi_voltage_info *vinfo) in scmi_config_discrete_regulator_mappings() argument
188 sreg->desc.n_voltages = vinfo->num_levels; in scmi_config_discrete_regulator_mappings()
[all …]
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.20/
H A D0024-kmssink-Support-NV12_10LE40-and-NV12-NV12_10LE40-NV1.patch42 gsize in_offsets[GST_VIDEO_MAX_PLANES], GstVideoInfo * vinfo)
46 gint num_planes = GST_VIDEO_INFO_N_PLANES (vinfo);
55 + if (GST_VIDEO_INFO_IS_AFBC (vinfo)) {
232 GstVideoInfo vinfo;
238 if (!gst_video_info_from_caps (&vinfo, caps))
245 + GST_VIDEO_INFO_SET_AFBC (&vinfo);
247 + GST_VIDEO_INFO_UNSET_AFBC (&vinfo);
250 self->vinfo = vinfo;
252 if (!gst_kms_sink_calculate_display_ratio (self, &vinfo,
255 GstVideoInfo vinfo;
[all …]
H A D0038-kmssink-Support-scaling-in-modesetting.patch39 @@ -525,12 +527,6 @@ configure_mode_setting (GstKMSSink * self, GstVideoInfo * vinfo)
44 - kmsmem = (GstKMSMemory *) gst_kms_allocator_bo_alloc (self->allocator, vinfo);
52 @@ -542,9 +538,25 @@ configure_mode_setting (GstKMSSink * self, GstVideoInfo * vinfo)
62 + gst_video_info_set_format (vinfo, GST_VIDEO_INFO_FORMAT (vinfo),
70 + kmsmem = (GstKMSMemory *) gst_kms_allocator_bo_alloc (self->allocator, vinfo);
H A D0029-kmssink-Support-ignoring-aspect-ratio.patch26 @@ -1272,7 +1273,7 @@ gst_kms_sink_calculate_display_ratio (GstKMSSink * self, GstVideoInfo * vinfo,
27 video_par_n = GST_VIDEO_INFO_PAR_N (vinfo);
28 video_par_d = GST_VIDEO_INFO_PAR_D (vinfo);
72 gst_video_info_init (&sink->vinfo);
/OK3568_Linux_fs/buildroot/package/gstreamer1/gst1-plugins-bad/
H A D0025-kmssink-Support-NV12_10LE40-and-NV12-NV12_10LE40-NV1.patch34 gsize in_offsets[GST_VIDEO_MAX_PLANES], GstVideoInfo * vinfo)
38 gint num_planes = GST_VIDEO_INFO_N_PLANES (vinfo);
47 + if (GST_VIDEO_INFO_IS_AFBC (vinfo)) {
224 GstVideoInfo vinfo;
230 if (!gst_video_info_from_caps (&vinfo, caps))
237 + GST_VIDEO_INFO_SET_AFBC (&vinfo);
239 + GST_VIDEO_INFO_UNSET_AFBC (&vinfo);
242 self->vinfo = vinfo;
244 if (!gst_kms_sink_calculate_display_ratio (self, &vinfo,
247 GstVideoInfo vinfo;
[all …]
H A D0039-kmssink-Support-scaling-in-modesetting.patch39 @@ -830,12 +832,6 @@ configure_mode_setting (GstKMSSink * self, GstVideoInfo * vinfo)
44 - kmsmem = (GstKMSMemory *) gst_kms_allocator_bo_alloc (self->allocator, vinfo);
52 @@ -847,9 +843,25 @@ configure_mode_setting (GstKMSSink * self, GstVideoInfo * vinfo)
62 + gst_video_info_set_format (vinfo, GST_VIDEO_INFO_FORMAT (vinfo),
70 + kmsmem = (GstKMSMemory *) gst_kms_allocator_bo_alloc (self->allocator, vinfo);
H A D0030-kmssink-Support-ignoring-aspect-ratio.patch26 @@ -1582,7 +1583,7 @@ gst_kms_sink_calculate_display_ratio (GstKMSSink * self, GstVideoInfo * vinfo,
27 video_par_n = GST_VIDEO_INFO_PAR_N (vinfo);
28 video_par_d = GST_VIDEO_INFO_PAR_D (vinfo);
72 gst_video_info_init (&sink->vinfo);
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22/
H A D0025-kmssink-Support-NV12_10LE40-and-NV12-NV12_10LE40-NV1.patch34 gsize in_offsets[GST_VIDEO_MAX_PLANES], GstVideoInfo * vinfo)
38 gint num_planes = GST_VIDEO_INFO_N_PLANES (vinfo);
47 + if (GST_VIDEO_INFO_IS_AFBC (vinfo)) {
224 GstVideoInfo vinfo;
230 if (!gst_video_info_from_caps (&vinfo, caps))
237 + GST_VIDEO_INFO_SET_AFBC (&vinfo);
239 + GST_VIDEO_INFO_UNSET_AFBC (&vinfo);
242 self->vinfo = vinfo;
244 if (!gst_kms_sink_calculate_display_ratio (self, &vinfo,
247 GstVideoInfo vinfo;
[all …]
H A D0039-kmssink-Support-scaling-in-modesetting.patch39 @@ -830,12 +832,6 @@ configure_mode_setting (GstKMSSink * self, GstVideoInfo * vinfo)
44 - kmsmem = (GstKMSMemory *) gst_kms_allocator_bo_alloc (self->allocator, vinfo);
52 @@ -847,9 +843,25 @@ configure_mode_setting (GstKMSSink * self, GstVideoInfo * vinfo)
62 + gst_video_info_set_format (vinfo, GST_VIDEO_INFO_FORMAT (vinfo),
70 + kmsmem = (GstKMSMemory *) gst_kms_allocator_bo_alloc (self->allocator, vinfo);
H A D0030-kmssink-Support-ignoring-aspect-ratio.patch26 @@ -1582,7 +1583,7 @@ gst_kms_sink_calculate_display_ratio (GstKMSSink * self, GstVideoInfo * vinfo,
27 video_par_n = GST_VIDEO_INFO_PAR_N (vinfo);
28 video_par_d = GST_VIDEO_INFO_PAR_D (vinfo);
72 gst_video_info_init (&sink->vinfo);
/OK3568_Linux_fs/kernel/fs/nilfs2/
H A Ddat.c431 struct nilfs_vinfo *vinfo = buf; in nilfs_dat_get_vinfo() local
438 ret = nilfs_palloc_get_entry_block(dat, vinfo->vi_vblocknr, in nilfs_dat_get_vinfo()
444 first = vinfo->vi_vblocknr; in nilfs_dat_get_vinfo()
449 j < nvi && vinfo->vi_vblocknr >= first && in nilfs_dat_get_vinfo()
450 vinfo->vi_vblocknr <= last; in nilfs_dat_get_vinfo()
451 j++, n++, vinfo = (void *)vinfo + visz) { in nilfs_dat_get_vinfo()
453 dat, vinfo->vi_vblocknr, entry_bh, kaddr); in nilfs_dat_get_vinfo()
454 vinfo->vi_start = le64_to_cpu(entry->de_start); in nilfs_dat_get_vinfo()
455 vinfo->vi_end = le64_to_cpu(entry->de_end); in nilfs_dat_get_vinfo()
456 vinfo->vi_blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_get_vinfo()
/OK3568_Linux_fs/kernel/net/bridge/
H A Dbr_netlink.c259 struct bridge_vlan_info vinfo; in br_fill_ifvlaninfo_range() local
263 vinfo.vid = vid_start; in br_fill_ifvlaninfo_range()
264 vinfo.flags = flags | BRIDGE_VLAN_INFO_RANGE_BEGIN; in br_fill_ifvlaninfo_range()
266 sizeof(vinfo), &vinfo)) in br_fill_ifvlaninfo_range()
269 vinfo.vid = vid_end; in br_fill_ifvlaninfo_range()
270 vinfo.flags = flags | BRIDGE_VLAN_INFO_RANGE_END; in br_fill_ifvlaninfo_range()
272 sizeof(vinfo), &vinfo)) in br_fill_ifvlaninfo_range()
275 vinfo.vid = vid_start; in br_fill_ifvlaninfo_range()
276 vinfo.flags = flags; in br_fill_ifvlaninfo_range()
278 sizeof(vinfo), &vinfo)) in br_fill_ifvlaninfo_range()
[all …]
H A Dbr_vlan_options.c110 struct bridge_vlan_info *vinfo; in br_vlan_modify_tunnel() local
143 vinfo = nla_data(tb[BRIDGE_VLANDB_ENTRY_INFO]); in br_vlan_modify_tunnel()
148 tun_id += v->vid - vinfo->vid; in br_vlan_modify_tunnel()
/OK3568_Linux_fs/external/xserver/hw/dmx/
H A Ddmx_glxvisuals.c535 XVisualInfo *vinfo = NULL; in GetGLXVisualConfigsFromFBConfigs() local
539 vinfo = &visuals[j]; in GetGLXVisualConfigsFromFBConfigs()
543 if (!vinfo) in GetGLXVisualConfigsFromFBConfigs()
547 if (vinfo->depth == 16 && in GetGLXVisualConfigsFromFBConfigs()
548 vinfo->class != TrueColor && vinfo->class != DirectColor) { in GetGLXVisualConfigsFromFBConfigs()
559 if (glxConfigs[j].vid == vinfo->visualid) in GetGLXVisualConfigsFromFBConfigs()
571 cfg->class = vinfo->class; in GetGLXVisualConfigsFromFBConfigs()
587 if (vinfo->class == TrueColor || vinfo->class == DirectColor) { in GetGLXVisualConfigsFromFBConfigs()
595 cfg->bufferSize = vinfo->depth; in GetGLXVisualConfigsFromFBConfigs()
/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Dit6616.c512 struct video_info vinfo; member
1632 u32 pclk = it6616->vinfo.pclk / 1000; in it6616_mipitx_output_setup()
2038 it6616->vinfo.h_active = h_active; in it6616_hdmi_rx_get_video_info()
2039 it6616->vinfo.h_total = h_total; in it6616_hdmi_rx_get_video_info()
2040 it6616->vinfo.h_front_porch = h_front_porch; in it6616_hdmi_rx_get_video_info()
2041 it6616->vinfo.h_sync_w = h_sync_w; in it6616_hdmi_rx_get_video_info()
2042 it6616->vinfo.h_back_porch = (h_total - h_active - h_front_porch - h_sync_w); in it6616_hdmi_rx_get_video_info()
2043 it6616->vinfo.v_active = v_active; in it6616_hdmi_rx_get_video_info()
2044 it6616->vinfo.v_total = v_total; in it6616_hdmi_rx_get_video_info()
2045 it6616->vinfo.v_front_porch = v_front_porch; in it6616_hdmi_rx_get_video_info()
[all …]
/OK3568_Linux_fs/external/gstreamer-rockchip/gst/rockchipmpp/
H A Dgstmpp.c212 gst_mpp_rga_info_from_video_info (rga_info_t * info, GstVideoInfo * vinfo) in gst_mpp_rga_info_from_video_info() argument
214 GstVideoFormat format = GST_VIDEO_INFO_FORMAT (vinfo); in gst_mpp_rga_info_from_video_info()
215 guint width = GST_VIDEO_INFO_WIDTH (vinfo); in gst_mpp_rga_info_from_video_info()
216 guint height = GST_VIDEO_INFO_HEIGHT (vinfo); in gst_mpp_rga_info_from_video_info()
217 guint hstride = GST_MPP_VIDEO_INFO_HSTRIDE (vinfo); in gst_mpp_rga_info_from_video_info()
218 guint vstride = GST_MPP_VIDEO_INFO_VSTRIDE (vinfo); in gst_mpp_rga_info_from_video_info()
/OK3568_Linux_fs/buildroot/package/qt5/qt5base/
H A D0014-linuxfb-Support-rotate.patch135 mDepth = determineDepth(vinfo);
137 QRect geometry = determineGeometry(vinfo, userGeometry);
146 mFormat = determineFormat(vinfo, mDepth);
147 - mPhysicalSize = determinePhysicalSize(vinfo, userMmSize, geometry.size());
148 + mPhysicalSize = determinePhysicalSize(vinfo, userMmSize, originalGeometry.size());

123