Home
last modified time | relevance | path

Searched refs:bus_id (Results 1 – 25 of 82) sorted by relevance

1234

/linux/arch/arm/mach-spear/
H A Dspear6xx.c32 .bus_id = "ssp1_rx",
38 .bus_id = "ssp1_tx",
44 .bus_id = "uart0_rx",
50 .bus_id = "uart0_tx",
56 .bus_id = "uart1_rx",
62 .bus_id = "uart1_tx",
68 .bus_id = "ssp2_rx",
74 .bus_id = "ssp2_tx",
80 .bus_id = "ssp0_rx",
86 .bus_id = "ssp0_tx",
[all …]
H A Dspear300.c22 .bus_id = "uart0_rx",
28 .bus_id = "uart0_tx",
34 .bus_id = "ssp0_rx",
40 .bus_id = "ssp0_tx",
46 .bus_id = "i2c_rx",
52 .bus_id = "i2c_tx",
58 .bus_id = "irda",
64 .bus_id = "adc",
70 .bus_id = "to_jpeg",
76 .bus_id = "from_jpeg",
[all …]
H A Dspear320.c30 .bus_id = "uart0_rx",
36 .bus_id = "uart0_tx",
42 .bus_id = "ssp0_rx",
48 .bus_id = "ssp0_tx",
54 .bus_id = "i2c0_rx",
60 .bus_id = "i2c0_tx",
66 .bus_id = "irda",
72 .bus_id = "adc",
78 .bus_id = "to_jpeg",
84 .bus_id = "from_jpeg",
[all …]
H A Dspear310.c29 .bus_id = "uart0_rx",
35 .bus_id = "uart0_tx",
41 .bus_id = "ssp0_rx",
47 .bus_id = "ssp0_tx",
53 .bus_id = "i2c_rx",
59 .bus_id = "i2c_tx",
65 .bus_id = "irda",
71 .bus_id = "adc",
77 .bus_id = "to_jpeg",
83 .bus_id = "from_jpeg",
[all …]
/linux/arch/arm/mach-s3c/
H A Dpl080.c34 .bus_id = "uart0_tx",
39 .bus_id = "uart0_rx",
44 .bus_id = "uart1_tx",
49 .bus_id = "uart1_rx",
54 .bus_id = "uart2_tx",
59 .bus_id = "uart2_rx",
64 .bus_id = "uart3_tx",
69 .bus_id = "uart3_rx",
74 .bus_id = "pcm0_tx",
79 .bus_id = "pcm0_rx",
[all …]
/linux/arch/arm/mach-omap1/
H A Di2c.c26 static void __init omap1_i2c_mux_pins(int bus_id) in omap1_i2c_mux_pins() argument
33 int bus_id) in omap_i2c_add_bus() argument
38 if (bus_id > 1) in omap_i2c_add_bus()
41 omap1_i2c_mux_pins(bus_id); in omap_i2c_add_bus()
43 pdev = &omap_i2c_devices[bus_id - 1]; in omap_i2c_add_bus()
44 pdev->id = bus_id; in omap_i2c_add_bus()
133 int __init omap_register_i2c_bus(int bus_id, u32 clkrate, in omap_register_i2c_bus() argument
139 BUG_ON(bus_id < 1 || bus_id > OMAP_I2C_MAX_CONTROLLERS); in omap_register_i2c_bus()
142 err = i2c_register_board_info(bus_id, info, len); in omap_register_i2c_bus()
147 if (!i2c_pdata[bus_id - 1].clkrate) in omap_register_i2c_bus()
[all …]
H A Di2c.h15 int bus_id);
18 extern int omap_register_i2c_bus(int bus_id, u32 clkrate,
23 static inline int omap_register_i2c_bus(int bus_id, u32 clkrate, in omap_register_i2c_bus() argument
/linux/drivers/clk/at91/
H A Dclk-i2s-mux.c22 u8 bus_id; member
34 return (val & BIT(mux->bus_id)) >> mux->bus_id; in clk_i2s_mux_get_parent()
42 BIT(mux->bus_id), index << mux->bus_id); in clk_i2s_mux_set_parent()
54 unsigned int num_parents, u8 bus_id) in at91_clk_i2s_mux_register() argument
70 i2s_ck->bus_id = bus_id; in at91_clk_i2s_mux_register()
/linux/drivers/acpi/
H A Dnhlt.c69 int link_type, int dev_type, int dir, int bus_id) in acpi_nhlt_endpoint_match() argument
74 (bus_id < 0 || ep->virtual_bus_id == bus_id) && in acpi_nhlt_endpoint_match()
95 int link_type, int dev_type, int dir, int bus_id) in acpi_nhlt_tb_find_endpoint() argument
100 if (acpi_nhlt_endpoint_match(ep, link_type, dev_type, dir, bus_id)) in acpi_nhlt_tb_find_endpoint()
120 acpi_nhlt_find_endpoint(int link_type, int dev_type, int dir, int bus_id) in acpi_nhlt_find_endpoint() argument
123 return acpi_nhlt_tb_find_endpoint(acpi_gbl_nhlt, link_type, dev_type, dir, bus_id); in acpi_nhlt_find_endpoint()
181 int link_type, int dev_type, int dir, int bus_id, in acpi_nhlt_tb_find_fmtcfg() argument
188 if (!acpi_nhlt_endpoint_match(ep, link_type, dev_type, dir, bus_id)) in acpi_nhlt_tb_find_fmtcfg()
219 acpi_nhlt_find_fmtcfg(int link_type, int dev_type, int dir, int bus_id, in acpi_nhlt_find_fmtcfg() argument
223 return acpi_nhlt_tb_find_fmtcfg(acpi_gbl_nhlt, link_type, dev_type, dir, bus_id, in acpi_nhlt_find_fmtcfg()
H A Dscan.c534 if (!strcmp(acpi_device_bus_id->bus_id, in acpi_device_del()
540 kfree_const(acpi_device_bus_id->bus_id); in acpi_device_del()
687 /* Find suitable bus_id and instance number in acpi_bus_id_list. */ in acpi_device_bus_id_match()
689 if (!strcmp(acpi_device_bus_id->bus_id, dev_id)) in acpi_device_bus_id_match()
706 dev_set_name(&device->dev, "%s:%02x", acpi_device_bus_id->bus_id, result); in acpi_device_set_name()
766 acpi_device_bus_id->bus_id = in acpi_device_add()
768 if (!acpi_device_bus_id->bus_id) { in acpi_device_add()
778 kfree_const(acpi_device_bus_id->bus_id); in acpi_device_add()
1167 char bus_id[5] = { '?', 0 }; in acpi_device_get_busid()
1168 struct acpi_buffer buffer = { sizeof(bus_id), bus_i in acpi_device_get_busid()
1165 char bus_id[5] = { '?', 0 }; acpi_device_get_busid() local
[all...]
/linux/include/acpi/
H A Dnhlt.h103 int link_type, int dev_type, int dir, int bus_id);
106 int link_type, int dev_type, int dir, int bus_id);
108 acpi_nhlt_find_endpoint(int link_type, int dev_type, int dir, int bus_id);
114 int link_type, int dev_type, int dir, int bus_id,
117 acpi_nhlt_find_fmtcfg(int link_type, int dev_type, int dir, int bus_id,
134 int link_type, int dev_type, int dir, int bus_id) in acpi_nhlt_endpoint_match() argument
141 int link_type, int dev_type, int dir, int bus_id) in acpi_nhlt_tb_find_endpoint() argument
155 int link_type, int dev_type, int dir, int bus_id, in acpi_nhlt_tb_find_fmtcfg() argument
167 acpi_nhlt_find_endpoint(int link_type, int dev_type, int dir, int bus_id) in acpi_nhlt_find_endpoint() argument
173 acpi_nhlt_find_fmtcfg(int link_type, int dev_type, int dir, int bus_id, in acpi_nhlt_find_fmtcfg() argument
/linux/arch/powerpc/platforms/ps3/
H A Ddevice-init.c138 p->dev.bus_id = repo->bus_id; in ps3_setup_gelic_device()
209 p->dev.bus_id = repo->bus_id; in ps3_setup_uhc_device()
355 p->sbd.bus_id = repo->bus_id; in ps3_setup_storage_dev()
634 static void ps3_find_and_add_device(u64 bus_id, u64 dev_id) in ps3_find_and_add_device() argument
646 res = ps3_repository_find_device_by_id(&repo, bus_id, dev_id); in ps3_find_and_add_device()
655 __func__, __LINE__, bus_id, dev_id); in ps3_find_and_add_device()
661 __func__, __LINE__, bus_id, dev_id, retries); in ps3_find_and_add_device()
692 u64 bus_id; member
795 local->dev.sbd.bus_id = (u64)data; in ps3_probe_thread()
799 res = lv1_open_device(local->dev.sbd.bus_id, local->dev.sbd.dev_id, 0); in ps3_probe_thread()
[all …]
H A Dgelic_udbg.c73 static void map_dma_mem(int bus_id, int dev_id, void *start, size_t len, in map_dma_mem() argument
85 result = lv1_allocate_device_dma_region(bus_id, dev_id, in map_dma_mem()
91 result = lv1_map_device_dma_region(bus_id, dev_id, map_start, in map_dma_mem()
100 static int unmap_dma_mem(int bus_id, int dev_id, u64 bus_addr, size_t len) in unmap_dma_mem() argument
109 result = lv1_unmap_device_dma_region(bus_id, dev_id, real_bus_addr, in unmap_dma_mem()
114 return lv1_free_device_dma_region(bus_id, dev_id, real_bus_addr); in unmap_dma_mem()
H A Dsystem-bus.c35 static int ps3_is_device(struct ps3_system_bus_device *dev, u64 bus_id, in ps3_is_device() argument
38 return dev->bus_id == bus_id && dev->dev_id == dev_id; in ps3_is_device()
45 BUG_ON(!dev->bus_id); in ps3_open_hv_device_sb()
64 result = lv1_open_device(dev->bus_id, dev->dev_id, 0); in ps3_open_hv_device_sb()
82 BUG_ON(!dev->bus_id); in ps3_close_hv_device_sb()
101 result = lv1_close_device(dev->bus_id, dev->dev_id); in ps3_close_hv_device_sb()
177 dev->bus_id); in ps3_open_hv_device()
215 dev->bus_id); in ps3_close_hv_device()
234 pr_debug("%s:%d: dev %llu:%llu\n", func, line, r->dev->bus_id, in _dump_mmio_region()
246 result = lv1_map_device_mmio_region(r->dev->bus_id, r->dev->dev_id, in ps3_sb_mmio_region_create()
[all …]
H A Dplatform.h83 int ps3_repository_read_bus_id(unsigned int bus_index, u64 *bus_id);
130 u64 bus_id; member
136 u64 bus_id, u64 dev_id);
/linux/drivers/i2c/busses/
H A Di2c-cgbc.c64 u8 bus_id; member
79 u8 bus_id; member
121 u8 cmd = CGBC_I2C_CMD_STAT | algo_data->bus_id; in cgbc_i2c_get_status()
147 cmd[0] = CGBC_I2C_CMD_SPEED | algo_data->bus_id; in cgbc_i2c_set_frequency()
183 cmd[i++] = CGBC_I2C_CMD_START | xfer.bus_id; in cgbc_i2c_xfer_to_cmd()
213 .bus_id = algo_data->bus_id, in cgbc_i2c_xfer_msg()
275 cmd_data = CGBC_I2C_CMD_DATA | algo_data->bus_id; in cgbc_i2c_xfer_msg()
339 { .bus_id = CGBC_I2C_PRIMARY_BUS_ID },
340 { .bus_id = CGBC_I2C_PM_BUS_ID },
H A Di2c-amd-mp2.h82 u8 bus_id : 4; member
130 u8 bus_id : 4; member
159 u8 bus_id; member
/linux/drivers/greybus/
H A Dhd.c38 return sprintf(buf, "%d\n", hd->bus_id); in bus_id_show()
40 static DEVICE_ATTR_RO(bus_id);
114 ida_free(&gb_hd_bus_id_map, hd->bus_id); in gb_hd_release()
170 hd->bus_id = ret; in gb_hd_create()
185 dev_set_name(&hd->dev, "greybus%d", hd->bus_id); in gb_hd_create()
H A Dgreybus_trace.h179 __entry->hd_bus_id = connection->hd->bus_id;
388 __entry->hd_bus_id = module->hd->bus_id;
436 __field(int, bus_id)
442 __entry->bus_id = hd->bus_id;
448 __entry->bus_id, __entry->num_cports,
/linux/Documentation/firmware-guide/acpi/
H A Dnamespace.rst199 format of their names is <bus_id:instance>, where 'bus_id' refers to the
201 for distinguishing different object of the same 'bus_id' (it is
204 The value of 'bus_id' depends on the type of the object whose name it is
208 | | Object/Feature | Table | bus_id |
256 struct acpi_device object with LNXVIDEO 'bus_id' will be created for
264 The fourth column of the above table indicates the 'bus_id' generation
268 _HID in the last column of the table means that the object's bus_id
275 objects having bus_id of the "LNXxxxxx" form (pseudo devices), in
276 which cases it contains the bus_id string itself.
279 bus_id cannot be determined from _HID/_CID of the corresponding
[all …]
/linux/arch/arm/mach-lpc32xx/
H A Dphy3250.c21 .bus_id = "nand-slc",
27 .bus_id = "nand-mlc",
/linux/sound/hda/core/
H A Dintel-nhlt.c273 u32 bus_id, u8 link_type, u8 dir, u8 dev_type) in nhlt_check_ep_match() argument
279 if ((epnt->virtual_bus_id != bus_id) || in nhlt_check_ep_match()
291 u32 bus_id, u8 link_type, u8 vbps, u8 bps, in intel_nhlt_get_endpoint_blob() argument
305 bus_id, link_type, dir, dev_type); in intel_nhlt_get_endpoint_blob()
331 if (nhlt_check_ep_match(dev, epnt, bus_id, link_type, dir, dev_type)) { in intel_nhlt_get_endpoint_blob()
/linux/drivers/xen/xenbus/
H A Dxenbus_probe_frontend.c35 static int frontend_bus_id(char bus_id[XEN_BUS_ID_SIZE], const char *nodename) in frontend_bus_id()
43 strscpy(bus_id, nodename + 1, XEN_BUS_ID_SIZE); in frontend_bus_id()
44 if (!strchr(bus_id, '/')) { in frontend_bus_id()
45 pr_warn("bus_id %s no slash\n", bus_id); in frontend_bus_id()
48 *strchr(bus_id, '/') = '-'; in frontend_bus_id()
/linux/drivers/s390/block/
H A Ddasd_devmap.c46 char bus_id[DASD_BUS_ID_SIZE]; member
97 dasd_hash_busid(const char *bus_id) in dasd_hash_busid() argument
102 for (i = 0; (i < DASD_BUS_ID_SIZE) && *bus_id; i++, bus_id++) in dasd_hash_busid()
103 hash += *bus_id; in dasd_hash_busid()
314 char bus_id[DASD_BUS_ID_SIZE + 1]; in dasd_parse_range() local
358 scnprintf(bus_id, sizeof(bus_id), in dasd_parse_range()
360 devmap = dasd_add_busid(bus_id, features); in dasd_parse_range()
410 dasd_add_busid(const char *bus_id, int features) in dasd_add_busid() argument
420 hash = dasd_hash_busid(bus_id); in dasd_add_busid()
422 if (strncmp(tmp->bus_id, bus_id, DASD_BUS_ID_SIZE) == 0) { in dasd_add_busid()
[all …]
/linux/drivers/net/ethernet/broadcom/
H A Dbgmac-bcma.c88 char bus_id[MII_BUS_ID_SIZE + 3]; in bcma_phy_connect() local
98 snprintf(bus_id, sizeof(bus_id), PHY_ID_FMT, bgmac->mii_bus->id, in bcma_phy_connect()
100 phy_dev = phy_connect(bgmac->net_dev, bus_id, bgmac_adjust_link, in bcma_phy_connect()

1234