Searched refs:pid (Results 1 - 25 of 50) sorted by relevance

12

/u-boot/include/spmi/
H A Dspmi.h10 * @read: read register 'reg' of slave 'usid' and peripheral 'pid'
11 * @write: write register 'reg' of slave 'usid' and peripheral 'pid'
17 int (*read)(struct udevice *dev, int usid, int pid, int reg);
18 int (*write)(struct udevice *dev, int usid, int pid, int reg,
27 * @pid Peripheral ID
31 int spmi_reg_read(struct udevice *dev, int usid, int pid, int reg);
38 * @pid Peripheral ID
43 int spmi_reg_write(struct udevice *dev, int usid, int pid, int reg,
/u-boot/drivers/spmi/
H A Dspmi-uclass.c16 int spmi_reg_read(struct udevice *dev, int usid, int pid, int reg) argument
23 return ops->read(dev, usid, pid, reg);
26 int spmi_reg_write(struct udevice *dev, int usid, int pid, int reg, argument
34 return ops->write(dev, usid, pid, reg, value);
H A Dspmi-sandbox.c44 static bool check_address_valid(int usid, int pid, int off) argument
48 if (pid < EMUL_GPIO_PID_START || pid > EMUL_GPIO_PID_END)
55 static int sandbox_spmi_write(struct udevice *dev, int usid, int pid, int off, argument
61 if (!check_address_valid(usid, pid, off))
64 regs = priv->gpios[pid & 0x3].r; /* Last 3 bits of pid are gpio # */
82 static int sandbox_spmi_read(struct udevice *dev, int usid, int pid, int off) argument
87 if (!check_address_valid(usid, pid, off))
90 regs = priv->gpios[pid
[all...]
H A Dspmi-msm.c96 static u32 pmic_arb_fmt_cmd_v1(u8 opc, u8 sid, u8 pid, u8 off) argument
98 return (opc << 27) | (sid << 20) | (pid << 12) | (off << 4) | 1;
106 static int msm_spmi_write(struct udevice *dev, int usid, int pid, int off, argument
116 if (pid >= SPMI_MAX_PERIPH)
118 if (priv->channel_map[usid][pid] & SPMI_CHANNEL_READ_ONLY)
121 channel = priv->channel_map[usid][pid] & SPMI_CHANNEL_MASK;
123 dev_dbg(dev, "[%d:%d] %s: channel %d\n", usid, pid, __func__, channel);
130 usid, pid, off);
176 static int msm_spmi_read(struct udevice *dev, int usid, int pid, int off) argument
185 if (pid >
299 uint8_t pid = (periph & 0xff00) >> 8; local
[all...]
/u-boot/dts/upstream/scripts/
H A Drewrite-index.pl5 my $pid;
12 if (!defined $pid) {
13 $pid = open2(*Rderef, *Wderef, "git cat-file --batch-check='deref-ok %(objectname)' --follow-symlinks")
71 kill $pid if $pid;
/u-boot/tools/
H A Dnetconsole65 pid=$!
71 kill ${pid} 2>/dev/null
/u-boot/board/sunxi/
H A Dchip.c50 u16 pid; local
80 pid = dip_convert(w1_header.product_id);
83 w1_header.product_name, pid,
93 vid, pid);
/u-boot/drivers/gpio/
H A Dqcom_pmic_gpio.c85 uint32_t pid; /* Peripheral ID on SPMI bus */ member in struct:qcom_pmic_gpio_data
95 u32 gpio_base = plat->pid + REG_OFFSET(offset);
131 uint32_t gpio_base = plat->pid + REG_OFFSET(offset);
188 uint32_t gpio_base = plat->pid + REG_OFFSET(offset);
221 uint32_t gpio_base = plat->pid + REG_OFFSET(offset);
235 uint32_t gpio_base = plat->pid + REG_OFFSET(offset);
311 u64 pid; local
315 pid = dev_read_addr(dev);
316 if (pid == FDT_ADDR_T_NONE)
319 plat->pid
[all...]
/u-boot/drivers/misc/
H A Dp2sb-uclass.c42 reg_addr += pplat->pid << PCR_PORTID_SHIFT;
168 return pplat->pid;
179 pplat->pid = portid;
189 u32 pid; local
191 ret = dev_read_u32(dev, "intel,p2sb-port-id", &pid);
194 pplat->pid = pid;
H A Dsandbox_adder.c27 *val = pplat->pid << 24 | address;
H A Dp2sb_emul.c190 uint pid = offset >> PCR_PORTID_SHIFT; local
202 log_debug(" - child %s, pid %d, want %d\n", dev->name,
203 pplat->pid, pid);
204 if (pid == pplat->pid) {
/u-boot/arch/arm/mach-davinci/include/mach/
H A Dpll_defs.h10 unsigned int pid; /* 0x00 */ member in struct:dv_pll_regs
H A Dpsc_defs.h14 unsigned int pid; /* 0x000 */ member in struct:dv_psc_regs
/u-boot/test/py/
H A Du_boot_spawn.py51 (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)
H A Du_boot_utils.py349 def waitpid(pid, timeout=60, kill=False):
352 This is an alternative to a os.waitpid(pid, 0) call that works on
356 pid: PID of a running process.
369 os.kill(pid, 0)
373 os.kill(pid, signal.SIGKILL)
381 .format(pid, timeout)
/u-boot/lib/
H A Dlinux_compat.c8 .pid = 1,
/u-boot/arch/x86/cpu/intel_common/
H A Dp2sb.c165 u32 pid; local
167 ret = dev_read_u32(dev, "intel,p2sb-port-id", &pid);
170 pplat->pid = pid;
/u-boot/drivers/mtd/ubi/
H A Ddebug.h25 pr_crit("UBI assert failed in %s at %u (pid %d)\n", \
26 __func__, __LINE__, current->pid); \
39 pr_debug("UBI DBG " type " (pid %d): " fmt "\n", current->pid, \
/u-boot/drivers/clk/at91/
H A Dpmc.c140 if (setup[i].pid) {
141 ret = clk_get_by_id(setup[i].pid, &parent);
/u-boot/include/linux/soc/ti/
H A Dti_sci_protocol.h282 * -pid: Processor ID
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/usb/host/
H A Ddwc2.c847 u8 *pid, int in, void *buffer, int num_packets,
853 debug("%s: chunk: pid %d xfer_len %u pkts %u\n", __func__,
854 *pid, xfer_len, num_packets);
858 (*pid << DWC2_HCTSIZ_PID_OFFSET),
889 ret = wait_for_chhltd(hc_regs, &sub, pid);
908 unsigned long pipe, u8 *pid, int in, void *buffer, int len)
927 debug("%s: msg: pipe %lx pid %d in %d len %d\n", __func__, pipe, *pid,
985 ret = transfer_chunk(hc_regs, priv->aligned_buffer, pid,
1039 u8* pid; local
846 transfer_chunk(struct dwc2_hc_regs *hc_regs, void *aligned_buffer, u8 *pid, int in, void *buffer, int num_packets, int xfer_len, int *actual_len, int odd_frame) argument
907 chunk_msg(struct dwc2_priv *priv, struct usb_device *dev, unsigned long pipe, u8 *pid, int in, void *buffer, int len) argument
1060 u8 pid; local
[all...]
/u-boot/fs/ubifs/
H A Ddebug.h143 pr_crit("UBIFS assert failed in %s at %u (pid %d)\n", \
144 __func__, __LINE__, current->pid); \
158 pr_debug("UBIFS DBG " type " (pid %d): " fmt "\n", current->pid, \
164 pr_debug("UBIFS DBG " type " (pid %d): " fmt "%s\n", current->pid, \
/u-boot/include/
H A Dp2sb.h22 * @pid: Port ID for this child
25 uint pid; member in struct:p2sb_child_plat
/u-boot/arch/powerpc/include/asm/
H A Dfsl_pamu.h108 uint8_t pid; member in struct:paace::__anon37::__anon38
/u-boot/arch/arm/mach-keystone/
H A Dmsmc.c17 u32 pid; member in struct:msms_regs

Completed in 355 milliseconds

12