Home
last modified time | relevance | path

Searched +full:host +full:- +full:id (Results 1 – 25 of 1095) sorted by relevance

12345678910>>...44

/Linux-v5.15/drivers/gpu/host1x/hw/
Dintr_hw.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (c) 2010-2013, NVIDIA Corporation.
22 unsigned int id = syncpt->id; in host1x_intr_syncpt_handle() local
23 struct host1x *host = syncpt->host; in host1x_intr_syncpt_handle() local
25 host1x_sync_writel(host, BIT(id % 32), in host1x_intr_syncpt_handle()
26 HOST1X_SYNC_SYNCPT_THRESH_INT_DISABLE(id / 32)); in host1x_intr_syncpt_handle()
27 host1x_sync_writel(host, BIT(id % 32), in host1x_intr_syncpt_handle()
28 HOST1X_SYNC_SYNCPT_THRESH_CPU0_INT_STATUS(id / 32)); in host1x_intr_syncpt_handle()
30 schedule_work(&syncpt->intr.work); in host1x_intr_syncpt_handle()
35 struct host1x *host = dev_id; in syncpt_thresh_isr() local
[all …]
Dsyncpt_hw.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2010-2013, NVIDIA Corporation.
19 struct host1x *host = sp->host; in syncpt_restore() local
21 host1x_sync_writel(host, min, HOST1X_SYNC_SYNCPT(sp->id)); in syncpt_restore()
30 struct host1x *host = sp->host; in syncpt_restore_wait_base() local
32 host1x_sync_writel(host, sp->base_val, in syncpt_restore_wait_base()
33 HOST1X_SYNC_SYNCPT_BASE(sp->id)); in syncpt_restore_wait_base()
43 struct host1x *host = sp->host; in syncpt_read_wait_base() local
45 sp->base_val = in syncpt_read_wait_base()
46 host1x_sync_readl(host, HOST1X_SYNC_SYNCPT_BASE(sp->id)); in syncpt_read_wait_base()
[all …]
Ddebug_hw_1x01.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (C) 2011-2013 NVIDIA Corporation
14 static void host1x_debug_show_channel_cdma(struct host1x *host, in host1x_debug_show_channel_cdma() argument
18 struct host1x_cdma *cdma = &ch->cdma; in host1x_debug_show_channel_cdma()
29 cbread = host1x_sync_readl(host, HOST1X_SYNC_CBREAD(ch->id)); in host1x_debug_show_channel_cdma()
30 cbstat = host1x_sync_readl(host, HOST1X_SYNC_CBSTAT(ch->id)); in host1x_debug_show_channel_cdma()
32 host1x_debug_output(o, "%u-%s: ", ch->id, dev_name(ch->dev)); in host1x_debug_show_channel_cdma()
35 !ch->cdma.push_buffer.mapped) { in host1x_debug_show_channel_cdma()
51 host1x_sync_readl(host, HOST1X_SYNC_SYNCPT_BASE(base)); in host1x_debug_show_channel_cdma()
71 static void host1x_debug_show_channel_fifo(struct host1x *host, in host1x_debug_show_channel_fifo() argument
[all …]
Ddebug_hw_1x06.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (C) 2011-2017 NVIDIA Corporation
14 static void host1x_debug_show_channel_cdma(struct host1x *host, in host1x_debug_show_channel_cdma() argument
18 struct host1x_cdma *cdma = &ch->cdma; in host1x_debug_show_channel_cdma()
43 host1x_debug_output(o, "%u-%s: ", ch->id, dev_name(ch->dev)); in host1x_debug_show_channel_cdma()
46 !ch->cdma.push_buffer.mapped) { in host1x_debug_show_channel_cdma()
66 static void host1x_debug_show_channel_fifo(struct host1x *host, in host1x_debug_show_channel_fifo() argument
77 host1x_debug_output(o, "%u: fifo:\n", ch->id); in host1x_debug_show_channel_fifo()
91 host1x_hypervisor_writel(host, 0x1, HOST1X_HV_ICG_EN_OVERRIDE); in host1x_debug_show_channel_fifo()
95 val |= HOST1X_HV_CMDFIFO_PEEK_CTRL_CHANNEL(ch->id); in host1x_debug_show_channel_fifo()
[all …]
/Linux-v5.15/drivers/gpu/drm/msm/dsi/
Ddsi_manager.c1 // SPDX-License-Identifier: GPL-2.0-only
33 #define IS_MASTER_DSI_LINK(id) (msm_dsim_glb.master_dsi_link_id == id) argument
35 static inline struct msm_dsi *dsi_mgr_get_dsi(int id) in dsi_mgr_get_dsi() argument
37 return msm_dsim_glb.dsi[id]; in dsi_mgr_get_dsi()
40 static inline struct msm_dsi *dsi_mgr_get_other_dsi(int id) in dsi_mgr_get_other_dsi() argument
42 return msm_dsim_glb.dsi[(id + 1) % DSI_MAX]; in dsi_mgr_get_other_dsi()
45 static int dsi_mgr_parse_of(struct device_node *np, int id) in dsi_mgr_parse_of() argument
50 * sync-mode, and only one node specifies master in case of bonded mode. in dsi_mgr_parse_of()
52 if (!msm_dsim->is_bonded_dsi) in dsi_mgr_parse_of()
53 msm_dsim->is_bonded_dsi = of_property_read_bool(np, "qcom,dual-dsi-mode"); in dsi_mgr_parse_of()
[all …]
Ddsi.h1 /* SPDX-License-Identifier: GPL-2.0-only */
57 struct mipi_dsi_host *host; member
73 int id; member
77 struct drm_bridge *msm_dsi_manager_bridge_init(u8 id);
79 struct drm_connector *msm_dsi_manager_connector_init(u8 id);
80 struct drm_connector *msm_dsi_manager_ext_bridge_init(u8 id);
81 int msm_dsi_manager_cmd_xfer(int id, const struct mipi_dsi_msg *msg);
82 bool msm_dsi_manager_cmd_xfer_trigger(int id, u32 dma_base, u32 len);
85 bool msm_dsi_manager_validate_current_config(u8 id);
91 return msm_dsi->panel || msm_dsi->external_bridge; in msm_dsi_device_connected()
[all …]
/Linux-v5.15/drivers/memstick/core/
Dmemstick.c1 // SPDX-License-Identifier: GPL-2.0-only
29 struct memstick_device_id *id) in memstick_dev_match() argument
31 if (id->match_flags & MEMSTICK_MATCH_ALL) { in memstick_dev_match()
32 if ((id->type == card->id.type) in memstick_dev_match()
33 && (id->category == card->id.category) in memstick_dev_match()
34 && (id->class == card->id.class)) in memstick_dev_match()
48 struct memstick_device_id *ids = ms_drv->id_table; in memstick_bus_match()
51 while (ids->match_flags) { in memstick_bus_match()
65 if (add_uevent_var(env, "MEMSTICK_TYPE=%02X", card->id.type)) in memstick_uevent()
66 return -ENOMEM; in memstick_uevent()
[all …]
/Linux-v5.15/drivers/gpu/host1x/
Dintr.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2010-2013, NVIDIA Corporation.
41 u32 thresh = waiter->thresh; in add_waiter_to_queue()
44 if ((s32)(pos->thresh - thresh) <= 0) { in add_waiter_to_queue()
45 list_add(&waiter->list, &pos->list); in add_waiter_to_queue()
49 list_add(&waiter->list, queue); in add_waiter_to_queue()
54 * run through a waiter queue for a single sync point ID
64 if ((s32)(waiter->thresh - sync) > 0) in remove_completed_waiters()
67 dest = completed + waiter->action; in remove_completed_waiters()
70 if (waiter->action == HOST1X_INTR_ACTION_SUBMIT_COMPLETE && in remove_completed_waiters()
[all …]
Dsyncpt.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2010-2015, NVIDIA Corporation.
23 host1x_syncpt_base_request(struct host1x *host) in host1x_syncpt_base_request() argument
25 struct host1x_syncpt_base *bases = host->bases; in host1x_syncpt_base_request()
28 for (i = 0; i < host->info->nb_bases; i++) in host1x_syncpt_base_request()
32 if (i >= host->info->nb_bases) in host1x_syncpt_base_request()
42 base->requested = false; in host1x_syncpt_base_free()
46 * host1x_syncpt_alloc() - allocate a syncpoint
47 * @host: host1x device data
57 struct host1x_syncpt *host1x_syncpt_alloc(struct host1x *host, in host1x_syncpt_alloc() argument
[all …]
Ddev.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2012-2015, NVIDIA Corporation.
31 int (*init)(struct host1x_channel *channel, struct host1x *host,
32 unsigned int id);
54 void (*show_channel_cdma)(struct host1x *host,
57 void (*show_channel_fifo)(struct host1x *host,
60 void (*show_mlocks)(struct host1x *host, struct output *output);
72 void (*enable_protection)(struct host1x *host);
76 int (*init_host_sync)(struct host1x *host, u32 cpm,
79 struct host1x *host, unsigned int id, u32 thresh);
[all …]
Dchannel.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2010-2013, NVIDIA Corporation.
19 chlist->channels = kcalloc(num_channels, sizeof(struct host1x_channel), in host1x_channel_list_init()
21 if (!chlist->channels) in host1x_channel_list_init()
22 return -ENOMEM; in host1x_channel_list_init()
24 chlist->allocated_channels = in host1x_channel_list_init()
27 if (!chlist->allocated_channels) { in host1x_channel_list_init()
28 kfree(chlist->channels); in host1x_channel_list_init()
29 return -ENOMEM; in host1x_channel_list_init()
32 bitmap_zero(chlist->allocated_channels, num_channels); in host1x_channel_list_init()
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/clock/
Dmvebu-gated-clock.txt5 should specify the desired clock by having the clock ID in its
6 "clocks" phandle cell. The clock ID is directly mapped to the
11 ID Clock Peripheral
12 -----------------------------------
20 15 sata0 SATA Host 0
21 17 sdio SDHCI Host
25 30 sata1 SATA Host 0
28 ID Clock Peripheral
29 -----------------------------------
39 16 usb3 USB3 Host
[all …]
/Linux-v5.15/drivers/scsi/arm/
Dacornscsi.c1 // SPDX-License-Identifier: GPL-2.0-only
14 * 26-Sep-1997 RMK Re-jigged to use the queue module.
15 * Re-coded state machine to be based on driver
19 * 05-Oct-1997 RMK Implemented writing to SCSI devices.
20 * 06-Oct-1997 RMK Corrected small (non-serious) bug with the connect/
22 * 12-Oct-1997 RMK Added catch for re-entering interrupt routine.
23 * 15-Oct-1997 RMK Improved handling of commands.
24 * 27-Jun-1998 RMK Changed asm/delay.h to linux/delay.h.
25 * 13-Dec-1998 RMK Better abort code and command handling. Extra state
45 * SCSI-II Tagged queue support.
[all …]
/Linux-v5.15/drivers/nvme/target/
Dpassthru.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2017-2018 Western Digital Corporation or its
7 * Copyright (c) 2019-2020, Eideticom Inc.
13 #include "../host/nvme.h"
29 if (!nvme_multi_css(ctrl->subsys->passthru_ctrl)) in nvmet_passthrough_override_cap()
30 ctrl->cap &= ~(1ULL << 43); in nvmet_passthrough_override_cap()
35 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_passthru_override_id_ctrl()
36 struct nvme_ctrl *pctrl = ctrl->subsys->passthru_ctrl; in nvmet_passthru_override_id_ctrl()
38 struct nvme_id_ctrl *id; in nvmet_passthru_override_id_ctrl() local
42 id = kzalloc(sizeof(*id), GFP_KERNEL); in nvmet_passthru_override_id_ctrl()
[all …]
/Linux-v5.15/drivers/scsi/
Dscsi_proc.c1 // SPDX-License-Identifier: GPL-2.0
10 * (c) 1995 Michael Neuffer neuffer@goofy.zdv.uni-mainz.de
14 * Andreas Heilwagen <crashcar@informatik.uni-koblenz.de>
46 /* Protect sht->present and sht->proc_dir */
53 ssize_t ret = -ENOMEM; in proc_scsi_host_write()
57 return -EOVERFLOW; in proc_scsi_host_write()
59 if (!shost->hostt->write_info) in proc_scsi_host_write()
60 return -EINVAL; in proc_scsi_host_write()
64 ret = -EFAULT; in proc_scsi_host_write()
67 ret = shost->hostt->write_info(shost, page, count); in proc_scsi_host_write()
[all …]
Dxen-scsifront.c96 #define RSLT_RESET_ERR -1
106 struct Scsi_Host *host; member
120 /* Following items are protected by the host lock. */
136 info->wait_ring_available = 0; in scsifront_wake_up()
137 wake_up(&info->wq_sync); in scsifront_wake_up()
145 spin_lock_irqsave(&info->shadow_lock, flags); in scsifront_get_rqid()
147 free = find_first_bit(info->shadow_free_bitmap, VSCSIIF_MAX_REQS); in scsifront_get_rqid()
148 __clear_bit(free, info->shadow_free_bitmap); in scsifront_get_rqid()
150 spin_unlock_irqrestore(&info->shadow_lock, flags); in scsifront_get_rqid()
155 static int _scsifront_put_rqid(struct vscsifrnt_info *info, uint32_t id) in _scsifront_put_rqid() argument
[all …]
Dzorro7xx.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * Rewritten to use 53c700.c by Kars de Jong <jongk@linux-m68k.org>
27 MODULE_AUTHOR("Alan Hourihane <alanh@fairlite.demon.co.uk> / Kars de Jong <jongk@linux-m68k.org>");
52 .id = ZORRO_PROD_PHASE5_BLIZZARD_603E_PLUS,
56 .id = ZORRO_PROD_MACROSYSTEMS_WARP_ENGINE_40xx,
60 .id = ZORRO_PROD_CBM_A4091_1,
64 .id = ZORRO_PROD_CBM_A4091_2,
68 .id = ZORRO_PROD_GVP_GFORCE_040_060,
78 struct Scsi_Host *host; in zorro7xx_init_one() local
84 zdd = (struct zorro_driver_data *)ent->driver_data; in zorro7xx_init_one()
[all …]
/Linux-v5.15/drivers/scsi/snic/
Dsnic_fwint.h85 SNIC_STAT_ITMF_INCORRECT_LUN, /* itmf req has incorrect LUN id*/
95 * snic_io_hdr : host <--> firmware
114 snic_io_hdr_enc(struct snic_io_hdr *hdr, u8 typ, u8 status, u32 id, u32 hid, in snic_io_hdr_enc() argument
117 hdr->type = typ; in snic_io_hdr_enc()
118 hdr->status = status; in snic_io_hdr_enc()
119 hdr->protocol = 0; in snic_io_hdr_enc()
120 hdr->hid = cpu_to_le32(hid); in snic_io_hdr_enc()
121 hdr->cmnd_id = cpu_to_le32(id); in snic_io_hdr_enc()
122 hdr->sg_cnt = cpu_to_le16(sg_cnt); in snic_io_hdr_enc()
123 hdr->init_ctx = ctx; in snic_io_hdr_enc()
[all …]
/Linux-v5.15/drivers/ata/
Dlibata-core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * libata-core.c - helper library for ATA
5 * Copyright 2003-2004 Red Hat, Inc. All rights reserved.
6 * Copyright 2003-2004 Jeff Garzik
9 * as Documentation/driver-api/libata.rst
12 * http://www.sata-io.org/
16 * http://www.t10.org (SCSI MMC - for ATAPI MMC)
17 * http://www.sata-io.org (SATA)
19 * http://www.qic.org (QIC157 - Tape and DSC)
20 * http://www.ce-ata.org (CE-ATA: not supported)
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/pci/
Dti,j721e-pci-host.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/
4 ---
5 $id: "http://devicetree.org/schemas/pci/ti,j721e-pci-host.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: TI J721E PCI Host (PCIe Wrapper)
11 - Kishon Vijay Abraham I <kishon@ti.com>
14 - $ref: "cdns-pcie-host.yaml#"
19 - const: ti,j721e-pcie-host
20 - description: PCIe controller in AM64
[all …]
/Linux-v5.15/drivers/usb/phy/
Dphy-fsl-usb.c1 // SPDX-License-Identifier: GPL-2.0+
6 * Jerry Huang <Chang-Ming.Huang@freescale.com>
32 #include "phy-fsl-usb.h"
46 static const char driver_name[] = "fsl-usb2-otg";
109 fsl_writel(temp, &usb_dr_regs->ulpiview); in write_ulpi()
113 /* -------------------------------------------------------------*/
121 tmp = fsl_readl(&usb_dr_regs->otgsc) & ~OTGSC_INTSTS_MASK; in fsl_otg_chrg_vbus()
131 fsl_writel(tmp, &usb_dr_regs->otgsc); in fsl_otg_chrg_vbus()
139 tmp = fsl_readl(&usb_dr_regs->otgsc) & ~OTGSC_INTSTS_MASK; in fsl_otg_dischrg_vbus()
149 fsl_writel(tmp, &usb_dr_regs->otgsc); in fsl_otg_dischrg_vbus()
[all …]
/Linux-v5.15/drivers/mmc/host/
Domap.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/drivers/mmc/host/omap.c
18 #include <linux/dma-mapping.h>
23 #include <linux/mmc/host.h>
29 #include <linux/platform_data/mmc-omap.h>
72 #define mmc_omap7xx() (host->features & MMC_OMAP7XX)
73 #define mmc_omap15xx() (host->features & MMC_OMAP15XX)
74 #define mmc_omap16xx() (host->features & MMC_OMAP16XX)
76 #define mmc_omap1() (host->features & MMC_OMAP1_MASK)
79 #define OMAP_MMC_REG(host, reg) (OMAP_MMC_REG_##reg << (host)->reg_shift) argument
[all …]
/Linux-v5.15/tools/virtio/virtio-trace/
DREADME1 Trace Agent for virtio-trace
4 Trace agent is a user tool for sending trace data of a guest to a Host in low
6 - splice a page of ring-buffer to read_pipe without memory copying
7 - splice the page from write_pipe to virtio-console without memory copying
8 - write trace data to stdout by using -o option
9 - controlled by start/stop orders from a Host
15 3) A controller thread does poll() for a start order of a host.
16 4) After the controller of the trace agent receives a start order from a host,
18 5) The read/write threads start to read trace data from ring-buffers and
19 write the data to virtio-serial.
[all …]
/Linux-v5.15/drivers/staging/media/atomisp/pci/runtime/bufq/interface/
Dia_css_bufq.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 * Copyright (c) 2010 - 2015, Intel Corporation.
26 * @brief Query the internal frame ID.
42 * @brief Map buffer type to a internal queue id.
44 * @param[in] thread id Thread in which the buffer type has to be mapped or unmapped
56 * @brief Initialize buffer type to a queue id mapping
64 * -host to SP buffer queue which is a list with predefined size,
66 *-SP to host buffer queue , is a list with N queues
67 *-host to SP event communication queue
68 * -SP to host event communication queue
[all …]
/Linux-v5.15/drivers/media/platform/exynos4-is/
Dfimc-is-regs.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Samsung EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver
26 /* Interrupt Generation Register 0 from Host CPU to VIC */
33 /* Interrupt Clear Register 0 from Host CPU to VIC */
40 /* Interrupt Mask Register 0 from Host CPU to VIC */
47 /* Interrupt Status Register 0 from Host CPU to VIC */
54 /* Interrupt Mask Status Register 0 from Host CPU to VIC */
61 /* Interrupt Generation Register 1 from ISP CPU to Host IC */
66 /* Interrupt Clear Register 1 from ISP CPU to Host IC */
71 /* Interrupt Mask Register 1 from ISP CPU to Host IC */
[all …]

12345678910>>...44