Home
last modified time | relevance | path

Searched refs:remote (Results 1 – 25 of 159) 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/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.c71 struct device_node *port, *ep, *remote, *remote_port; in sun8i_dw_hdmi_find_possible_crtcs() local
74 remote = of_graph_get_remote_node(node, 0, -1); in sun8i_dw_hdmi_find_possible_crtcs()
75 if (!remote) in sun8i_dw_hdmi_find_possible_crtcs()
78 if (sun8i_dw_hdmi_node_is_tcon_top(remote)) { in sun8i_dw_hdmi_find_possible_crtcs()
79 port = of_graph_get_port_by_id(remote, 4); in sun8i_dw_hdmi_find_possible_crtcs()
95 of_node_put(remote); in sun8i_dw_hdmi_find_possible_crtcs()
104 struct device_node *remote; in sun8i_dw_hdmi_find_connector_pdev() local
106 remote = of_graph_get_remote_node(dev->of_node, 1, -1); in sun8i_dw_hdmi_find_connector_pdev()
107 if (!remote) in sun8i_dw_hdmi_find_connector_pdev()
110 if (!of_device_is_compatible(remote, "hdmi-connector")) { in sun8i_dw_hdmi_find_connector_pdev()
[all …]
Dsun4i_drv.c243 struct device_node *ep, *remote, *port; in sun4i_drv_traverse_endpoints() local
252 remote = of_graph_get_remote_port_parent(ep); in sun4i_drv_traverse_endpoints()
253 if (!remote) { in sun4i_drv_traverse_endpoints()
265 if (sun4i_drv_node_is_tcon_top(remote)) { in sun4i_drv_traverse_endpoints()
267 of_node_put(remote); in sun4i_drv_traverse_endpoints()
281 of_node_put(remote); in sun4i_drv_traverse_endpoints()
287 of_node_put(remote); in sun4i_drv_traverse_endpoints()
293 kfifo_put(&list->fifo, remote); in sun4i_drv_traverse_endpoints()
Dsun4i_tcon.c862 struct device_node *port, *ep, *remote; in sun4i_tcon_find_engine_traverse() local
887 remote = of_graph_get_remote_port_parent(ep); in sun4i_tcon_find_engine_traverse()
888 if (!remote) in sun4i_tcon_find_engine_traverse()
893 if (remote == engine->node) in sun4i_tcon_find_engine_traverse()
910 engine = sun4i_tcon_find_engine_traverse(drv, remote, reg); in sun4i_tcon_find_engine_traverse()
913 of_node_put(remote); in sun4i_tcon_find_engine_traverse()
939 struct device_node *remote; in sun4i_tcon_of_get_id_from_port() local
942 remote = of_graph_get_remote_endpoint(ep); in sun4i_tcon_of_get_id_from_port()
943 if (!remote) in sun4i_tcon_of_get_id_from_port()
946 ret = of_property_read_u32(remote, "reg", &reg); in sun4i_tcon_of_get_id_from_port()
[all …]
/drivers/gpu/drm/bridge/
Dthc63lvd1024.c122 struct device_node *remote; in thc63_parse_dt() local
132 remote = of_graph_get_remote_port_parent(endpoint); in thc63_parse_dt()
134 if (!remote) { in thc63_parse_dt()
140 if (!of_device_is_available(remote)) { in thc63_parse_dt()
143 of_node_put(remote); in thc63_parse_dt()
147 thc63->next = of_drm_find_bridge(remote); in thc63_parse_dt()
148 of_node_put(remote); in thc63_parse_dt()
155 remote = of_graph_get_remote_port_parent(endpoint); in thc63_parse_dt()
158 if (remote) { in thc63_parse_dt()
159 if (of_device_is_available(remote)) in thc63_parse_dt()
[all …]
Ddumb-vga-dac.c157 struct device_node *phandle, *remote; in dumb_vga_retrieve_ddc() local
160 remote = of_graph_get_remote_node(dev->of_node, 1, -1); in dumb_vga_retrieve_ddc()
161 if (!remote) in dumb_vga_retrieve_ddc()
164 phandle = of_parse_phandle(remote, "ddc-i2c-bus", 0); in dumb_vga_retrieve_ddc()
165 of_node_put(remote); in dumb_vga_retrieve_ddc()
/drivers/hid/
Dwacom_sys.c1839 static struct kobj_attribute remote##SET_ID##_mode_attr = { \
1844 static struct attribute *remote##SET_ID##_serial_attrs[] = { \
1845 &remote##SET_ID##_mode_attr.attr, \
1848 static struct attribute_group remote##SET_ID##_serial_group = { \
1850 .attrs = remote##SET_ID##_serial_attrs, \
1863 struct wacom_remote *remote = wacom->remote; in wacom_remote_create_attr_group() local
1865 remote->remotes[index].group.name = devm_kasprintf(&wacom->hdev->dev, in wacom_remote_create_attr_group()
1868 if (!remote->remotes[index].group.name) in wacom_remote_create_attr_group()
1871 error = __wacom_devm_sysfs_create_group(wacom, remote->remote_dir, in wacom_remote_create_attr_group()
1872 &remote->remotes[index].group); in wacom_remote_create_attr_group()
[all …]
/drivers/gpu/drm/meson/
Dmeson_drv.c121 struct device_node *ep, *remote; in meson_vpu_has_available_connectors() local
126 remote = of_graph_get_remote_port(ep); in meson_vpu_has_available_connectors()
127 if (remote) in meson_vpu_has_available_connectors()
395 struct device_node *remote) in meson_probe_remote() argument
401 if (of_match_node(connectors_match, remote)) in meson_probe_remote()
404 component_match_add(&pdev->dev, match, compare_of, remote); in meson_probe_remote()
406 for_each_endpoint_of_node(remote, ep) { in meson_probe_remote()
415 count += meson_probe_remote(pdev, match, remote, remote_node); in meson_probe_remote()
427 struct device_node *ep, *remote; in meson_drv_probe() local
431 remote = of_graph_get_remote_port_parent(ep); in meson_drv_probe()
[all …]
/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) 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/remoteproc/
DKconfig12 Support for remote processors (such as DSP coprocessors). These
21 Say y here to support iMX's remote processors (Cortex M4
22 on iMX7D) via the remote processor framework.
33 Say y here to support OMAP's remote processors (dual M3
34 and DSP on OMAP4) via the remote processor framework.
40 offloaded to remote DSP processors using this framework).
49 Say y here to support Wakeup M3 remote processor on TI AM33xx
54 firmware onto these remote processors.
62 Say y here to support DA8xx/OMAP-L13x remote processors via the
63 remote processor framework.
[all …]
/drivers/gpu/drm/i915/gt/
Dselftest_context.c330 static int __remote_sync(struct intel_context *ce, struct intel_context *remote) in __remote_sync() argument
335 err = intel_context_pin(remote); in __remote_sync()
345 err = intel_context_prepare_remote_request(remote, rq); in __remote_sync()
354 intel_context_unpin(remote); in __remote_sync()
361 struct intel_context *local, *remote; in __live_remote_context() local
373 remote = intel_context_create(fixme, engine); in __live_remote_context()
374 if (IS_ERR(remote)) in __live_remote_context()
375 return PTR_ERR(remote); in __live_remote_context()
384 err = __remote_sync(local, remote); in __live_remote_context()
388 err = __remote_sync(engine->kernel_context, remote); in __live_remote_context()
[all …]
/drivers/thunderbolt/
Dtb.c100 tb_discover_tunnels(sw->ports[i].remote->sw); in tb_discover_tunnels()
167 if (port->remote) { in tb_scan_port()
213 port->remote = upstream_port; in tb_scan_port()
214 upstream_port->remote = port; in tb_scan_port()
216 port->dual_link_port->remote = upstream_port->dual_link_port; in tb_scan_port()
217 upstream_port->dual_link_port->remote = port->dual_link_port; in tb_scan_port()
273 if (port->remote->sw->is_unplugged) { in tb_free_unplugged_children()
274 tb_switch_remove(port->remote->sw); in tb_free_unplugged_children()
275 port->remote = NULL; in tb_free_unplugged_children()
277 port->dual_link_port->remote = NULL; 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()
Dimx-media-of.c89 struct v4l2_subdev *remote, *src, *sink; in create_of_link() local
95 remote = imx_media_find_subdev_by_fwnode(imxmd, link->remote_node); in create_of_link()
96 if (!remote) in create_of_link()
100 src = remote; in create_of_link()
107 sink = remote; in create_of_link()
/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/arm/display/komeda/
Dkomeda_drv.c89 struct device_node *remote; in komeda_add_slave() local
91 remote = of_graph_get_remote_node(np, port, endpoint); in komeda_add_slave()
92 if (remote) { in komeda_add_slave()
93 drm_of_component_match_add(master, match, compare_of, remote); in komeda_add_slave()
94 of_node_put(remote); in komeda_add_slave()
/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/armada/
Darmada_drv.c213 struct device_node *ep, *remote; in armada_add_endpoints() local
216 remote = of_graph_get_remote_port_parent(ep); in armada_add_endpoints()
217 if (remote && of_device_is_available(remote)) in armada_add_endpoints()
219 remote); in armada_add_endpoints()
220 of_node_put(remote); in armada_add_endpoints()
/drivers/net/ethernet/intel/fm10k/
Dfm10k_mbx.c647 mbx->remote = fm10k_fifo_crc(fifo, offset, len, mbx->remote); in fm10k_mbx_verify_remote_crc()
650 crc = fm10k_crc_16b(&mbx->mbx_hdr, mbx->remote, 1); in fm10k_mbx_verify_remote_crc()
1128 mbx->remote = FM10K_MBX_CRC_SEED; in fm10k_mbx_connect_reset()
1305 mbx->remote = FM10K_MBX_CRC_SEED; in fm10k_mbx_process_error()
1600 mbx->remote = FM10K_MBX_CRC_SEED; in fm10k_pfvf_mbx_init()
1636 FM10K_MSG_HDR_FIELD_SET(mbx->remote, SM_VER) | in fm10k_sm_mbx_create_data_hdr()
1653 FM10K_MSG_HDR_FIELD_SET(mbx->remote, SM_VER) | in fm10k_sm_mbx_create_connect_hdr()
1671 mbx->remote = 0; in fm10k_sm_mbx_connect_reset()
1756 mbx->remote = 0; in fm10k_sm_mbx_disconnect()
1820 mbx->remote = 0; in fm10k_sm_mbx_process_error()
[all …]
/drivers/misc/ibmasm/
Dremote.c185 send_mouse_event(sp->remote.mouse_dev, &input); in ibmasm_handle_mouse_interrupt()
187 send_keyboard_event(sp->remote.keybd_dev, &input); in ibmasm_handle_mouse_interrupt()
204 sp->remote.mouse_dev = mouse_dev = input_allocate_device(); in ibmasm_init_remote_input_dev()
205 sp->remote.keybd_dev = keybd_dev = input_allocate_device(); in ibmasm_init_remote_input_dev()
265 input_unregister_device(sp->remote.mouse_dev); in ibmasm_free_remote_input_dev()
266 input_unregister_device(sp->remote.keybd_dev); in ibmasm_free_remote_input_dev()

1234567