/openbmc/linux/drivers/mmc/host/ |
H A D | sh_mmcif.c | 483 struct sh_mmcif_plat_data *p = dev->platform_data; in sh_mmcif_clock_control() local 484 bool sup_pclk = p ? p->sup_pclk : false; in sh_mmcif_clock_control() 617 host->pio_ptr = p; in sh_mmcif_next_block() 639 u32 *p = sg_virt(data->sg); in sh_mmcif_read_block() local 649 *p++ = sh_mmcif_readl(host->addr, MMCIF_CE_DATA); in sh_mmcif_read_block() 681 u32 *p = host->pio_ptr; in sh_mmcif_mread_block() local 693 *p++ = sh_mmcif_readl(host->addr, MMCIF_CE_DATA); in sh_mmcif_mread_block() 695 if (!sh_mmcif_next_block(host, p)) in sh_mmcif_mread_block() 719 u32 *p = sg_virt(data->sg); in sh_mmcif_write_block() local 761 u32 *p = host->pio_ptr; in sh_mmcif_mwrite_block() local [all …]
|
/openbmc/linux/drivers/input/mouse/ |
H A D | psmouse-base.c | 53 #define param_check_proto_abbrev(name, p) __param_check(name, p, unsigned int) argument 453 u8 p; in psmouse_set_resolution() local 458 p = params[resolution / 50]; in psmouse_set_resolution() 460 psmouse->resolution = 25 << p; in psmouse_set_resolution() 515 char *p, *fw_id_copy, *save_ptr; in psmouse_matches_pnp_id() local 528 while ((p = strsep(&fw_id_copy, " ")) != NULL) { in psmouse_matches_pnp_id() 529 if (psmouse_check_pnp_id(p, ids)) { in psmouse_matches_pnp_id() 942 const struct psmouse_protocol *p; in psmouse_protocol_by_name() local 946 p = &psmouse_protocols[i]; in psmouse_protocol_by_name() 948 if ((strlen(p->name) == len && !strncmp(p->name, name, len)) || in psmouse_protocol_by_name() [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-sprd-adi.c | 143 void (*wdg_rst)(void *p); 348 u32 *p = (u32 *)t->tx_buf; in sprd_adi_transfer_one() local 349 reg = *p++; in sprd_adi_transfer_one() 350 val = *p; in sprd_adi_transfer_one() 360 static void sprd_adi_set_wdt_rst_mode(void *p) in sprd_adi_set_wdt_rst_mode() argument 364 struct sprd_adi *sadi = (struct sprd_adi *)p; in sprd_adi_set_wdt_rst_mode()
|
/openbmc/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105_flower.c | 40 unsigned long p; in sja1105_setup_bcast_policer() local 75 for_each_set_bit(p, &rule->port_mask, SJA1105_MAX_NUM_PORTS) { in sja1105_setup_bcast_policer() 76 int bcast = (ds->num_ports * SJA1105_NUM_TC) + p; in sja1105_setup_bcast_policer() 111 unsigned long p; in sja1105_setup_tc_policer() local 147 for_each_set_bit(p, &rule->port_mask, SJA1105_MAX_NUM_PORTS) { in sja1105_setup_tc_policer() 148 int index = (p * SJA1105_NUM_TC) + tc; in sja1105_setup_tc_policer()
|
/openbmc/linux/drivers/platform/olpc/ |
H A D | olpc-xo175-ec.c | 256 const struct ec_cmd_t *p; in olpc_xo175_ec_resp_len() local 258 for (p = olpc_xo175_ec_cmds; p->cmd; p++) { in olpc_xo175_ec_resp_len() 259 if (p->cmd == cmd) in olpc_xo175_ec_resp_len() 260 return p->bytes_returned; in olpc_xo175_ec_resp_len()
|
/openbmc/linux/drivers/mtd/nand/ |
H A D | ecc-mtk.c | 436 void mtk_ecc_adjust_strength(struct mtk_ecc *ecc, u32 *p) in mtk_ecc_adjust_strength() argument 442 if (*p <= ecc_strength[i]) { in mtk_ecc_adjust_strength() 444 *p = ecc_strength[i]; in mtk_ecc_adjust_strength() 445 else if (*p != ecc_strength[i]) in mtk_ecc_adjust_strength() 446 *p = ecc_strength[i - 1]; in mtk_ecc_adjust_strength() 451 *p = ecc_strength[ecc->caps->num_ecc_strength - 1]; in mtk_ecc_adjust_strength()
|
/openbmc/linux/arch/s390/kernel/ |
H A D | sysinfo.c | 134 if (info->p) { in stsi_1_1_1() 359 static void *service_level_next(struct seq_file *m, void *p, loff_t *pos) in service_level_next() argument 361 return seq_list_next(p, &service_level_list, pos); in service_level_next() 364 static void service_level_stop(struct seq_file *m, void *p) in service_level_stop() argument 369 static int service_level_show(struct seq_file *m, void *p) in service_level_show() argument 373 slr = list_entry(p, struct service_level, list); in service_level_show()
|
/openbmc/linux/drivers/block/ |
H A D | ps3disk.c | 324 unsigned char *p; in ata_id_c_string() local 330 p = s + strnlen(s, len - 1); in ata_id_c_string() 331 while (p > s && p[-1] == ' ') in ata_id_c_string() 332 p--; in ata_id_c_string() 333 *p = '\0'; in ata_id_c_string()
|
/openbmc/linux/drivers/firmware/ |
H A D | dmi-sysfs.c | 185 const char *p = (const char *)dh; in dmi_entry_length() local 187 p += dh->length; in dmi_entry_length() 189 while (p[0] || p[1]) in dmi_entry_length() 190 p++; in dmi_entry_length() 192 return 2 + p - (const char *)dh; in dmi_entry_length()
|
/openbmc/qemu/target/sh4/ |
H A D | op_helper.c | 458 float32 r, p; in helper_fipr() local 465 p = float32_mul(env->fregs[bank + m + i], in helper_fipr() 468 r = float32_add(r, p, &env->fp_status); in helper_fipr() 480 float32 p; in helper_ftrv() local 488 p = float32_mul(env->fregs[bank_matrix + 4 * j + i], in helper_ftrv() 491 r[i] = float32_add(r[i], p, &env->fp_status); in helper_ftrv()
|
/openbmc/qemu/system/ |
H A D | runstate.c | 199 const RunStateTransition *p; in transitions_set_valid() local 201 for (p = rst; p->from != RUN_STATE__MAX; p++) { in transitions_set_valid() 202 runstate_valid_transitions[p->from][p->to] = true; in transitions_set_valid()
|
/openbmc/sdbusplus/include/sdbusplus/ |
H A D | sdbus.hpp | 122 const sd_bus_error* p) = 0; 132 void* p) = 0; 450 const sd_bus_error* p) override in sd_bus_message_new_method_errno() argument 452 return ::sd_bus_message_new_method_errno(call, m, error, p); in sd_bus_message_new_method_errno() 469 void* p) override in sd_bus_message_read_basic() argument 471 return ::sd_bus_message_read_basic(m, type, p); in sd_bus_message_read_basic()
|
/openbmc/linux/sound/i2c/other/ |
H A D | ak4xxx-adda.c | 658 knew.tlv.p = db_scale_vol_datt; in build_dac_controls() 665 knew.tlv.p = db_scale_vol_datt; in build_dac_controls() 672 knew.tlv.p = db_scale_8bit; in build_dac_controls() 678 knew.tlv.p = db_scale_8bit; in build_dac_controls() 685 knew.tlv.p = db_scale_7bit; in build_dac_controls() 692 knew.tlv.p = db_scale_linear; in build_dac_controls() 698 knew.tlv.p = db_scale_linear; in build_dac_controls() 753 knew.tlv.p = db_scale_vol_datt; in build_adc_controls()
|
/openbmc/linux/drivers/scsi/bfa/ |
H A D | bfa_fc.h | 171 #define FC_GET_DOMAIN(p) (((p) & FC_DOMAIN_MASK) >> FC_DOMAIN_SHIFT) argument 172 #define FC_GET_AREA(p) (((p) & FC_AREA_MASK) >> FC_AREA_SHIFT) argument 173 #define FC_GET_PORT(p) (((p) & FC_PORT_MASK) >> FC_PORT_SHIFT) argument 175 #define FC_DOMAIN_CTRLR(p) (FC_DOMAIN_CONTROLLER_MASK | (FC_GET_DOMAIN(p))) argument
|
/openbmc/linux/drivers/misc/cxl/ |
H A D | sysfs.c | 320 char *p = buf, *end = buf + PAGE_SIZE; in modes_supported_show() local 323 p += scnprintf(p, end - p, "dedicated_process\n"); in modes_supported_show() 325 p += scnprintf(p, end - p, "afu_directed\n"); in modes_supported_show() 326 return (p - buf); in modes_supported_show()
|
/openbmc/linux/drivers/net/usb/ |
H A D | sierra_net.c | 233 static const u8 *save16bit(struct param *p, const u8 *datap) in save16bit() argument 235 p->is_present = 1; in save16bit() 236 p->word = get_unaligned_be16(datap); in save16bit() 237 return datap + sizeof(p->word); in save16bit() 240 static const u8 *save8bit(struct param *p, const u8 *datap) in save8bit() argument 242 p->is_present = 1; in save8bit() 243 p->byte = *datap; in save8bit() 244 return datap + sizeof(p->byte); in save8bit()
|
/openbmc/linux/sound/soc/codecs/ |
H A D | tas571x.c | 149 uint8_t *buf, *p; in tas571x_reg_write_multiword() local 158 for (i = 0, p = buf + 1; i < len; i++, p += sizeof(uint32_t)) in tas571x_reg_write_multiword() 159 put_unaligned_be32(values[i], p); in tas571x_reg_write_multiword() 181 uint8_t *recv_buf, *p; in tas571x_reg_read_multiword() local 210 for (i = 0, p = recv_buf; i < len; i++, p += sizeof(uint32_t)) in tas571x_reg_read_multiword() 211 values[i] = get_unaligned_be32(p); in tas571x_reg_read_multiword()
|
/openbmc/linux/net/rxrpc/ |
H A D | conn_client.c | 247 struct rb_node *p, **pp, *parent; in rxrpc_look_up_bundle() local 263 p = local->client_bundles.rb_node; in rxrpc_look_up_bundle() 264 while (p) { in rxrpc_look_up_bundle() 265 bundle = rb_entry(p, struct rxrpc_bundle, local_node); in rxrpc_look_up_bundle() 274 p = p->rb_left; in rxrpc_look_up_bundle() 276 p = p->rb_right; in rxrpc_look_up_bundle()
|
/openbmc/linux/fs/hfsplus/ |
H A D | bnode.c | 454 struct hfs_bnode **p; in hfs_bnode_unhash() local 458 for (p = &node->tree->node_hash[hfs_bnode_hash(node->this)]; in hfs_bnode_unhash() 459 *p && *p != node; p = &(*p)->next_hash) in hfs_bnode_unhash() 461 BUG_ON(!*p); in hfs_bnode_unhash() 462 *p = node->next_hash; in hfs_bnode_unhash()
|
/openbmc/linux/fs/ |
H A D | ioctl.c | 59 static int ioctl_fibmap(struct file *filp, int __user *p) in ioctl_fibmap() argument 69 error = get_user(ur_block, p); in ioctl_fibmap() 91 if (put_user(ur_block, p)) in ioctl_fibmap() 324 static int file_ioctl(struct file *filp, unsigned int cmd, int __user *p) in file_ioctl() argument 328 return ioctl_fibmap(filp, p); in file_ioctl() 331 return ioctl_preallocate(filp, 0, p); in file_ioctl() 334 return ioctl_preallocate(filp, FALLOC_FL_PUNCH_HOLE, p); in file_ioctl() 336 return ioctl_preallocate(filp, FALLOC_FL_ZERO_RANGE, p); in file_ioctl()
|
/openbmc/linux/drivers/accel/ivpu/ |
H A D | ivpu_gem.c | 713 static void ivpu_bo_print_info(struct ivpu_bo *bo, struct drm_printer *p) in ivpu_bo_print_info() argument 720 drm_printf(p, "%5u %6d %16llx %10lu %10u %12lu %14s\n", in ivpu_bo_print_info() 725 void ivpu_bo_list(struct drm_device *dev, struct drm_printer *p) in ivpu_bo_list() argument 732 drm_printf(p, "%5s %6s %16s %10s %10s %12s %14s\n", in ivpu_bo_list() 737 ivpu_bo_print_info(bo, p); in ivpu_bo_list() 747 ivpu_bo_print_info(bo, p); in ivpu_bo_list() 756 struct drm_printer p = drm_info_printer(dev->dev); in ivpu_bo_list_print() local 758 ivpu_bo_list(dev, &p); in ivpu_bo_list_print()
|
/openbmc/linux/lib/ |
H A D | nlattr.c | 672 nla_policy_len(const struct nla_policy *p, int n) in nla_policy_len() argument 676 for (i = 0; i < n; i++, p++) { in nla_policy_len() 677 if (p->len) in nla_policy_len() 678 len += nla_total_size(p->len); in nla_policy_len() 679 else if (nla_attr_len[p->type]) in nla_policy_len() 680 len += nla_total_size(nla_attr_len[p->type]); in nla_policy_len() 681 else if (nla_attr_minlen[p->type]) in nla_policy_len() 682 len += nla_total_size(nla_attr_minlen[p->type]); in nla_policy_len()
|
/openbmc/linux/arch/s390/kvm/ |
H A D | pv.c | 501 struct pv_vm_to_be_destroyed *p; in kvm_s390_pv_deinit_aside_vm() local 506 p = kvm->arch.pv.set_aside; in kvm_s390_pv_deinit_aside_vm() 509 if (!p) in kvm_s390_pv_deinit_aside_vm() 515 if (kvm_s390_pv_dispose_one_leftover(kvm, p, rc, rrc)) in kvm_s390_pv_deinit_aside_vm() 517 kfree(p); in kvm_s390_pv_deinit_aside_vm() 518 p = NULL; in kvm_s390_pv_deinit_aside_vm() 524 if (p) { in kvm_s390_pv_deinit_aside_vm() 526 list_add(&p->list, &kvm->arch.pv.need_cleanup); in kvm_s390_pv_deinit_aside_vm()
|
/openbmc/linux/arch/x86/kernel/cpu/mtrr/ |
H A D | cleanup.c | 427 static int __init parse_mtrr_chunk_size_opt(char *p) in parse_mtrr_chunk_size_opt() argument 429 if (!p) in parse_mtrr_chunk_size_opt() 431 mtrr_chunk_size = memparse(p, &p); in parse_mtrr_chunk_size_opt() 439 static int __init parse_mtrr_gran_size_opt(char *p) in parse_mtrr_gran_size_opt() argument 441 if (!p) in parse_mtrr_gran_size_opt() 443 mtrr_gran_size = memparse(p, &p); in parse_mtrr_gran_size_opt()
|
/openbmc/linux/fs/smb/client/ |
H A D | cifsencrypt.c | 36 void *p; in cifs_shash_bvec() local 51 p = kmap_local_page(bv[i].bv_page); in cifs_shash_bvec() 52 ret = crypto_shash_update(shash, p + off, len); in cifs_shash_bvec() 53 kunmap_local(p); in cifs_shash_bvec() 112 void *p; in cifs_shash_xarray() local 131 p = kmap_local_page(folio_page(folio, j)); in cifs_shash_xarray() 132 ret = crypto_shash_update(shash, p + offset, len); in cifs_shash_xarray() 133 kunmap_local(p); in cifs_shash_xarray()
|