Home
last modified time | relevance | path

Searched refs:layer (Results 1 – 25 of 1077) sorted by relevance

12345678910>>...44

/openbmc/openbmc/poky/scripts/
H A Dyocto-check-layer35 def test_layer(td, layer, test_software_layer_signatures): argument
37 logger.info("Starting to analyze: %s" % layer['name'])
40 …tc = CheckLayerTestContext(td=td, logger=logger, layer=layer, test_software_layer_signatures=test_…
44 def dump_layer_debug(layer): argument
45 logger.debug("Found layer %s (%s)" % (layer["name"], layer["path"]))
46 collections = layer.get("collections", {})
48 logger.debug("%s collections: %s" % (layer["name"], ", ".join(collections)))
127 for layer in layers:
128 if layer['type'] == LayerType.ERROR_BSP_DISTRO:
131 % layer['name'])
[all …]
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_qos.c79 static u32 sparx5_lg_get_leak_time(struct sparx5 *sparx5, u32 layer, u32 group) in sparx5_lg_get_leak_time() argument
83 value = spx5_rd(sparx5, HSCH_HSCH_TIMER_CFG(layer, group)); in sparx5_lg_get_leak_time()
87 static void sparx5_lg_set_leak_time(struct sparx5 *sparx5, u32 layer, u32 group, in sparx5_lg_set_leak_time() argument
91 HSCH_HSCH_TIMER_CFG(layer, group)); in sparx5_lg_set_leak_time()
94 static u32 sparx5_lg_get_first(struct sparx5 *sparx5, u32 layer, u32 group) in sparx5_lg_get_first() argument
98 value = spx5_rd(sparx5, HSCH_HSCH_LEAK_CFG(layer, group)); in sparx5_lg_get_first()
102 static u32 sparx5_lg_get_next(struct sparx5 *sparx5, u32 layer, u32 group, in sparx5_lg_get_next() argument
112 static u32 sparx5_lg_get_last(struct sparx5 *sparx5, u32 layer, u32 group) in sparx5_lg_get_last() argument
116 itr = sparx5_lg_get_first(sparx5, layer, group); in sparx5_lg_get_last()
119 next = sparx5_lg_get_next(sparx5, layer, group, itr); in sparx5_lg_get_last()
[all …]
/openbmc/linux/drivers/media/dvb-frontends/
H A Dmb86a20s.c377 unsigned layer) in mb86a20s_get_modulation() argument
386 if (layer >= ARRAY_SIZE(reg)) in mb86a20s_get_modulation()
388 rc = mb86a20s_writereg(state, 0x6d, reg[layer]); in mb86a20s_get_modulation()
409 unsigned layer) in mb86a20s_get_fec() argument
419 if (layer >= ARRAY_SIZE(reg)) in mb86a20s_get_fec()
421 rc = mb86a20s_writereg(state, 0x6d, reg[layer]); in mb86a20s_get_fec()
444 unsigned layer) in mb86a20s_get_interleaving() argument
457 if (layer >= ARRAY_SIZE(reg)) in mb86a20s_get_interleaving()
459 rc = mb86a20s_writereg(state, 0x6d, reg[layer]); in mb86a20s_get_interleaving()
470 unsigned layer) in mb86a20s_get_segment_count() argument
[all …]
/openbmc/linux/drivers/gpu/drm/logicvc/
H A Dlogicvc_layer.c87 struct logicvc_layer *layer = logicvc_layer(drm_plane); in logicvc_plane_atomic_check() local
111 ret = logicvc_layer_buffer_find_setup(logicvc, layer, new_state, in logicvc_plane_atomic_check()
123 layer->index != (logicvc->config.layers_count - 1) && in logicvc_plane_atomic_check()
140 struct logicvc_layer *layer = logicvc_layer(drm_plane); in logicvc_plane_atomic_update() local
149 u32 index = layer->index; in logicvc_plane_atomic_update()
167 logicvc_layer_buffer_find_setup(logicvc, layer, new_state, in logicvc_plane_atomic_update()
191 if (layer->config.alpha_mode == LOGICVC_LAYER_ALPHA_LAYER) { in logicvc_plane_atomic_update()
196 switch (layer->config.depth) { in logicvc_plane_atomic_update()
201 if (layer->config.colorspace == in logicvc_plane_atomic_update()
237 struct logicvc_layer *layer = logicvc_layer(drm_plane); in logicvc_plane_atomic_disable() local
[all …]
/openbmc/linux/drivers/gpu/drm/xlnx/
H A Dzynqmp_disp.c367 static bool zynqmp_disp_layer_is_video(const struct zynqmp_disp_layer *layer) in zynqmp_disp_layer_is_video() argument
369 return layer->id == ZYNQMP_DPSUB_LAYER_VID; in zynqmp_disp_layer_is_video()
381 struct zynqmp_disp_layer *layer, in zynqmp_disp_avbuf_set_format() argument
388 val &= zynqmp_disp_layer_is_video(layer) in zynqmp_disp_avbuf_set_format()
395 unsigned int reg = zynqmp_disp_layer_is_video(layer) in zynqmp_disp_avbuf_set_format()
516 struct zynqmp_disp_layer *layer) in zynqmp_disp_avbuf_enable_video() argument
521 if (zynqmp_disp_layer_is_video(layer)) { in zynqmp_disp_avbuf_enable_video()
523 if (layer->mode == ZYNQMP_DPSUB_LAYER_NONLIVE) in zynqmp_disp_avbuf_enable_video()
530 if (layer->mode == ZYNQMP_DPSUB_LAYER_NONLIVE) in zynqmp_disp_avbuf_enable_video()
546 struct zynqmp_disp_layer *layer) in zynqmp_disp_avbuf_disable_video() argument
[all …]
/openbmc/linux/drivers/gpu/drm/sun4i/
H A Dsun4i_layer.c69 struct sun4i_layer *layer = plane_to_sun4i_layer(plane); in sun4i_backend_layer_atomic_disable() local
70 struct sun4i_backend *backend = layer->backend; in sun4i_backend_layer_atomic_disable()
72 sun4i_backend_layer_enable(backend, layer->id, false); in sun4i_backend_layer_atomic_disable()
89 struct sun4i_layer *layer = plane_to_sun4i_layer(plane); in sun4i_backend_layer_atomic_update() local
90 struct sun4i_backend *backend = layer->backend; in sun4i_backend_layer_atomic_update()
93 sun4i_backend_cleanup_layer(backend, layer->id); in sun4i_backend_layer_atomic_update()
101 sun4i_backend_update_layer_frontend(backend, layer->id, in sun4i_backend_layer_atomic_update()
105 sun4i_backend_update_layer_formats(backend, layer->id, plane); in sun4i_backend_layer_atomic_update()
106 sun4i_backend_update_layer_buffer(backend, layer->id, plane); in sun4i_backend_layer_atomic_update()
109 sun4i_backend_update_layer_coord(backend, layer->id, plane); in sun4i_backend_layer_atomic_update()
[all …]
H A Dsun8i_ui_layer.h17 #define SUN8I_MIXER_CHAN_UI_LAYER_ATTR(base, layer) \ argument
18 ((base) + 0x20 * (layer) + 0x0)
19 #define SUN8I_MIXER_CHAN_UI_LAYER_SIZE(base, layer) \ argument
20 ((base) + 0x20 * (layer) + 0x4)
21 #define SUN8I_MIXER_CHAN_UI_LAYER_COORD(base, layer) \ argument
22 ((base) + 0x20 * (layer) + 0x8)
23 #define SUN8I_MIXER_CHAN_UI_LAYER_PITCH(base, layer) \ argument
24 ((base) + 0x20 * (layer) + 0xc)
25 #define SUN8I_MIXER_CHAN_UI_LAYER_TOP_LADDR(base, layer) \ argument
26 ((base) + 0x20 * (layer) + 0x10)
[all …]
H A Dsun8i_ui_layer.c235 struct sun8i_ui_layer *layer = plane_to_sun8i_ui_layer(plane); in sun8i_ui_layer_atomic_check() local
251 if (layer->mixer->cfg->scaler_mask & BIT(layer->channel)) { in sun8i_ui_layer_atomic_check()
267 struct sun8i_ui_layer *layer = plane_to_sun8i_ui_layer(plane); in sun8i_ui_layer_atomic_disable() local
269 struct sun8i_mixer *mixer = layer->mixer; in sun8i_ui_layer_atomic_disable()
271 sun8i_ui_layer_enable(mixer, layer->channel, layer->overlay, false, 0, in sun8i_ui_layer_atomic_disable()
282 struct sun8i_ui_layer *layer = plane_to_sun8i_ui_layer(plane); in sun8i_ui_layer_atomic_update() local
285 struct sun8i_mixer *mixer = layer->mixer; in sun8i_ui_layer_atomic_update()
288 sun8i_ui_layer_enable(mixer, layer->channel, in sun8i_ui_layer_atomic_update()
289 layer->overlay, false, 0, old_zpos); in sun8i_ui_layer_atomic_update()
293 sun8i_ui_layer_update_coord(mixer, layer->channel, in sun8i_ui_layer_atomic_update()
[all …]
H A Dsun8i_vi_layer.h11 #define SUN8I_MIXER_CHAN_VI_LAYER_ATTR(base, layer) \ argument
12 ((base) + 0x30 * (layer) + 0x0)
13 #define SUN8I_MIXER_CHAN_VI_LAYER_SIZE(base, layer) \ argument
14 ((base) + 0x30 * (layer) + 0x4)
15 #define SUN8I_MIXER_CHAN_VI_LAYER_COORD(base, layer) \ argument
16 ((base) + 0x30 * (layer) + 0x8)
17 #define SUN8I_MIXER_CHAN_VI_LAYER_PITCH(base, layer, plane) \ argument
18 ((base) + 0x30 * (layer) + 0xc + 4 * (plane))
19 #define SUN8I_MIXER_CHAN_VI_LAYER_TOP_LADDR(base, layer, plane) \ argument
20 ((base) + 0x30 * (layer) + 0x18 + 4 * (plane))
H A Dsun8i_csc.c143 static void sun8i_de3_ccsc_set_coefficients(struct regmap *map, int layer, in sun8i_de3_ccsc_set_coefficients() argument
156 addr = SUN50I_MIXER_BLEND_CSC_COEFF(DE3_BLD_BASE, layer, 0); in sun8i_de3_ccsc_set_coefficients()
163 layer, in sun8i_de3_ccsc_set_coefficients()
167 layer, in sun8i_de3_ccsc_set_coefficients()
171 layer, i); in sun8i_de3_ccsc_set_coefficients()
193 static void sun8i_de3_ccsc_enable(struct regmap *map, int layer, bool enable) in sun8i_de3_ccsc_enable() argument
197 mask = SUN50I_MIXER_BLEND_CSC_CTL_EN(layer); in sun8i_de3_ccsc_enable()
208 void sun8i_csc_set_ccsc_coefficients(struct sun8i_mixer *mixer, int layer, in sun8i_csc_set_ccsc_coefficients() argument
216 sun8i_de3_ccsc_set_coefficients(mixer->engine.regs, layer, in sun8i_csc_set_ccsc_coefficients()
221 base = ccsc_base[mixer->cfg->ccsc][layer]; in sun8i_csc_set_ccsc_coefficients()
[all …]
H A Dsun8i_vi_layer.c369 struct sun8i_vi_layer *layer = plane_to_sun8i_vi_layer(plane); in sun8i_vi_layer_atomic_check() local
385 if (layer->mixer->cfg->scaler_mask & BIT(layer->channel)) { in sun8i_vi_layer_atomic_check()
401 struct sun8i_vi_layer *layer = plane_to_sun8i_vi_layer(plane); in sun8i_vi_layer_atomic_disable() local
403 struct sun8i_mixer *mixer = layer->mixer; in sun8i_vi_layer_atomic_disable()
405 sun8i_vi_layer_enable(mixer, layer->channel, layer->overlay, false, 0, in sun8i_vi_layer_atomic_disable()
416 struct sun8i_vi_layer *layer = plane_to_sun8i_vi_layer(plane); in sun8i_vi_layer_atomic_update() local
419 struct sun8i_mixer *mixer = layer->mixer; in sun8i_vi_layer_atomic_update()
422 sun8i_vi_layer_enable(mixer, layer->channel, in sun8i_vi_layer_atomic_update()
423 layer->overlay, false, 0, old_zpos); in sun8i_vi_layer_atomic_update()
427 sun8i_vi_layer_update_coord(mixer, layer->channel, in sun8i_vi_layer_atomic_update()
[all …]
/openbmc/openbmc/poky/scripts/lib/checklayer/
H A D__init__.py83 layer = {}
86 layer['name'] = layer_name
87 layer['path'] = layer_path
88 layer['conf'] = {}
91 layer['type'] = LayerType.ERROR_NO_LAYER_CONF
92 return layer
110 layer['collections'] = _get_layer_collections(layer['path'])
112 if layer_name == "meta" and "core" in layer['collections']:
113 layer['type'] = LayerType.CORE
114 layer['conf']['machines'] = machines
[all …]
/openbmc/openbmc/meta-openembedded/meta-xfce/conf/
H A Dlayer.conf8 BBFILE_PATTERN_xfce-layer := "^${LAYERDIR}/"
9 BBFILE_PRIORITY_xfce-layer = "5"
13 LAYERVERSION_xfce-layer = "1"
15 LAYERDEPENDS_xfce-layer = "core"
16 LAYERDEPENDS_xfce-layer += "openembedded-layer"
17 LAYERDEPENDS_xfce-layer += "gnome-layer"
18 LAYERDEPENDS_xfce-layer += "multimedia-layer"
19 LAYERDEPENDS_xfce-layer += "meta-python"
20 LAYERDEPENDS_xfce-layer += "networking-layer"
22 LAYERSERIES_COMPAT_xfce-layer = "styhead walnascar"
/openbmc/linux/net/caif/
H A Dcaif_dev.c34 struct cflayer layer; member
160 caifd->layer.up-> in caif_flow_cb()
161 ctrlcmd(caifd->layer.up, in caif_flow_cb()
163 caifd->layer.id); in caif_flow_cb()
167 static int transmit(struct cflayer *layer, struct cfpkt *pkt) in transmit() argument
171 container_of(layer, struct caif_device_entry, layer); in transmit()
229 caifd->layer.up->ctrlcmd(caifd->layer.up, in transmit()
231 caifd->layer.id); in transmit()
258 if (!caifd || !caifd->layer.up || !caifd->layer.up->receive || in receive()
269 err = caifd->layer.up->receive(caifd->layer.up, pkt); in receive()
[all …]
H A Dcfserl.c22 struct cflayer layer; member
34 void cfserl_release(struct cflayer *layer) in cfserl_release() argument
36 kfree(layer); in cfserl_release()
44 caif_assert(offsetof(struct cfserl, layer) == 0); in cfserl_create()
45 this->layer.receive = cfserl_receive; in cfserl_create()
46 this->layer.transmit = cfserl_transmit; in cfserl_create()
47 this->layer.ctrlcmd = cfserl_ctrlcmd; in cfserl_create()
50 snprintf(this->layer.name, CAIF_LAYER_NAME_SZ, "ser1"); in cfserl_create()
51 return &this->layer; in cfserl_create()
157 ret = layr->layer.up->receive(layr->layer.up, pkt); in cfserl_receive()
[all …]
H A Dcaif_usb.c32 struct cflayer layer; member
54 struct cfusbl *usbl = container_of(layr, struct cfusbl, layer); in cfusbl_transmit()
92 caif_assert(offsetof(struct cfusbl, layer) == 0); in cfusbl_create()
94 memset(&this->layer, 0, sizeof(this->layer)); in cfusbl_create()
95 this->layer.receive = cfusbl_receive; in cfusbl_create()
96 this->layer.transmit = cfusbl_transmit; in cfusbl_create()
97 this->layer.ctrlcmd = cfusbl_ctrlcmd; in cfusbl_create()
98 snprintf(this->layer.name, CAIF_LAYER_NAME_SZ, "usb%d", phyid); in cfusbl_create()
99 this->layer.id = phyid; in cfusbl_create()
118 static void cfusbl_release(struct cflayer *layer) in cfusbl_release() argument
[all …]
H A Dcfsrvl.c25 #define container_obj(layr) container_of(layr, struct cfsrvl, layer)
121 info->channel_id = service->layer.id; in cfservl_modemcmd()
142 info->channel_id = service->layer.id; in cfservl_modemcmd()
154 static void cfsrvl_release(struct cflayer *layer) in cfsrvl_release() argument
156 struct cfsrvl *service = container_of(layer, struct cfsrvl, layer); in cfsrvl_release()
165 caif_assert(offsetof(struct cfsrvl, layer) == 0); in cfsrvl_init()
169 service->layer.id = channel_id; in cfsrvl_init()
170 service->layer.ctrlcmd = cfservl_ctrlcmd; in cfsrvl_init()
171 service->layer.modemcmd = cfservl_modemcmd; in cfsrvl_init()
186 u8 cfsrvl_getphyid(struct cflayer *layer) in cfsrvl_getphyid() argument
[all …]
/openbmc/openbmc/poky/documentation/dev-manual/
H A Dlayers.rst11 ":ref:`overview-manual/yp-intro:the yocto project layer model`"
23 layer-creation tools, see the
24 ":ref:`bsp-guide/bsp:creating a new bsp layer using the \`\`bitbake-layers\`\` script`"
26 …Guide and the ":ref:`dev-manual/layers:creating a general layer using the \`\`bitbake-layers\`\` s…
29 Follow these general steps to create your layer without using tools:
31 #. *Check Existing Layers:* Before creating a new layer, you should be
32 sure someone has not already created a layer containing the Metadata
35 the Yocto Project. You could find a layer that is identical or close
38 #. *Create a Directory:* Create the directory for your layer. When you
39 create the layer, be sure to create the directory in an area not
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Dlayerappend.py61 layer = os.path.join(corebase, "meta-layertest" + l)
62 self.assertFalse(os.path.exists(layer))
63 os.mkdir(layer)
64 os.mkdir(layer + "/conf")
65 with open(layer + "/conf/layer.conf", "w") as f:
67 os.mkdir(layer + "/recipes-test")
69 with open(layer + "/recipes-test/layerappendtest.bb", "w") as f:
72 with open(layer + "/recipes-test/layerappendtest.bbappend", "w") as f:
74 os.mkdir(layer + "/recipes-test/layerappendtest")
75 with open(layer + "/recipes-test/layerappendtest/appendtest.txt", "w") as f:
[all …]
/openbmc/linux/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_dc.h276 struct atmel_hlcdc_layer layer; member
286 atmel_hlcdc_layer_to_plane(struct atmel_hlcdc_layer *layer) in atmel_hlcdc_layer_to_plane() argument
288 return container_of(layer, struct atmel_hlcdc_plane, layer); in atmel_hlcdc_layer_to_plane()
351 static inline void atmel_hlcdc_layer_write_reg(struct atmel_hlcdc_layer *layer, in atmel_hlcdc_layer_write_reg() argument
354 regmap_write(layer->regmap, layer->desc->regs_offset + reg, val); in atmel_hlcdc_layer_write_reg()
357 static inline u32 atmel_hlcdc_layer_read_reg(struct atmel_hlcdc_layer *layer, in atmel_hlcdc_layer_read_reg() argument
362 regmap_read(layer->regmap, layer->desc->regs_offset + reg, &val); in atmel_hlcdc_layer_read_reg()
367 static inline void atmel_hlcdc_layer_write_cfg(struct atmel_hlcdc_layer *layer, in atmel_hlcdc_layer_write_cfg() argument
370 atmel_hlcdc_layer_write_reg(layer, in atmel_hlcdc_layer_write_cfg()
371 layer->desc->cfgs_offset + in atmel_hlcdc_layer_write_cfg()
[all …]
/openbmc/linux/Documentation/networking/caif/
H A Dlinux_caif.rst66 CAIF Core layer implements the CAIF protocol as defined by ST-Ericsson.
68 each layer described in the specification is implemented as a separate layer.
78 - Layered architecture (a la Streams), each layer in the CAIF
80 - Clients must call configuration function to add PHY layer.
81 - Clients must implement CAIF layer to consume/produce
84 Client layer.
100 - CFCNFG CAIF Configuration layer. Configures the CAIF Protocol
104 - CFCTRL CAIF Control layer. Encodes and Decodes control messages
111 - CFVEI CAIF VEI layer. Handles CAIF AT Channels on VEI (Virtual
112 External Interface). This layer encodes/decodes VEI frames.
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/
H A Dapi.py235 def scan_layer_content(layer,layer_version): argument
237 if os.path.isdir(layer.local_source_dir):
240 recipes_list = glob.glob(os.path.join(layer.local_source_dir, 'recipes-*/*/*.bb'))
255 ro.summary = 'Recipe %s from layer %s' % (recipe_name,layer.name)
292 'name': layer_version.layer.name,
296 'vcs_url': layer_version.layer.vcs_url,
297 'local_source_dir': layer_version.layer.local_source_dir,
302 "name": dep.layer.name,
305 "vcs_url": dep.layer.vcs_url,
347 layer_version.layer.vcs_url = request.POST["vcs_url"]
[all …]
/openbmc/openbmc/poky/bitbake/lib/layerindexlib/tests/testdata/layer2/conf/
H A Dlayer.conf9 BBFILE_PATTERN_networking-layer := "^${LAYERDIR}/"
10 BBFILE_PRIORITY_networking-layer = "5"
14 LAYERVERSION_networking-layer = "1"
16 LAYERDEPENDS_networking-layer = "core"
17 LAYERDEPENDS_networking-layer += "openembedded-layer"
18 LAYERDEPENDS_networking-layer += "meta-python"
20 LAYERSERIES_COMPAT_networking-layer = "sumo"
/openbmc/openbmc/meta-phosphor/conf/
H A Dlayer.conf9 BBFILE_PATTERN_phosphor-layer := "^${LAYERDIR}/"
10 LAYERVERSION_phosphor-layer = "1"
11 LAYERDEPENDS_phosphor-layer = "core"
12 LAYERDEPENDS_phosphor-layer += "openembedded-layer"
13 LAYERDEPENDS_phosphor-layer += "meta-python"
14 LAYERDEPENDS_phosphor-layer += "networking-layer"
15 LAYERSERIES_COMPAT_phosphor-layer = "scarthgap styhead"
/openbmc/openbmc/poky/scripts/lib/checklayer/cases/
H A Dcommon.py15 if self.tc.layer['type'] == LayerType.CORE:
19 readme_files = glob.glob(os.path.join(self.tc.layer['path'], '[Rr][Ee][Aa][Dd][Mm][Ee]*'))
49 directories = [self.tc.layer["path"]]
66 if self.tc.layer["type"] == LayerType.CORE:
76 check_command('Layer %s failed to parse.' % self.tc.layer['name'],
80 check_command('Layer %s failed to show environment.' % self.tc.layer['name'],
104 self.tc.layer['name'])
113 for dirpath, dirs, files in os.walk(self.tc.layer['path']):
123 if self.tc.layer['type'] == LayerType.SOFTWARE and \
126 % self.tc.layer['name'])
[all …]

12345678910>>...44