/openbmc/linux/arch/powerpc/platforms/ps3/ |
H A D | repository.c | 196 unsigned int dev_index, const char *dev_str, u64 *value) in ps3_repository_read_dev_str() argument 200 make_field("dev", dev_index), in ps3_repository_read_dev_str() 206 int ps3_repository_read_dev_id(unsigned int bus_index, unsigned int dev_index, in ps3_repository_read_dev_id() argument 210 make_field("dev", dev_index), make_field("id", 0), 0, in ps3_repository_read_dev_id() 215 unsigned int dev_index, enum ps3_dev_type *dev_type) in ps3_repository_read_dev_type() argument 222 make_field("dev", dev_index), in ps3_repository_read_dev_type() 231 unsigned int dev_index, unsigned int intr_index, in ps3_repository_read_dev_intr() argument 240 make_field("dev", dev_index), in ps3_repository_read_dev_intr() 250 unsigned int dev_index, unsigned int reg_index, in ps3_repository_read_dev_reg_type() argument 258 make_field("dev", dev_index), in ps3_repository_read_dev_reg_type() [all …]
|
H A D | platform.h | 105 unsigned int dev_index, const char *dev_str, u64 *value); 106 int ps3_repository_read_dev_id(unsigned int bus_index, unsigned int dev_index, 109 unsigned int dev_index, enum ps3_dev_type *dev_type); 111 unsigned int dev_index, unsigned int intr_index, 114 unsigned int dev_index, unsigned int reg_index, 117 unsigned int dev_index, unsigned int reg_index, u64 *bus_addr, 120 unsigned int dev_index, unsigned int reg_index, 127 unsigned int dev_index; member 149 unsigned int dev_index, u64 *port); 151 unsigned int dev_index, u64 *blk_size); [all …]
|
/openbmc/linux/tools/net/ynl/generated/ |
H A D | ethtool-user.h | 27 __u32 dev_index:1; member 32 __u32 dev_index; member 231 __u32 dev_index) in ethtool_strset_get_req_set_header_dev_index() argument 234 req->header._present.dev_index = 1; in ethtool_strset_get_req_set_header_dev_index() 235 req->header.dev_index = dev_index; in ethtool_strset_get_req_set_header_dev_index() 309 __u32 dev_index) in ethtool_strset_get_req_dump_set_header_dev_index() argument 312 req->header._present.dev_index = 1; in ethtool_strset_get_req_dump_set_header_dev_index() 313 req->header.dev_index = dev_index; in ethtool_strset_get_req_dump_set_header_dev_index() 378 __u32 dev_index) in ethtool_linkinfo_get_req_set_header_dev_index() argument 381 req->header._present.dev_index = 1; in ethtool_linkinfo_get_req_set_header_dev_index() [all …]
|
/openbmc/u-boot/drivers/mmc/ |
H A D | exynos_dw_mmc.c | 71 sclk = get_mmc_clk(host->dev_index); in exynos_dwmci_get_clk() 110 sclk = get_mmc_clk(host->dev_index); in exynos_dwmci_core_init() 113 set_mmc_clk(host->dev_index, div); in exynos_dwmci_core_init() 128 printf("DWMMC%d registration failed\n", host->dev_index); in exynos_dwmci_core_init() 145 printf("DWMMC%d not configure\n", host->dev_index); in do_dwmci_init() 162 host->dev_index = fdtdec_get_int(blob, node, "index", host->dev_id); in exynos_dwmci_get_config() 163 if (host->dev_index == host->dev_id) in exynos_dwmci_get_config() 164 host->dev_index = host->dev_id - PERIPH_ID_SDMMC0; in exynos_dwmci_get_config() 166 if (host->dev_index > 4) { in exynos_dwmci_get_config() 167 printf("DWMMC%d: Can't get the dev index\n", host->dev_index); in exynos_dwmci_get_config() [all …]
|
H A D | kona_sdhci.c | 77 int kona_sdhci_init(int dev_index, u32 min_clk, u32 quirks) in kona_sdhci_init() argument 89 switch (dev_index) { in kona_sdhci_init() 112 __func__, dev_index); in kona_sdhci_init()
|
H A D | hi6220_dw_mmc.c | 37 host->dev_index = 0; in hi6220_dwmmc_ofdata_to_platdata() 39 host->dev_index = 1; in hi6220_dwmmc_ofdata_to_platdata()
|
H A D | rockchip_dw_mmc.c | 65 host->dev_index = 0; in rockchip_dwmmc_ofdata_to_platdata() 67 host->dev_index = 1; in rockchip_dwmmc_ofdata_to_platdata() 112 host->dev_index = 0; in rockchip_dwmmc_probe()
|
/openbmc/u-boot/arch/arm/mach-exynos/ |
H A D | clock.c | 692 static unsigned long exynos4_get_uart_clk(int dev_index) in exynos4_get_uart_clk() argument 710 sel = (sel >> (dev_index << 2)) & 0xf; in exynos4_get_uart_clk() 731 ratio = (ratio >> (dev_index << 2)) & 0xf; in exynos4_get_uart_clk() 739 static unsigned long exynos4x12_get_uart_clk(int dev_index) in exynos4x12_get_uart_clk() argument 756 sel = (sel >> (dev_index << 2)) & 0xf; in exynos4x12_get_uart_clk() 776 ratio = (ratio >> (dev_index << 2)) & 0xf; in exynos4x12_get_uart_clk() 783 static unsigned long exynos4_get_mmc_clk(int dev_index) in exynos4_get_mmc_clk() argument 792 sel = (sel >> (dev_index << 2)) & 0xf; in exynos4_get_mmc_clk() 803 switch (dev_index) { in exynos4_get_mmc_clk() 822 if (dev_index == 1 || dev_index == 3) in exynos4_get_mmc_clk() [all …]
|
H A D | power.c | 11 static void exynos4_mipi_phy_control(unsigned int dev_index, in exynos4_mipi_phy_control() argument 18 if (dev_index == 0) in exynos4_mipi_phy_control() 33 void set_mipi_phy_ctrl(unsigned int dev_index, unsigned int enable) in set_mipi_phy_ctrl() argument 36 exynos4_mipi_phy_control(dev_index, enable); in set_mipi_phy_ctrl()
|
/openbmc/u-boot/drivers/serial/ |
H A D | serial_ns16550.c | 156 serial_putc_dev(unsigned int dev_index,const char c) in serial_putc_dev() argument 158 _serial_putc(c,dev_index); in serial_putc_dev() 162 serial_puts_dev(unsigned int dev_index,const char *s) in serial_puts_dev() argument 164 _serial_puts(s,dev_index); in serial_puts_dev() 168 serial_getc_dev(unsigned int dev_index) in serial_getc_dev() argument 170 return _serial_getc(dev_index); in serial_getc_dev() 174 serial_tstc_dev(unsigned int dev_index) in serial_tstc_dev() argument 176 return _serial_tstc(dev_index); in serial_tstc_dev() 180 serial_setbrg_dev(unsigned int dev_index) in serial_setbrg_dev() argument 182 _serial_setbrg(dev_index); in serial_setbrg_dev()
|
/openbmc/linux/sound/pci/hda/ |
H A D | hda_intel_trace.h | 17 __field(int, dev_index) 21 __entry->dev_index = (chip)->dev_index; 24 TP_printk("card index: %d", __entry->dev_index)
|
/openbmc/u-boot/common/ |
H A D | usb.c | 47 static int dev_index; variable 64 dev_index = 0; in usb_init() 94 start_index = dev_index; in usb_init() 108 if (start_index == dev_index) { in usb_init() 113 dev_index - start_index); in usb_init() 868 debug("New Device %d\n", dev_index); in usb_alloc_new_device() 869 if (dev_index == USB_MAX_DEVICE) { in usb_alloc_new_device() 874 usb_dev[dev_index].devnum = dev_index + 1; in usb_alloc_new_device() 875 usb_dev[dev_index].maxchild = 0; in usb_alloc_new_device() 877 usb_dev[dev_index].children[i] = NULL; in usb_alloc_new_device() [all …]
|
/openbmc/linux/include/trace/events/ |
H A D | ib_mad.h | 46 __field(u32, dev_index) 55 __entry->dev_index = wr->mad_agent_priv->agent.device->index; 92 __entry->dev_index, __entry->port_num, __entry->qp_num, 136 __field(u32, dev_index) 144 __entry->dev_index = wr->mad_agent_priv->agent.device->index; 171 __entry->dev_index, __entry->port_num, __entry->qp_num, 205 __field(u32, dev_index) 209 __entry->dev_index = qp_info->port_priv->device->index; 233 __entry->dev_index, __entry->port_num, __entry->qp_num, 251 __field(u32, dev_index) [all …]
|
H A D | nbd.h | 70 __field(u64, dev_index) 76 __entry->dev_index = index; 80 TP_printk("nbd%lld: request %p", __entry->dev_index, __entry->request)
|
H A D | ib_umad.h | 48 __field(u32, dev_index) 53 __entry->dev_index = file->port->ib_dev->index; 92 __entry->dev_index, __entry->port_num,
|
/openbmc/u-boot/cmd/ |
H A D | rockusb.c | 15 int controller_index, dev_index; in do_rockusb() local 33 dev_index = simple_strtoul(devnum, NULL, 0); in do_rockusb() 34 rockusb_dev_init(devtype, dev_index); in do_rockusb()
|
/openbmc/u-boot/arch/arm/mach-exynos/include/mach/ |
H A D | clk.h | 41 unsigned long get_uart_clk(int dev_index); 42 unsigned long get_mmc_clk(int dev_index); 43 void set_mmc_clk(int dev_index, unsigned int div);
|
/openbmc/u-boot/arch/arm/mach-s5pc1xx/include/mach/ |
H A D | clk.h | 20 unsigned long get_uart_clk(int dev_index); 21 void set_mmc_clk(int dev_index, unsigned int div);
|
/openbmc/u-boot/arch/arm/mach-s5pc1xx/ |
H A D | clock.c | 280 static unsigned long s5pc1xx_get_uart_clk(int dev_index) in s5pc1xx_get_uart_clk() argument 318 unsigned long get_uart_clk(int dev_index) in get_uart_clk() argument 320 return s5pc1xx_get_uart_clk(dev_index); in get_uart_clk() 323 void set_mmc_clk(int dev_index, unsigned int div) in set_mmc_clk() argument
|
/openbmc/linux/drivers/slimbus/ |
H A D | core.c | 25 id->dev_index == sbdev->e_addr.dev_index && in slim_match() 169 sbdev->e_addr.dev_index, in slim_add_device() 229 e_addr.dev_index = reg[0]; in of_register_slim_devices() 335 a->dev_index == b->dev_index && in slim_eaddr_equal() 466 sbdev->e_addr.dev_index, sbdev->e_addr.instance); in slim_device_alloc_laddr()
|
/openbmc/u-boot/drivers/power/ |
H A D | twl4030.c | 153 void twl4030_power_mmc_init(int dev_index) in twl4030_power_mmc_init() argument 155 if (dev_index == 0) { in twl4030_power_mmc_init() 163 } else if (dev_index == 1) { in twl4030_power_mmc_init()
|
/openbmc/qemu/tests/qtest/ |
H A D | remote-i3c-test.c | 135 uint8_t dev_index, in aspeed_i3c_create_xfer_cmd() argument 144 .dev_index = dev_index, in aspeed_i3c_create_xfer_cmd() 191 static void aspeed_i3c_send(uint32_t base, uint8_t dev_index, in aspeed_i3c_send() argument 219 cmd.transfer_cmd = aspeed_i3c_create_xfer_cmd(0, dev_index, false, in aspeed_i3c_send() 241 static void aspeed_i3c_recv(uint32_t base, uint8_t dev_index, uint8_t *data, in aspeed_i3c_recv() argument 256 cmd.transfer_cmd = aspeed_i3c_create_xfer_cmd(0, dev_index, true, in aspeed_i3c_recv()
|
/openbmc/linux/drivers/scsi/esas2r/ |
H A D | esas2r_vda.c | 200 rq->vrq->mgt.dev_index = in esas2r_process_vda_ioctl() 201 cpu_to_le32(vi->cmd.mgt.dev_index); in esas2r_process_vda_ioctl() 290 vi->cmd.mgt.dev_index = le16_to_cpu( in esas2r_complete_vda_ioctl() 291 rq->func_rsp.mgt_rsp.dev_index); in esas2r_complete_vda_ioctl() 376 u16 dev_index, in esas2r_build_mgt_req() argument 388 vrq->dev_index = cpu_to_le16(dev_index); in esas2r_build_mgt_req()
|
/openbmc/u-boot/arch/arm/include/asm/arch-rockchip/ |
H A D | f_rockusb.h | 120 unsigned int dev_index; member 134 void rockusb_dev_init(char *dev_type, int dev_index);
|
/openbmc/qemu/hw/i3c/ |
H A D | aspeed_i3c.c | 627 uint16_t dev_index = R_DEVICE_ADDR_TABLE_LOC1 + offset; in aspeed_i3c_device_target_is_i2c() local 628 return FIELD_EX32(s->regs[dev_index], DEVICE_ADDR_TABLE_LOC1, in aspeed_i3c_device_target_is_i2c() 642 uint16_t dev_index = R_DEVICE_ADDR_TABLE_LOC1 + offset; in aspeed_i3c_device_target_addr() local 645 return FIELD_EX32(s->regs[dev_index], DEVICE_ADDR_TABLE_LOC1, in aspeed_i3c_device_target_addr() 648 return FIELD_EX32(s->regs[dev_index], DEVICE_ADDR_TABLE_LOC1, in aspeed_i3c_device_target_addr() 1248 uint8_t addr = aspeed_i3c_device_target_addr(s, cmd.dev_index); in aspeed_i3c_device_short_transfer() 1249 bool is_i2c = aspeed_i3c_device_target_is_i2c(s, cmd.dev_index); in aspeed_i3c_device_short_transfer() 1396 uint8_t addr = aspeed_i3c_device_target_addr(s, cmd.dev_index); in aspeed_i3c_device_transfer_ccc() 1411 uint8_t addr = aspeed_i3c_device_target_addr(s, cmd.dev_index); in aspeed_i3c_device_transfer() 1412 bool is_i2c = aspeed_i3c_device_target_is_i2c(s, cmd.dev_index); in aspeed_i3c_device_transfer() [all …]
|