Home
last modified time | relevance | path

Searched refs:remote (Results 1 – 25 of 175) sorted by relevance

1234567

/drivers/input/misc/
Dkeyspan_remote.c167 static void keyspan_report_button(struct usb_keyspan *remote, int button, int press) in keyspan_report_button() argument
169 struct input_dev *input = remote->input; in keyspan_report_button()
172 input_report_key(input, remote->keymap[button], press); in keyspan_report_button()
179 static void keyspan_check_data(struct usb_keyspan *remote) in keyspan_check_data() argument
185 switch(remote->stage) { in keyspan_check_data()
191 for (i = 0; i < RECV_SIZE && remote->in_buffer[i] == GAP; ++i); in keyspan_check_data()
194 memcpy(remote->data.buffer, remote->in_buffer, RECV_SIZE); in keyspan_check_data()
195 remote->data.len = RECV_SIZE; in keyspan_check_data()
196 remote->data.pos = 0; in keyspan_check_data()
197 remote->data.tester = 0; in keyspan_check_data()
[all …]
/drivers/gpu/drm/
Ddrm_of.c119 struct device_node *ep, *port, *remote; in drm_of_component_probe() local
166 remote = of_graph_get_remote_port_parent(ep); in drm_of_component_probe()
167 if (!remote || !of_device_is_available(remote)) { in drm_of_component_probe()
168 of_node_put(remote); in drm_of_component_probe()
170 } else if (!of_device_is_available(remote->parent)) { in drm_of_component_probe()
172 remote); in drm_of_component_probe()
173 of_node_put(remote); in drm_of_component_probe()
178 remote); in drm_of_component_probe()
179 of_node_put(remote); in drm_of_component_probe()
242 struct device_node *remote; in drm_of_find_panel_or_bridge() local
[all …]
/drivers/staging/media/atomisp/pci/runtime/queue/src/
Dqueue_access.c37 rdesc->desc.remote.cb_desc_addr in ia_css_queue_load()
53 rdesc->desc.remote.cb_desc_addr in ia_css_queue_load()
58 rdesc->desc.remote.cb_desc_addr in ia_css_queue_load()
63 rdesc->desc.remote.cb_desc_addr in ia_css_queue_load()
68 hmm_load(rdesc->desc.remote.cb_desc_addr, in ia_css_queue_load()
92 rdesc->desc.remote.cb_desc_addr in ia_css_queue_store()
98 rdesc->desc.remote.cb_desc_addr in ia_css_queue_store()
104 rdesc->desc.remote.cb_desc_addr in ia_css_queue_store()
110 rdesc->desc.remote.cb_desc_addr in ia_css_queue_store()
115 hmm_store(rdesc->desc.remote.cb_desc_addr, in ia_css_queue_store()
[all …]
/drivers/remoteproc/
DKconfig12 Support for remote processors (such as DSP coprocessors). These
21 framework. Userspace can boot/shutdown remote processors through
30 Say y here to support iMX's remote processors (Cortex M4
31 on iMX7D) via the remote processor framework.
50 the remote processor framework.
61 Say y here to support OMAP's remote processors (dual M3
62 and DSP on OMAP4) via the remote processor framework.
68 offloaded to remote DSP processors using this framework).
78 Say Y here to enable watchdog timer for remote processors.
80 This option controls the watchdog functionality for the remote
[all …]
/drivers/hid/
Dwacom_sys.c1876 static struct kobj_attribute remote##SET_ID##_mode_attr = { \
1881 static struct attribute *remote##SET_ID##_serial_attrs[] = { \
1882 &remote##SET_ID##_mode_attr.attr, \
1885 static struct attribute_group remote##SET_ID##_serial_group = { \
1887 .attrs = remote##SET_ID##_serial_attrs, \
1900 struct wacom_remote *remote = wacom->remote; in wacom_remote_create_attr_group() local
1902 remote->remotes[index].group.name = devm_kasprintf(&wacom->hdev->dev, in wacom_remote_create_attr_group()
1905 if (!remote->remotes[index].group.name) in wacom_remote_create_attr_group()
1908 error = __wacom_devm_sysfs_create_group(wacom, remote->remote_dir, in wacom_remote_create_attr_group()
1909 &remote->remotes[index].group); in wacom_remote_create_attr_group()
[all …]
/drivers/vlynq/
Dvlynq.c73 dev->local, dev->remote); in vlynq_dump_regs()
78 i + 1, ((u32 *)dev->remote)[i]); in vlynq_dump_regs()
133 val = readl(&dev->remote->int_device[virq >> 2]); in vlynq_irq_unmask()
135 writel(val, &dev->remote->int_device[virq >> 2]); in vlynq_irq_unmask()
146 val = readl(&dev->remote->int_device[virq >> 2]); in vlynq_irq_mask()
148 writel(val, &dev->remote->int_device[virq >> 2]); in vlynq_irq_mask()
159 val = readl(&dev->remote->int_device[virq >> 2]); in vlynq_irq_type()
178 writel(val, &dev->remote->int_device[virq >> 2]); in vlynq_irq_type()
195 u32 status = readl(&dev->remote->status); in vlynq_remote_ack()
199 writel(status, &dev->remote->status); in vlynq_remote_ack()
[all …]
/drivers/gpu/drm/sun4i/
Dsun8i_dw_hdmi.c67 struct device_node *port, *ep, *remote, *remote_port; in sun8i_dw_hdmi_find_possible_crtcs() local
70 remote = of_graph_get_remote_node(node, 0, -1); in sun8i_dw_hdmi_find_possible_crtcs()
71 if (!remote) in sun8i_dw_hdmi_find_possible_crtcs()
74 if (sun8i_dw_hdmi_node_is_tcon_top(remote)) { in sun8i_dw_hdmi_find_possible_crtcs()
75 port = of_graph_get_port_by_id(remote, 4); in sun8i_dw_hdmi_find_possible_crtcs()
91 of_node_put(remote); in sun8i_dw_hdmi_find_possible_crtcs()
100 struct device_node *remote; in sun8i_dw_hdmi_find_connector_pdev() local
102 remote = of_graph_get_remote_node(dev->of_node, 1, -1); in sun8i_dw_hdmi_find_connector_pdev()
103 if (!remote) in sun8i_dw_hdmi_find_connector_pdev()
106 if (!of_device_is_compatible(remote, "hdmi-connector")) { in sun8i_dw_hdmi_find_connector_pdev()
[all …]
Dsun4i_drv.c245 struct device_node *ep, *remote, *port; in sun4i_drv_traverse_endpoints() local
254 remote = of_graph_get_remote_port_parent(ep); in sun4i_drv_traverse_endpoints()
255 if (!remote) { in sun4i_drv_traverse_endpoints()
267 if (sun4i_drv_node_is_tcon_top(remote)) { in sun4i_drv_traverse_endpoints()
269 of_node_put(remote); in sun4i_drv_traverse_endpoints()
283 of_node_put(remote); in sun4i_drv_traverse_endpoints()
289 of_node_put(remote); in sun4i_drv_traverse_endpoints()
295 kfifo_put(&list->fifo, remote); in sun4i_drv_traverse_endpoints()
Dsun4i_tcon.c883 struct device_node *port, *ep, *remote; in sun4i_tcon_find_engine_traverse() local
908 remote = of_graph_get_remote_port_parent(ep); in sun4i_tcon_find_engine_traverse()
909 if (!remote) in sun4i_tcon_find_engine_traverse()
914 if (remote == engine->node) in sun4i_tcon_find_engine_traverse()
931 engine = sun4i_tcon_find_engine_traverse(drv, remote, reg); in sun4i_tcon_find_engine_traverse()
934 of_node_put(remote); in sun4i_tcon_find_engine_traverse()
960 struct device_node *remote; in sun4i_tcon_of_get_id_from_port() local
963 remote = of_graph_get_remote_endpoint(ep); in sun4i_tcon_of_get_id_from_port()
964 if (!remote) in sun4i_tcon_of_get_id_from_port()
967 ret = of_property_read_u32(remote, "reg", &reg); in sun4i_tcon_of_get_id_from_port()
[all …]
/drivers/gpu/drm/bridge/
Dthc63lvd1024.c124 struct device_node *remote; in thc63_parse_dt() local
134 remote = of_graph_get_remote_port_parent(endpoint); in thc63_parse_dt()
136 if (!remote) { in thc63_parse_dt()
142 if (!of_device_is_available(remote)) { in thc63_parse_dt()
145 of_node_put(remote); in thc63_parse_dt()
149 thc63->next = of_drm_find_bridge(remote); in thc63_parse_dt()
150 of_node_put(remote); in thc63_parse_dt()
157 remote = of_graph_get_remote_port_parent(endpoint); in thc63_parse_dt()
160 if (remote) { in thc63_parse_dt()
161 if (of_device_is_available(remote)) in thc63_parse_dt()
[all …]
Dsimple-bridge.c170 struct device_node *remote; in simple_bridge_probe() local
180 remote = of_graph_get_remote_node(pdev->dev.of_node, 1, -1); in simple_bridge_probe()
181 if (!remote) in simple_bridge_probe()
184 sbridge->next_bridge = of_drm_find_bridge(remote); in simple_bridge_probe()
185 of_node_put(remote); in simple_bridge_probe()
/drivers/media/usb/uvc/
Duvc_entity.c33 struct uvc_entity *remote; in uvc_mc_create_links() local
39 remote = uvc_entity_by_id(chain->dev, entity->baSourceID[i]); in uvc_mc_create_links()
40 if (remote == NULL || remote->num_pads == 0) in uvc_mc_create_links()
43 source = (UVC_ENTITY_TYPE(remote) == UVC_TT_STREAMING) in uvc_mc_create_links()
44 ? (remote->vdev ? &remote->vdev->entity : NULL) in uvc_mc_create_links()
45 : &remote->subdev.entity; in uvc_mc_create_links()
49 remote_pad = remote->num_pads - 1; in uvc_mc_create_links()
/drivers/gpu/drm/i915/gt/
Dselftest_context.c319 static int __remote_sync(struct intel_context *ce, struct intel_context *remote) in __remote_sync() argument
324 err = intel_context_pin(remote); in __remote_sync()
334 err = intel_context_prepare_remote_request(remote, rq); in __remote_sync()
343 intel_context_unpin(remote); in __remote_sync()
349 struct intel_context *local, *remote; in __live_remote_context() local
368 remote = intel_context_create(engine); in __live_remote_context()
369 if (IS_ERR(remote)) in __live_remote_context()
370 return PTR_ERR(remote); in __live_remote_context()
383 err = __remote_sync(local, remote); in __live_remote_context()
387 err = __remote_sync(engine->kernel_context, remote); in __live_remote_context()
[all …]
/drivers/gpu/drm/meson/
Dmeson_drv.c113 struct device_node *ep, *remote; in meson_vpu_has_available_connectors() local
118 remote = of_graph_get_remote_port(ep); in meson_vpu_has_available_connectors()
119 if (remote) { in meson_vpu_has_available_connectors()
120 of_node_put(remote); in meson_vpu_has_available_connectors()
464 struct device_node *remote) in meson_probe_remote() argument
470 if (of_match_node(connectors_match, remote)) in meson_probe_remote()
473 component_match_add(&pdev->dev, match, compare_of, remote); in meson_probe_remote()
475 for_each_endpoint_of_node(remote, ep) { in meson_probe_remote()
484 count += meson_probe_remote(pdev, match, remote, remote_node); in meson_probe_remote()
507 struct device_node *ep, *remote; in meson_drv_probe() local
[all …]
/drivers/thunderbolt/
Dtb.c94 tb_remove_dp_resources(port->remote->sw); in tb_remove_dp_resources()
152 tb_discover_tunnels(port->remote->sw); in tb_discover_tunnels()
525 ret = tb_create_usb3_tunnels(port->remote->sw); in tb_create_usb3_tunnels()
580 if (port->remote) { in tb_scan_port()
636 port->remote = upstream_port; in tb_scan_port()
637 upstream_port->remote = port; in tb_scan_port()
639 port->dual_link_port->remote = upstream_port->dual_link_port; in tb_scan_port()
640 upstream_port->dual_link_port->remote = port->dual_link_port; in tb_scan_port()
737 if (port->remote->sw->is_unplugged) { in tb_free_unplugged_children()
739 tb_remove_dp_resources(port->remote->sw); in tb_free_unplugged_children()
[all …]
/drivers/media/pci/bt8xx/
Dbttv-input.c42 struct bttv_ir *ir = btv->remote; in ir_handle_key()
77 struct bttv_ir *ir = btv->remote; in ir_enltv_handle_key()
119 struct bttv_ir *ir = btv->remote; in bttv_input_irq()
237 struct bttv_ir *ir = btv->remote; in bttv_rc5_irq()
306 if (btv->remote->polling) in bttv_ir_stop()
307 del_timer_sync(&btv->remote->timer); in bttv_ir_stop()
309 if (btv->remote->rc5_gpio) { in bttv_ir_stop()
312 del_timer_sync(&btv->remote->timer); in bttv_ir_stop()
551 btv->remote = ir; in bttv_input_init()
563 btv->remote = NULL; in bttv_input_init()
[all …]
/drivers/staging/media/imx/
Dimx-media-internal-sd.c20 int remote; member
49 .remote = IPU_IC_PRP,
53 .remote = IPU_VDIC,
67 .remote = IPU_IC_PRP,
71 .remote = IPU_VDIC,
87 .remote = IPU_IC_PRP,
103 .remote = IPU_IC_PRPENC,
113 .remote = IPU_IC_PRPVF,
179 sink = imxmd->sync_sd[ipu_id][link->remote]; in create_ipu_internal_links()
/drivers/media/platform/xilinx/
Dxilinx-vipp.c73 struct media_entity *remote; in xvip_graph_build_one() local
137 remote = ent->entity; in xvip_graph_build_one()
139 if (link.remote_port >= remote->num_pads) { in xvip_graph_build_one()
147 remote_pad = &remote->pads[link.remote_port]; in xvip_graph_build_one()
154 remote->name, remote_pad->index); in xvip_graph_build_one()
157 remote, remote_pad->index, in xvip_graph_build_one()
163 remote->name, remote_pad->index); in xvip_graph_build_one()
355 struct fwnode_handle *remote; in xvip_graph_parse_one() local
370 remote = fwnode_graph_get_remote_port_parent(ep); in xvip_graph_parse_one()
371 if (remote == NULL) { in xvip_graph_parse_one()
[all …]
/drivers/media/rc/
DKconfig71 Enable this option if you have an infrared remote control which
80 Enable this option if you have an infrared remote control which
89 Enable this option if you have an infrared remote control which
97 Enable this option if you have an infrared remote control which
106 Enable this option if you have an infrared remote control which
134 remote control and you would like to use it with a raw IR
159 tristate "ATI / X10 based USB RF remote controls"
164 Say Y here if you want to use an X10 based USB remote control.
167 Such devices include the ATI remote that comes with many of ATI's
168 All-In-Wonder video cards, the X10 "Lola" remote, NVIDIA RF remote,
[all …]
/drivers/gpu/drm/imx/dcss/
Ddcss-drv.c36 struct device_node *remote; in dcss_drv_platform_probe() local
44 remote = of_graph_get_remote_node(dev->of_node, 0, 0); in dcss_drv_platform_probe()
45 if (!remote) in dcss_drv_platform_probe()
48 hdmi_output = !of_device_is_compatible(remote, "fsl,imx8mq-nwl-dsi"); in dcss_drv_platform_probe()
50 of_node_put(remote); in dcss_drv_platform_probe()
/drivers/gpu/drm/rcar-du/
Drcar_du_of.c125 struct device_node *remote) in rcar_du_of_lvds_patch_one() argument
162 value[1] = cpu_to_be32(remote->phandle); in rcar_du_of_lvds_patch_one()
192 struct device_node *remote; member
266 lvds->remote = of_graph_get_remote_endpoint(lvds->local); in rcar_du_of_lvds_patch()
267 if (!lvds->remote) in rcar_du_of_lvds_patch()
306 lvds_data[i].remote); in rcar_du_of_lvds_patch()
313 of_node_put(lvds_data[i].remote); in rcar_du_of_lvds_patch()
/drivers/media/pci/saa7134/
Dsaa7134-input.c47 struct saa7134_card_ir *ir = dev->remote; in build_key()
418 if (!dev || !dev->remote) in saa7134_input_irq()
421 ir = dev->remote; in saa7134_input_irq()
444 struct saa7134_card_ir *ir = dev->remote; in saa7134_ir_open()
496 struct saa7134_card_ir *ir = dev->remote; in saa7134_ir_close()
779 dev->remote = ir; in saa7134_input_init1()
826 dev->remote = NULL; in saa7134_input_init1()
833 if (NULL == dev->remote) in saa7134_input_fini()
836 rc_unregister_device(dev->remote->dev); in saa7134_input_fini()
837 kfree(dev->remote); in saa7134_input_fini()
[all …]
/drivers/gpu/drm/arm/display/komeda/
Dkomeda_drv.c105 struct device_node *remote; in komeda_add_slave() local
107 remote = of_graph_get_remote_node(np, port, endpoint); in komeda_add_slave()
108 if (remote) { in komeda_add_slave()
109 drm_of_component_match_add(master, match, compare_of, remote); in komeda_add_slave()
110 of_node_put(remote); in komeda_add_slave()
/drivers/gpu/drm/armada/
Darmada_drv.c198 struct device_node *ep, *remote; in armada_add_endpoints() local
201 remote = of_graph_get_remote_port_parent(ep); in armada_add_endpoints()
202 if (remote && of_device_is_available(remote)) in armada_add_endpoints()
204 remote); in armada_add_endpoints()
205 of_node_put(remote); in armada_add_endpoints()
/drivers/staging/media/tegra-video/
Dvi.c1323 struct media_entity *remote; in tegra_vi_graph_build() local
1357 remote = &chan->video.entity; in tegra_vi_graph_build()
1383 remote = ent->entity; in tegra_vi_graph_build()
1384 if (link.remote_port >= remote->num_pads) { in tegra_vi_graph_build()
1393 remote_pad = &remote->pads[link.remote_port]; in tegra_vi_graph_build()
1398 remote->name, remote_pad->index); in tegra_vi_graph_build()
1401 remote, remote_pad->index, in tegra_vi_graph_build()
1408 remote->name, remote_pad->index, ret); in tegra_vi_graph_build()
1532 struct fwnode_handle *remote = NULL; in tegra_vi_graph_parse_one() local
1542 remote = fwnode_graph_get_remote_port_parent(ep); in tegra_vi_graph_parse_one()
[all …]

1234567