/openbmc/linux/drivers/nvme/host/ |
H A D | trace.c | 16 trace_seq_putc(p, 0); in nvme_trace_delete_sq() 32 trace_seq_putc(p, 0); in nvme_trace_create_sq() 43 trace_seq_putc(p, 0); in nvme_trace_delete_cq() 58 trace_seq_putc(p, 0); in nvme_trace_create_cq() 70 trace_seq_putc(p, 0); in nvme_trace_admin_identify() 84 trace_seq_putc(p, 0); in nvme_trace_admin_set_features() 98 trace_seq_putc(p, 0); in nvme_trace_admin_get_features() 114 trace_seq_putc(p, 0); in nvme_trace_get_lba_status() 131 trace_seq_putc(p, 0); in nvme_trace_admin_format_nvm() 145 trace_seq_printf(p, in nvme_trace_read_write() [all …]
|
/openbmc/linux/net/bridge/ |
H A D | br_if.c | 112 br_fdb_unsync_static(p->br, p); in br_port_set_promisc() 131 err = br_fdb_sync_static(p->br, p); in br_port_clear_promisc() 256 br_fdb_unsync_static(p->br, p); in nbp_delete_promisc() 263 kfree(p); in release_nbp() 431 p = kzalloc(sizeof(*p), GFP_KERNEL); in new_nbp() 435 p->br = br; in new_nbp() 448 kfree(p); in new_nbp() 452 return p; in new_nbp() 732 if (!p || p->br != br) in br_del_if() 739 del_nbp(p); in br_del_if() [all …]
|
/openbmc/qemu/hw/usb/ |
H A D | core.c | 139 usb_packet_copy(p, s->setup_buf, p->iov.size); in do_token_setup() 413 QTAILQ_INSERT_TAIL(&p->ep->queue, p, queue); in usb_queue_one() 437 if (QTAILQ_EMPTY(&p->ep->queue) || p->ep->pipeline || p->stream) { in usb_handle_packet() 454 assert(p->stream || !p->ep->pipeline || in usb_handle_packet() 470 assert(p->stream || QTAILQ_FIRST(&ep->queue) == p); in usb_packet_complete_one() 474 (p->short_not_ok && (p->actual_length < p->iov.size))) { in usb_packet_complete_one() 522 QTAILQ_REMOVE(&p->ep->queue, p, queue); in usb_cancel_packet() 524 usb_device_cancel_packet(p->ep->dev, p); in usb_cancel_packet() 609 QEMUIOVector *iov = p->combined ? &p->combined->iov : &p->iov; in usb_packet_copy() 630 QEMUIOVector *iov = p->combined ? &p->combined->iov : &p->iov; in usb_packet_skip() [all …]
|
/openbmc/phosphor-host-ipmid/include/ipmid/message/ |
H A D | unpack.hpp | 147 uint8_t len = p.raw[p.rawIndex++]; in op() 282 if (p.raw.size() - p.rawIndex < N) in op() 288 std::copy(p.raw.begin() + p.rawIndex, p.raw.begin() + p.rawIndex + N, in op() 301 while (p.rawIndex < p.raw.size()) in op() 326 t.reserve(p.raw.size() - p.rawIndex); in op() 327 t.insert(t.begin(), p.raw.begin() + p.rawIndex, p.raw.end()); in op() 328 p.rawIndex = p.raw.size(); in op() 341 t.insert(t.begin(), p.raw.begin() + p.rawIndex, p.raw.end()); in op() 342 p.rawIndex = p.raw.size(); in op() 354 t = std::span<const uint8_t>(p.raw.begin() + p.rawIndex, p.raw.end()); in op() [all …]
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwxgmac2_descs.c | 108 if ((p->des0 == 0xffffffff) && (p->des1 == 0xffffffff)) in dwxgmac2_rx_check_timestamp() 137 p->des0 = 0; in dwxgmac2_init_tx_desc() 138 p->des1 = 0; in dwxgmac2_init_tx_desc() 139 p->des2 = 0; in dwxgmac2_init_tx_desc() 140 p->des3 = 0; in dwxgmac2_init_tx_desc() 223 p->des0 = 0; in dwxgmac2_release_tx_desc() 224 p->des1 = 0; in dwxgmac2_release_tx_desc() 225 p->des2 = 0; in dwxgmac2_release_tx_desc() 226 p->des3 = 0; in dwxgmac2_release_tx_desc() 236 p->des0 = 0; in dwxgmac2_set_mss() [all …]
|
/openbmc/linux/lib/842/ |
H A D | 842_compress.c | 214 p->out += p->bit / 8; in add_bits() 215 p->olen -= p->bit / 8; in add_bits() 247 ret = add_bits(p, p->data8[0], 64); in add_template() 343 ret = add_bits(p, p->in[i], 8); in add_short_data_template() 410 p->data8[0] = get_input_data(p, 0, 64); in get_next_data() 411 p->data4[0] = get_input_data(p, 0, 32); in get_next_data() 412 p->data4[1] = get_input_data(p, 4, 32); in get_next_data() 413 p->data2[0] = get_input_data(p, 0, 16); in get_next_data() 425 u64 pos = p->in - p->instart; in update_hashtables() 493 p->instart = p->in; in sw842_compress() [all …]
|
/openbmc/linux/drivers/clocksource/ |
H A D | em_sti.c | 95 clk_disable(p->clk); in em_sti_disable() 144 p->ced.event_handler(&p->ced); in em_sti_interrupt() 155 used_before = p->active[USER_CLOCKSOURCE] | p->active[USER_CLOCKEVENT]; in em_sti_start() 172 used_before = p->active[USER_CLOCKSOURCE] | p->active[USER_CLOCKEVENT]; in em_sti_stop() 174 used_after = p->active[USER_CLOCKSOURCE] | p->active[USER_CLOCKEVENT]; in em_sti_stop() 177 em_sti_disable(p); in em_sti_stop() 256 next = em_sti_set_next(p, em_sti_count(p) + delta); in em_sti_clock_event_next() 284 p = devm_kzalloc(&pdev->dev, sizeof(*p), GFP_KERNEL); in em_sti_probe() 285 if (p == NULL) in em_sti_probe() 288 p->pdev = pdev; in em_sti_probe() [all …]
|
/openbmc/linux/drivers/md/ |
H A D | dm-cache-policy-internal.h | 38 return p->get_background_work(p, idle, result); in policy_get_background_work() 45 return p->complete_background_work(p, work, success); in policy_complete_background_work() 50 p->set_dirty(p, cblock); in policy_set_dirty() 55 p->clear_dirty(p, cblock); in policy_clear_dirty() 68 return p->invalidate_mapping(p, cblock); in policy_invalidate_mapping() 74 return p->get_hint ? p->get_hint(p, cblock) : 0; in policy_get_hint() 79 return p->residency(p); in policy_residency() 84 if (p->tick) in policy_tick() 85 return p->tick(p, can_block); in policy_tick() 104 return p->set_config_value ? p->set_config_value(p, key, value) : -EINVAL; in policy_set_config_value() [all …]
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | central.c | 69 if (!p) { in clock_board_probe() 100 p->num_slots = clock_board_calc_nslots(p); in clock_board_probe() 104 p->leds_resource.end = p->leds_resource.start; in clock_board_probe() 109 p->leds_pdev.resource = &p->leds_resource; in clock_board_probe() 141 kfree(p); in clock_board_probe() 162 struct fhc *p = kzalloc(sizeof(*p), GFP_KERNEL); in fhc_probe() local 166 if (!p) { in fhc_probe() 198 p->leds_resource.end = p->leds_resource.start; in fhc_probe() 202 p->leds_pdev.id = p->board_num; in fhc_probe() 203 p->leds_pdev.resource = &p->leds_resource; in fhc_probe() [all …]
|
H A D | ebus.c | 83 p->callback(p, EBUS_DMA_EVENT_ERROR, p->client_cookie); in ebus_dma_irq() 86 p->callback(p, in ebus_dma_irq() 89 p->client_cookie); in ebus_dma_irq() 101 if (!p->regs) in ebus_dma_register() 106 if ((p->flags & EBUS_DMA_FLAG_USE_EBDMA_HANDLER) && !p->callback) in ebus_dma_register() 108 if (!strlen(p->name)) in ebus_dma_register() 111 __ebus_dma_reset(p, 1); in ebus_dma_register() 131 if (request_irq(p->irq, ebus_dma_irq, IRQF_SHARED, p->name, p)) in ebus_dma_irq_enable() 148 free_irq(p->irq, p); in ebus_dma_irq_enable() 172 free_irq(p->irq, p); in ebus_dma_unregister() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | rammap.c | 79 struct nvbios_ramcfg *p) in nvbios_rammapEp_from_perf() argument 81 memset(p, 0x00, sizeof(*p)); in nvbios_rammapEp_from_perf() 95 memset(p, 0x00, sizeof(*p)); in nvbios_rammapEp() 96 p->rammap_ver = *ver; in nvbios_rammapEp() 97 p->rammap_hdr = *hdr; in nvbios_rammapEp() 112 p->rammap_11_09_01ff = (temp & 0x000001ff) >> 0; in nvbios_rammapEp() 160 struct nvbios_ramcfg *p) in nvbios_rammapSp_from_perf() argument 167 p->ramcfg_ver = 0; in nvbios_rammapSp_from_perf() 192 u8 *ver, u8 *hdr, struct nvbios_ramcfg *p) in nvbios_rammapSp() argument 195 p->ramcfg_ver = *ver; in nvbios_rammapSp() [all …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-rcar.c | 503 p = devm_kzalloc(dev, sizeof(*p), GFP_KERNEL); in gpio_rcar_probe() 504 if (!p) in gpio_rcar_probe() 507 p->dev = dev; in gpio_rcar_probe() 601 p->bank_info.iointsel = gpio_rcar_read(p, IOINTSEL); in gpio_rcar_suspend() 602 p->bank_info.inoutsel = gpio_rcar_read(p, INOUTSEL); in gpio_rcar_suspend() 603 p->bank_info.outdt = gpio_rcar_read(p, OUTDT); in gpio_rcar_suspend() 604 p->bank_info.intmsk = gpio_rcar_read(p, INTMSK); in gpio_rcar_suspend() 605 p->bank_info.posneg = gpio_rcar_read(p, POSNEG); in gpio_rcar_suspend() 606 p->bank_info.edglevel = gpio_rcar_read(p, EDGLEVEL); in gpio_rcar_suspend() 608 p->bank_info.bothedge = gpio_rcar_read(p, BOTHEDGE); in gpio_rcar_suspend() [all …]
|
/openbmc/linux/drivers/gpu/drm/vboxvideo/ |
H A D | hgsmi_base.c | 22 p = hgsmi_buffer_alloc(ctx, sizeof(*p), HGSMI_CH_HGSMI, in hgsmi_report_flags_location() 24 if (!p) in hgsmi_report_flags_location() 48 if (!p) in hgsmi_send_caps_info() 52 p->caps = caps; in hgsmi_send_caps_info() 87 p = hgsmi_buffer_alloc(ctx, sizeof(*p), HGSMI_CH_VBVA, in hgsmi_query_conf() 89 if (!p) in hgsmi_query_conf() 152 if (!p) in hgsmi_update_pointer_shape() 203 p = hgsmi_buffer_alloc(ctx, sizeof(*p), HGSMI_CH_VBVA, in hgsmi_cursor_position() 205 if (!p) in hgsmi_cursor_position() 209 p->x = x; in hgsmi_cursor_position() [all …]
|
/openbmc/linux/drivers/nvme/target/ |
H A D | trace.c | 17 trace_seq_putc(p, 0); in nvmet_trace_admin_identify() 31 trace_seq_putc(p, 0); in nvmet_trace_admin_get_features() 47 trace_seq_putc(p, 0); in nvmet_trace_get_lba_status() 61 trace_seq_putc(p, 0); in nvmet_trace_admin_set_features() 75 trace_seq_printf(p, in nvmet_trace_read_write() 78 trace_seq_putc(p, 0); in nvmet_trace_read_write() 90 trace_seq_putc(p, 0); in nvmet_trace_dsm() 100 trace_seq_putc(p, 0); in nvmet_trace_common() 147 trace_seq_putc(p, 0); in nvmet_trace_fabrics_property_set() 163 trace_seq_putc(p, 0); in nvmet_trace_fabrics_connect() [all …]
|
/openbmc/phosphor-host-ipmid/test/message/ |
H A D | pack.cpp | 27 p.pack(v); in TEST() 39 p.pack(v); in TEST() 51 p.pack(v); in TEST() 63 p.pack(v); in TEST() 75 p.pack(v); in TEST() 121 p.pack(v); in TEST() 151 p.pack(v); in TEST() 164 p.pack(v); in TEST() 177 p.pack(v); in TEST() 196 p.pack(v); in TEST() [all …]
|
/openbmc/u-boot/arch/sh/include/asm/ |
H A D | unaligned-sh4a.h | 31 : "r" (p) in __get_unaligned_cpu32() 44 return p[0] | p[1] << 8; in __get_unaligned_cpu16() 46 return p[0] << 8 | p[1]; in __get_unaligned_cpu16() 98 *p++ = val; in __put_le16_noalign() 99 *p++ = val >> 8; in __put_le16_noalign() 104 __put_le16_noalign(p, val); in __put_le32_noalign() 110 __put_le32_noalign(p, val); in __put_le64_noalign() 116 *p++ = val >> 8; in __put_be16_noalign() 117 *p++ = val; in __put_be16_noalign() 137 __put_le16_noalign(p, val); in put_unaligned_le16() [all …]
|
/openbmc/linux/drivers/mtd/maps/ |
H A D | intel_vr_nor.c | 89 p->info = do_map_probe(*type, &p->map); in vr_nor_mtd_setup() 90 if (!p->info) in vr_nor_mtd_setup() 93 p->info->dev.parent = &p->dev->dev; in vr_nor_mtd_setup() 137 if (!p->csr_base) in vr_nor_init_maps() 155 p->map.virt = ioremap(p->map.phys, p->map.size); in vr_nor_init_maps() 156 if (!p->map.virt) { in vr_nor_init_maps() 185 kfree(p); in vr_nor_pci_remove() 204 p = kzalloc(sizeof(*p), GFP_KERNEL); in vr_nor_pci_probe() 206 if (!p) in vr_nor_pci_probe() 209 p->dev = dev; in vr_nor_pci_probe() [all …]
|
/openbmc/linux/include/linux/ |
H A D | parport_pc.h | 9 #define ECONTROL(p) ((p)->base_hi + 0x2) argument 10 #define CONFIGB(p) ((p)->base_hi + 0x1) argument 11 #define CONFIGA(p) ((p)->base_hi + 0x0) argument 12 #define FIFO(p) ((p)->base_hi + 0x0) argument 13 #define EPPDATA(p) ((p)->base + 0x4) argument 14 #define EPPADDR(p) ((p)->base + 0x3) argument 15 #define CONTROL(p) ((p)->base + 0x2) argument 16 #define STATUS(p) ((p)->base + 0x1) argument 17 #define DATA(p) ((p)->base + 0x0) argument 170 p->name, p->cad->name); in parport_pc_write_control() [all …]
|
/openbmc/linux/arch/arc/kernel/ |
H A D | kprobes.c | 32 p->opcode = *p->addr; in arch_prepare_kprobe() 47 *p->addr = p->opcode; in arch_disarm_kprobe() 59 *(p->ainsn.t1_addr) = p->ainsn.t1_opcode; in arch_remove_kprobe() 69 *(p->ainsn.t2_addr) = p->ainsn.t2_opcode; in arch_remove_kprobe() 103 *(p->ainsn.t1_addr) = p->ainsn.t1_opcode; in resume_execution() 113 *(p->ainsn.t2_addr) = p->ainsn.t2_opcode; in resume_execution() 136 *(p->addr) = p->opcode; in setup_singlestep() 175 p->ainsn.t1_opcode = *(p->ainsn.t1_addr); in setup_singlestep() 184 p->ainsn.t2_opcode = *(p->ainsn.t2_addr); in setup_singlestep() 203 if (p) { in arc_kprobe_handler() [all …]
|
/openbmc/linux/net/x25/ |
H A D | x25_facilities.c | 111 p[0], p[1]); in x25_parse_facilities() 114 p += 2; in x25_parse_facilities() 134 p[0], p[1], p[2]); in x25_parse_facilities() 137 p += 3; in x25_parse_facilities() 145 p[0], p[1], p[2], p[3]); in x25_parse_facilities() 154 if (p[1] > X25_MAX_DTE_FACIL_LEN || p[1] <= 1) in x25_parse_facilities() 159 memcpy(dte_facs->calling_ae, &p[3], p[1] - 1); in x25_parse_facilities() 163 if (p[1] > X25_MAX_DTE_FACIL_LEN || p[1] <= 1) in x25_parse_facilities() 168 memcpy(dte_facs->called_ae, &p[3], p[1] - 1); in x25_parse_facilities() 173 "length %d\n", p[0], p[1]); in x25_parse_facilities() [all …]
|
/openbmc/linux/tools/include/tools/ |
H A D | le_byteshift.h | 9 return p[0] | p[1] << 8; in __get_unaligned_le16() 14 return p[0] | p[1] << 8 | p[2] << 16 | p[3] << 24; in __get_unaligned_le32() 20 __get_unaligned_le32(p); in __get_unaligned_le64() 25 *p++ = val; in __put_unaligned_le16() 26 *p++ = val >> 8; in __put_unaligned_le16() 31 __put_unaligned_le16(val >> 16, p + 2); in __put_unaligned_le32() 32 __put_unaligned_le16(val, p); in __put_unaligned_le32() 38 __put_unaligned_le32(val, p); in __put_unaligned_le64() 58 __put_unaligned_le16(val, p); in put_unaligned_le16() 63 __put_unaligned_le32(val, p); in put_unaligned_le32() [all …]
|
H A D | be_byteshift.h | 9 return p[0] << 8 | p[1]; in __get_unaligned_be16() 14 return p[0] << 24 | p[1] << 16 | p[2] << 8 | p[3]; in __get_unaligned_be32() 20 __get_unaligned_be32(p + 4); in __get_unaligned_be64() 25 *p++ = val >> 8; in __put_unaligned_be16() 26 *p++ = val; in __put_unaligned_be16() 31 __put_unaligned_be16(val >> 16, p); in __put_unaligned_be32() 32 __put_unaligned_be16(val, p + 2); in __put_unaligned_be32() 38 __put_unaligned_be32(val, p + 4); in __put_unaligned_be64() 58 __put_unaligned_be16(val, p); in put_unaligned_be16() 63 __put_unaligned_be32(val, p); in put_unaligned_be32() [all …]
|
/openbmc/u-boot/include/linux/unaligned/ |
H A D | be_byteshift.h | 8 return p[0] << 8 | p[1]; in __get_unaligned_be16() 13 return p[0] << 24 | p[1] << 16 | p[2] << 8 | p[3]; in __get_unaligned_be32() 19 __get_unaligned_be32(p + 4); in __get_unaligned_be64() 24 *p++ = val >> 8; in __put_unaligned_be16() 25 *p++ = val; in __put_unaligned_be16() 30 __put_unaligned_be16(val >> 16, p); in __put_unaligned_be32() 31 __put_unaligned_be16(val, p + 2); in __put_unaligned_be32() 37 __put_unaligned_be32(val, p + 4); in __put_unaligned_be64() 57 __put_unaligned_be16(val, p); in put_unaligned_be16() 62 __put_unaligned_be32(val, p); in put_unaligned_be32() [all …]
|
H A D | le_byteshift.h | 8 return p[0] | p[1] << 8; in __get_unaligned_le16() 13 return p[0] | p[1] << 8 | p[2] << 16 | p[3] << 24; in __get_unaligned_le32() 19 __get_unaligned_le32(p); in __get_unaligned_le64() 24 *p++ = val; in __put_unaligned_le16() 25 *p++ = val >> 8; in __put_unaligned_le16() 30 __put_unaligned_le16(val >> 16, p + 2); in __put_unaligned_le32() 31 __put_unaligned_le16(val, p); in __put_unaligned_le32() 37 __put_unaligned_le32(val, p); in __put_unaligned_le64() 57 __put_unaligned_le16(val, p); in put_unaligned_le16() 62 __put_unaligned_le32(val, p); in put_unaligned_le32() [all …]
|
/openbmc/linux/drivers/usb/dwc2/ |
H A D | params.c | 25 p->ahbcfg = 0x10; in dwc2_set_bcm_params() 129 p->lpm = false; in dwc2_set_rk_params() 131 p->besl = false; in dwc2_set_rk_params() 171 p->lpm = false; in dwc2_set_amlogic_g12a_params() 173 p->besl = false; in dwc2_set_amlogic_g12a_params() 190 p->lpm = false; in dwc2_set_amlogic_a1_params() 192 p->besl = false; in dwc2_set_amlogic_a1_params() 263 p->lpm = false; in dwc2_set_stm32mp15_hsotg_params() 265 p->besl = false; in dwc2_set_stm32mp15_hsotg_params() 419 memset(p->g_tx_fifo_size, 0, sizeof(p->g_tx_fifo_size)); in dwc2_set_param_tx_fifo_sizes() [all …]
|