| /u-boot/drivers/spmi/ |
| A D | spmi-sandbox.c | 44 static bool check_address_valid(int usid, int pid, int off) in check_address_valid() argument 48 if (pid < EMUL_GPIO_PID_START || pid > EMUL_GPIO_PID_END) in check_address_valid() 55 static int sandbox_spmi_write(struct udevice *dev, int usid, int pid, int off, in sandbox_spmi_write() argument 61 if (!check_address_valid(usid, pid, off)) in sandbox_spmi_write() 64 regs = priv->gpios[pid & 0x3].r; /* Last 3 bits of pid are gpio # */ in sandbox_spmi_write() 82 static int sandbox_spmi_read(struct udevice *dev, int usid, int pid, int off) in sandbox_spmi_read() argument 87 if (!check_address_valid(usid, pid, off)) in sandbox_spmi_read() 90 regs = priv->gpios[pid & 0x3].r; /* Last 3 bits of pid are gpio # */ in sandbox_spmi_read()
|
| A D | spmi-uclass.c | 16 int spmi_reg_read(struct udevice *dev, int usid, int pid, int reg) in spmi_reg_read() argument 23 return ops->read(dev, usid, pid, reg); in spmi_reg_read() 26 int spmi_reg_write(struct udevice *dev, int usid, int pid, int reg, in spmi_reg_write() argument 34 return ops->write(dev, usid, pid, reg, value); in spmi_reg_write()
|
| A D | spmi-msm.c | 81 static int msm_spmi_write(struct udevice *dev, int usid, int pid, int off, in msm_spmi_write() argument 91 if (pid >= SPMI_MAX_PERIPH) in msm_spmi_write() 94 channel = priv->channel_map[usid][pid]; in msm_spmi_write() 106 reg |= (pid << SPMI_CMD_ADDR_SHIFT); in msm_spmi_write() 133 static int msm_spmi_read(struct udevice *dev, int usid, int pid, int off) in msm_spmi_read() argument 142 if (pid >= SPMI_MAX_PERIPH) in msm_spmi_read() 145 channel = priv->channel_map[usid][pid]; in msm_spmi_read() 158 reg |= (pid << SPMI_CMD_ADDR_SHIFT); in msm_spmi_read() 234 uint8_t pid = (periph & 0xff00) >> 8; in msm_spmi_probe() local 236 priv->channel_map[slave_id][pid] = i; in msm_spmi_probe()
|
| A D | Kconfig | 22 slave (0) on bus. It has 4 GPIO peripherals, pid 0xC0-0xC3.
|
| /u-boot/include/spmi/ |
| A D | spmi.h | 17 int (*read)(struct udevice *dev, int usid, int pid, int reg); 18 int (*write)(struct udevice *dev, int usid, int pid, int reg, 31 int spmi_reg_read(struct udevice *dev, int usid, int pid, int reg); 43 int spmi_reg_write(struct udevice *dev, int usid, int pid, int reg,
|
| /u-boot/drivers/gpio/ |
| A D | qcom_pmic_gpio.c | 68 uint32_t pid; /* Peripheral ID on SPMI bus */ member 76 uint32_t gpio_base = priv->pid + REG_OFFSET(offset); in qcom_gpio_set_direction() 152 uint32_t gpio_base = priv->pid + REG_OFFSET(offset); in qcom_gpio_get_function() 185 uint32_t gpio_base = priv->pid + REG_OFFSET(offset); in qcom_gpio_get_value() 199 uint32_t gpio_base = priv->pid + REG_OFFSET(offset); in qcom_gpio_set_value() 225 priv->pid = dev_read_addr(dev); in qcom_gpio_probe() 226 if (priv->pid == FDT_ADDR_T_NONE) in qcom_gpio_probe() 230 reg = pmic_reg_read(dev->parent, priv->pid + REG_TYPE); in qcom_gpio_probe() 332 priv->pid = dev_read_addr(dev); in qcom_pwrkey_probe() 333 if (priv->pid == FDT_ADDR_T_NONE) in qcom_pwrkey_probe() [all …]
|
| /u-boot/board/sunxi/ |
| A D | chip.c | 50 u16 pid; in extension_board_scan() local 80 pid = dip_convert(w1_header.product_id); in extension_board_scan() 83 w1_header.product_name, pid, in extension_board_scan() 93 vid, pid); in extension_board_scan()
|
| /u-boot/drivers/misc/ |
| A D | p2sb-uclass.c | 42 reg_addr += pplat->pid << PCR_PORTID_SHIFT; in pcr_reg_address() 168 return pplat->pid; in p2sb_get_port_id() 179 pplat->pid = portid; in p2sb_set_port_id() 189 u32 pid; in p2sb_child_post_bind() local 191 ret = dev_read_u32(dev, "intel,p2sb-port-id", &pid); in p2sb_child_post_bind() 194 pplat->pid = pid; in p2sb_child_post_bind()
|
| A D | p2sb_emul.c | 190 uint pid = offset >> PCR_PORTID_SHIFT; in find_p2sb_channel() local 203 pplat->pid, pid); in find_p2sb_channel() 204 if (pid == pplat->pid) { in find_p2sb_channel()
|
| A D | sandbox_adder.c | 27 *val = pplat->pid << 24 | address; in sandbox_adder_read()
|
| /u-boot/arch/x86/cpu/intel_common/ |
| A D | p2sb.c | 165 u32 pid; in p2sb_child_post_bind() local 167 ret = dev_read_u32(dev, "intel,p2sb-port-id", &pid); in p2sb_child_post_bind() 170 pplat->pid = pid; in p2sb_child_post_bind()
|
| /u-boot/tools/ |
| A D | netconsole | 65 pid=$! 71 kill ${pid} 2>/dev/null
|
| /u-boot/test/py/ |
| A D | u_boot_spawn.py | 51 (self.pid, self.fd) = pty.fork() 52 if self.pid == 0: 85 os.kill(self.pid, sig) 100 w = os.waitpid(self.pid, os.WNOHANG)
|
| A D | u_boot_utils.py | 349 def waitpid(pid, timeout=60, kill=False): argument 369 os.kill(pid, 0) 373 os.kill(pid, signal.SIGKILL) 381 .format(pid, timeout)
|
| /u-boot/drivers/usb/host/ |
| A D | dwc2.c | 849 u8 *pid, int in, void *buffer, int num_packets, in transfer_chunk() argument 856 *pid, xfer_len, num_packets); in transfer_chunk() 860 (*pid << DWC2_HCTSIZ_PID_OFFSET), in transfer_chunk() 891 ret = wait_for_chhltd(hc_regs, &sub, pid); in transfer_chunk() 1041 u8* pid; in _submit_bulk_msg() local 1049 pid = &priv->in_data_toggle[devnum][ep]; in _submit_bulk_msg() 1051 pid = &priv->out_data_toggle[devnum][ep]; in _submit_bulk_msg() 1062 u8 pid; in _submit_control_msg() local 1074 pid = DWC2_HC_PID_SETUP; in _submit_control_msg() 1084 pid = DWC2_HC_PID_DATA1; in _submit_control_msg() [all …]
|
| /u-boot/include/linux/soc/ti/ |
| A D | ti_sci_protocol.h | 286 int (*proc_request)(const struct ti_sci_handle *handle, u8 pid); 287 int (*proc_release)(const struct ti_sci_handle *handle, u8 pid); 288 int (*proc_handover)(const struct ti_sci_handle *handle, u8 pid, 290 int (*set_proc_boot_cfg)(const struct ti_sci_handle *handle, u8 pid, 292 int (*set_proc_boot_ctrl)(const struct ti_sci_handle *handle, u8 pid, 296 int (*get_proc_boot_status)(const struct ti_sci_handle *handle, u8 pid, 300 u8 pid);
|
| /u-boot/drivers/mtd/ubi/ |
| A D | debug.h | 25 __func__, __LINE__, current->pid); \ 38 pr_debug("UBI DBG " type " (pid %d): " fmt "\n", current->pid, \
|
| /u-boot/drivers/clk/at91/ |
| A D | pmc.c | 140 if (setup[i].pid) { in at91_clk_setup() 141 ret = clk_get_by_id(setup[i].pid, &parent); in at91_clk_setup()
|
| /u-boot/arch/arm/mach-davinci/include/mach/ |
| A D | psc_defs.h | 14 unsigned int pid; /* 0x000 */ member
|
| A D | pll_defs.h | 10 unsigned int pid; /* 0x00 */ member
|
| /u-boot/lib/ |
| A D | linux_compat.c | 9 .pid = 1,
|
| /u-boot/fs/ubifs/ |
| A D | debug.h | 143 __func__, __LINE__, current->pid); \ 157 pr_debug("UBIFS DBG " type " (pid %d): " fmt "\n", current->pid, \ 163 pr_debug("UBIFS DBG " type " (pid %d): " fmt "%s\n", current->pid, \
|
| /u-boot/arch/powerpc/include/asm/ |
| A D | fsl_pamu.h | 108 uint8_t pid; member
|
| /u-boot/include/ |
| A D | p2sb.h | 25 uint pid; member
|
| /u-boot/arch/arm/mach-keystone/ |
| A D | msmc.c | 18 u32 pid; member
|