/linux/arch/arm/mach-spear/ |
H A D | spear6xx.c | 32 .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 D | spear300.c | 22 .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 D | spear320.c | 30 .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 D | spear310.c | 29 .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 D | pl080.c | 34 .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 D | i2c.c | 26 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 D | i2c.h | 15 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 D | i2c-amd-mp2-pci.c | 25 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 D | i2c-amd-mp2.h | 82 u8 bus_id : 4; member 130 u8 bus_id : 4; member 159 u8 bus_id; member
|
/linux/drivers/clk/at91/ |
H A D | clk-i2s-mux.c | 22 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/include/acpi/ |
H A D | nhlt.h | 103 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/acpi/ |
H A D | nhlt.c | 69 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 D | event.c | 32 strcpy(event.bus_id, dev->pnp.bus_id); in acpi_notifier_call_chain() 56 char bus_id[15]; member 95 const char *bus_id, in acpi_bus_generate_netlink_event() argument 134 strscpy(event->bus_id, bus_id, sizeof(event->bus_id)); in acpi_bus_generate_netlink_event() 154 const char *bus_id, in acpi_bus_generate_netlink_event() argument
|
/linux/drivers/net/mdio/ |
H A D | mdio-gpio.c | 111 int bus_id) in mdio_gpio_bus_init() argument 125 if (bus_id != -1) in mdio_gpio_bus_init() 126 snprintf(new_bus->id, sizeof(new_bus->id), "gpio-%x", bus_id); in mdio_gpio_bus_init() 165 int ret, bus_id; in mdio_gpio_probe() local 176 bus_id = of_alias_get_id(pdev->dev.of_node, "mdio-gpio"); in mdio_gpio_probe() 177 if (bus_id < 0) { in mdio_gpio_probe() 179 bus_id = 0; in mdio_gpio_probe() 182 bus_id = pdev->id; in mdio_gpio_probe() 185 new_bus = mdio_gpio_bus_init(&pdev->dev, bitbang, bus_id); in mdio_gpio_probe()
|
/linux/drivers/of/ |
H A D | platform.c | 108 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 D | device-init.c | 137 p->dev.bus_id = repo->bus_id; in ps3_setup_gelic_device() 208 p->dev.bus_id = repo->bus_id; in ps3_setup_uhc_device() 354 p->sbd.bus_id = repo->bus_id; in ps3_setup_storage_dev() 633 static void ps3_find_and_add_device(u64 bus_id, u64 dev_id) in ps3_find_and_add_device() argument 645 res = ps3_repository_find_device_by_id(&repo, bus_id, dev_id); in ps3_find_and_add_device() 654 __func__, __LINE__, bus_id, dev_id); in ps3_find_and_add_device() 660 __func__, __LINE__, bus_id, dev_id, retries); in ps3_find_and_add_device() 691 u64 bus_id; member 794 local->dev.sbd.bus_id = (u64)data; in ps3_probe_thread() 798 res = lv1_open_device(local->dev.sbd.bus_id, local->dev.sbd.dev_id, 0); in ps3_probe_thread() [all …]
|
H A D | gelic_udbg.c | 73 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 D | system-bus.c | 35 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 D | repository.c | 159 int ps3_repository_read_bus_id(unsigned int bus_index, u64 *bus_id) in ps3_repository_read_bus_id() argument 162 make_field("id", 0), 0, 0, bus_id, NULL); in ps3_repository_read_bus_id() 307 __func__, __LINE__, tmp.bus_type, tmp.bus_index, tmp.bus_id, in ps3_repository_find_device() 340 u64 bus_id, u64 dev_id) in ps3_repository_find_device_by_id() argument 347 bus_id, dev_id); in ps3_repository_find_device_by_id() 351 &tmp.bus_id); in ps3_repository_find_device_by_id() 358 if (tmp.bus_id == bus_id) in ps3_repository_find_device_by_id() 362 tmp.bus_id); in ps3_repository_find_device_by_id() 411 tmp.dev_index, tmp.bus_id, tmp.dev_id); in ps3_repository_find_device_by_id() 431 result = ps3_repository_read_bus_id(repo.bus_index, &repo.bus_id); in ps3_repository_find_devices() [all …]
|
/linux/drivers/mmc/host/ |
H A D | cavium.c | 185 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 D | hd.c | 38 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 D | greybus_trace.h | 179 __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/include/linux/ |
H A D | of_platform.h | 54 const char *bus_id, 77 const char *bus_id, 97 const char *bus_id, in of_platform_device_create() argument
|
/linux/drivers/net/ethernet/toshiba/ |
H A D | ps3_gelic_net.c | 53 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/Documentation/firmware-guide/acpi/ |
H A D | namespace.rst | 199 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 …]
|