Home
last modified time | relevance | path

Searched refs:routing (Results 1 – 25 of 575) sorted by relevance

12345678910>>...23

/linux/drivers/net/wireless/broadcom/b43/
H A Ddebugfs.c69 unsigned int routing, addr; in shm16read__read_file() local
72 routing = dev->dfsentry->shm16read_routing_next; in shm16read__read_file()
74 if ((routing > B43_MAX_SHM_ROUTING) || in shm16read__read_file()
78 val = b43_shm_read16(dev, routing, addr); in shm16read__read_file()
87 unsigned int routing, addr; in shm16read__write_file() local
90 res = sscanf(buf, "0x%X 0x%X", &routing, &addr); in shm16read__write_file()
93 if (routing > B43_MAX_SHM_ROUTING) in shm16read__write_file()
97 if (routing == B43_SHM_SHARED) { in shm16read__write_file()
102 dev->dfsentry->shm16read_routing_next = routing; in shm16read__write_file()
111 unsigned int routing, add in shm16write__write_file() local
145 unsigned int routing, addr; shm32read__read_file() local
163 unsigned int routing, addr; shm32read__write_file() local
187 unsigned int routing, addr, mask, set; shm32write__write_file() local
[all...]
H A Dmain.h66 u32 b43_shm_read32(struct b43_wldev *dev, u16 routing, u16 offset);
67 u16 b43_shm_read16(struct b43_wldev *dev, u16 routing, u16 offset);
68 void b43_shm_write32(struct b43_wldev *dev, u16 routing, u16 offset, u32 value);
69 void b43_shm_write16(struct b43_wldev *dev, u16 routing, u16 offset, u16 value);
/linux/drivers/media/v4l2-core/
H A Dv4l2-subdev.c980 struct v4l2_subdev_routing *routing = arg; in subdev_do_ioctl() local
989 memset(routing->reserved, 0, sizeof(routing->reserved)); in subdev_do_ioctl()
991 krouting = &state->routing; in subdev_do_ioctl()
993 memcpy((struct v4l2_subdev_route *)(uintptr_t)routing->routes, in subdev_do_ioctl()
995 min(krouting->num_routes, routing->len_routes) * in subdev_do_ioctl()
997 routing->num_routes = krouting->num_routes; in subdev_do_ioctl()
1003 struct v4l2_subdev_routing *routing = arg; in subdev_do_ioctl() local
1005 (struct v4l2_subdev_route *)(uintptr_t)routing->routes; in subdev_do_ioctl()
1016 if (routing in subdev_do_ioctl()
1553 struct v4l2_subdev_krouting *routing; v4l2_subdev_has_pad_interdep() local
1855 v4l2_subdev_init_stream_configs(struct v4l2_subdev_stream_configs * stream_configs,const struct v4l2_subdev_krouting * routing) v4l2_subdev_init_stream_configs() argument
1935 v4l2_subdev_set_routing(struct v4l2_subdev * sd,struct v4l2_subdev_state * state,const struct v4l2_subdev_krouting * routing) v4l2_subdev_set_routing() argument
1972 __v4l2_subdev_next_active_route(const struct v4l2_subdev_krouting * routing,struct v4l2_subdev_route * route) __v4l2_subdev_next_active_route() argument
1993 v4l2_subdev_set_routing_with_fmt(struct v4l2_subdev * sd,struct v4l2_subdev_state * state,const struct v4l2_subdev_krouting * routing,const struct v4l2_mbus_framefmt * fmt) v4l2_subdev_set_routing_with_fmt() argument
2013 v4l2_subdev_routing_find_opposite_end(const struct v4l2_subdev_krouting * routing,u32 pad,u32 stream,u32 * other_pad,u32 * other_stream) v4l2_subdev_routing_find_opposite_end() argument
2064 const struct v4l2_subdev_krouting *routing = &state->routing; v4l2_subdev_state_xlate_streams() local
2088 v4l2_subdev_routing_validate(struct v4l2_subdev * sd,const struct v4l2_subdev_krouting * routing,enum v4l2_subdev_routing_restriction disallow) v4l2_subdev_routing_validate() argument
[all...]
/linux/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-crossbar.c98 struct v4l2_subdev_krouting *routing) in __mxc_isi_crossbar_set_routing() argument
104 ret = v4l2_subdev_routing_validate(sd, routing, in __mxc_isi_crossbar_set_routing()
110 for_each_active_route(&state->routing, route) { in __mxc_isi_crossbar_set_routing()
121 return v4l2_subdev_set_routing_with_fmt(sd, state, routing, in __mxc_isi_crossbar_set_routing()
139 * Translate the source pad and streams to the sink side. The routing in mxc_isi_crossbar_xlate_streams()
141 * routing table are guaranteed to have the same sink pad. in mxc_isi_crossbar_xlate_streams()
146 for_each_active_route(&state->routing, route) { in mxc_isi_crossbar_xlate_streams()
182 struct v4l2_subdev_krouting routing = { }; in mxc_isi_crossbar_init_state() local
191 routing.num_routes = min(xbar->num_sinks - 1, xbar->num_sources); in mxc_isi_crossbar_init_state()
192 routes = kcalloc(routing in mxc_isi_crossbar_init_state()
312 mxc_isi_crossbar_set_routing(struct v4l2_subdev * sd,struct v4l2_subdev_state * state,enum v4l2_subdev_format_whence which,struct v4l2_subdev_krouting * routing) mxc_isi_crossbar_set_routing() argument
[all...]
/linux/drivers/staging/media/ipu7/
H A Dipu7-isys-subdev.c151 ret = v4l2_subdev_routing_find_opposite_end(&state->routing, in ipu7_isys_subdev_set_fmt()
189 struct v4l2_subdev_krouting *routing) in subdev_set_routing() argument
199 ret = v4l2_subdev_routing_validate(sd, routing, in subdev_set_routing()
204 return v4l2_subdev_set_routing_with_fmt(sd, state, routing, &fmt); in subdev_set_routing()
236 routes = state->routing.routes; in ipu7_isys_get_src_stream_by_src_pad()
237 for (i = 0; i < state->routing.num_routes; i++) { in ipu7_isys_get_src_stream_by_src_pad()
259 struct v4l2_subdev_krouting routing = { in ipu7_isys_subdev_init_state() local
264 return subdev_set_routing(sd, state, &routing); in ipu7_isys_subdev_init_state()
270 struct v4l2_subdev_krouting *routing) in ipu7_isys_subdev_set_routing() argument
272 return subdev_set_routing(sd, state, routing); in ipu7_isys_subdev_set_routing()
[all...]
/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-subdev-g-routing.rst13 VIDIOC_SUBDEV_G_ROUTING - VIDIOC_SUBDEV_S_ROUTING - Get or set routing between streams of media pads in a media entity.
40 These ioctls are used to get and set the routing in a media entity.
41 The routing configuration determines the flows of data inside an entity.
43 Drivers report their current routing tables using the
54 Only subdevices which have both sink and source pads can support routing.
61 The ``num_routes`` field indicates the number of routes in the routing
65 subdevice routing table. This may be smaller or larger than the value of
67 drivers may adjust the requested routing table.
70 both ioctls. This indicates thare are more routes in the routing table than fits
72 with the first ``len_routes`` entries of the subdevice routing tabl
[all...]
/linux/drivers/media/pci/intel/ipu6/
H A Dipu6-isys-subdev.c190 ret = v4l2_subdev_routing_find_opposite_end(&state->routing, in ipu6_isys_subdev_set_fmt()
228 struct v4l2_subdev_krouting *routing) in subdev_set_routing() argument
238 ret = v4l2_subdev_routing_validate(sd, routing, in subdev_set_routing()
243 return v4l2_subdev_set_routing_with_fmt(sd, state, routing, &format); in subdev_set_routing()
293 routes = state->routing.routes; in ipu6_isys_get_src_stream_by_src_pad()
294 for (i = 0; i < state->routing.num_routes; i++) { in ipu6_isys_get_src_stream_by_src_pad()
316 struct v4l2_subdev_krouting routing = { in ipu6_isys_subdev_init_state() local
321 return subdev_set_routing(sd, state, &routing); in ipu6_isys_subdev_init_state()
327 struct v4l2_subdev_krouting *routing) in ipu6_isys_subdev_set_routing() argument
329 return subdev_set_routing(sd, state, routing); in ipu6_isys_subdev_set_routing()
[all...]
/linux/drivers/net/wireless/broadcom/b43legacy/
H A Dmain.h91 u16 routing, u16 offset);
93 u16 routing, u16 offset);
95 u16 routing, u16 offset,
98 u16 routing, u16 offset,
/linux/net/mpls/
H A DKconfig11 circuits. Originally conceived as a way of routing packets at
12 hardware speeds (before hardware was capable of routing ipv4 packets),
27 tristate "MPLS: routing support"
/linux/Documentation/devicetree/bindings/sound/
H A Domap-abe-twl6040.txt9 - ti,audio-routing: List of connections between audio components.
18 Available audio endpoints for the audio-routing table:
70 /* Audio routing */
71 ti,audio-routing =
H A Domap-twl4030.txt12 - ti,audio-routing: List of connections between audio components.
15 If the routing is not provided all possible connection will be available
17 Available audio endpoints for the audio-routing table:
H A Dmt2701-cs42448.txt6 - audio-routing: a list of the connections between audio
20 audio-routing =
H A Dimx-audio-sgtl5000.txt13 - audio-routing : A list of the connections between audio components.
50 audio-routing =
H A Drockchip,rk3288-hdmi-analog.txt9 - rockchip,routing: A list of the connections between audio components.
29 rockchip,routing = "Analog", "LOUT2",
/linux/Documentation/ABI/testing/
H A Dsysfs-driver-aspeed-uart-routing1 What: /sys/bus/platform/drivers/aspeed-uart-routing/\*/uart\*
12 cat /sys/bus/platform/drivers/aspeed-uart-routing/\*.uart_routing/uart1
20 What: /sys/bus/platform/drivers/aspeed-uart-routing/\*/io\*
/linux/arch/arm/boot/dts/ti/omap/
H A Domap4-panda-es.dts15 /* Audio routing is differnet between PandaBoard4430 and PandaBoardES */
19 /* Audio routing */
20 ti,audio-routing =
/linux/drivers/media/platform/ti/cal/
H A Dcal-camerarx.c68 if (state->routing.num_routes > 1) { in cal_camerarx_get_ext_link_freq()
71 struct v4l2_subdev_route *route = &state->routing.routes[0]; in cal_camerarx_get_ext_link_freq()
670 ret = v4l2_subdev_routing_find_opposite_end(&state->routing, pad, 0, in cal_camerarx_sd_enable_streams()
686 ret = v4l2_subdev_routing_find_opposite_end(&state->routing, pad, 0, in cal_camerarx_sd_disable_streams()
816 struct v4l2_subdev_krouting *routing) in cal_camerarx_set_routing() argument
830 ret = v4l2_subdev_routing_validate(sd, routing, in cal_camerarx_set_routing()
836 ret = v4l2_subdev_set_routing_with_fmt(sd, state, routing, &format); in cal_camerarx_set_routing()
846 struct v4l2_subdev_krouting *routing) in cal_camerarx_sd_set_routing() argument
848 return cal_camerarx_set_routing(sd, state, routing); in cal_camerarx_sd_set_routing()
862 struct v4l2_subdev_krouting routing in cal_camerarx_sd_init_state() local
[all...]
/linux/net/ipv6/
H A DKconfig163 the notion of a secure tunnel for IPSEC and then use routing protocol
245 Support multiple routing tables.
248 bool "IPv6: source address based routing"
251 Enable routing by source address or prefix.
253 The destination address is still the primary routing key, so mixing
254 normal and source prefix specific routes in the same routing table
255 may sometimes lead to unintended routing behavior. This can be
256 avoided by defining different routing tables for the normal and
262 bool "IPv6: multicast routing"
270 bool "IPv6: multicast policy routing"
[all...]
/linux/drivers/media/i2c/
H A Dds90ub913.c314 struct v4l2_subdev_krouting *routing) in _ub913_set_routing() argument
340 ret = v4l2_subdev_routing_validate(sd, routing, in _ub913_set_routing()
345 ret = v4l2_subdev_set_routing(sd, state, routing); in _ub913_set_routing()
364 struct v4l2_subdev_krouting *routing) in ub913_set_routing() argument
371 return _ub913_set_routing(sd, state, routing); in ub913_set_routing()
378 const struct v4l2_subdev_krouting *routing; in ub913_get_frame_desc() local
396 routing = &state->routing; in ub913_get_frame_desc()
398 for_each_active_route(routing, route) { in ub913_get_frame_desc()
486 struct v4l2_subdev_krouting routing in ub913_init_state() local
[all...]
/linux/tools/testing/selftests/kvm/lib/
H A Dkvm_util.c1921 struct kvm_irq_routing *routing; in kvm_gsi_routing_create() local
1927 routing = calloc(1, size); in kvm_gsi_routing_create()
1928 assert(routing); in kvm_gsi_routing_create()
1930 return routing; in kvm_gsi_routing_create()
1933 void kvm_gsi_routing_irqchip_add(struct kvm_irq_routing *routing, in kvm_gsi_routing_irqchip_add() argument
1938 assert(routing); in kvm_gsi_routing_irqchip_add()
1939 assert(routing->nr < KVM_MAX_IRQ_ROUTES); in kvm_gsi_routing_irqchip_add()
1941 i = routing->nr; in kvm_gsi_routing_irqchip_add()
1942 routing->entries[i].gsi = gsi; in kvm_gsi_routing_irqchip_add()
1943 routing in kvm_gsi_routing_irqchip_add()
1950 _kvm_gsi_routing_write(struct kvm_vm * vm,struct kvm_irq_routing * routing) _kvm_gsi_routing_write() argument
1961 kvm_gsi_routing_write(struct kvm_vm * vm,struct kvm_irq_routing * routing) kvm_gsi_routing_write() argument
[all...]
/linux/drivers/media/platform/raspberrypi/rp1-cfe/
H A Dcsi2.c391 struct v4l2_subdev_krouting routing = { in csi2_init_state() local
398 ret = v4l2_subdev_set_routing_with_fmt(sd, state, &routing, in csi2_init_state()
480 struct v4l2_subdev_krouting *routing) in csi2_set_routing() argument
484 ret = v4l2_subdev_routing_validate(sd, routing, in csi2_set_routing()
491 for (unsigned int i = 0; i < routing->num_routes; ++i) { in csi2_set_routing()
492 const struct v4l2_subdev_route *route = &routing->routes[i]; in csi2_set_routing()
498 ret = v4l2_subdev_set_routing_with_fmt(sd, state, routing, in csi2_set_routing()
/linux/include/media/
H A Dv4l2-subdev.h349 * @stream: stream in routing configuration
722 * struct v4l2_subdev_krouting - subdev routing table
728 * This structure contains the routing table for a subdev.
743 * @routing: routing table for the subdev
756 struct v4l2_subdev_krouting routing; member
827 * subdevice routing table. Subdevs that implement this operation
989 * that the driver supports routing and handles the stream parameter in its
1503 * v4l2_subdev_set_routing() - Set given routing to subdev state
1506 * @routing
1527 for_each_active_route(routing,route) global() argument
[all...]
/linux/Documentation/devicetree/bindings/net/
H A Dcavium-mix.txt19 interrupt routing and the second the routing for the AGL interrupts.
/linux/arch/arm64/boot/dts/renesas/
H A Dr9a07g044c2-smarc.dts24 /* Due to HW routing, SW_RSPI_CAN is always 0 when SW_SCIF_CAN is set to 1 */
32 #error "Can not set 1 to both SW_SCIF_CAN and SW_RSPI_CAN due to HW routing"
/linux/drivers/soc/aspeed/
H A DKconfig28 tristate "ASPEED uart routing control"
33 Provides a driver to control the UART routing paths, allowing

12345678910>>...23