Home
last modified time | relevance | path

Searched refs:remote (Results 1 – 25 of 172) 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()
245 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
32 Say y here to support iMX's remote processors via the remote
52 the remote processor framework.
63 Say y here to support OMAP's remote processors (dual M3
64 and DSP on OMAP4) via the remote processor framework.
70 offloaded to remote DSP processors using this framework).
80 Say Y here to enable watchdog timer for remote processors.
82 This option controls the watchdog functionality for the remote
83 processors in OMAP. Dedicated OMAP DMTimers are used by 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 const 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.c246 struct device_node *ep, *remote, *port; in sun4i_drv_traverse_endpoints() local
255 remote = of_graph_get_remote_port_parent(ep); in sun4i_drv_traverse_endpoints()
256 if (!remote) { in sun4i_drv_traverse_endpoints()
268 if (sun4i_drv_node_is_tcon_top(remote)) { in sun4i_drv_traverse_endpoints()
270 of_node_put(remote); in sun4i_drv_traverse_endpoints()
284 of_node_put(remote); in sun4i_drv_traverse_endpoints()
290 of_node_put(remote); in sun4i_drv_traverse_endpoints()
296 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.c325 static int __remote_sync(struct intel_context *ce, struct intel_context *remote) in __remote_sync() argument
330 err = intel_context_pin(remote); in __remote_sync()
340 err = intel_context_prepare_remote_request(remote, rq); in __remote_sync()
349 intel_context_unpin(remote); in __remote_sync()
355 struct intel_context *local, *remote; in __live_remote_context() local
378 remote = intel_context_create(engine); in __live_remote_context()
379 if (IS_ERR(remote)) in __live_remote_context()
380 return PTR_ERR(remote); in __live_remote_context()
393 err = __remote_sync(local, remote); in __live_remote_context()
397 err = __remote_sync(engine->kernel_context, remote); in __live_remote_context()
[all …]
/drivers/gpu/drm/meson/
Dmeson_drv.c111 struct device_node *ep, *remote; in meson_vpu_has_available_connectors() local
116 remote = of_graph_get_remote_port(ep); in meson_vpu_has_available_connectors()
117 if (remote) { in meson_vpu_has_available_connectors()
118 of_node_put(remote); in meson_vpu_has_available_connectors()
453 struct device_node *remote) in meson_probe_remote() argument
459 if (of_match_node(connectors_match, remote)) in meson_probe_remote()
462 component_match_add(&pdev->dev, match, compare_of, remote); in meson_probe_remote()
464 for_each_endpoint_of_node(remote, ep) { in meson_probe_remote()
473 count += meson_probe_remote(pdev, match, remote, remote_node); in meson_probe_remote()
496 struct device_node *ep, *remote; in meson_drv_probe() local
[all …]
Dmeson_encoder_hdmi.c353 struct device_node *remote; in meson_encoder_hdmi_init() local
361 remote = of_graph_get_remote_node(priv->dev->of_node, 1, 0); in meson_encoder_hdmi_init()
362 if (!remote) { in meson_encoder_hdmi_init()
367 meson_encoder_hdmi->next_bridge = of_drm_find_bridge(remote); in meson_encoder_hdmi_init()
434 pdev = of_find_device_by_node(remote); in meson_encoder_hdmi_init()
435 of_node_put(remote); in meson_encoder_hdmi_init()
456 of_node_put(remote); in meson_encoder_hdmi_init()
/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/thunderbolt/
Dtb.c97 tb_remove_dp_resources(port->remote->sw); in tb_remove_dp_resources()
167 tb_switch_discover_tunnels(port->remote->sw, list, in tb_switch_discover_tunnels()
576 ret = tb_create_usb3_tunnels(port->remote->sw); in tb_create_usb3_tunnels()
631 if (port->remote) { in tb_scan_port()
687 port->remote = upstream_port; in tb_scan_port()
688 upstream_port->remote = port; in tb_scan_port()
690 port->dual_link_port->remote = upstream_port->dual_link_port; in tb_scan_port()
691 upstream_port->dual_link_port->remote = port->dual_link_port; in tb_scan_port()
788 if (port->remote->sw->is_unplugged) { in tb_free_unplugged_children()
790 tb_remove_dp_resources(port->remote->sw); in tb_free_unplugged_children()
[all …]
/drivers/media/rc/
DKconfig66 Enable this option if you have an infrared remote control which
74 Enable this option if you have an infrared remote control which
82 Enable this option if you have an infrared remote control which
90 Enable this option if you have an infrared remote control which
99 Enable this option if you have an infrared remote control which
124 remote control and you would like to use it with a raw IR
147 tristate "ATI / X10 based USB RF remote controls"
150 Say Y here if you want to use an X10 based USB remote control.
153 Such devices include the ATI remote that comes with many of ATI's
154 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.c193 struct device_node *ep, *remote; in armada_add_endpoints() local
196 remote = of_graph_get_remote_port_parent(ep); in armada_add_endpoints()
197 if (remote && of_device_is_available(remote)) in armada_add_endpoints()
199 remote); in armada_add_endpoints()
200 of_node_put(remote); in armada_add_endpoints()

1234567