Home
last modified time | relevance | path

Searched refs:bus_id (Results 1 – 25 of 96) 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/i2c/busses/
H A Di2c-amd-mp2-pci.c25 privdata->c2p_lock_busid = i2c_common->bus_id; in amd_mp2_c2p_mutex_lock()
32 if (unlikely(privdata->c2p_lock_busid != i2c_common->bus_id)) { in amd_mp2_c2p_mutex_unlock()
35 i2c_common->bus_id, privdata->c2p_lock_busid); in amd_mp2_c2p_mutex_unlock()
50 reg = privdata->mmio + ((i2c_cmd_base.s.bus_id == 1) ? in amd_mp2_cmd()
62 pci_dbg(privdata->pci_dev, "id: %d\n", i2c_common->bus_id); in amd_mp2_bus_enable_set()
66 i2c_cmd_base.s.bus_id = i2c_common->bus_id; in amd_mp2_bus_enable_set()
80 i2c_cmd_base->s.bus_id = i2c_common->bus_id; in amd_mp2_cmd_rw_fill()
190 i2c_common->bus_id); in amd_mp2_process_event()
207 unsigned int bus_id; in amd_mp2_irq_isr() local
211 for (bus_id = 0; bus_id < 2; bus_id++) { in amd_mp2_irq_isr()
[all …]
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/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()
/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/drivers/of/
H A Dplatform.c108 const char *bus_id, in of_device_alloc() argument
142 if (bus_id) in of_device_alloc()
143 dev_set_name(&dev->dev, "%s", bus_id); in of_device_alloc()
163 const char *bus_id, in of_platform_device_create_pdata() argument
175 dev = of_device_alloc(np, bus_id, parent); in of_platform_device_create_pdata()
208 const char *bus_id, in of_platform_device_create() argument
211 return of_platform_device_create_pdata(np, bus_id, NULL, parent); in of_platform_device_create()
217 const char *bus_id, in of_amba_device_create() argument
242 if (bus_id) in of_amba_device_create()
243 dev_set_name(&dev->dev, "%s", bus_id); in of_amba_device_create()
[all …]
/linux/arch/powerpc/platforms/ps3/
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()
/linux/drivers/mmc/host/
H A Dcavium.c185 static void set_bus_id(u64 *reg, int bus_id) in set_bus_id() argument
188 *reg |= FIELD_PREP(GENMASK(61, 60), bus_id); in set_bus_id()
204 int bus_id; in do_switch() local
210 bus_id = get_bus_id(emm_switch); in do_switch()
214 set_bus_id(&emm_switch, bus_id); in do_switch()
258 set_bus_id(&emm_switch, slot->bus_id); in cvm_mmc_reset_bus()
277 if (slot->bus_id == host->last_slot) in cvm_mmc_switch_to()
288 set_bus_id(&emm_switch, slot->bus_id); in cvm_mmc_switch_to()
295 host->last_slot = slot->bus_id; in cvm_mmc_switch_to()
637 set_bus_id(&emm_dma, slot->bus_id); in prepare_ext_dma()
[all …]
/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/drivers/net/ethernet/toshiba/
H A Dps3_gelic_net.c53 status = lv1_net_set_interrupt_mask(bus_id(card), dev_id(card), in gelic_card_set_irq_mask()
78 lv1_net_control(bus_id(card), dev_id(card), in gelic_card_get_ether_port_status()
110 status = lv1_net_control(bus_id(card), dev_id(card), in gelic_card_set_link_mode()
135 status = lv1_net_stop_tx_dma(bus_id(card), dev_id(card)); in gelic_card_disable_txdmac()
163 status = lv1_net_start_rx_dma(bus_id(card), dev_id(card), in gelic_card_enable_rxdmac()
182 status = lv1_net_stop_rx_dma(bus_id(card), dev_id(card)); in gelic_card_disable_rxdmac()
613 status = lv1_net_remove_multicast_address(bus_id(card), dev_id(card), in gelic_net_set_multi()
620 status = lv1_net_add_multicast_address(bus_id(card), dev_id(card), in gelic_net_set_multi()
629 status = lv1_net_add_multicast_address(bus_id(card), in gelic_net_set_multi()
647 status = lv1_net_add_multicast_address(bus_id(card), in gelic_net_set_multi()
[all …]
/linux/include/linux/
H A Dof_platform.h54 const char *bus_id,
77 const char *bus_id,
97 const char *bus_id, in of_platform_device_create() argument
/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/
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/arch/mips/loongson32/common/
H A Dplatform.c80 if (plat_dat->bus_id) { in ls1x_eth_mux_init()
128 .bus_id = 0,
169 .bus_id = 1,

1234