/openbmc/linux/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-std.c | 110 const struct std_name *p; in find_std_name() local 112 p = arrPtr + idx; in find_std_name() 113 if (strlen(p->name) != bufSize) continue; in find_std_name() 114 if (!memcmp(bufPtr,p->name,bufSize)) return p; in find_std_name()
|
/openbmc/linux/arch/arm/probes/ |
H A D | decode.c | 347 const struct decode_checker **p; in run_checkers() local 352 p = checkers; in run_checkers() 353 while (*p != NULL) { in run_checkers() 355 probes_check_t *checker_func = (*p)[action].checker; in run_checkers() 362 p++; in run_checkers()
|
/openbmc/linux/drivers/watchdog/ |
H A D | wdt.c | 354 int __user *p = argp; in wdt_ioctl() local 380 return put_user(status, p); in wdt_ioctl() 382 return put_user(0, p); in wdt_ioctl() 387 if (get_user(new_heartbeat, p)) in wdt_ioctl() 394 return put_user(heartbeat, p); in wdt_ioctl()
|
H A D | nv_tco.c | 216 int __user *p = argp; in nv_tco_ioctl() local 230 return put_user(0, p); in nv_tco_ioctl() 232 if (get_user(new_options, p)) in nv_tco_ioctl() 248 if (get_user(new_heartbeat, p)) in nv_tco_ioctl() 255 return put_user(heartbeat, p); in nv_tco_ioctl()
|
H A D | pcwd_usb.c | 394 int __user *p = argp; in usb_pcwd_ioctl() local 409 return put_user(0, p); in usb_pcwd_ioctl() 418 return put_user(temperature, p); in usb_pcwd_ioctl() 425 if (get_user(new_options, p)) in usb_pcwd_ioctl() 449 if (get_user(new_heartbeat, p)) in usb_pcwd_ioctl() 460 return put_user(heartbeat, p); in usb_pcwd_ioctl() 469 return put_user(time_left, p); in usb_pcwd_ioctl()
|
/openbmc/linux/kernel/ |
H A D | delayacct.c | 121 void __delayacct_blkio_end(struct task_struct *p) in __delayacct_blkio_end() argument 123 delayacct_end(&p->delays->lock, in __delayacct_blkio_end() 124 &p->delays->blkio_start, in __delayacct_blkio_end() 125 &p->delays->blkio_delay, in __delayacct_blkio_end() 126 &p->delays->blkio_count); in __delayacct_blkio_end()
|
H A D | nsproxy.c | 239 void switch_task_namespaces(struct task_struct *p, struct nsproxy *new) in switch_task_namespaces() argument 245 task_lock(p); in switch_task_namespaces() 246 ns = p->nsproxy; in switch_task_namespaces() 247 p->nsproxy = new; in switch_task_namespaces() 248 task_unlock(p); in switch_task_namespaces() 254 void exit_task_namespaces(struct task_struct *p) in exit_task_namespaces() argument 256 switch_task_namespaces(p, NULL); in exit_task_namespaces()
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | s5h1432.c | 170 struct dtv_frontend_properties *p = &fe->dtv_property_cache; in s5h1432_set_frontend() local 174 if (p->frequency == state->current_frequency) { in s5h1432_set_frontend() 181 switch (p->bandwidth_hz) { in s5h1432_set_frontend() 205 switch (p->bandwidth_hz) { in s5h1432_set_frontend() 230 state->current_frequency = p->frequency; in s5h1432_set_frontend()
|
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvkm/core/ |
H A D | falcon.h | 74 #define FLCN_PRINTK(f,l,p,fmt,a...) ({ \ argument 76 nvkm_printk___((f)->owner, (f)->user, NV_DBG_##l, p, "%s:"fmt, (f)->name, ##a); \ 78 nvkm_printk___((f)->owner, (f)->user, NV_DBG_##l, p, fmt, ##a); \ 161 #define FLCNFW_PRINTK(f,l,p,fmt,a...) FLCN_PRINTK((f)->falcon, l, p, "%s: "fmt, (f)->fw.name, ##a) argument
|
/openbmc/linux/arch/x86/crypto/ |
H A D | blowfish-x86_64-asm_64.S | 14 #define p 0 macro 74 xorq p+4*(n)(CTX), RX0; 83 movq p+4*(n-1)(CTX), RT0; \ 192 movq p+4*(n)(CTX), RKEY; 212 movq p+4*((n)-1)(CTX), RKEY; \
|
/openbmc/qemu/bsd-user/freebsd/ |
H A D | os-proc.c | 41 void *p; in freebsd_exec_common() local 116 p = lock_user_string(path_or_fd); in freebsd_exec_common() 117 if (p == NULL) { in freebsd_exec_common() 121 ret = get_errno(execve(p, argp, envp)); in freebsd_exec_common() 122 unlock_user(p, path_or_fd, 0); in freebsd_exec_common()
|
/openbmc/u-boot/lib/lzma/ |
H A D | lzma.txt | 343 void *SzAlloc(void *p, size_t size) { p = p; return malloc(size); } 344 void SzFree(void *p, void *address) { p = p; free(address); } 347 You can use p = p; operator to disable compiler warnings. 433 int res = LzmaDec_DecodeToBuf(CLzmaDec *p, Byte *dest, SizeT *destLen, 477 static void *SzAlloc(void *p, size_t size) { p = p; return MyAlloc(size); } 478 static void SzFree(void *p, void *address) { p = p; MyFree(address); } 584 void *p = ::malloc(size); 585 if (p == 0) 587 return p;
|
/openbmc/qemu/tests/unit/ |
H A D | test-qobject-input-visitor.c | 402 TestStruct *p = NULL; in test_visitor_in_struct() local 409 g_assert(p->boolean == true); in test_visitor_in_struct() 412 g_free(p->string); in test_visitor_in_struct() 413 g_free(p); in test_visitor_in_struct() 923 TestStruct *p = NULL; in test_visitor_in_errors() local 935 g_assert(!p); in test_visitor_in_errors() 956 TestStruct *p = NULL; in test_visitor_in_wrong_type() local 967 g_assert(!p); in test_visitor_in_wrong_type() 979 g_assert(!p); in test_visitor_in_wrong_type() 1000 TestStruct *p = NULL; in test_visitor_in_fail_struct() local [all …]
|
/openbmc/linux/drivers/net/fddi/skfp/ |
H A D | fplustm.c | 149 long p ; 159 return p; 375 p[0] = (char)(l >> 24) ; in set_int() 377 p[2] = (char)(l >> 8) ; in set_int() 378 p[3] = (char)(l >> 0) ; in set_int() 397 __le32 *p ; in copy_tx_mac() local 402 p = (__le32 *) mac ; in copy_tx_mac() 409 p++ ; in copy_tx_mac() 1059 u_char *p ; in mac_get_mc_table() local 1067 p = own->a ; in mac_get_mc_table() [all …]
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_ethtool.c | 645 char *p; in stmmac_get_ethtool_stats() local 649 sizeof(u64)) ? (*(u64 *)p) : in stmmac_get_ethtool_stats() 650 (*(u32 *)p); in stmmac_get_ethtool_stats() 667 sizeof(u64)) ? (*(u64 *)p) : (*(u32 *)p); in stmmac_get_ethtool_stats() 783 u8 *p = data; in stmmac_get_strings() local 794 memcpy(p, desc, ETH_GSTRING_LEN); in stmmac_get_strings() 795 p += ETH_GSTRING_LEN; in stmmac_get_strings() 803 p += ETH_GSTRING_LEN; in stmmac_get_strings() 807 p += ETH_GSTRING_LEN; in stmmac_get_strings() 811 p += ETH_GSTRING_LEN; in stmmac_get_strings() [all …]
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | lpar.c | 511 if (copy_from_user(buf, p, count)) in vcpudispatch_stats_write() 565 seq_puts(p, "off\n"); in vcpudispatch_stats_display() 571 seq_printf(p, "cpu%d", cpu); in vcpudispatch_stats_display() 572 seq_put_decimal_ull(p, " ", disp->total_disp); in vcpudispatch_stats_display() 573 seq_put_decimal_ull(p, " ", disp->same_cpu_disp); in vcpudispatch_stats_display() 576 seq_put_decimal_ull(p, " ", disp->far_chip_disp); in vcpudispatch_stats_display() 579 seq_put_decimal_ull(p, " ", disp->numa_far_disp); in vcpudispatch_stats_display() 580 seq_puts(p, "\n"); in vcpudispatch_stats_display() 600 const char __user *p, size_t count, loff_t *ppos) in vcpudispatch_stats_freq_write() argument 608 if (copy_from_user(buf, p, count)) in vcpudispatch_stats_freq_write() [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | ncr53c8xx.c | 320 void *p; in __m_calloc2() local 327 if (p) in __m_calloc2() 332 return p; in __m_calloc2() 450 __m_free(&mp0, p, sizeof(*p), "MPOOL"); in ___del_dma_pool() 507 #define _m_free_dma(np, p, s, n) __m_free_dma(np->dev, p, s, n) argument 509 #define m_free_dma(p, s, n) _m_free_dma(np, p, s, n) argument 510 #define _vtobus(np, p) __vtobus(np->dev, p) argument 511 #define vtobus(p) _vtobus(np, p) argument 830 p = ep; in device_queue_depth() 3408 ncrcmd *p; in ncr_script_fill() local [all …]
|
/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-xway.c | 42 #define GPIO_BASE(p) (REG_OFF * PORT(p)) argument 43 #define GPIO_OUT(p) GPIO_BASE(p) argument 44 #define GPIO_IN(p) (GPIO_BASE(p) + 0x04) argument 45 #define GPIO_DIR(p) (GPIO_BASE(p) + 0x08) argument 46 #define GPIO_ALT0(p) (GPIO_BASE(p) + 0x0C) argument 47 #define GPIO_ALT1(p) (GPIO_BASE(p) + 0x10) argument 48 #define GPIO_OD(p) (GPIO_BASE(p) + 0x14) argument 49 #define GPIO_PUDSEL(p) (GPIO_BASE(p) + 0x1c) argument 50 #define GPIO_PUDEN(p) (GPIO_BASE(p) + 0x20) argument 59 #define gpio_getbit(m, r, p) (!!(ltq_r32(m + r) & BIT(p))) argument [all …]
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | lpc32xx_nand_slc.c | 417 uint8_t *p = buf; in lpc32xx_read_page_hwecc() local 431 lpc32xx_dma_read_buf(mtd, p, chip->ecc.size * chip->ecc.steps); in lpc32xx_read_page_hwecc() 432 lpc32xx_ecc_calculate(mtd, p, &ecc_calc[0]); in lpc32xx_read_page_hwecc() 438 stat = chip->ecc.correct(mtd, p, &ecc_code[0], &ecc_calc[0]); in lpc32xx_read_page_hwecc() 457 const uint8_t *p = buf; in lpc32xx_write_page_hwecc() local 468 lpc32xx_dma_write_buf(mtd, p, chip->ecc.size * chip->ecc.steps); in lpc32xx_write_page_hwecc() 469 lpc32xx_ecc_calculate(mtd, p, &ecc_calc[0]); in lpc32xx_write_page_hwecc()
|
/openbmc/u-boot/common/ |
H A D | command.c | 90 const char *p; in find_cmd_tbl() local 100 len = ((p = strchr(cmd, '.')) == NULL) ? strlen (cmd) : (p - cmd); in find_cmd_tbl() 185 const char *p; in complete_subcmdv() local 224 p = strchr(cmd, '.'); in complete_subcmdv() 225 if (p == NULL) in complete_subcmdv() 228 len = p - cmd; in complete_subcmdv()
|
/openbmc/u-boot/tools/easylogo/ |
H A D | easylogo.c | 155 rgb_t *p; in image_load_tga() local 200 p = image->data; in image_load_tga() 201 for (i = 0; i < image->pixels; i++, p++) { in image_load_tga() 202 app = p->r; in image_load_tga() 203 p->r = p->b; in image_load_tga() 204 p->b = app; in image_load_tga()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/protocols/ |
H A D | link_ddc.c | 68 static struct i2c_payload *i2c_payloads_get(struct i2c_payloads *p) in i2c_payloads_get() argument 70 return (struct i2c_payload *)p->payloads.container; in i2c_payloads_get() 73 static uint32_t i2c_payloads_get_count(struct i2c_payloads *p) in i2c_payloads_get_count() argument 75 return p->payloads.count; in i2c_payloads_get_count() 78 static void i2c_payloads_destroy(struct i2c_payloads *p) in i2c_payloads_destroy() argument 80 if (!p) in i2c_payloads_destroy() 83 dal_vector_destruct(&p->payloads); in i2c_payloads_destroy()
|
/openbmc/linux/arch/powerpc/sysdev/ |
H A D | mpic_timer.c | 417 const u32 *p; in timer_group_get_irq() local 427 p = of_get_property(np, "fsl,available-ranges", &len); in timer_group_get_irq() 428 if (p && len % (2 * sizeof(u32)) != 0) { in timer_group_get_irq() 433 if (!p) { in timer_group_get_irq() 434 p = all_timer; in timer_group_get_irq() 441 offset = p[i * 2]; in timer_group_get_irq() 442 count = p[i * 2 + 1]; in timer_group_get_irq()
|
/openbmc/linux/drivers/nvmem/ |
H A D | imx-ocotp.c | 162 u8 *buf, *p; in imx_ocotp_read() local 173 p = kzalloc(num_bytes, GFP_KERNEL); in imx_ocotp_read() 174 if (!p) in imx_ocotp_read() 179 buf = p; in imx_ocotp_read() 185 kfree(p); in imx_ocotp_read() 212 memcpy(val, &p[index], bytes); in imx_ocotp_read() 218 kfree(p); in imx_ocotp_read()
|
/openbmc/linux/Documentation/admin-guide/media/ |
H A D | dvb-usb-cxusb-cardlist.rst | 6 .. tabularcolumns:: |p{7.0cm}|p{10.5cm}|
|