Home
last modified time | relevance | path

Searched refs:p (Results 551 – 575 of 9049) sorted by relevance

1...<<21222324252627282930>>...362

/openbmc/linux/drivers/media/test-drivers/visl/
H A Dvisl-trace-fwht.h12 TP_PROTO(const struct v4l2_ctrl_fwht_params *p),
13 TP_ARGS(p),
27 __entry->version = p->version;
28 __entry->width = p->width;
29 __entry->height = p->height;
30 __entry->flags = p->flags;
31 __entry->colorspace = p->colorspace;
32 __entry->xfer_func = p->xfer_func;
33 __entry->ycbcr_enc = p->ycbcr_enc;
34 __entry->quantization = p->quantization;
[all …]
H A Dvisl-trace-mpeg2.h30 TP_ARGS(p),
32 TP_fast_assign(__entry->p = *p;),
35 __entry->p.backward_ref_ts,
36 __entry->p.forward_ref_ts,
37 __print_flags(__entry->p.flags, "|",
47 __entry->p.f_code,
48 sizeof(__entry->p.f_code),
50 __entry->p.picture_coding_type,
51 __entry->p.picture_structure,
52 __entry->p.intra_dc_precision
[all …]
/openbmc/qemu/qga/
H A Dcommands-posix-ssh.c20 struct passwd *p; in test_get_passwd_entry() local
30 p->pw_uid = geteuid(); in test_get_passwd_entry()
36 return p; in test_get_passwd_entry()
47 struct passwd *p; in get_passwd_entry() local
50 if (p == NULL) { in get_passwd_entry()
56 return p; in get_passwd_entry()
69 if (chown(path, p->pw_uid, p->pw_gid) == -1) { in mkdir_for_user()
97 if (chown(path, p->pw_uid, p->pw_gid) == -1) { in write_authkeys()
131 if (p == NULL) { in qmp_guest_ssh_add_authorized_keys()
178 if (p == NULL) { in qmp_guest_ssh_remove_authorized_keys()
[all …]
/openbmc/linux/drivers/tty/serial/8250/
H A D8250_dwlib.h24 void dw8250_do_set_termios(struct uart_port *p, struct ktermios *termios, const struct ktermios *ol…
25 void dw8250_setup_port(struct uart_port *p);
27 static inline u32 dw8250_readl_ext(struct uart_port *p, int offset) in dw8250_readl_ext() argument
29 if (p->iotype == UPIO_MEM32BE) in dw8250_readl_ext()
30 return ioread32be(p->membase + offset); in dw8250_readl_ext()
31 return readl(p->membase + offset); in dw8250_readl_ext()
34 static inline void dw8250_writel_ext(struct uart_port *p, int offset, u32 reg) in dw8250_writel_ext() argument
36 if (p->iotype == UPIO_MEM32BE) in dw8250_writel_ext()
37 iowrite32be(reg, p->membase + offset); in dw8250_writel_ext()
39 writel(reg, p->membase + offset); in dw8250_writel_ext()
/openbmc/linux/arch/openrisc/include/asm/bitops/
H A Datomic.h15 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in set_bit() local
25 : "r"(p), "r"(mask) in set_bit()
32 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in clear_bit() local
42 : "r"(p), "r"(~mask) in clear_bit()
49 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in change_bit() local
59 : "r"(p), "r"(mask) in change_bit()
66 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in test_and_set_bit() local
77 : "r"(p), "r"(mask) in test_and_set_bit()
86 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in test_and_clear_bit() local
97 : "r"(p), "r"(~mask) in test_and_clear_bit()
[all …]
/openbmc/u-boot/drivers/power/
H A Dpower_spi.c19 static u32 pmic_reg(struct pmic *p, u32 reg, u32 *val, u32 write) in pmic_reg() argument
25 slave = spi_setup_slave(p->bus, p->hw.spi.cs, p->hw.spi.clk, in pmic_reg()
26 p->hw.spi.mode); in pmic_reg()
32 if (check_reg(p, reg)) in pmic_reg()
38 pmic_tx = p->hw.spi.prepare_tx(reg, val, write); in pmic_reg()
47 pmic_tx = p->hw.spi.prepare_tx(reg, val, 0); in pmic_reg()
64 int pmic_reg_write(struct pmic *p, u32 reg, u32 val) in pmic_reg_write() argument
66 return pmic_reg(p, reg, &val, 1); in pmic_reg_write()
69 int pmic_reg_read(struct pmic *p, u32 reg, u32 *val) in pmic_reg_read() argument
71 return pmic_reg(p, reg, val, 0); in pmic_reg_read()
/openbmc/linux/drivers/clk/at91/
H A Dsama7g5.c165 enum sama7g5_pll_parent p; member
173 .p = SAMA7G5_PLL_PARENT_MAINCK,
186 .p = SAMA7G5_PLL_PARENT_FRACCK,
204 .p = SAMA7G5_PLL_PARENT_MAINCK,
218 .p = SAMA7G5_PLL_PARENT_FRACCK,
234 .p = SAMA7G5_PLL_PARENT_MAINCK,
247 .p = SAMA7G5_PLL_PARENT_FRACCK,
259 .p = SAMA7G5_PLL_PARENT_MAINCK,
268 .p = SAMA7G5_PLL_PARENT_FRACCK,
280 .p = SAMA7G5_PLL_PARENT_MAINCK,
[all …]
/openbmc/qemu/hw/usb/
H A Dhost-libusb.c384 r->p = p; in usb_host_req_alloc()
414 if (r->p == p) { in usb_host_req_find()
461 r->p->status, r->p->actual_length); in usb_host_req_complete_ctrl()
486 r->p->status, r->p->actual_length); in usb_host_req_complete_data()
503 bool inflight = (r->p && r->p->state == USB_PACKET_ASYNC); in usb_host_req_abort()
1528 p->status, p->actual_length); in usb_host_handle_control()
1552 p->ep->nr, p->iov.size); in usb_host_handle_data()
1565 switch (usb_ep_get_type(udev, p->pid, p->ep->nr)) { in usb_host_handle_data()
1592 r = usb_host_req_alloc(s, p, p->pid == USB_TOKEN_IN, p->iov.size); in usb_host_handle_data()
1594 usb_packet_copy(p, r->buffer, p->iov.size); in usb_host_handle_data()
[all …]
/openbmc/linux/tools/net/ynl/
H A Dynl-gen-c.py147 ri.cw.p(f"{line};")
185 ri.cw.p(line)
1134 self.p(line)
1141 self.p('/*')
1156 self.p(v)
1187 self.p(var)
1459 ri.cw.p(line)
1496 ri.cw.p('i++;')
1522 ri.cw.p('i++;')
1904 cw.p("};")
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_rdonly_maps.c28 unsigned * volatile p = (void *)&rdonly_values.a; in skip_loop() local
32 while (*p & 1) { in skip_loop()
34 sum += *p; in skip_loop()
35 p++; in skip_loop()
47 unsigned * volatile p = (void *)&rdonly_values.a; in part_loop() local
51 while (*p < 5) { in part_loop()
53 sum += *p; in part_loop()
54 p++; in part_loop()
66 unsigned * volatile p = (void *)&rdonly_values.a; in full_loop() local
73 sum += *p; in full_loop()
[all …]
/openbmc/linux/tools/perf/tests/shell/
H A Dstat_all_pfm.sh12 for p in $(perf list --raw-dump pfm)
14 if echo "$p" | grep -q unc_
16 echo "Skipping uncore event '$p' that may require additional options."
19 echo "Testing $p"
20 result=$(perf stat --pfm-events "$p" true 2>&1)
22 if echo "$result" | grep -q "failed to parse event $p : invalid or missing unit mask"
31 if ! echo "$result" | grep -q "$p" && ! echo "$result" | grep -q "<not supported>"
35 result=$(perf stat --pfm-events "$p" perf bench internals synthesize 2>&1)
42 if ! echo "$result" | grep -q "$p"
44 echo "Event '$p' not printed in:"
/openbmc/linux/drivers/char/ipmi/
H A Dipmi_dmi.c44 struct ipmi_plat_data p; in dmi_add_platform_ipmi() local
46 memset(&p, 0, sizeof(p)); in dmi_add_platform_ipmi()
54 p.type = SI_TYPE_INVALID; in dmi_add_platform_ipmi()
57 p.type = SI_BT; in dmi_add_platform_ipmi()
60 p.type = SI_KCS; in dmi_add_platform_ipmi()
63 p.type = SI_SMIC; in dmi_add_platform_ipmi()
70 p.addr = base_addr; in dmi_add_platform_ipmi()
71 p.space = space; in dmi_add_platform_ipmi()
72 p.regspacing = offset; in dmi_add_platform_ipmi()
73 p.irq = irq; in dmi_add_platform_ipmi()
[all …]
/openbmc/qemu/migration/
H A Dmultifd.h229 int (*send_setup)(MultiFDSendParams *p, Error **errp);
235 int (*recv_setup)(MultiFDRecvParams *p, Error **errp);
237 void (*recv_cleanup)(MultiFDRecvParams *p);
239 int (*recv)(MultiFDRecvParams *p, Error **errp);
243 void multifd_send_fill_packet(MultiFDSendParams *p);
244 bool multifd_send_prepare_common(MultiFDSendParams *p);
245 void multifd_send_zero_page_detect(MultiFDSendParams *p);
246 void multifd_recv_zero_page_process(MultiFDRecvParams *p);
250 p->iov[0].iov_len = p->packet_len; in multifd_send_prepare_header()
251 p->iov[0].iov_base = p->packet; in multifd_send_prepare_header()
[all …]
/openbmc/linux/drivers/media/pci/cx23885/
H A Dcx23888-ir.c652 for (p = (union cx23888_ir_fifo_rec *) buf, i = 0; i < n; p++, i++) { in cx23888_ir_rx_read()
720 if (p->shutdown) in cx23888_ir_rx_s_parameters()
742 if (p->modulation) { in cx23888_ir_rx_s_parameters()
743 p->carrier_freq = rxclk_rx_s_carrier(dev, p->carrier_freq, in cx23888_ir_rx_s_parameters()
756 p->max_pulse_width = in cx23888_ir_rx_s_parameters()
783 if (p->enable) { in cx23888_ir_rx_s_parameters()
848 if (p->shutdown) in cx23888_ir_tx_s_parameters()
870 if (p->modulation) { in cx23888_ir_tx_s_parameters()
871 p->carrier_freq = txclk_tx_s_carrier(dev, p->carrier_freq, in cx23888_ir_tx_s_parameters()
875 p->duty_cycle = cduty_tx_s_duty_cycle(dev, p->duty_cycle); in cx23888_ir_tx_s_parameters()
[all …]
/openbmc/linux/block/partitions/
H A Daix.c116 struct pvd *p; in alloc_pvd() local
118 p = kmalloc(count, GFP_KERNEL); in alloc_pvd()
119 if (!p) in alloc_pvd()
123 kfree(p); in alloc_pvd()
126 return p; in alloc_pvd()
141 struct lvname *p; in alloc_lvn() local
143 p = kmalloc(count, GFP_KERNEL); in alloc_lvn()
144 if (!p) in alloc_lvn()
148 kfree(p); in alloc_lvn()
151 return p; in alloc_lvn()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvif/
H A Dobject.h125 #define NVIF_RD32_(p,o,dr) nvif_rd32((p), (o) + (dr)) argument
126 #define NVIF_WR32_(p,o,dr,f) nvif_wr32((p), (o) + (dr), (f)) argument
127 #define NVIF_RD32(p,A...) DRF_RD(NVIF_RD32_, (p), 0, ##A) argument
128 #define NVIF_RV32(p,A...) DRF_RV(NVIF_RD32_, (p), 0, ##A) argument
129 #define NVIF_TV32(p,A...) DRF_TV(NVIF_RD32_, (p), 0, ##A) argument
130 #define NVIF_TD32(p,A...) DRF_TD(NVIF_RD32_, (p), 0, ##A) argument
131 #define NVIF_WR32(p,A...) DRF_WR( NVIF_WR32_, (p), 0, ##A) argument
132 #define NVIF_WV32(p,A...) DRF_WV( NVIF_WR32_, (p), 0, ##A) argument
133 #define NVIF_WD32(p,A...) DRF_WD( NVIF_WR32_, (p), 0, ##A) argument
134 #define NVIF_MR32(p,A...) DRF_MR(NVIF_RD32_, NVIF_WR32_, u32, (p), 0, ##A) argument
[all …]
/openbmc/linux/drivers/video/fbdev/
H A Dpm2fb.c257 unsigned char p; in pm2_mnp() local
267 for (p = 0; p < 5; p++, f >>= 1) { in pm2_mnp()
273 *pp = p; in pm2_mnp()
286 unsigned char p; in pm2v_mnp() local
293 for (p = 0; p < 2; p++) { in pm2v_mnp()
299 *pp = p; in pm2v_mnp()
310 WAIT_FIFO(p, 1); in clear_palette()
338 pm2_WR(p, PM2R_MEM_CONTROL, p->mem_control); in reset_card()
339 pm2_WR(p, PM2R_BOOT_ADDRESS, p->boot_address); in reset_card()
341 pm2_WR(p, PM2R_MEM_CONFIG, p->mem_config); in reset_card()
[all …]
/openbmc/qemu/include/net/
H A Deth.h194 #define PKT_GET_ETH_HDR(p) \ argument
195 ((struct eth_header *)(p))
196 #define PKT_GET_VLAN_HDR(p) \ argument
199 (PKT_GET_VLAN_HDR(p) + 1)
200 #define PKT_GET_IP_HDR(p) \ argument
201 ((struct ip_header *)(((uint8_t *)(p)) + eth_get_l2_hdr_length(p)))
202 #define IP_HDR_GET_LEN(p) \ argument
209 ((struct ip6_header *) (((uint8_t *)(p)) + eth_get_l2_hdr_length(p)))
321 size_t copied = iov_to_buf(iov, iovcnt, iovoff, p, ARRAY_SIZE(p)); in eth_get_l2_hdr_length_iov()
323 if (copied < ARRAY_SIZE(p)) { in eth_get_l2_hdr_length_iov()
[all …]
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dselftest_engine_heartbeat.c55 struct pulse *p = container_of(kref, typeof(*p), kref); in pulse_free() local
58 kfree(p); in pulse_free()
73 struct pulse *p; in pulse_create() local
75 p = kmalloc(sizeof(*p), GFP_KERNEL); in pulse_create()
76 if (!p) in pulse_create()
77 return p; in pulse_create()
82 return p; in pulse_create()
93 struct pulse *p; in __live_idle_pulse() local
98 p = pulse_create(); in __live_idle_pulse()
99 if (!p) in __live_idle_pulse()
[all …]
/openbmc/linux/drivers/clk/meson/
H A Dparm.h22 #define MESON_PARM_APPLICABLE(p) (!!((p)->width)) argument
30 static inline unsigned int meson_parm_read(struct regmap *map, struct parm *p) in meson_parm_read() argument
34 regmap_read(map, p->reg_off, &val); in meson_parm_read()
35 return PARM_GET(p->width, p->shift, val); in meson_parm_read()
38 static inline void meson_parm_write(struct regmap *map, struct parm *p, in meson_parm_write() argument
41 regmap_update_bits(map, p->reg_off, SETPMASK(p->width, p->shift), in meson_parm_write()
42 val << p->shift); in meson_parm_write()
/openbmc/qemu/hw/9pfs/
H A Dmeson.build3 '9p-local.c',
4 '9p-posix-acl.c',
5 '9p-proxy.c',
6 '9p-synth.c',
7 '9p-xattr-user.c',
8 '9p-xattr.c',
9 '9p.c',
17 fs_ss.add(files('9p-util-darwin.c'))
19 fs_ss.add(files('9p-util-linux.c'))
21 fs_ss.add(when: 'CONFIG_XEN_BUS', if_true: files('xen-9p-backend.c'))
[all …]
/openbmc/linux/lib/raid6/
H A Dloongarch_simd.c36 u8 *p, *q; in raid6_lsx_gen_syndrome() local
40 p = dptr[z0+1]; /* XOR parity */ in raid6_lsx_gen_syndrome()
118 u8 *p, *q; in raid6_lsx_xor_syndrome() local
122 p = dptr[disks-2]; /* XOR parity */ in raid6_lsx_xor_syndrome()
235 : "+m"(p[d+NSIZE*0]), "+m"(p[d+NSIZE*1]), in raid6_lsx_xor_syndrome()
236 "+m"(p[d+NSIZE*2]), "+m"(p[d+NSIZE*3]), in raid6_lsx_xor_syndrome()
267 u8 *p, *q; in raid6_lasx_gen_syndrome() local
271 p = dptr[z0+1]; /* XOR parity */ in raid6_lasx_gen_syndrome()
327 u8 *p, *q; in raid6_lasx_xor_syndrome() local
331 p = dptr[disks-2]; /* XOR parity */ in raid6_lasx_xor_syndrome()
[all …]
/openbmc/linux/arch/powerpc/mm/nohash/
H A D8xx.c25 unsigned long p = PHYS_IMMR_BASE; in v_block_mapped() local
28 return p + va - VIRT_IMMR_BASE; in v_block_mapped()
40 unsigned long p = PHYS_IMMR_BASE; in p_block_mapped() local
42 if (pa >= p && pa < p + IMMR_SIZE) in p_block_mapped()
43 return VIRT_IMMR_BASE + pa - p; in p_block_mapped()
125 unsigned long p = offset; in mmu_mapin_ram_chunk() local
129 for (; p < ALIGN(p, SZ_8M) && p < top; p += SZ_512K, v += SZ_512K) in mmu_mapin_ram_chunk()
130 __early_map_kernel_hugepage(v, p, prot, MMU_PAGE_512K, new); in mmu_mapin_ram_chunk()
131 for (; p < ALIGN_DOWN(top, SZ_8M) && p < top; p += SZ_8M, v += SZ_8M) in mmu_mapin_ram_chunk()
132 __early_map_kernel_hugepage(v, p, prot, MMU_PAGE_8M, new); in mmu_mapin_ram_chunk()
[all …]
/openbmc/linux/net/sched/
H A Dact_police.c271 if (!p->rate_present && !p->pps_present) { in tcf_police_act()
272 ret = p->tcfp_result; in tcf_police_act()
279 if (p->peak_present) { in tcf_police_act()
286 if (p->rate_present) { in tcf_police_act()
325 if (p) in tcf_police_cleanup()
326 kfree_rcu(p, rcu); in tcf_police_cleanup()
357 opt.mtu = p->tcfp_mtu; in tcf_police_dump()
359 if (p->rate_present) { in tcf_police_dump()
367 if (p->peak_present) { in tcf_police_dump()
375 if (p->pps_present) { in tcf_police_dump()
[all …]
/openbmc/linux/fs/jfs/
H A Djfs_xtree.c130 xtpage_t *p; in xtLookup() local
472 if (p->header.nextindex == p->header.maxentry) in xtSearch()
618 memmove(&p->xad[index + 1], &p->xad[index], in xtInsert()
944 xtpage_t *p; in xtSplitPage() local
1601 memmove(&p->xad[index], &p->xad[index + 1], in xtUpdate()
1669 memmove(&p->xad[index], &p->xad[index + 1], in xtUpdate()
1753 memmove(&p->xad[newindex + 1], &p->xad[newindex], in xtUpdate()
1897 memmove(&p->xad[newindex + 1], &p->xad[newindex], in xtUpdate()
2101 xtroot_t *p; in xtInitRoot() local
2193 xtpage_t *p; in xtTruncate() local
[all …]

1...<<21222324252627282930>>...362