| /drivers/input/misc/ |
| D | keyspan_remote.c | 167 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/rpmsg/ |
| D | qcom_glink_trace.h | 14 TP_PROTO(const char *remote, unsigned int version, unsigned int features, bool tx), 15 TP_ARGS(remote, version, features, tx), 17 __string(remote, remote) 23 __assign_str(remote); 30 __get_str(remote), 39 TP_PROTO(const char *remote, unsigned int version, unsigned int features, bool tx), 40 TP_ARGS(remote, version, features, tx), 42 __string(remote, remote) 48 __assign_str(remote); 55 __get_str(remote), [all …]
|
| /drivers/net/vxlan/ |
| D | vxlan_mdb.c | 99 const struct vxlan_mdb_remote *remote, in vxlan_br_mdb_entry_fill() argument 108 if (remote->flags & VXLAN_MDB_REMOTE_F_BLOCKED) in vxlan_br_mdb_entry_fill() 126 const struct vxlan_mdb_remote *remote) in vxlan_mdb_entry_info_fill_srcs() argument 131 if (hlist_empty(&remote->src_list)) in vxlan_mdb_entry_info_fill_srcs() 138 hlist_for_each_entry(ent, &remote->src_list, node) { in vxlan_mdb_entry_info_fill_srcs() 165 const struct vxlan_mdb_remote *remote) in vxlan_mdb_entry_info_fill() argument 167 struct vxlan_rdst *rd = rtnl_dereference(remote->rd); in vxlan_mdb_entry_info_fill() 175 vxlan_br_mdb_entry_fill(vxlan, mdb_entry, remote, &e); in vxlan_mdb_entry_info_fill() 185 if (nla_put_u8(skb, MDBA_MDB_EATTR_RTPROT, remote->rt_protocol) || in vxlan_mdb_entry_info_fill() 186 nla_put_u8(skb, MDBA_MDB_EATTR_GROUP_MODE, remote->filter_mode) || in vxlan_mdb_entry_info_fill() [all …]
|
| /drivers/staging/media/atomisp/pci/runtime/queue/src/ |
| D | queue_access.c | 37 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/ |
| D | Kconfig | 12 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 43 Say y here to support iMX's DSP remote processors via the remote 63 the remote processor framework. 74 Say y here to support OMAP's remote processors (dual M3 75 and DSP on OMAP4) via the remote processor framework. 81 offloaded to remote DSP processors using this framework). 91 Say Y here to enable watchdog timer for remote processors. 93 This option controls the watchdog functionality for the remote [all …]
|
| /drivers/gpu/drm/ |
| D | drm_of.c | 117 struct device_node *ep, *port, *remote; in drm_of_component_probe() local 164 remote = of_graph_get_remote_port_parent(ep); in drm_of_component_probe() 165 if (!remote || !of_device_is_available(remote)) { in drm_of_component_probe() 166 of_node_put(remote); in drm_of_component_probe() 168 } else if (!of_device_is_available(remote->parent)) { in drm_of_component_probe() 170 remote); in drm_of_component_probe() 171 of_node_put(remote); in drm_of_component_probe() 176 remote); in drm_of_component_probe() 177 of_node_put(remote); in drm_of_component_probe() 243 struct device_node *remote; in drm_of_find_panel_or_bridge() local [all …]
|
| /drivers/hid/ |
| D | wacom_sys.c | 1877 static struct kobj_attribute remote##SET_ID##_mode_attr = { \ 1882 static struct attribute *remote##SET_ID##_serial_attrs[] = { \ 1883 &remote##SET_ID##_mode_attr.attr, \ 1886 static const struct attribute_group remote##SET_ID##_serial_group = { \ 1888 .attrs = remote##SET_ID##_serial_attrs, \ 1901 struct wacom_remote *remote = wacom->remote; in wacom_remote_create_attr_group() local 1903 remote->remotes[index].group.name = devm_kasprintf(&wacom->hdev->dev, in wacom_remote_create_attr_group() 1906 if (!remote->remotes[index].group.name) in wacom_remote_create_attr_group() 1909 error = __wacom_devm_sysfs_create_group(wacom, remote->remote_dir, in wacom_remote_create_attr_group() 1910 &remote->remotes[index].group); in wacom_remote_create_attr_group() [all …]
|
| /drivers/media/usb/uvc/ |
| D | uvc_entity.c | 33 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/ |
| D | selftest_context.c | 327 static int __remote_sync(struct intel_context *ce, struct intel_context *remote) in __remote_sync() argument 332 err = intel_context_pin(remote); in __remote_sync() 342 err = intel_context_prepare_remote_request(remote, rq); in __remote_sync() 351 intel_context_unpin(remote); in __remote_sync() 357 struct intel_context *local, *remote; in __live_remote_context() local 380 remote = intel_context_create(engine); in __live_remote_context() 381 if (IS_ERR(remote)) in __live_remote_context() 382 return PTR_ERR(remote); in __live_remote_context() 395 err = __remote_sync(local, remote); in __live_remote_context() 399 err = __remote_sync(engine->kernel_context, remote); in __live_remote_context() [all …]
|
| /drivers/gpu/drm/bridge/ |
| D | thc63lvd1024.c | 124 struct device_node *remote; in thc63_parse_dt() local 126 remote = of_graph_get_remote_node(thc63->dev->of_node, in thc63_parse_dt() 128 if (!remote) { in thc63_parse_dt() 134 thc63->next = of_drm_find_bridge(remote); in thc63_parse_dt() 135 of_node_put(remote); in thc63_parse_dt() 142 remote = of_graph_get_remote_port_parent(endpoint); in thc63_parse_dt() 145 if (remote) { in thc63_parse_dt() 146 if (of_device_is_available(remote)) in thc63_parse_dt() 148 of_node_put(remote); in thc63_parse_dt()
|
| /drivers/gpu/drm/xe/tests/ |
| D | xe_migrate.c | 82 struct xe_bo *remote = xe_bo_create_locked(xe, m->tile, NULL, in test_copy() local 87 if (IS_ERR(remote)) { in test_copy() 89 str, remote); in test_copy() 93 err = xe_bo_validate(remote, NULL, false); in test_copy() 100 err = xe_bo_vmap(remote); in test_copy() 107 xe_map_memset(xe, &remote->vmap, 0, 0xd0, remote->size); in test_copy() 108 fence = xe_migrate_clear(m, remote, remote->ttm.resource, in test_copy() 112 retval = xe_map_rd(xe, &remote->vmap, 0, u64); in test_copy() 115 retval = xe_map_rd(xe, &remote->vmap, remote->size - 8, u64); in test_copy() 122 xe_map_memset(xe, &remote->vmap, 0, 0xc0, remote->size); in test_copy() [all …]
|
| /drivers/media/platform/xilinx/ |
| D | xilinx-vipp.c | 80 struct media_entity *remote; in xvip_graph_build_one() local 144 remote = ent->entity; in xvip_graph_build_one() 146 if (link.remote_port >= remote->num_pads) { in xvip_graph_build_one() 154 remote_pad = &remote->pads[link.remote_port]; in xvip_graph_build_one() 161 remote->name, remote_pad->index); in xvip_graph_build_one() 164 remote, remote_pad->index, in xvip_graph_build_one() 170 remote->name, remote_pad->index); in xvip_graph_build_one() 335 struct fwnode_handle *remote; in xvip_graph_parse_one() local 350 remote = fwnode_graph_get_remote_port_parent(ep); in xvip_graph_parse_one() 351 if (remote == NULL) { in xvip_graph_parse_one() [all …]
|
| /drivers/media/pci/bt8xx/ |
| D | bttv-input.c | 42 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/ |
| D | imx-media-internal-sd.c | 20 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/gpu/drm/meson/ |
| D | meson_drv.c | 113 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() 480 struct device_node *ep, *remote; in meson_drv_probe() local 484 remote = of_graph_get_remote_port_parent(ep); in meson_drv_probe() 485 if (!remote || !of_device_is_available(remote)) { in meson_drv_probe() 486 of_node_put(remote); in meson_drv_probe() 490 if (of_match_node(components_dev_match, remote)) { in meson_drv_probe() 491 component_match_add(&pdev->dev, &match, component_compare_of, remote); in meson_drv_probe() [all …]
|
| /drivers/media/rc/ |
| D | Kconfig | 51 remote control and you would like to use it with a raw IR 59 Enable this option if you have an infrared remote control which 92 Enable this option if you have an infrared remote control which 112 Enable this option if you have an infrared remote control which 121 Enable this option if you have an infrared remote control which 130 Enable this option if you have an infrared remote control which 175 tristate "GPIO IR remote control" 195 tristate "Hisilicon hix5hd2 IR remote control" 198 Say Y here if you want to use hisilicon hix5hd2 remote control. 275 tristate "Amlogic Meson IR remote receiver" [all …]
|
| /drivers/gpu/drm/imx/dcss/ |
| D | dcss-drv.c | 38 struct device_node *remote; in dcss_drv_platform_probe() local 46 remote = of_graph_get_remote_node(dev->of_node, 0, 0); in dcss_drv_platform_probe() 47 if (!remote) in dcss_drv_platform_probe() 50 hdmi_output = !of_device_is_compatible(remote, "fsl,imx8mq-nwl-dsi"); in dcss_drv_platform_probe() 52 of_node_put(remote); in dcss_drv_platform_probe()
|
| /drivers/gpu/drm/bridge/imx/ |
| D | imx8qxp-pixel-link.c | 264 struct device_node *port, *remote; in imx8qxp_pixel_link_find_next_bridge() local 292 remote = of_graph_get_remote_node(np, port_id, reg); in imx8qxp_pixel_link_find_next_bridge() 293 if (!remote) in imx8qxp_pixel_link_find_next_bridge() 296 if (!of_device_is_available(remote->parent)) { in imx8qxp_pixel_link_find_next_bridge() 300 of_node_put(remote); in imx8qxp_pixel_link_find_next_bridge() 304 next_bridge[ep_cnt] = of_drm_find_bridge(remote); in imx8qxp_pixel_link_find_next_bridge() 306 of_node_put(remote); in imx8qxp_pixel_link_find_next_bridge() 311 if (of_property_present(remote, "fsl,companion-pxl2dpi")) in imx8qxp_pixel_link_find_next_bridge() 316 of_node_put(remote); in imx8qxp_pixel_link_find_next_bridge()
|
| D | imx8mp-hdmi-pvi.c | 138 struct device_node *remote; in imx8mp_hdmi_pvi_probe() local 153 remote = of_graph_get_remote_node(pdev->dev.of_node, 1, -1); in imx8mp_hdmi_pvi_probe() 154 if (!remote) in imx8mp_hdmi_pvi_probe() 157 pvi->next_bridge = of_drm_find_bridge(remote); in imx8mp_hdmi_pvi_probe() 158 of_node_put(remote); in imx8mp_hdmi_pvi_probe()
|
| /drivers/gpu/drm/sun4i/ |
| D | sun4i_tcon.c | 888 struct device_node *port, *ep, *remote; in sun4i_tcon_find_engine_traverse() local 913 remote = of_graph_get_remote_port_parent(ep); in sun4i_tcon_find_engine_traverse() 914 if (!remote) in sun4i_tcon_find_engine_traverse() 919 if (remote == engine->node) in sun4i_tcon_find_engine_traverse() 936 engine = sun4i_tcon_find_engine_traverse(drv, remote, reg); in sun4i_tcon_find_engine_traverse() 939 of_node_put(remote); in sun4i_tcon_find_engine_traverse() 965 struct device_node *remote; in sun4i_tcon_of_get_id_from_port() local 968 remote = of_graph_get_remote_endpoint(ep); in sun4i_tcon_of_get_id_from_port() 969 if (!remote) in sun4i_tcon_of_get_id_from_port() 972 ret = of_property_read_u32(remote, "reg", ®); in sun4i_tcon_of_get_id_from_port() [all …]
|
| D | sun4i_drv.c | 238 struct device_node *ep, *remote, *port; in sun4i_drv_traverse_endpoints() local 247 remote = of_graph_get_remote_port_parent(ep); in sun4i_drv_traverse_endpoints() 248 if (!remote) { in sun4i_drv_traverse_endpoints() 260 if (sun4i_drv_node_is_tcon_top(remote)) { in sun4i_drv_traverse_endpoints() 262 of_node_put(remote); in sun4i_drv_traverse_endpoints() 276 of_node_put(remote); in sun4i_drv_traverse_endpoints() 282 of_node_put(remote); in sun4i_drv_traverse_endpoints() 288 kfifo_put(&list->fifo, remote); in sun4i_drv_traverse_endpoints()
|
| D | sun8i_dw_hdmi.c | 67 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()
|
| /drivers/gpu/drm/xe/ |
| D | xe_guc_relay.c | 124 u32 remote; member 208 __relay_get_transaction(struct xe_guc_relay *relay, bool incoming, u32 remote, u32 rid, in __relay_get_transaction() argument 232 txn->remote = remote; in __relay_get_transaction() 234 txn->offset = remote ? in __relay_get_transaction() 235 prepare_pf2guc(incoming ? txn->response_buf : txn->request_buf, remote, rid) : in __relay_get_transaction() 295 txn->rid, txn->remote, (int)sizeof(u32) * len, msg); in relay_send_transaction() 310 txn->rid, txn->remote, ERR_PTR(ret), (int)sizeof(u32) * len, msg); in relay_send_transaction() 422 txn->rid, txn->remote, action, data0); in relay_send_message_and_wait() 442 txn->remote, txn->rid, txn->reply, jiffies_to_msecs(timeout - n)); in relay_send_message_and_wait() 458 relay_debug(relay, "%u.%u response %*ph\n", txn->remote, txn->rid, in relay_send_message_and_wait() [all …]
|
| /drivers/gpu/drm/armada/ |
| D | armada_drv.c | 176 struct device_node *ep, *remote; in armada_add_endpoints() local 179 remote = of_graph_get_remote_port_parent(ep); in armada_add_endpoints() 180 if (remote && of_device_is_available(remote)) in armada_add_endpoints() 182 remote); in armada_add_endpoints() 183 of_node_put(remote); in armada_add_endpoints()
|
| /drivers/media/pci/saa7134/ |
| D | saa7134-input.c | 47 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 …]
|