Home
last modified time | relevance | path

Searched refs:pads (Results 1 - 25 of 345) sorted by relevance

12345678910>>...14

/kernel/linux/linux-6.6/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-pipe.c40 .pads = BIT(MXC_ISI_PIPE_PAD_SINK),
45 .pads = BIT(MXC_ISI_PIPE_PAD_SOURCE),
52 .pads = BIT(MXC_ISI_PIPE_PAD_SINK),
57 .pads = BIT(MXC_ISI_PIPE_PAD_SINK)
65 .pads = BIT(MXC_ISI_PIPE_PAD_SINK)
71 .pads = BIT(MXC_ISI_PIPE_PAD_SINK)
77 .pads = BIT(MXC_ISI_PIPE_PAD_SINK)
83 .pads = BIT(MXC_ISI_PIPE_PAD_SINK)
89 .pads = BIT(MXC_ISI_PIPE_PAD_SINK)
95 .pads
[all...]
H A Dimx8-isi-crossbar.c162 pad = media_pad_remote_pad_first(&xbar->pads[sink_pad]); in mxc_isi_crossbar_xlate_streams()
224 * The media bus code on source pads is identical to the in mxc_isi_crossbar_enum_mbus_code()
259 media_pad_is_streaming(&xbar->pads[fmt->pad])) in mxc_isi_crossbar_set_fmt()
455 xbar->pads = kcalloc(num_pads, sizeof(*xbar->pads), GFP_KERNEL); in mxc_isi_crossbar_init()
456 if (!xbar->pads) in mxc_isi_crossbar_init()
467 xbar->pads[i].flags = MEDIA_PAD_FL_SINK in mxc_isi_crossbar_init()
470 xbar->pads[i + xbar->num_sinks].flags = MEDIA_PAD_FL_SOURCE; in mxc_isi_crossbar_init()
472 ret = media_entity_pads_init(&sd->entity, num_pads, xbar->pads); in mxc_isi_crossbar_init()
485 kfree(xbar->pads); in mxc_isi_crossbar_init()
[all...]
/kernel/linux/linux-6.6/drivers/media/mc/
H A Dmc-entity.c158 list_add_tail(&gobj->list, &mdev->pads); in media_gobj_create()
195 struct media_pad *pads) in media_entity_pads_init()
205 entity->pads = pads; in media_entity_pads_init()
230 * media_entity_has_pad_interdep - Check interdependency between two pads
237 * and @pad1. If two pads are interdependent they are part of the same pipeline
238 * and enabling one of the pads means that the other pad will become "locked"
243 * has_pad_interdep operation is not implemented, all pads of the entity are
247 * The function returns false if both pads are sinks or sources.
251 * Return: true if the pads ar
194 media_entity_pads_init(struct media_entity *entity, u16 num_pads, struct media_pad *pads) media_entity_pads_init() argument
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/
H A Datomisp_tpg.c50 sd_state->pads->try_fmt = *fmt; in tpg_set_fmt()
144 struct media_pad *pads = tpg->pads; in atomisp_tpg_init() local
154 pads[0].flags = MEDIA_PAD_FL_SINK; in atomisp_tpg_init()
157 ret = media_entity_pads_init(me, 1, pads); in atomisp_tpg_init()
/kernel/linux/linux-5.10/drivers/media/mc/
H A Dmc-entity.c161 list_add_tail(&gobj->list, &mdev->pads); in media_gobj_create()
198 struct media_pad *pads) in media_entity_pads_init()
207 entity->pads = pads; in media_entity_pads_init()
213 pads[i].entity = entity; in media_entity_pads_init()
214 pads[i].index = i; in media_entity_pads_init()
217 &entity->pads[i].graph_obj); in media_entity_pads_init()
378 if (entity->pads[i].flags & direction_flags) in media_entity_get_fwnode_pad()
396 if (!(entity->pads[ret].flags & direction_flags)) in media_entity_get_fwnode_pad()
642 if (entity->pads[ in media_get_pad_index()
197 media_entity_pads_init(struct media_entity *entity, u16 num_pads, struct media_pad *pads) media_entity_pads_init() argument
[all...]
H A Dmc-device.c116 entd->pads = ent->num_pads; in media_device_enum_entities()
160 if (links->pads) { in media_device_enum_links()
167 media_device_kpad_to_upad(&entity->pads[p], &pad); in media_device_enum_links()
168 if (copy_to_user(&links->pads[p], &pad, sizeof(pad))) in media_device_enum_links()
219 link = media_entity_find_link(&source->pads[linkd->source.index], in media_device_setup_link()
220 &sink->pads[linkd->sink.index]); in media_device_setup_link()
310 /* Get pads and number of pads */ in media_device_get_topology()
488 compat_uptr_t pads; /* struct media_pad_desc * */ member
503 || get_user(pads_ptr, &ulinks->pads) in media_device_enum_links32()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/host1x/
H A Dmipi.c96 const struct tegra_mipi_pad *pads; member
133 unsigned long pads; member
185 * supplies the DSI pads. This must be kept enabled until none of the in tegra_mipi_power_down()
242 dev->pads = args.args[0]; in tegra_mipi_request()
341 if (device->pads & BIT(i)) { in tegra_mipi_start_calibration()
351 tegra_mipi_writel(device->mipi, data, soc->pads[i].data); in tegra_mipi_start_calibration()
353 if (soc->has_clk_lane && soc->pads[i].clk != 0) in tegra_mipi_start_calibration()
354 tegra_mipi_writel(device->mipi, clk, soc->pads[i].clk); in tegra_mipi_start_calibration()
380 * sequence codes before waiting for pads idle state to apply the in tegra_mipi_start_calibration()
403 .pads
[all...]
/kernel/linux/linux-6.6/drivers/gpu/host1x/
H A Dmipi.c96 const struct tegra_mipi_pad *pads; member
133 unsigned long pads; member
185 * supplies the DSI pads. This must be kept enabled until none of the in tegra_mipi_power_down()
242 dev->pads = args.args[0]; in tegra_mipi_request()
341 if (device->pads & BIT(i)) { in tegra_mipi_start_calibration()
351 tegra_mipi_writel(device->mipi, data, soc->pads[i].data); in tegra_mipi_start_calibration()
353 if (soc->has_clk_lane && soc->pads[i].clk != 0) in tegra_mipi_start_calibration()
354 tegra_mipi_writel(device->mipi, clk, soc->pads[i].clk); in tegra_mipi_start_calibration()
380 * sequence codes before waiting for pads idle state to apply the in tegra_mipi_start_calibration()
403 .pads
[all...]
/kernel/linux/linux-5.10/drivers/media/dvb-core/
H A Ddvbdev.c223 kfree(dvbdev->pads); in dvb_media_device_free()
225 dvbdev->pads = NULL; in dvb_media_device_free()
277 struct media_pad *pads = &dvbdev->tsout_pads[i]; in dvb_create_tsout_entity() local
285 pads->flags = MEDIA_PAD_FL_SINK; in dvb_create_tsout_entity()
287 ret = media_entity_pads_init(entity, 1, pads); in dvb_create_tsout_entity()
347 dvbdev->pads = kcalloc(npads, sizeof(*dvbdev->pads), in dvb_create_media_entity()
349 if (!dvbdev->pads) { in dvb_create_media_entity()
359 dvbdev->pads[0].flags = MEDIA_PAD_FL_SINK; in dvb_create_media_entity()
360 dvbdev->pads[ in dvb_create_media_entity()
[all...]
/kernel/linux/linux-5.10/drivers/input/joystick/
H A Dgamecon.c75 struct gc_pad pads[GC_MAX_DEVICES]; member
122 #define GC_N64_OUT 0x1d /* output bits to the 4 pads */
161 * Each pad uses one bit per byte. So all pads connected to this port
216 if (gc->pads[i].type != GC_N64) in gc_n64_process_packet()
219 dev = gc->pads[i].dev; in gc_n64_process_packet()
319 #define GC_NES_LENGTH 8 /* The NES pads use 8 bits of data */
337 * Each pad uses one bit per byte. So all pads connected to
373 pad = &gc->pads[i]; in gc_nes_process_packet()
481 pad = &gc->pads[i]; in gc_multi_process_packet()
565 struct gc_pad *pad = &gc->pads[ in gc_psx_command()
928 int *pads, n_pads; gc_attach() local
[all...]
/kernel/linux/linux-6.6/drivers/input/joystick/
H A Dgamecon.c72 struct gc_pad pads[GC_MAX_DEVICES]; member
119 #define GC_N64_OUT 0x1d /* output bits to the 4 pads */
158 * Each pad uses one bit per byte. So all pads connected to this port
213 if (gc->pads[i].type != GC_N64) in gc_n64_process_packet()
216 dev = gc->pads[i].dev; in gc_n64_process_packet()
316 #define GC_NES_LENGTH 8 /* The NES pads use 8 bits of data */
334 * Each pad uses one bit per byte. So all pads connected to
370 pad = &gc->pads[i]; in gc_nes_process_packet()
478 pad = &gc->pads[i]; in gc_multi_process_packet()
562 struct gc_pad *pad = &gc->pads[ in gc_psx_command()
925 int *pads, n_pads; gc_attach() local
[all...]
/kernel/linux/linux-6.6/drivers/media/dvb-core/
H A Ddvbdev.c208 kfree(dvbdev->pads); in dvb_media_device_free()
210 dvbdev->pads = NULL; in dvb_media_device_free()
262 struct media_pad *pads = &dvbdev->tsout_pads[i]; in dvb_create_tsout_entity() local
271 pads->flags = MEDIA_PAD_FL_SINK; in dvb_create_tsout_entity()
273 ret = media_entity_pads_init(entity, 1, pads); in dvb_create_tsout_entity()
333 dvbdev->pads = kcalloc(npads, sizeof(*dvbdev->pads), in dvb_create_media_entity()
335 if (!dvbdev->pads) { in dvb_create_media_entity()
345 dvbdev->pads[0].flags = MEDIA_PAD_FL_SINK; in dvb_create_media_entity()
346 dvbdev->pads[ in dvb_create_media_entity()
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
H A Datomisp_tpg.c144 struct media_pad *pads = tpg->pads; in atomisp_tpg_init() local
154 pads[0].flags = MEDIA_PAD_FL_SINK; in atomisp_tpg_init()
157 ret = media_entity_pads_init(me, 1, pads); in atomisp_tpg_init()
H A Datomisp_file.c208 struct media_pad *pads = file_dev->pads; in atomisp_file_input_init() local
225 pads[0].flags = MEDIA_PAD_FL_SINK; in atomisp_file_input_init()
228 return media_entity_pads_init(me, 1, pads); in atomisp_file_input_init()
/kernel/linux/linux-5.10/drivers/pinctrl/actions/
H A Dpinctrl-owl.h21 .pads = group_name##_pads, \
39 .pads = group_name##_pads, \
55 .pads = group_name##_pads, \
194 * @pads: list of pins assigned to this pingroup
195 * @npads: size of @pads array
210 unsigned int *pads; member
/kernel/linux/linux-6.6/drivers/pinctrl/actions/
H A Dpinctrl-owl.h21 .pads = group_name##_pads, \
39 .pads = group_name##_pads, \
55 .pads = group_name##_pads, \
194 * @pads: list of pins assigned to this pingroup
195 * @npads: size of @pads array
210 unsigned int *pads; member
/kernel/linux/linux-5.10/drivers/media/platform/
H A Dvideo-mux.c26 struct media_pad *pads; member
121 pad = media_entity_remote_pad(&sd->entity.pads[vmux->active]); in video_mux_s_stream()
180 struct media_pad *pad = &vmux->pads[sdformat->pad]; in video_mux_set_format()
297 /* Source pad mirrors active sink pad, no limitations on sink pads */ in video_mux_set_format()
427 * total number of pads. in video_mux_probe()
451 vmux->pads = devm_kcalloc(dev, num_pads, sizeof(*vmux->pads), in video_mux_probe()
453 if (!vmux->pads) in video_mux_probe()
463 vmux->pads[i].flags = (i < num_pads - 1) ? MEDIA_PAD_FL_SINK in video_mux_probe()
470 vmux->pads); in video_mux_probe()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/
H A Dvideo-mux.c26 struct media_pad *pads; member
128 pad = media_pad_remote_pad_first(&sd->entity.pads[vmux->active]); in video_mux_s_stream()
154 struct media_pad *pad = &vmux->pads[sdformat->pad]; in video_mux_set_format()
269 /* Source pad mirrors active sink pad, no limitations on sink pads */ in video_mux_set_format()
409 * total number of pads. in video_mux_probe()
431 vmux->pads = devm_kcalloc(dev, num_pads, sizeof(*vmux->pads), in video_mux_probe()
433 if (!vmux->pads) in video_mux_probe()
437 vmux->pads[i].flags = (i < num_pads - 1) ? MEDIA_PAD_FL_SINK in video_mux_probe()
442 vmux->pads); in video_mux_probe()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-csi.c39 .pads = csi->pad_cfg in rkisp1_csi_get_pad_fmt()
478 struct media_pad *pads; in rkisp1_csi_register() local
493 pads = csi->pads; in rkisp1_csi_register()
494 pads[RKISP1_CSI_PAD_SINK].flags = MEDIA_PAD_FL_SINK | in rkisp1_csi_register()
496 pads[RKISP1_CSI_PAD_SRC].flags = MEDIA_PAD_FL_SOURCE | in rkisp1_csi_register()
501 ret = media_entity_pads_init(&sd->entity, RKISP1_CSI_PAD_NUM, pads); in rkisp1_csi_register()
505 state.pads = csi->pad_cfg; in rkisp1_csi_register()
/kernel/linux/linux-5.10/drivers/media/platform/exynos4-is/
H A Dcommon.c16 struct media_pad *pad = &entity->pads[0]; in fimc_find_remote_sensor()
31 pad = &sd->entity.pads[0]; in fimc_find_remote_sensor()
/kernel/linux/linux-6.6/drivers/media/platform/samsung/exynos4-is/
H A Dcommon.c19 struct media_pad *pad = &entity->pads[0]; in fimc_find_remote_sensor()
34 pad = &sd->entity.pads[0]; in fimc_find_remote_sensor()
/kernel/linux/linux-5.10/drivers/media/usb/uvc/
H A Duvc_entity.c36 if (!(entity->pads[i].flags & MEDIA_PAD_FL_SINK)) in uvc_mc_create_links()
116 entity->num_pads, entity->pads); in uvc_mc_init_entity()
125 entity->num_pads, entity->pads); in uvc_mc_init_entity()
/kernel/linux/linux-6.6/drivers/media/usb/uvc/
H A Duvc_entity.c36 if (!(entity->pads[i].flags & MEDIA_PAD_FL_SINK)) in uvc_mc_create_links()
117 entity->num_pads, entity->pads); in uvc_mc_init_entity()
126 entity->num_pads, entity->pads); in uvc_mc_init_entity()
/kernel/linux/linux-5.10/drivers/media/i2c/adv748x/
H A Dadv748x-csi2.c125 src = adv748x_get_remote_sd(&tx->pads[ADV748X_CSI2_SINK]); in adv748x_csi2_s_stream()
139 * The CSI2 bus pads are ignorant to the data sizes or formats.
329 tx->pads[ADV748X_CSI2_SINK].flags = MEDIA_PAD_FL_SINK; in adv748x_csi2_init()
330 tx->pads[ADV748X_CSI2_SOURCE].flags = MEDIA_PAD_FL_SOURCE; in adv748x_csi2_init()
333 tx->pads); in adv748x_csi2_init()
/kernel/linux/linux-6.6/drivers/media/i2c/adv748x/
H A Dadv748x-csi2.c124 src = adv748x_get_remote_sd(&tx->pads[ADV748X_CSI2_SINK]); in adv748x_csi2_s_stream()
138 * The CSI2 bus pads are ignorant to the data sizes or formats.
306 tx->pads[ADV748X_CSI2_SINK].flags = MEDIA_PAD_FL_SINK; in adv748x_csi2_init()
307 tx->pads[ADV748X_CSI2_SOURCE].flags = MEDIA_PAD_FL_SOURCE; in adv748x_csi2_init()
310 tx->pads); in adv748x_csi2_init()

Completed in 16 milliseconds

12345678910>>...14