Home
last modified time | relevance | path

Searched refs:p (Results 701 – 725 of 9049) sorted by relevance

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

/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_intf.c122 hsync_period = p->hsync_pulse_width + p->h_back_porch + p->width + in dpu_hw_intf_setup_timing_engine()
123 p->h_front_porch; in dpu_hw_intf_setup_timing_engine()
124 vsync_period = p->vsync_pulse_width + p->v_back_porch + p->height + in dpu_hw_intf_setup_timing_engine()
125 p->v_front_porch; in dpu_hw_intf_setup_timing_engine()
127 display_v_start = ((p->vsync_pulse_width + p->v_back_porch) * in dpu_hw_intf_setup_timing_engine()
130 p->hsync_skew - 1; in dpu_hw_intf_setup_timing_engine()
132 hsync_start_x = p->h_back_porch + p->hsync_pulse_width; in dpu_hw_intf_setup_timing_engine()
135 if (p->width != p->xres) { /* border fill added */ in dpu_hw_intf_setup_timing_engine()
143 if (p->height != p->yres) { /* border fill added */ in dpu_hw_intf_setup_timing_engine()
176 display_v_start += p->hsync_pulse_width + p->h_back_porch; in dpu_hw_intf_setup_timing_engine()
[all …]
/openbmc/linux/drivers/net/fddi/skfp/
H A Dsmtinit.c63 int p ; in init_smt() local
83 for ( p = 0; p < NUMPHYS; p ++ ) { in init_smt()
84 smc->y[p].mib = & smc->mib.p[p] ; in init_smt()
104 for (p = 0 ; p < NUMPHYS ; p++) { in init_smt()
105 pcm(smc,p,0) ; /* PCM A state machine */ in init_smt()
/openbmc/qemu/util/
H A Dbitmap.c174 p++; in bitmap_set()
197 p++; in bitmap_set_atomic()
203 *p = ~0UL; in bitmap_set_atomic()
205 p++; in bitmap_set_atomic()
235 p++; in bitmap_clear()
261 p++; in bitmap_test_and_clear()
267 if (*p) { in bitmap_test_and_clear()
272 p++; in bitmap_test_and_clear()
306 p++; in bitmap_test_and_clear_atomic()
312 if (*p) { in bitmap_test_and_clear_atomic()
[all …]
/openbmc/linux/drivers/scsi/
H A Dscsi_proc.c235 if (!p) in scsi_proc_host_add()
438 p = buffer + 23; in proc_scsi_write()
440 host = (p < end) ? simple_strtoul(p, &p, 0) : 0; in proc_scsi_write()
441 channel = (p + 1 < end) ? simple_strtoul(p + 1, &p, 0) : 0; in proc_scsi_write()
442 id = (p + 1 < end) ? simple_strtoul(p + 1, &p, 0) : 0; in proc_scsi_write()
443 lun = (p + 1 < end) ? simple_strtoul(p + 1, &p, 0) : 0; in proc_scsi_write()
452 p = buffer + 26; in proc_scsi_write()
454 host = (p < end) ? simple_strtoul(p, &p, 0) : 0; in proc_scsi_write()
455 channel = (p + 1 < end) ? simple_strtoul(p + 1, &p, 0) : 0; in proc_scsi_write()
456 id = (p + 1 < end) ? simple_strtoul(p + 1, &p, 0) : 0; in proc_scsi_write()
[all …]
/openbmc/linux/drivers/acpi/numa/
H A Dsrat.c90 p->apic_id, p->local_sapic_eid, in acpi_table_print_srat_entry()
91 p->proximity_domain_lo, in acpi_table_print_srat_entry()
103 (unsigned long long)p->length, in acpi_table_print_srat_entry()
104 p->proximity_domain, in acpi_table_print_srat_entry()
119 p->apic_id, in acpi_table_print_srat_entry()
120 p->proximity_domain, in acpi_table_print_srat_entry()
131 p->acpi_processor_uid, in acpi_table_print_srat_entry()
132 p->proximity_domain, in acpi_table_print_srat_entry()
143 if (p->device_handle_type == 0) { in acpi_table_print_srat_entry()
151 p->proximity_domain, in acpi_table_print_srat_entry()
[all …]
/openbmc/linux/drivers/watchdog/
H A Dpnx4008_wdt.c40 #define WDTIM_INT(p) ((p) + 0x0) argument
41 #define WDTIM_CTRL(p) ((p) + 0x4) argument
42 #define WDTIM_COUNTER(p) ((p) + 0x8) argument
43 #define WDTIM_MCTRL(p) ((p) + 0xC) argument
44 #define WDTIM_MATCH0(p) ((p) + 0x10) argument
45 #define WDTIM_EMR(p) ((p) + 0x14) argument
46 #define WDTIM_PULSE(p) ((p) + 0x18) argument
47 #define WDTIM_RES(p) ((p) + 0x1C) argument
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dr300.c637 ib = p->ib.ptr; in r300_packet0_check()
762 p->rdev->cmask_filp != p->filp) { in r300_packet0_check()
1096 if (p->rdev->hyperz_filp != p->filp) { in r300_packet0_check()
1106 if (p->rdev->hyperz_filp != p->filp) { in r300_packet0_check()
1144 if (idx_value && (p->rdev->hyperz_filp != p->filp)) in r300_packet0_check()
1148 if (idx_value && (p->rdev->hyperz_filp != p->filp)) in r300_packet0_check()
1180 ib = p->ib.ptr; in r300_packet3_check()
1263 if (p->rdev->hyperz_filp != p->filp) in r300_packet3_check()
1267 if (p->rdev->cmask_filp != p->filp) in r300_packet3_check()
1291 r = radeon_cs_packet_parse(p, &pkt, p->idx); in r300_cs_parse()
[all …]
/openbmc/linux/net/ipv6/
H A Dip6_vti.c211 if (p->name[0]) { in vti6_tnl_create()
226 t->parms = *p; in vti6_tnl_create()
666 p->flags |= ip6_tnl_get_cap(t, &p->laddr, &p->raddr); in vti6_link_config()
682 &p->raddr, &p->laddr, in vti6_link_config()
814 if (copy_from_user(&p, data, sizeof(p))) { in vti6_siocdevprivate()
821 memset(&p, 0, sizeof(p)); in vti6_siocdevprivate()
826 if (copy_to_user(data, &p, sizeof(p))) in vti6_siocdevprivate()
835 if (copy_from_user(&p, data, sizeof(p))) in vti6_siocdevprivate()
838 if (p.proto != IPPROTO_IPV6 && p.proto != 0) in vti6_siocdevprivate()
856 if (copy_to_user(data, &p, sizeof(p))) in vti6_siocdevprivate()
[all …]
/openbmc/qemu/net/
H A Dutil.c28 int net_parse_macaddr(uint8_t *macaddr, const char *p) in net_parse_macaddr() argument
35 offset = strtol(p, &last_char, 0); in net_parse_macaddr()
45 macaddr[i] = strtol(p, (char **)&p, 16); in net_parse_macaddr()
47 if (*p != '\0') { in net_parse_macaddr()
51 if (*p != ':' && *p != '-') { in net_parse_macaddr()
54 p++; in net_parse_macaddr()
/openbmc/linux/tools/firmware/
H A Dihex2fw.c256 struct ihex_binrec **p = &records; in file_record() local
258 while ((*p) && (!sort_records || (*p)->addr < record->addr)) in file_record()
259 p = &((*p)->next); in file_record()
261 record->next = *p; in file_record()
262 *p = record; in file_record()
267 return p->len + sizeof(p->addr) + sizeof(p->len); in ihex_binrec_size()
273 struct ihex_binrec *p = records; in output_records() local
275 while (p) { in output_records()
278 p->addr = htonl(p->addr); in output_records()
279 p->len = htons(p->len); in output_records()
[all …]
/openbmc/u-boot/arch/riscv/include/asm/
H A Dbarrier.h18 #define RISCV_FENCE(p, s) \ argument
19 __asm__ __volatile__ ("fence " #p "," #s : : : "memory")
31 #define __smp_store_release(p, v) \ argument
33 compiletime_assert_atomic_type(*p); \
35 WRITE_ONCE(*p, v); \
38 #define __smp_load_acquire(p) \ argument
40 typeof(*p) ___p1 = READ_ONCE(*p); \
41 compiletime_assert_atomic_type(*p); \
/openbmc/linux/tools/testing/selftests/proc/
H A Dproc-loadavg-001.c40 char buf[128], *p; in main() local
50 p = buf + rv; in main()
53 if (!(p[-3] == ' ' && p[-2] == '1' && p[-1] == '\n')) in main()
68 p = buf + rv; in main()
71 if (!(p[-3] == ' ' && p[-2] == '2' && p[-1] == '\n')) in main()
/openbmc/u-boot/fs/ubifs/
H A Dorphan.c76 p = &(*p)->rb_left; in ubifs_add_orphan()
78 p = &(*p)->rb_right; in ubifs_add_orphan()
114 p = p->rb_left; in ubifs_delete_orphan()
116 p = p->rb_right; in ubifs_delete_orphan()
516 p = &(*p)->rb_left; in insert_dead_orphan()
518 p = &(*p)->rb_right; in insert_dead_orphan()
746 p = p->rb_left; in dbg_find_orphan()
748 p = p->rb_right; in dbg_find_orphan()
773 p = &(*p)->rb_left; in dbg_ins_check_orphan()
795 p = p->rb_left; in dbg_find_check_orphan()
[all …]
/openbmc/linux/tools/perf/util/
H A Dblock-range.c35 while (*p != NULL) { in block_range__find()
36 parent = *p; in block_range__find()
53 while (*p) { in rb_link_left_of_node()
54 node = *p; in rb_link_left_of_node()
55 p = &node->rb_right; in rb_link_left_of_node()
63 while (*p) { in rb_link_right_of_node()
64 node = *p; in rb_link_right_of_node()
65 p = &node->rb_left; in rb_link_right_of_node()
84 while (*p != NULL) { in block_range__create()
85 parent = *p; in block_range__create()
[all …]
/openbmc/linux/arch/x86/platform/ce4100/
H A Dce4100.c36 static unsigned int mem_serial_in(struct uart_port *p, int offset) in mem_serial_in() argument
38 offset = offset << p->regshift; in mem_serial_in()
39 return readl(p->membase + offset); in mem_serial_in()
52 static unsigned int ce4100_mem_serial_in(struct uart_port *p, int offset) in ce4100_mem_serial_in() argument
57 offset = offset << p->regshift; in ce4100_mem_serial_in()
58 ret = readl(p->membase + offset); in ce4100_mem_serial_in()
61 ier = mem_serial_in(p, UART_IER); in ce4100_mem_serial_in()
64 lsr = mem_serial_in(p, UART_LSR); in ce4100_mem_serial_in()
72 ret = mem_serial_in(p, offset); in ce4100_mem_serial_in()
78 offset = offset << p->regshift; in ce4100_mem_serial_out()
[all …]
/openbmc/u-boot/fs/jffs2/
H A Dcompr_rubin.c53 register unsigned long p; in rubin_do_decompress() local
66 p = (long) (2 * UPPER_BIT_RUBIN); in rubin_do_decompress()
78 while ((q & UPPER_BIT_RUBIN) || ((p + q) <= UPPER_BIT_RUBIN)) { in rubin_do_decompress()
81 p <<= 1; in rubin_do_decompress()
86 u32 *p = (u32 *)in; in rubin_do_decompress() local
88 temp = *(++p); in rubin_do_decompress()
89 in = (unsigned char *)p; in rubin_do_decompress()
92 i0 = (bits[i] * p) >> 8; in rubin_do_decompress()
101 p = i0; in rubin_do_decompress()
104 p -= i0; in rubin_do_decompress()
/openbmc/qemu/hw/usb/
H A Dlibhw.c26 int usb_packet_map(USBPacket *p, QEMUSGList *sgl) in usb_packet_map() argument
28 DMADirection dir = (p->pid == USB_TOKEN_IN) ? in usb_packet_map()
47 qemu_iovec_add(&p->iov, mem, xlen); in usb_packet_map()
55 usb_packet_unmap(p, sgl); in usb_packet_map()
59 void usb_packet_unmap(USBPacket *p, QEMUSGList *sgl) in usb_packet_unmap() argument
61 DMADirection dir = (p->pid == USB_TOKEN_IN) ? in usb_packet_unmap()
65 for (i = 0; i < p->iov.niov; i++) { in usb_packet_unmap()
66 dma_memory_unmap(sgl->as, p->iov.iov[i].iov_base, in usb_packet_unmap()
67 p->iov.iov[i].iov_len, dir, in usb_packet_unmap()
68 p->iov.iov[i].iov_len); in usb_packet_unmap()
/openbmc/linux/arch/um/os-Linux/
H A Dexecvp.c51 char *name, *p; in execvp_noalloc() local
64 p = path; in execvp_noalloc()
68 path = p; in execvp_noalloc()
71 p = strchr(path, ':'); in execvp_noalloc()
72 if (!p) in execvp_noalloc()
73 p = strchr(path, '\0'); in execvp_noalloc()
75 if (p == path) in execvp_noalloc()
80 startp = memcpy(name - (p - path), path, p - path); in execvp_noalloc()
121 } while (*p++ != '\0'); in execvp_noalloc()
/openbmc/u-boot/board/freescale/mx51evk/
H A Dmx51evk.c174 struct pmic *p; in power_init() local
181 p = pmic_get("FSL_PMIC"); in power_init()
182 if (!p) in power_init()
199 pmic_reg_read(p, REG_SW_0, &val); in power_init()
201 pmic_reg_write(p, REG_SW_0, val); in power_init()
204 pmic_reg_read(p, REG_SW_1, &val); in power_init()
206 pmic_reg_write(p, REG_SW_1, val); in power_init()
209 pmic_reg_read(p, REG_SW_2, &val); in power_init()
211 pmic_reg_write(p, REG_SW_2, val); in power_init()
219 pmic_reg_read(p, REG_SW_4, &val); in power_init()
[all …]
/openbmc/u-boot/drivers/rtc/
H A Dmc13xxx-rtc.c16 struct pmic *p = pmic_get("FSL_PMIC"); in rtc_get() local
19 if (!p) in rtc_get()
22 ret = pmic_reg_read(p, REG_RTC_DAY, &day1); in rtc_get()
26 ret = pmic_reg_read(p, REG_RTC_TIME, &time); in rtc_get()
30 ret = pmic_reg_read(p, REG_RTC_DAY, &day2); in rtc_get()
49 struct pmic *p = pmic_get("FSL_PMIC"); in rtc_set() local
50 if (!p) in rtc_set()
57 pmic_reg_write(p, REG_RTC_DAY, day); in rtc_set()
58 pmic_reg_write(p, REG_RTC_TIME, time); in rtc_set()
/openbmc/linux/arch/nios2/mm/
H A Dpgtable.c38 unsigned long *p = (unsigned long *) pgd; in pgd_init() local
42 p[i + 0] = (unsigned long) invalid_pte_table; in pgd_init()
43 p[i + 1] = (unsigned long) invalid_pte_table; in pgd_init()
44 p[i + 2] = (unsigned long) invalid_pte_table; in pgd_init()
45 p[i + 3] = (unsigned long) invalid_pte_table; in pgd_init()
46 p[i + 4] = (unsigned long) invalid_pte_table; in pgd_init()
47 p[i + 5] = (unsigned long) invalid_pte_table; in pgd_init()
48 p[i + 6] = (unsigned long) invalid_pte_table; in pgd_init()
49 p[i + 7] = (unsigned long) invalid_pte_table; in pgd_init()
/openbmc/linux/fs/autofs/
H A Dexpire.c135 d = p; in get_next_positive_dentry()
136 p = parent; in get_next_positive_dentry()
196 p = NULL; in autofs_tree_busy()
197 while ((p = get_next_positive_dentry(p, top))) { in autofs_tree_busy()
198 pr_debug("dentry %p %pd\n", p, p); in autofs_tree_busy()
209 dput(p); in autofs_tree_busy()
224 dput(p); in autofs_tree_busy()
250 p = NULL; in autofs_check_leaves()
251 while ((p = get_next_positive_dentry(p, parent))) { in autofs_check_leaves()
252 pr_debug("dentry %p %pd\n", p, p); in autofs_check_leaves()
[all …]
/openbmc/linux/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_ethtool.c127 struct ethtool_regs *regs, void *p) in atl1c_get_regs() argument
131 u32 *regs_buff = p; in atl1c_get_regs()
134 memset(p, 0, AT_REGS_LEN); in atl1c_get_regs()
137 AT_READ_REG(hw, REG_PM_CTRL, p++); in atl1c_get_regs()
139 AT_READ_REG(hw, REG_TWSI_CTRL, p++); in atl1c_get_regs()
148 AT_READ_REG(hw, REG_SERDES, p++); in atl1c_get_regs()
149 AT_READ_REG(hw, REG_MAC_CTRL, p++); in atl1c_get_regs()
155 AT_READ_REG(hw, REG_RXQ_CTRL, p++); in atl1c_get_regs()
156 AT_READ_REG(hw, REG_TXQ_CTRL, p++); in atl1c_get_regs()
157 AT_READ_REG(hw, REG_MTU, p++); in atl1c_get_regs()
[all …]
/openbmc/linux/init/
H A Ddo_mounts.c135 char *p = page; in split_fs_names() local
138 while (*p++) { in split_fs_names()
140 p[-1] = '\0'; in split_fs_names()
159 if (!p) in do_mount_root()
180 if (p) in do_mount_root()
181 put_page(p); in do_mount_root()
189 char *p; in mount_root_generic() local
200 for (i = 0, p = fs_names; i < num_fs; i++, p += strlen(p)+1) { in mount_root_generic()
203 if (!*p) in mount_root_generic()
229 for (i = 0, p = fs_names; i < num_fs; i++, p += strlen(p)+1) in mount_root_generic()
[all …]
/openbmc/linux/drivers/spi/
H A Dspi-cavium-octeon.c23 struct octeon_spi *p; in octeon_spi_probe() local
29 p = spi_controller_get_devdata(host); in octeon_spi_probe()
38 p->register_base = reg_base; in octeon_spi_probe()
39 p->sys_freq = octeon_get_io_clock_rate(); in octeon_spi_probe()
41 p->regs.config = 0; in octeon_spi_probe()
42 p->regs.status = 0x08; in octeon_spi_probe()
43 p->regs.tx = 0x10; in octeon_spi_probe()
44 p->regs.data = 0x80; in octeon_spi_probe()
75 struct octeon_spi *p = spi_controller_get_devdata(host); in octeon_spi_remove() local
78 writeq(0, p->register_base + OCTEON_SPI_CFG(p)); in octeon_spi_remove()

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