/openbmc/linux/drivers/dma/ti/ |
H A D | dma-crossbar.c | 317 static inline void ti_dra7_xbar_reserve(int offset, int len, unsigned long *p) in ti_dra7_xbar_reserve() argument 320 set_bit(offset + (len - 1), p); in ti_dra7_xbar_reserve()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-ep93xx.c | 326 static void ep93xx_irq_print_chip(struct irq_data *data, struct seq_file *p) in ep93xx_irq_print_chip() argument 330 seq_printf(p, dev_name(gc->parent)); in ep93xx_irq_print_chip()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | uchan.c | 22 #define nvkm_uchan(p) container_of((p), struct nvkm_uchan, object) argument
|
/openbmc/linux/drivers/iio/accel/ |
H A D | stk8ba50.c | 311 static irqreturn_t stk8ba50_trigger_handler(int irq, void *p) in stk8ba50_trigger_handler() argument 313 struct iio_poll_func *pf = p; in stk8ba50_trigger_handler()
|
/openbmc/linux/drivers/iio/adc/ |
H A D | ti-ads8688.c | 380 static irqreturn_t ads8688_trigger_handler(int irq, void *p) in ads8688_trigger_handler() argument 382 struct iio_poll_func *pf = p; in ads8688_trigger_handler()
|
H A D | ad7266.c | 80 static irqreturn_t ad7266_trigger_handler(int irq, void *p) in ad7266_trigger_handler() argument 82 struct iio_poll_func *pf = p; in ad7266_trigger_handler()
|
/openbmc/linux/drivers/iio/light/ |
H A D | max44000.c | 491 static irqreturn_t max44000_trigger_handler(int irq, void *p) in max44000_trigger_handler() argument 493 struct iio_poll_func *pf = p; in max44000_trigger_handler()
|
H A D | tsl2772.c | 414 struct tsl2772_lux *p; in tsl2772_get_lux() local 463 for (p = (struct tsl2772_lux *)chip->tsl2772_device_lux; p->ch0 != 0; in tsl2772_get_lux() 464 p++) { in tsl2772_get_lux() 467 lux = ((chip->als_cur_info.als_ch0 * p->ch0) - in tsl2772_get_lux() 468 (chip->als_cur_info.als_ch1 * p->ch1)) / in tsl2772_get_lux()
|
/openbmc/linux/arch/x86/kvm/mmu/ |
H A D | mmutrace.h | 26 const char *saved_ptr = trace_seq_buffer_ptr(p); \ 34 trace_seq_printf(p, "sp gen %u gfn %llx l%u %u-byte q%u%s %s%s" \
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | setup_64.c | 170 static int __init early_smt_enabled(char *p) in early_smt_enabled() argument 172 smt_enabled_cmdline = p; in early_smt_enabled()
|
/openbmc/phosphor-dbus-monitor/src/test/ |
H A D | propertywatchtest.hpp | 266 static void instance(MockDBusInterface& p) in instance() 268 ptr = &p; in instance()
|
/openbmc/qemu/target/mips/tcg/ |
H A D | dsp_helper.c | 513 p[1] = (acc >> 63) & 0x01; in mipsdsp_rndrashift_short_acc() 518 static inline void mipsdsp_rashift_acc(uint64_t *p, in mipsdsp_rashift_acc() argument 530 p[1] = tempB; in mipsdsp_rashift_acc() 531 p[0] = tempA; in mipsdsp_rashift_acc() 534 p[1] = (int64_t)tempB >> shift; in mipsdsp_rashift_acc() 551 p[2] = tempB >> 63; in mipsdsp_rndrashift_acc() 552 p[1] = (tempB << 1) | (tempA >> 63); in mipsdsp_rndrashift_acc() 553 p[0] = tempA << 1; in mipsdsp_rndrashift_acc() 556 p[1] = (int64_t)tempB >> (shift - 1); in mipsdsp_rndrashift_acc() 558 p[2] = 0x0; in mipsdsp_rndrashift_acc() [all …]
|
/openbmc/linux/drivers/ptp/ |
H A D | ptp_ocp.c | 1724 struct platform_device *p; in ptp_ocp_register_spi() local 1740 if (IS_ERR(p)) in ptp_ocp_register_spi() 1741 return PTR_ERR(p); in ptp_ocp_register_spi() 1743 bp_assign_entry(bp, r, p); in ptp_ocp_register_spi() 1770 struct platform_device *p; in ptp_ocp_register_i2c() local 1788 if (IS_ERR(p)) in ptp_ocp_register_i2c() 1789 return PTR_ERR(p); in ptp_ocp_register_i2c() 1791 bp_assign_entry(bp, r, p); in ptp_ocp_register_i2c() 2070 if (p) in ptp_ocp_register_serial() 2071 port.baud = p->baud; in ptp_ocp_register_serial() [all …]
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ethtool.c | 2947 char *p; in bnxt_parse_pkglog() local 2955 for (p = data; *p != 0; p++) { in bnxt_parse_pkglog() 2958 while (*p != 0 && *p != '\n') { in bnxt_parse_pkglog() 2959 value = p; in bnxt_parse_pkglog() 2960 while (*p != 0 && *p != '\t' && *p != '\n') in bnxt_parse_pkglog() 2961 p++; in bnxt_parse_pkglog() 2964 if (*p != '\t') in bnxt_parse_pkglog() 2966 *p = 0; in bnxt_parse_pkglog() 2968 p++; in bnxt_parse_pkglog() 2970 if (*p == 0) in bnxt_parse_pkglog() [all …]
|
/openbmc/linux/drivers/video/fbdev/intelfb/ |
H A D | intelfbdrv.c | 276 const char *p; in get_opt_string() local 280 p = OPT_STRVAL(this_opt, name); in get_opt_string() 282 while (p[i] && p[i] != ' ' && p[i] != ',') in get_opt_string() 286 strncpy(ret, p, i); in get_opt_string()
|
/openbmc/linux/drivers/usb/serial/ |
H A D | usb-serial.c | 758 struct usb_serial_port *p = container_of(port, struct usb_serial_port, port); in serial_port_carrier_raised() local 759 struct usb_serial_driver *drv = p->serial->type; in serial_port_carrier_raised() 762 return drv->carrier_raised(p); in serial_port_carrier_raised() 769 struct usb_serial_port *p = container_of(port, struct usb_serial_port, port); in serial_port_dtr_rts() local 770 struct usb_serial_driver *drv = p->serial->type; in serial_port_dtr_rts() 773 drv->dtr_rts(p, on); in serial_port_dtr_rts()
|
/openbmc/linux/sound/usb/ |
H A D | endpoint.c | 415 struct snd_usb_packet_info *p; in next_packet_fifo_enqueue() local 417 p = ep->next_packet + (ep->next_packet_head + ep->next_packet_queued) % in next_packet_fifo_enqueue() 420 return p; in next_packet_fifo_enqueue() 426 struct snd_usb_packet_info *p; in next_packet_fifo_dequeue() local 428 p = ep->next_packet + ep->next_packet_head; in next_packet_fifo_dequeue() 432 return p; in next_packet_fifo_dequeue()
|
/openbmc/linux/drivers/block/drbd/ |
H A D | drbd_req.c | 567 int p, rv = 0; in __req_mod() local 589 p = nc->wire_protocol; in __req_mod() 592 p == DRBD_PROT_C ? RQ_EXP_WRITE_ACK : in __req_mod() 593 p == DRBD_PROT_B ? RQ_EXP_RECEIVE_ACK : 0; in __req_mod() 702 p = nc->max_epoch_size; in __req_mod() 704 if (connection->current_tle_writes >= p) in __req_mod()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | sev.c | 924 struct page *p; in snp_alloc_vmsa_page() local 934 p = alloc_pages(GFP_KERNEL_ACCOUNT | __GFP_ZERO, 1); in snp_alloc_vmsa_page() 935 if (!p) in snp_alloc_vmsa_page() 938 split_page(p, 1); in snp_alloc_vmsa_page() 941 __free_page(p); in snp_alloc_vmsa_page() 943 return page_address(p + 1); in snp_alloc_vmsa_page()
|
/openbmc/linux/net/sunrpc/ |
H A D | svcsock.c | 1051 __be32 *p = (__be32 *)rqstp->rq_arg.head[0].iov_base; in receive_cb_reply() local 1055 xid = *p++; in receive_cb_reply() 1056 calldir = *p; in receive_cb_reply() 1126 __be32 *p; in svc_tcp_recvfrom() local 1162 p = (__be32 *)rqstp->rq_arg.head[0].iov_base; in svc_tcp_recvfrom() 1163 calldir = p[1]; in svc_tcp_recvfrom()
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | iommu.c | 750 struct dynamic_dma_window_prop *p; in pci_dma_find() local 752 p = (struct dynamic_dma_window_prop *)ddw_prop; in pci_dma_find() 753 prop->liobn = p->liobn; in pci_dma_find() 754 prop->dma_base = p->dma_base; in pci_dma_find() 755 prop->tce_shift = p->tce_shift; in pci_dma_find() 756 prop->window_shift = p->window_shift; in pci_dma_find()
|
/openbmc/linux/drivers/infiniband/hw/hns/ |
H A D | hns_roce_qp.c | 1260 int p; in check_mtu_validate() local 1262 p = attr_mask & IB_QP_PORT ? (attr->port_num - 1) : hr_qp->port; in check_mtu_validate() 1263 active_mtu = iboe_get_mtu(hr_dev->iboe.netdevs[p]->mtu); in check_mtu_validate() 1282 int p; in hns_roce_check_qp_attr() local 1292 p = attr_mask & IB_QP_PORT ? (attr->port_num - 1) : hr_qp->port; in hns_roce_check_qp_attr() 1293 if (attr->pkey_index >= hr_dev->caps.pkey_table_len[p]) { in hns_roce_check_qp_attr()
|
/openbmc/linux/fs/ext4/ |
H A D | ialloc.c | 875 struct posix_acl *p = get_inode_acl(dir, ACL_TYPE_DEFAULT); in ext4_xattr_credits_for_new_inode() local 877 if (IS_ERR(p)) in ext4_xattr_credits_for_new_inode() 878 return PTR_ERR(p); in ext4_xattr_credits_for_new_inode() 879 if (p) { in ext4_xattr_credits_for_new_inode() 880 int acl_size = p->a_count * sizeof(ext4_acl_entry); in ext4_xattr_credits_for_new_inode() 886 posix_acl_release(p); in ext4_xattr_credits_for_new_inode()
|
/openbmc/linux/fs/smb/client/ |
H A D | fs_context.c | 448 char *opts, *orig, *p; in smb3_parse_opt() local 454 while ((p = strsep(&opts, ","))) { in smb3_parse_opt() 457 if (!*p) in smb3_parse_opt() 459 if (strncasecmp(p, key, strlen(key))) in smb3_parse_opt() 461 nval = strchr(p, '='); in smb3_parse_opt() 463 if (nval == p) in smb3_parse_opt()
|
/openbmc/linux/net/sctp/ |
H A D | socket.c | 568 struct list_head *p; in sctp_send_asconf_add_ip() local 617 p = bp->address_list.next; in sctp_send_asconf_add_ip() 2836 struct sctp_sack_info p; in sctp_setsockopt_delayed_ack() local 2844 p.sack_assoc_id = v->assoc_id; in sctp_setsockopt_delayed_ack() 4235 if (optlen < sizeof(*p)) in sctp_setsockopt_interleaving_supported() 5309 void *p) { in sctp_for_each_endpoint() argument 5319 err = cb(ep, p); in sctp_for_each_endpoint() 5352 err = cb(ep, transport, p); in sctp_transport_lookup_process() 5375 ret = cb(ep, tsp, p); in sctp_transport_traverse_process() 6975 to = p->gauth_chunks; in sctp_getsockopt_peer_auth_chunks() [all …]
|