Home
last modified time | relevance | path

Searched refs:routing (Results 1 - 25 of 53) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/
H A Ddebugfs.c70 unsigned int routing, addr; in shm16read__read_file() local
73 routing = dev->dfsentry->shm16read_routing_next; in shm16read__read_file()
75 if ((routing > B43_MAX_SHM_ROUTING) || in shm16read__read_file()
79 val = b43_shm_read16(dev, routing, addr); in shm16read__read_file()
88 unsigned int routing, addr; in shm16read__write_file() local
91 res = sscanf(buf, "0x%X 0x%X", &routing, &addr); in shm16read__write_file()
94 if (routing > B43_MAX_SHM_ROUTING) in shm16read__write_file()
98 if (routing == B43_SHM_SHARED) { in shm16read__write_file()
103 dev->dfsentry->shm16read_routing_next = routing; in shm16read__write_file()
112 unsigned int routing, add in shm16write__write_file() local
146 unsigned int routing, addr; shm32read__read_file() local
164 unsigned int routing, addr; shm32read__write_file() local
188 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);
H A Dphy_ht.c38 static const u16 routing[] = { R2059_C1, R2059_C2, R2059_C3, }; in b43_radio_2059_channel_setup() local
57 r = routing[core]; in b43_radio_2059_channel_setup()
144 static const u16 routing[] = { R2059_C1, R2059_C2, R2059_C3 }; in b43_radio_2059_init() local
152 for (i = 0; i < ARRAY_SIZE(routing); i++) in b43_radio_2059_init()
153 b43_radio_set(dev, routing[i] | 0x146, 0x3); in b43_radio_2059_init()
611 static const u16 routing[] = { R2059_C1, R2059_C2, R2059_C3, }; in b43_phy_ht_tssi_setup() local
617 b43_radio_write(dev, routing[core] | 0x0159, 0x0011); in b43_phy_ht_tssi_setup()
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43/
H A Ddebugfs.c70 unsigned int routing, addr; in shm16read__read_file() local
73 routing = dev->dfsentry->shm16read_routing_next; in shm16read__read_file()
75 if ((routing > B43_MAX_SHM_ROUTING) || in shm16read__read_file()
79 val = b43_shm_read16(dev, routing, addr); in shm16read__read_file()
88 unsigned int routing, addr; in shm16read__write_file() local
91 res = sscanf(buf, "0x%X 0x%X", &routing, &addr); in shm16read__write_file()
94 if (routing > B43_MAX_SHM_ROUTING) in shm16read__write_file()
98 if (routing == B43_SHM_SHARED) { in shm16read__write_file()
103 dev->dfsentry->shm16read_routing_next = routing; in shm16read__write_file()
112 unsigned int routing, add in shm16write__write_file() local
146 unsigned int routing, addr; shm32read__read_file() local
164 unsigned int routing, addr; shm32read__write_file() local
188 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);
H A Dphy_ht.c38 static const u16 routing[] = { R2059_C1, R2059_C2, R2059_C3, }; in b43_radio_2059_channel_setup() local
57 r = routing[core]; in b43_radio_2059_channel_setup()
144 static const u16 routing[] = { R2059_C1, R2059_C2, R2059_C3 }; in b43_radio_2059_init() local
152 for (i = 0; i < ARRAY_SIZE(routing); i++) in b43_radio_2059_init()
153 b43_radio_set(dev, routing[i] | 0x146, 0x3); in b43_radio_2059_init()
611 static const u16 routing[] = { R2059_C1, R2059_C2, R2059_C3, }; in b43_phy_ht_tssi_setup() local
617 b43_radio_write(dev, routing[core] | 0x0159, 0x0011); in b43_phy_ht_tssi_setup()
/kernel/linux/linux-6.6/drivers/media/v4l2-core/
H A Dv4l2-subdev.c845 struct v4l2_subdev_routing *routing = arg; in subdev_do_ioctl() local
854 memset(routing->reserved, 0, sizeof(routing->reserved)); in subdev_do_ioctl()
856 krouting = &state->routing; in subdev_do_ioctl()
858 if (routing->num_routes < krouting->num_routes) { in subdev_do_ioctl()
859 routing->num_routes = krouting->num_routes; in subdev_do_ioctl()
863 memcpy((struct v4l2_subdev_route *)(uintptr_t)routing->routes, in subdev_do_ioctl()
866 routing->num_routes = krouting->num_routes; in subdev_do_ioctl()
872 struct v4l2_subdev_routing *routing = arg; in subdev_do_ioctl() local
874 (struct v4l2_subdev_route *)(uintptr_t)routing in subdev_do_ioctl()
1354 struct v4l2_subdev_krouting *routing; v4l2_subdev_has_pad_interdep() local
1482 v4l2_subdev_init_stream_configs(struct v4l2_subdev_stream_configs *stream_configs, const struct v4l2_subdev_krouting *routing) v4l2_subdev_init_stream_configs() argument
1552 v4l2_subdev_set_routing(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, const struct v4l2_subdev_krouting *routing) v4l2_subdev_set_routing() argument
1591 __v4l2_subdev_next_active_route(const struct v4l2_subdev_krouting *routing, struct v4l2_subdev_route *route) __v4l2_subdev_next_active_route() argument
1610 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
1695 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
1747 const struct v4l2_subdev_krouting *routing = &state->routing; v4l2_subdev_state_xlate_streams() local
1770 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...]
/kernel/linux/linux-5.10/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,
H A Dmain.c258 u16 routing, u16 offset) in b43legacy_shm_control_word()
264 control = routing; in b43legacy_shm_control_word()
271 u16 routing, u16 offset) in b43legacy_shm_read32()
275 if (routing == B43legacy_SHM_SHARED) { in b43legacy_shm_read32()
279 b43legacy_shm_control_word(dev, routing, offset >> 2); in b43legacy_shm_read32()
283 b43legacy_shm_control_word(dev, routing, in b43legacy_shm_read32()
291 b43legacy_shm_control_word(dev, routing, offset); in b43legacy_shm_read32()
298 u16 routing, u16 offset) in b43legacy_shm_read16()
302 if (routing == B43legacy_SHM_SHARED) { in b43legacy_shm_read16()
306 b43legacy_shm_control_word(dev, routing, offse in b43legacy_shm_read16()
257 b43legacy_shm_control_word(struct b43legacy_wldev *dev, u16 routing, u16 offset) b43legacy_shm_control_word() argument
270 b43legacy_shm_read32(struct b43legacy_wldev *dev, u16 routing, u16 offset) b43legacy_shm_read32() argument
297 b43legacy_shm_read16(struct b43legacy_wldev *dev, u16 routing, u16 offset) b43legacy_shm_read16() argument
320 b43legacy_shm_write32(struct b43legacy_wldev *dev, u16 routing, u16 offset, u32 value) b43legacy_shm_write32() argument
344 b43legacy_shm_write16(struct b43legacy_wldev *dev, u16 routing, u16 offset, u16 value) b43legacy_shm_write16() argument
[all...]
/kernel/linux/linux-6.6/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,
H A Dmain.c258 u16 routing, u16 offset) in b43legacy_shm_control_word()
264 control = routing; in b43legacy_shm_control_word()
271 u16 routing, u16 offset) in b43legacy_shm_read32()
275 if (routing == B43legacy_SHM_SHARED) { in b43legacy_shm_read32()
279 b43legacy_shm_control_word(dev, routing, offset >> 2); in b43legacy_shm_read32()
283 b43legacy_shm_control_word(dev, routing, in b43legacy_shm_read32()
291 b43legacy_shm_control_word(dev, routing, offset); in b43legacy_shm_read32()
298 u16 routing, u16 offset) in b43legacy_shm_read16()
302 if (routing == B43legacy_SHM_SHARED) { in b43legacy_shm_read16()
306 b43legacy_shm_control_word(dev, routing, offse in b43legacy_shm_read16()
257 b43legacy_shm_control_word(struct b43legacy_wldev *dev, u16 routing, u16 offset) b43legacy_shm_control_word() argument
270 b43legacy_shm_read32(struct b43legacy_wldev *dev, u16 routing, u16 offset) b43legacy_shm_read32() argument
297 b43legacy_shm_read16(struct b43legacy_wldev *dev, u16 routing, u16 offset) b43legacy_shm_read16() argument
320 b43legacy_shm_write32(struct b43legacy_wldev *dev, u16 routing, u16 offset, u32 value) b43legacy_shm_write32() argument
344 b43legacy_shm_write16(struct b43legacy_wldev *dev, u16 routing, u16 offset, u16 value) b43legacy_shm_write16() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-crossbar.c98 struct v4l2_subdev_krouting *routing) in __mxc_isi_crossbar_set_routing()
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_cfg() local
203 routing.num_routes = xbar->num_sources; in mxc_isi_crossbar_init_cfg()
204 routing in mxc_isi_crossbar_init_cfg()
96 __mxc_isi_crossbar_set_routing(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, struct v4l2_subdev_krouting *routing) __mxc_isi_crossbar_set_routing() argument
309 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...]
/kernel/linux/linux-6.6/drivers/media/i2c/
H A Dds90ub913.c279 struct v4l2_subdev_krouting *routing) in _ub913_set_routing()
310 if (routing->num_routes > V4L2_FRAME_DESC_ENTRY_MAX) in _ub913_set_routing()
313 ret = v4l2_subdev_routing_validate(sd, routing, in _ub913_set_routing()
318 ret = v4l2_subdev_set_routing(sd, state, routing); in _ub913_set_routing()
337 struct v4l2_subdev_krouting *routing) in ub913_set_routing()
344 return _ub913_set_routing(sd, state, routing); in ub913_set_routing()
351 const struct v4l2_subdev_krouting *routing; in ub913_get_frame_desc() local
371 routing = &state->routing; in ub913_get_frame_desc()
373 for_each_active_route(routing, rout in ub913_get_frame_desc()
277 _ub913_set_routing(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, struct v4l2_subdev_krouting *routing) _ub913_set_routing() argument
334 ub913_set_routing(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, enum v4l2_subdev_format_whence which, struct v4l2_subdev_krouting *routing) ub913_set_routing() argument
462 struct v4l2_subdev_krouting routing = { ub913_init_cfg() local
[all...]
H A Dds90ub953.c438 struct v4l2_subdev_krouting *routing) in _ub953_set_routing()
457 if (routing->num_routes > V4L2_FRAME_DESC_ENTRY_MAX) in _ub953_set_routing()
460 ret = v4l2_subdev_routing_validate(sd, routing, in _ub953_set_routing()
465 ret = v4l2_subdev_set_routing_with_fmt(sd, state, routing, &format); in _ub953_set_routing()
475 struct v4l2_subdev_krouting *routing) in ub953_set_routing()
482 return _ub953_set_routing(sd, state, routing); in ub953_set_routing()
508 for_each_active_route(&state->routing, route) { in ub953_get_frame_desc()
594 struct v4l2_subdev_krouting routing = { in ub953_init_cfg() local
599 return _ub953_set_routing(sd, state, &routing); in ub953_init_cfg()
436 _ub953_set_routing(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, struct v4l2_subdev_krouting *routing) _ub953_set_routing() argument
472 ub953_set_routing(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, enum v4l2_subdev_format_whence which, struct v4l2_subdev_krouting *routing) ub953_set_routing() argument
/kernel/linux/linux-6.6/include/media/
H A Dv4l2-subdev.h349 * @stream: stream in routing configuration
740 * struct v4l2_subdev_krouting - subdev routing table
745 * This structure contains the routing table for a subdev.
758 * @routing: routing table for the subdev
770 struct v4l2_subdev_krouting routing; member
826 * subdevice routing table.
967 * that the driver supports routing and handles the stream parameter in its
1497 * v4l2_subdev_set_routing() - Set given routing to subdev state
1500 * @routing
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/lib/
H A Dkvm_util.c1747 struct kvm_irq_routing *routing; in kvm_gsi_routing_create() local
1753 routing = calloc(1, size); in kvm_gsi_routing_create()
1754 assert(routing); in kvm_gsi_routing_create()
1756 return routing; in kvm_gsi_routing_create()
1759 void kvm_gsi_routing_irqchip_add(struct kvm_irq_routing *routing, in kvm_gsi_routing_irqchip_add() argument
1764 assert(routing); in kvm_gsi_routing_irqchip_add()
1765 assert(routing->nr < KVM_MAX_IRQ_ROUTES); in kvm_gsi_routing_irqchip_add()
1767 i = routing->nr; in kvm_gsi_routing_irqchip_add()
1768 routing->entries[i].gsi = gsi; in kvm_gsi_routing_irqchip_add()
1769 routing in kvm_gsi_routing_irqchip_add()
1776 _kvm_gsi_routing_write(struct kvm_vm *vm, struct kvm_irq_routing *routing) _kvm_gsi_routing_write() argument
1787 kvm_gsi_routing_write(struct kvm_vm *vm, struct kvm_irq_routing *routing) kvm_gsi_routing_write() argument
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/aarch64/
H A Dvgic_irq.c563 struct kvm_irq_routing *routing; in kvm_set_gsi_routing_irqchip_check() local
569 routing = kvm_gsi_routing_create(); in kvm_set_gsi_routing_irqchip_check()
571 kvm_gsi_routing_irqchip_add(routing, i - MIN_SPI, i - MIN_SPI); in kvm_set_gsi_routing_irqchip_check()
574 kvm_gsi_routing_write(vm, routing); in kvm_set_gsi_routing_irqchip_check()
576 ret = _kvm_gsi_routing_write(vm, routing); in kvm_set_gsi_routing_irqchip_check()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
H A Dpmtu.sh63 # Set up three namespaces, A, B, and C, with routing between A and B over
82 # Set up two namespaces, B, and C, with routing between the init namespace
250 # Addressing and routing for tests with routers: four network segments, with
899 setup namespaces routing || return 2
997 setup namespaces routing ${type}4 || return 2
1001 setup namespaces routing ${type}6 || return 2
1072 setup namespaces routing bridge bridged_${type}4 || return 2
1076 setup namespaces routing bridge bridged_${type}6 || return 2
1156 setup namespaces routing ovs_bridge ovs_${type}4 || return 2
1160 setup namespaces routing ovs_bridg
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/
H A DMakefile2 ivtv-objs := ivtv-routing.o ivtv-cards.o ivtv-controls.o \
/kernel/linux/linux-6.6/drivers/media/pci/ivtv/
H A DMakefile2 ivtv-objs := ivtv-routing.o ivtv-cards.o ivtv-controls.o \
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dpmtu.sh31 # routing table in A. A fib-rule is used to jump to this routing table
72 # Set up three namespaces, A, B, and C, with routing between A and B over
91 # Set up two namespaces, B, and C, with routing between the init namespace
134 # Set up vti tunnel on top of veth connected through routing namespace and
151 # Same as pmtu_vti6_udp_routed_exception but with routing between vti
271 # Addressing and routing for tests with routers: four network segments, with
1020 setup namespaces routing || return $ksft_skip
1207 setup namespaces routing ${type}4 || return $ksft_skip
1211 setup namespaces routing
[all...]
/kernel/linux/linux-5.10/drivers/bluetooth/
H A Dbtbcm.h37 __u8 routing; member
/kernel/linux/linux-5.10/net/batman-adv/
H A DMakefile28 batman-adv-y += routing.o
/kernel/linux/linux-6.6/drivers/bluetooth/
H A Dbtbcm.h37 __u8 routing; member
/kernel/linux/linux-6.6/net/batman-adv/
H A DMakefile26 batman-adv-y += routing.o

Completed in 26 milliseconds

123