brx               273 drivers/i2c/busses/i2c-qup.c 	struct			qup_i2c_bam brx;
brx               620 drivers/i2c/busses/i2c-qup.c 	if (qup->brx.dma)
brx               621 drivers/i2c/busses/i2c-qup.c 		dma_release_channel(qup->brx.dma);
brx               623 drivers/i2c/busses/i2c-qup.c 	qup->brx.dma = NULL;
brx               640 drivers/i2c/busses/i2c-qup.c 	if (!qup->brx.dma) {
brx               641 drivers/i2c/busses/i2c-qup.c 		qup->brx.dma = dma_request_slave_channel_reason(qup->dev, "rx");
brx               642 drivers/i2c/busses/i2c-qup.c 		if (IS_ERR(qup->brx.dma)) {
brx               644 drivers/i2c/busses/i2c-qup.c 			err = PTR_ERR(qup->brx.dma);
brx               645 drivers/i2c/busses/i2c-qup.c 			qup->brx.dma = NULL;
brx               674 drivers/i2c/busses/i2c-qup.c 			ret = qup_sg_set_buf(&qup->brx.sg[qup->brx.sg_cnt++],
brx               675 drivers/i2c/busses/i2c-qup.c 					     &qup->brx.tag.start[0],
brx               681 drivers/i2c/busses/i2c-qup.c 			ret = qup_sg_set_buf(&qup->brx.sg[qup->brx.sg_cnt++],
brx               733 drivers/i2c/busses/i2c-qup.c 	u32 tx_cnt = qup->btx.sg_cnt, rx_cnt = qup->brx.sg_cnt;
brx               742 drivers/i2c/busses/i2c-qup.c 		ret = qup_sg_set_buf(&qup->brx.sg[rx_cnt++],
brx               743 drivers/i2c/busses/i2c-qup.c 				     &qup->brx.tag.start[0],
brx               778 drivers/i2c/busses/i2c-qup.c 		rxd = dmaengine_prep_slave_sg(qup->brx.dma, qup->brx.sg,
brx               798 drivers/i2c/busses/i2c-qup.c 		dma_async_issue_pending(qup->brx.dma);
brx               827 drivers/i2c/busses/i2c-qup.c 		dma_unmap_sg(qup->dev, qup->brx.sg, rx_cnt,
brx               836 drivers/i2c/busses/i2c-qup.c 	qup->brx.sg_cnt = 0;
brx               886 drivers/i2c/busses/i2c-qup.c 		    qup->brx.sg_cnt > qup->max_xfer_sg_len ||
brx              1724 drivers/i2c/busses/i2c-qup.c 		qup->brx.sg = devm_kcalloc(&pdev->dev,
brx              1725 drivers/i2c/busses/i2c-qup.c 					   blocks, sizeof(*qup->brx.sg),
brx              1727 drivers/i2c/busses/i2c-qup.c 		if (!qup->brx.sg) {
brx              1731 drivers/i2c/busses/i2c-qup.c 		sg_init_table(qup->brx.sg, blocks);
brx              1743 drivers/i2c/busses/i2c-qup.c 		qup->brx.tag.start = devm_kzalloc(&pdev->dev, 2, GFP_KERNEL);
brx              1744 drivers/i2c/busses/i2c-qup.c 		if (!qup->brx.tag.start) {
brx              1912 drivers/i2c/busses/i2c-qup.c 	if (qup->brx.dma)
brx              1913 drivers/i2c/busses/i2c-qup.c 		dma_release_channel(qup->brx.dma);
brx              1923 drivers/i2c/busses/i2c-qup.c 		dma_release_channel(qup->brx.dma);
brx                29 drivers/media/platform/vsp1/vsp1_brx.c static inline void vsp1_brx_write(struct vsp1_brx *brx,
brx                32 drivers/media/platform/vsp1/vsp1_brx.c 	vsp1_dl_body_write(dlb, brx->base + reg, data);
brx                41 drivers/media/platform/vsp1/vsp1_brx.c 	struct vsp1_brx *brx =
brx                46 drivers/media/platform/vsp1/vsp1_brx.c 		brx->bgcolor = ctrl->val;
brx                99 drivers/media/platform/vsp1/vsp1_brx.c static struct v4l2_rect *brx_get_compose(struct vsp1_brx *brx,
brx               103 drivers/media/platform/vsp1/vsp1_brx.c 	return v4l2_subdev_get_try_compose(&brx->entity.subdev, cfg, pad);
brx               106 drivers/media/platform/vsp1/vsp1_brx.c static void brx_try_format(struct vsp1_brx *brx,
brx               122 drivers/media/platform/vsp1/vsp1_brx.c 		format = vsp1_entity_get_pad_format(&brx->entity, config,
brx               138 drivers/media/platform/vsp1/vsp1_brx.c 	struct vsp1_brx *brx = to_brx(subdev);
brx               143 drivers/media/platform/vsp1/vsp1_brx.c 	mutex_lock(&brx->entity.lock);
brx               145 drivers/media/platform/vsp1/vsp1_brx.c 	config = vsp1_entity_get_pad_config(&brx->entity, cfg, fmt->which);
brx               151 drivers/media/platform/vsp1/vsp1_brx.c 	brx_try_format(brx, config, fmt->pad, &fmt->format);
brx               153 drivers/media/platform/vsp1/vsp1_brx.c 	format = vsp1_entity_get_pad_format(&brx->entity, config, fmt->pad);
brx               157 drivers/media/platform/vsp1/vsp1_brx.c 	if (fmt->pad != brx->entity.source_pad) {
brx               160 drivers/media/platform/vsp1/vsp1_brx.c 		compose = brx_get_compose(brx, config, fmt->pad);
brx               171 drivers/media/platform/vsp1/vsp1_brx.c 		for (i = 0; i <= brx->entity.source_pad; ++i) {
brx               172 drivers/media/platform/vsp1/vsp1_brx.c 			format = vsp1_entity_get_pad_format(&brx->entity,
brx               179 drivers/media/platform/vsp1/vsp1_brx.c 	mutex_unlock(&brx->entity.lock);
brx               187 drivers/media/platform/vsp1/vsp1_brx.c 	struct vsp1_brx *brx = to_brx(subdev);
brx               190 drivers/media/platform/vsp1/vsp1_brx.c 	if (sel->pad == brx->entity.source_pad)
brx               202 drivers/media/platform/vsp1/vsp1_brx.c 		config = vsp1_entity_get_pad_config(&brx->entity, cfg,
brx               207 drivers/media/platform/vsp1/vsp1_brx.c 		mutex_lock(&brx->entity.lock);
brx               208 drivers/media/platform/vsp1/vsp1_brx.c 		sel->r = *brx_get_compose(brx, config, sel->pad);
brx               209 drivers/media/platform/vsp1/vsp1_brx.c 		mutex_unlock(&brx->entity.lock);
brx               221 drivers/media/platform/vsp1/vsp1_brx.c 	struct vsp1_brx *brx = to_brx(subdev);
brx               227 drivers/media/platform/vsp1/vsp1_brx.c 	if (sel->pad == brx->entity.source_pad)
brx               233 drivers/media/platform/vsp1/vsp1_brx.c 	mutex_lock(&brx->entity.lock);
brx               235 drivers/media/platform/vsp1/vsp1_brx.c 	config = vsp1_entity_get_pad_config(&brx->entity, cfg, sel->which);
brx               245 drivers/media/platform/vsp1/vsp1_brx.c 	format = vsp1_entity_get_pad_format(&brx->entity, config,
brx               246 drivers/media/platform/vsp1/vsp1_brx.c 					    brx->entity.source_pad);
brx               254 drivers/media/platform/vsp1/vsp1_brx.c 	format = vsp1_entity_get_pad_format(&brx->entity, config, sel->pad);
brx               258 drivers/media/platform/vsp1/vsp1_brx.c 	compose = brx_get_compose(brx, config, sel->pad);
brx               262 drivers/media/platform/vsp1/vsp1_brx.c 	mutex_unlock(&brx->entity.lock);
brx               289 drivers/media/platform/vsp1/vsp1_brx.c 	struct vsp1_brx *brx = to_brx(&entity->subdev);
brx               294 drivers/media/platform/vsp1/vsp1_brx.c 	format = vsp1_entity_get_pad_format(&brx->entity, brx->entity.config,
brx               295 drivers/media/platform/vsp1/vsp1_brx.c 					    brx->entity.source_pad);
brx               309 drivers/media/platform/vsp1/vsp1_brx.c 	vsp1_brx_write(brx, dlb, VI6_BRU_INCTRL,
brx               317 drivers/media/platform/vsp1/vsp1_brx.c 	vsp1_brx_write(brx, dlb, VI6_BRU_VIRRPF_SIZE,
brx               320 drivers/media/platform/vsp1/vsp1_brx.c 	vsp1_brx_write(brx, dlb, VI6_BRU_VIRRPF_LOC, 0);
brx               322 drivers/media/platform/vsp1/vsp1_brx.c 	vsp1_brx_write(brx, dlb, VI6_BRU_VIRRPF_COL, brx->bgcolor |
brx               332 drivers/media/platform/vsp1/vsp1_brx.c 		vsp1_brx_write(brx, dlb, VI6_BRU_ROP,
brx               337 drivers/media/platform/vsp1/vsp1_brx.c 	for (i = 0; i < brx->entity.source_pad; ++i) {
brx               347 drivers/media/platform/vsp1/vsp1_brx.c 		if (brx->inputs[i].rpf) {
brx               350 drivers/media/platform/vsp1/vsp1_brx.c 			premultiplied = brx->inputs[i].rpf->format.flags
brx               374 drivers/media/platform/vsp1/vsp1_brx.c 		vsp1_brx_write(brx, dlb, VI6_BRU_CTRL(i), ctrl);
brx               389 drivers/media/platform/vsp1/vsp1_brx.c 		vsp1_brx_write(brx, dlb, VI6_BRU_BLD(i),
brx               410 drivers/media/platform/vsp1/vsp1_brx.c 	struct vsp1_brx *brx;
brx               415 drivers/media/platform/vsp1/vsp1_brx.c 	brx = devm_kzalloc(vsp1->dev, sizeof(*brx), GFP_KERNEL);
brx               416 drivers/media/platform/vsp1/vsp1_brx.c 	if (brx == NULL)
brx               419 drivers/media/platform/vsp1/vsp1_brx.c 	brx->base = type == VSP1_ENTITY_BRU ? VI6_BRU_BASE : VI6_BRS_BASE;
brx               420 drivers/media/platform/vsp1/vsp1_brx.c 	brx->entity.ops = &brx_entity_ops;
brx               421 drivers/media/platform/vsp1/vsp1_brx.c 	brx->entity.type = type;
brx               431 drivers/media/platform/vsp1/vsp1_brx.c 	ret = vsp1_entity_init(vsp1, &brx->entity, name, num_pads, &brx_ops,
brx               437 drivers/media/platform/vsp1/vsp1_brx.c 	v4l2_ctrl_handler_init(&brx->ctrls, 1);
brx               438 drivers/media/platform/vsp1/vsp1_brx.c 	v4l2_ctrl_new_std(&brx->ctrls, &brx_ctrl_ops, V4L2_CID_BG_COLOR,
brx               441 drivers/media/platform/vsp1/vsp1_brx.c 	brx->bgcolor = 0;
brx               443 drivers/media/platform/vsp1/vsp1_brx.c 	brx->entity.subdev.ctrl_handler = &brx->ctrls;
brx               445 drivers/media/platform/vsp1/vsp1_brx.c 	if (brx->ctrls.error) {
brx               447 drivers/media/platform/vsp1/vsp1_brx.c 		ret = brx->ctrls.error;
brx               448 drivers/media/platform/vsp1/vsp1_brx.c 		vsp1_entity_destroy(&brx->entity);
brx               452 drivers/media/platform/vsp1/vsp1_brx.c 	return brx;
brx               191 drivers/media/platform/vsp1/vsp1_drm.c 				 pipe->brx, brx_input);
brx               198 drivers/media/platform/vsp1/vsp1_drm.c 	ret = v4l2_subdev_call(&pipe->brx->subdev, pad, set_fmt, NULL,
brx               205 drivers/media/platform/vsp1/vsp1_drm.c 		format.format.code, BRX_NAME(pipe->brx), format.pad);
brx               211 drivers/media/platform/vsp1/vsp1_drm.c 	ret = v4l2_subdev_call(&pipe->brx->subdev, pad, set_selection, NULL,
brx               218 drivers/media/platform/vsp1/vsp1_drm.c 		BRX_NAME(pipe->brx), sel.pad);
brx               235 drivers/media/platform/vsp1/vsp1_drm.c 	struct vsp1_entity *brx;
brx               245 drivers/media/platform/vsp1/vsp1_drm.c 		brx = &vsp1->bru->entity;
brx               246 drivers/media/platform/vsp1/vsp1_drm.c 	else if (pipe->brx && !drm_pipe->force_brx_release)
brx               247 drivers/media/platform/vsp1/vsp1_drm.c 		brx = pipe->brx;
brx               249 drivers/media/platform/vsp1/vsp1_drm.c 		brx = &vsp1->bru->entity;
brx               251 drivers/media/platform/vsp1/vsp1_drm.c 		brx = &vsp1->brs->entity;
brx               254 drivers/media/platform/vsp1/vsp1_drm.c 	if (brx != pipe->brx) {
brx               258 drivers/media/platform/vsp1/vsp1_drm.c 		if (pipe->brx) {
brx               261 drivers/media/platform/vsp1/vsp1_drm.c 				BRX_NAME(pipe->brx));
brx               277 drivers/media/platform/vsp1/vsp1_drm.c 			released_brx = pipe->brx;
brx               279 drivers/media/platform/vsp1/vsp1_drm.c 			list_del(&pipe->brx->list_pipe);
brx               280 drivers/media/platform/vsp1/vsp1_drm.c 			pipe->brx->sink = NULL;
brx               281 drivers/media/platform/vsp1/vsp1_drm.c 			pipe->brx->pipe = NULL;
brx               282 drivers/media/platform/vsp1/vsp1_drm.c 			pipe->brx = NULL;
brx               289 drivers/media/platform/vsp1/vsp1_drm.c 		if (brx->pipe) {
brx               293 drivers/media/platform/vsp1/vsp1_drm.c 				__func__, pipe->lif->index, BRX_NAME(brx));
brx               295 drivers/media/platform/vsp1/vsp1_drm.c 			owner_pipe = to_vsp1_drm_pipeline(brx->pipe);
brx               322 drivers/media/platform/vsp1/vsp1_drm.c 			__func__, pipe->lif->index, BRX_NAME(brx));
brx               324 drivers/media/platform/vsp1/vsp1_drm.c 		pipe->brx = brx;
brx               325 drivers/media/platform/vsp1/vsp1_drm.c 		pipe->brx->pipe = pipe;
brx               326 drivers/media/platform/vsp1/vsp1_drm.c 		pipe->brx->sink = &pipe->output->entity;
brx               327 drivers/media/platform/vsp1/vsp1_drm.c 		pipe->brx->sink_pad = 0;
brx               329 drivers/media/platform/vsp1/vsp1_drm.c 		list_add_tail(&pipe->brx->list_pipe, &pipe->entities);
brx               338 drivers/media/platform/vsp1/vsp1_drm.c 	format.pad = brx->source_pad;
brx               343 drivers/media/platform/vsp1/vsp1_drm.c 	ret = v4l2_subdev_call(&brx->subdev, pad, set_fmt, NULL,
brx               350 drivers/media/platform/vsp1/vsp1_drm.c 		format.format.code, BRX_NAME(brx), brx->source_pad);
brx               374 drivers/media/platform/vsp1/vsp1_drm.c 	struct vsp1_brx *brx;
brx               406 drivers/media/platform/vsp1/vsp1_drm.c 			BRX_NAME(pipe->brx));
brx               410 drivers/media/platform/vsp1/vsp1_drm.c 	brx = to_brx(&pipe->brx->subdev);
brx               413 drivers/media/platform/vsp1/vsp1_drm.c 	for (i = 0; i < pipe->brx->source_pad; ++i) {
brx               417 drivers/media/platform/vsp1/vsp1_drm.c 			brx->inputs[i].rpf = NULL;
brx               426 drivers/media/platform/vsp1/vsp1_drm.c 		brx->inputs[i].rpf = rpf;
brx               428 drivers/media/platform/vsp1/vsp1_drm.c 		rpf->entity.sink = pipe->brx;
brx               432 drivers/media/platform/vsp1/vsp1_drm.c 			__func__, rpf->entity.index, BRX_NAME(pipe->brx), i);
brx               452 drivers/media/platform/vsp1/vsp1_drm.c 				 pipe->brx, pipe->brx->source_pad,
brx               456 drivers/media/platform/vsp1/vsp1_drm.c 			__func__, BRX_NAME(pipe->brx));
brx               656 drivers/media/platform/vsp1/vsp1_drm.c 		struct vsp1_brx *brx;
brx               660 drivers/media/platform/vsp1/vsp1_drm.c 		brx = to_brx(&pipe->brx->subdev);
brx               685 drivers/media/platform/vsp1/vsp1_drm.c 			brx->inputs[rpf->brx_input].rpf = NULL;
brx               693 drivers/media/platform/vsp1/vsp1_drm.c 			BRX_NAME(pipe->brx));
brx               695 drivers/media/platform/vsp1/vsp1_drm.c 		list_del(&pipe->brx->list_pipe);
brx               696 drivers/media/platform/vsp1/vsp1_drm.c 		pipe->brx->pipe = NULL;
brx               697 drivers/media/platform/vsp1/vsp1_drm.c 		pipe->brx = NULL;
brx               249 drivers/media/platform/vsp1/vsp1_pipe.c 	if (pipe->brx) {
brx               250 drivers/media/platform/vsp1/vsp1_pipe.c 		struct vsp1_brx *brx = to_brx(&pipe->brx->subdev);
brx               252 drivers/media/platform/vsp1/vsp1_pipe.c 		for (i = 0; i < ARRAY_SIZE(brx->inputs); ++i)
brx               253 drivers/media/platform/vsp1/vsp1_pipe.c 			brx->inputs[i].rpf = NULL;
brx               268 drivers/media/platform/vsp1/vsp1_pipe.c 	pipe->brx = NULL;
brx               130 drivers/media/platform/vsp1/vsp1_pipe.h 	struct vsp1_entity *brx;
brx               113 drivers/media/platform/vsp1/vsp1_rpf.c 	if (pipe->brx) {
brx               116 drivers/media/platform/vsp1/vsp1_rpf.c 		compose = vsp1_entity_get_pad_selection(pipe->brx,
brx               117 drivers/media/platform/vsp1/vsp1_rpf.c 							pipe->brx->config,
brx               475 drivers/media/platform/vsp1/vsp1_video.c 	struct vsp1_brx *brx = NULL;
brx               511 drivers/media/platform/vsp1/vsp1_video.c 			if (brx) {
brx               516 drivers/media/platform/vsp1/vsp1_video.c 			brx = to_brx(&entity->subdev);
brx               517 drivers/media/platform/vsp1/vsp1_video.c 			brx->inputs[pad->index].rpf = input;
brx               540 drivers/media/platform/vsp1/vsp1_video.c 			pipe->uds_input = brx ? &brx->entity : &input->entity;
brx               606 drivers/media/platform/vsp1/vsp1_video.c 			pipe->brx = e;
brx               330 drivers/media/platform/vsp1/vsp1_wpf.c 		srcrpf |= (!pipe->brx && pipe->num_inputs == 1)
brx               335 drivers/media/platform/vsp1/vsp1_wpf.c 	if (pipe->brx)
brx               336 drivers/media/platform/vsp1/vsp1_wpf.c 		srcrpf |= pipe->brx->type == VSP1_ENTITY_BRU