| /drivers/staging/media/av7110/ |
| A D | av7110_ipack.c | 53 p->buf[3] = p->cid; in send_ipack() 76 p->func(p->buf, p->count, p->data); in send_ipack() 95 p->buf[3] = p->cid; in send_ipack() 98 p->func(p->buf, p->count, p->data); in send_ipack() 110 p->plength = p->found - 6; in av7110_ipack_flush() 199 p->plength = (p->plen[0] << 8) | p->plen[1]; in av7110_ipack_instant_repack() 210 p->plength = (p->plen[0] << 8) | p->plen[1]; in av7110_ipack_instant_repack() 252 if (!(p->done || ((p->mpeg == 2 && p->found >= 9) || in av7110_ipack_instant_repack() 282 p->check = p->flag1; in av7110_ipack_instant_repack() 330 p->pts[0] = p->check; in av7110_ipack_instant_repack() [all …]
|
| /drivers/pnp/pnpbios/ |
| A D | rsparser.c | 172 io = p[2] + p[3] * 256; in pnpbios_parse_allocated_resource_data() 190 p = p + 2; in pnpbios_parse_allocated_resource_data() 240 min = (p[7] << 24) | (p[6] << 16) | (p[5] << 8) | p[4]; in pnpbios_parse_mem32_option() 241 max = (p[11] << 24) | (p[10] << 16) | (p[9] << 8) | p[8]; in pnpbios_parse_mem32_option() 242 align = (p[15] << 24) | (p[14] << 16) | (p[13] << 8) | p[12]; in pnpbios_parse_mem32_option() 243 len = (p[19] << 24) | (p[18] << 16) | (p[17] << 8) | p[16]; in pnpbios_parse_mem32_option() 256 base = (p[7] << 24) | (p[6] << 16) | (p[5] << 8) | p[4]; in pnpbios_parse_fixed_mem32_option() 257 len = (p[11] << 24) | (p[10] << 16) | (p[9] << 8) | p[8]; in pnpbios_parse_fixed_mem32_option() 466 eisa_id = p[1] | p[2] << 8 | p[3] << 16 | p[4] << 24; in pnpbios_parse_compatible_ids() 474 p = p + 2; in pnpbios_parse_compatible_ids() [all …]
|
| /drivers/usb/host/ |
| A D | xhci-caps.h | 5 #define HC_LENGTH(p) XHCI_HC_LENGTH(p) argument 7 #define HC_VERSION(p) (((p) >> 16) & 0xffff) argument 11 #define HCS_MAX_SLOTS(p) (((p) >> 0) & 0xff) argument 14 #define HCS_MAX_INTRS(p) (((p) >> 8) & 0x7ff) argument 21 #define HCS_IST(p) (((p) >> 0) & 0xf) argument 45 #define HCC_PPC(p) ((p) & (1 << 3)) argument 51 #define HCC_LTC(p) ((p) & (1 << 6)) argument 53 #define HCC_NSS(p) ((p) & (1 << 7)) argument 55 #define HCC_SPC(p) ((p) & (1 << 9)) argument 57 #define HCC_CFC(p) ((p) & (1 << 11)) argument [all …]
|
| /drivers/watchdog/ |
| A D | iTCO_wdt.c | 70 #define TCOBASE(p) ((p)->tco_res->start) argument 72 #define SMI_EN(p) ((p)->smi_res->start) argument 278 p->no_reboot_priv = p; in iTCO_wdt_no_reboot_bit_setup() 289 if (p->update_no_reboot_bit(p->no_reboot_priv, false)) { in iTCO_wdt_start() 326 p->update_no_reboot_bit(p->no_reboot_priv, true); in iTCO_wdt_stop() 470 p = devm_kzalloc(dev, sizeof(*p), GFP_KERNEL); in iTCO_wdt_probe() 471 if (!p) in iTCO_wdt_probe() 503 if (p->iTCO_version >= 2 && p->iTCO_version < 6 && in iTCO_wdt_probe() 511 if (p->update_no_reboot_bit(p->no_reboot_priv, false) && in iTCO_wdt_probe() 566 watchdog_set_drvdata(&p->wddev, p); in iTCO_wdt_probe() [all …]
|
| /drivers/ata/ |
| A D | libata-trace.c | 18 trace_seq_printf(p, "{ "); in libata_trace_parse_status() 35 trace_seq_putc(p, '}'); in libata_trace_parse_status() 36 trace_seq_putc(p, 0); in libata_trace_parse_status() 53 trace_seq_putc(p, '}'); in libata_trace_parse_host_stat() 54 trace_seq_putc(p, 0); in libata_trace_parse_host_stat() 79 trace_seq_putc(p, '}'); in libata_trace_parse_eh_action() 81 trace_seq_putc(p, 0); in libata_trace_parse_eh_action() 118 trace_seq_putc(p, 0); in libata_trace_parse_eh_err_mask() 153 trace_seq_putc(p, 0); in libata_trace_parse_qc_flags() 182 trace_seq_putc(p, 0); in libata_trace_parse_tf_flags() [all …]
|
| /drivers/gpu/drm/i915/ |
| A D | i915_syncmap.c | 157 if (!p) in i915_syncmap_is_later() 165 p = p->parent; in i915_syncmap_is_later() 166 if (!p) in i915_syncmap_is_later() 169 if (__sync_branch_prefix(p, id) == p->prefix) in i915_syncmap_is_later() 178 p = __sync_child(p)[__sync_branch_idx(p, id)]; in i915_syncmap_is_later() 182 if (__sync_branch_prefix(p, id) != p->prefix) in i915_syncmap_is_later() 207 p->prefix = __sync_leaf_prefix(p, id); in __sync_alloc_leaf() 248 p = p->parent; in __sync_set() 250 if (__sync_branch_prefix(p, id) == p->prefix) in __sync_set() 358 if (likely(p && __sync_leaf_prefix(p, id) == p->prefix)) { in i915_syncmap_set() [all …]
|
| /drivers/usb/cdns3/ |
| A D | cdns3-gadget.h | 204 #define USB_STS_OV(p) ((p) & USB_STS_OV_MASK) argument 419 #define USB_ITPN(p) ((p) & USB_ITPN_MASK) argument 541 #define EP_TRADDR_TRADDR(p) ((p)) argument 616 #define EP_STS_STALL(p) ((p) & BIT(1)) argument 634 #define EP_STS_BUFFEMPTY(p) ((p) & BIT(10)) argument 636 #define EP_STS_CCS(p) ((p) & BIT(11)) argument 646 #define EP_STS_HOSTPP(p) ((p) & BIT(16)) argument 844 #define DEV_U2PHY_ULPI(p) ((p) & BIT(25)) argument 1022 #define TRB_TYPE(p) ((p) << 10) argument 1064 #define TRB_STREAM_ID(p) ((p) << 16) argument [all …]
|
| /drivers/net/wireless/realtek/rtw89/ |
| A D | debug.c | 1489 p += scnprintf(p, end - p, in rtw89_debug_mac_dump_dmac_dbg() 1492 p += scnprintf(p, end - p, in rtw89_debug_mac_dump_dmac_dbg() 1585 p += scnprintf(p, end - p, in rtw89_debug_mac_dump_dmac_dbg() 1588 p += scnprintf(p, end - p, in rtw89_debug_mac_dump_dmac_dbg() 1591 p += scnprintf(p, end - p, in rtw89_debug_mac_dump_dmac_dbg() 1594 p += scnprintf(p, end - p, in rtw89_debug_mac_dump_dmac_dbg() 1597 p += scnprintf(p, end - p, in rtw89_debug_mac_dump_dmac_dbg() 1600 p += scnprintf(p, end - p, in rtw89_debug_mac_dump_dmac_dbg() 1688 p += scnprintf(p, end - p, in rtw89_debug_mac_dump_cmac_err() 1691 p += scnprintf(p, end - p, in rtw89_debug_mac_dump_cmac_err() [all …]
|
| /drivers/pinctrl/mediatek/ |
| A D | pinctrl-mtmips.c | 153 p->gpio[p->func[func]->pins[i]] = 0; in mtmips_pmx_group_enable() 206 p->group_names = devm_kcalloc(p->dev, p->group_count, in mtmips_pinctrl_index() 212 p->group_names[i] = p->groups[i].name; in mtmips_pinctrl_index() 220 p->func = devm_kcalloc(p->dev, p->func_count, in mtmips_pinctrl_index() 238 p->func[c] = &p->groups[i].func[j]; in mtmips_pinctrl_index() 280 p->gpio = devm_kcalloc(p->dev, p->max_pins, sizeof(u8), GFP_KERNEL); in mtmips_pinctrl_pins() 282 p->pads = devm_kcalloc(p->dev, p->max_pins, in mtmips_pinctrl_pins() 284 if (!p->pads || !p->gpio) in mtmips_pinctrl_pins() 293 p->gpio[p->func[i]->pins[j]] = 0; in mtmips_pinctrl_pins() 310 p->desc->pins = p->pads; in mtmips_pinctrl_pins() [all …]
|
| /drivers/net/ethernet/apm/xgene/ |
| A D | xgene_enet_sgmac.c | 231 xgene_sgmii_reset(p); in xgene_sgmac_set_speed() 248 switch (p->phy_speed) { in xgene_sgmac_set_speed() 321 p->mac_ops->enable_tx_pause(p, enable); in xgene_sgmac_flowctl_tx() 337 if (!(p->enet_id == XGENE_ENET2 && p->mdio_driver)) in xgene_sgmac_init() 338 xgene_sgmac_reset(p); in xgene_sgmac_init() 408 xgene_sgmac_flowctl_tx(p, p->tx_pause); in xgene_sgmac_init() 409 xgene_sgmac_flowctl_rx(p, p->rx_pause); in xgene_sgmac_init() 444 if (p->mdio_driver && p->enet_id == XGENE_ENET2) { in xgene_enet_reset() 474 if (!p->port_id) { in xgene_enet_reset() 529 if (!IS_ERR(p->clk)) in xgene_enet_shutdown() [all …]
|
| /drivers/target/iscsi/ |
| A D | iscsi_target_parameters.h | 172 #define IS_USE_ALL(p) ((p)->use & USE_ALL) argument 186 #define IS_SENDER_TARGET(p) ((p)->sender & SENDER_TARGET) argument 187 #define IS_SENDER_BOTH(p) ((p)->sender & SENDER_BOTH) argument 206 #define IS_PHASE_SECURITY(p) ((p)->phase & PHASE_SECURITY) argument 209 #define IS_PHASE_FFP0(p) ((p)->phase & PHASE_FFP0) argument 221 #define IS_TYPE_BOOL_AND(p) ((p)->type & TYPE_BOOL_AND) argument 222 #define IS_TYPE_BOOL_OR(p) ((p)->type & TYPE_BOOL_OR) argument 223 #define IS_TYPE_NUMBER(p) ((p)->type & TYPE_NUMBER) argument 225 #define IS_TYPE_STRING(p) ((p)->type & TYPE_STRING) argument 257 #define IS_TYPERANGE_SESSIONTYPE(p) ((p)->type_range & \ argument [all …]
|
| /drivers/net/ethernet/samsung/sxgbe/ |
| A D | sxgbe_desc.c | 79 memset(p, 0, sizeof(*p)); in sxgbe_release_tx_desc() 117 p->ctxt_bit = 1; in sxgbe_tx_ctxt_desc_set_ctxt() 123 p->own_bit = 1; in sxgbe_tx_ctxt_desc_set_owner() 129 return p->own_bit; in sxgbe_tx_ctxt_desc_get_owner() 147 p->tcmssv = 1; in sxgbe_tx_ctxt_desc_set_tcmssv() 153 p->ostc = 0; in sxgbe_tx_ctxt_desc_reset_ostc() 187 return p->vlan_tag; in sxgbe_tx_ctxt_desc_get_vlantag() 203 p->own_bit = 1; in sxgbe_tx_ctxt_desc_close() 407 return p->own_bit; in sxgbe_get_rx_ctxt_owner() 413 p->own_bit = 1; in sxgbe_set_ctxt_rx_owner() [all …]
|
| /drivers/usb/dwc2/ |
| 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() 189 p->lpm = false; in dwc2_set_amlogic_g12a_params() 191 p->besl = false; in dwc2_set_amlogic_g12a_params() 208 p->lpm = false; in dwc2_set_amlogic_a1_params() 210 p->besl = false; in dwc2_set_amlogic_a1_params() 233 p->lpm = false; in dwc2_set_cv1800_params() 300 p->lpm = false; in dwc2_set_stm32mp15_hsotg_params() 462 memset(p->g_tx_fifo_size, 0, sizeof(p->g_tx_fifo_size)); in dwc2_set_param_tx_fifo_sizes() [all …]
|
| /drivers/rtc/ |
| A D | rtc-bq4802.c | 59 val = p->read(p, 0x0e); in bq4802_read_time() 69 century = p->read(p, 0x0f); in bq4802_read_time() 71 p->write(p, 0x0e, val); in bq4802_read_time() 119 val = p->read(p, 0x0e); in bq4802_set_time() 122 p->write(p, 0x00, sec); in bq4802_set_time() 123 p->write(p, 0x02, min); in bq4802_set_time() 124 p->write(p, 0x04, hrs); in bq4802_set_time() 125 p->write(p, 0x06, day); in bq4802_set_time() 126 p->write(p, 0x09, mon); in bq4802_set_time() 127 p->write(p, 0x0a, yrs); in bq4802_set_time() [all …]
|
| /drivers/nvme/host/ |
| 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() 134 trace_seq_putc(p, 0); in nvme_trace_admin_format_nvm() 148 trace_seq_printf(p, in nvme_trace_read_write() [all …]
|
| /drivers/nvme/target/ |
| 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() 145 trace_seq_putc(p, 0); in nvmet_trace_zone_mgmt_send() 178 trace_seq_putc(p, 0); in nvmet_trace_zone_mgmt_recv() [all …]
|
| /drivers/gpio/ |
| A D | gpio-rcar.c | 490 gpio_rcar_write(p, INEN, gpio_rcar_read(p, INEN) | mask); in gpio_rcar_enable_inputs() 503 p = devm_kzalloc(dev, sizeof(*p), GFP_KERNEL); in gpio_rcar_probe() 504 if (!p) in gpio_rcar_probe() 599 p->bank_info.iointsel = gpio_rcar_read(p, IOINTSEL); in gpio_rcar_suspend() 600 p->bank_info.inoutsel = gpio_rcar_read(p, INOUTSEL); in gpio_rcar_suspend() 601 p->bank_info.outdt = gpio_rcar_read(p, OUTDT); in gpio_rcar_suspend() 602 p->bank_info.intmsk = gpio_rcar_read(p, INTMSK); in gpio_rcar_suspend() 603 p->bank_info.posneg = gpio_rcar_read(p, POSNEG); in gpio_rcar_suspend() 604 p->bank_info.edglevel = gpio_rcar_read(p, EDGLEVEL); in gpio_rcar_suspend() 606 p->bank_info.bothedge = gpio_rcar_read(p, BOTHEDGE); in gpio_rcar_suspend() [all …]
|
| /drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
| 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 …]
|
| /drivers/clocksource/ |
| 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 …]
|
| /drivers/net/ethernet/cavium/octeon/ |
| A D | octeon_mgmt.c | 236 p->rx_ring[p->rx_next_fill] = re.d64; in octeon_mgmt_rx_fill_ring() 276 re.d64 = p->tx_ring[p->tx_next_clean]; in octeon_mgmt_clean_tx_buffers() 378 re.d64 = p->rx_ring[p->rx_next]; in octeon_mgmt_dequeue_rx_buffer() 985 dma_map_single(p->dev, p->tx_ring, in octeon_mgmt_open() 998 dma_map_single(p->dev, p->rx_ring, in octeon_mgmt_open() 1228 dma_unmap_single(p->dev, p->rx_ring_handle, in octeon_mgmt_open() 1233 dma_unmap_single(p->dev, p->tx_ring_handle, in octeon_mgmt_open() 1309 p->tx_ring[p->tx_next] = re.d64; in octeon_mgmt_xmit() 1476 p->mix = (u64)devm_ioremap(&pdev->dev, p->mix_phys, p->mix_size); in octeon_mgmt_probe() 1477 p->agl = (u64)devm_ioremap(&pdev->dev, p->agl_phys, p->agl_size); in octeon_mgmt_probe() [all …]
|
| /drivers/net/ethernet/stmicro/stmmac/ |
| A D | dwxgmac2_descs.c | 126 if ((p->des0 == 0xffffffff) && (p->des1 == 0xffffffff)) in dwxgmac2_rx_check_timestamp() 155 p->des0 = 0; in dwxgmac2_init_tx_desc() 156 p->des1 = 0; in dwxgmac2_init_tx_desc() 157 p->des2 = 0; in dwxgmac2_init_tx_desc() 158 p->des3 = 0; in dwxgmac2_init_tx_desc() 241 p->des0 = 0; in dwxgmac2_release_tx_desc() 242 p->des1 = 0; in dwxgmac2_release_tx_desc() 243 p->des2 = 0; in dwxgmac2_release_tx_desc() 244 p->des3 = 0; in dwxgmac2_release_tx_desc() 254 p->des0 = 0; in dwxgmac2_set_mss() [all …]
|
| /drivers/parport/ |
| A D | parport_ip32.c | 290 #define pr_trace(p, fmt, ...) __pr_trace(pr_debug, p, fmt , ##__VA_ARGS__) argument 291 #define pr_trace1(p, fmt, ...) __pr_trace(pr_debug1, p, fmt , ##__VA_ARGS__) argument 1596 p->name, cnfga); in parport_ip32_get_fifo_residue() 1598 p->name); in parport_ip32_get_fifo_residue() 2078 if (request_irq(irq, parport_ip32_interrupt, 0, p->name, p)) { in parport_ip32_probe_port() 2084 p->irq = irq; in parport_ip32_probe_port() 2134 pr_info("%s: SGI IP32 at 0x%lx (0x%lx)", p->name, p->base, p->base_hi); in parport_ip32_probe_port() 2156 return p; in parport_ip32_probe_port() 2159 if (p) in parport_ip32_probe_port() 2182 free_irq(p->irq, p); in parport_ip32_unregister_port() [all …]
|
| /drivers/net/ethernet/i825xx/ |
| A D | sun3_82586.c | 232 p->scp->iscp = make24(p->iscp); in check586() 262 p->scp->iscp = make24(p->iscp); in alloc586() 264 p->iscp->scb_offset = make16(p->scb); in alloc586() 668 p->rfd_top = p->rfd_first; in alloc_rfa() 669 p->rfd_last = p->rfd_first + (p->num_recv_buffs - 1 + rfdadd); in alloc_rfa() 822 p->rfd_last = p->rfd_top; in sun3_82586_rcv_int() 824 p->scb->rfa_offset = make16(p->rfd_top); in sun3_82586_rcv_int() 979 p->scb->cbl_offset = make16(p->nop_cmds[p->nop_point]); in sun3_82586_timeout() 1080 p->nop_cmds[p->nop_point]->cmd_link = make16((p->xmit_cmds[0])); in sun3_82586_send_packet() 1094 p->nop_cmds[p->xmit_count]->cmd_link = make16((p->xmit_cmds[p->xmit_count])); in sun3_82586_send_packet() [all …]
|
| /drivers/spi/ |
| A D | spi-sh-msiof.c | 112 complete(&p->done); in sh_msiof_spi_irq() 197 if (!p->info) in sh_msiof_spi_get_dtdl_and_syncdl() 201 if (p->info->dtdl > 200 || p->info->syncdl > 300) { in sh_msiof_spi_get_dtdl_and_syncdl() 207 if ((p->info->dtdl + p->info->syncdl) % 100) { in sh_msiof_spi_get_dtdl_and_syncdl() 614 ret = sh_msiof_wait_for_completion(p, &p->done); in sh_msiof_spi_txrx_once() 724 ret = sh_msiof_wait_for_completion(p, &p->done_txdma); in sh_msiof_dma_once() 731 ret = sh_msiof_wait_for_completion(p, &p->done); in sh_msiof_dma_once() 739 ret = sh_msiof_wait_for_completion(p, &p->done); in sh_msiof_dma_once() 1120 ctlr = p->ctlr; in sh_msiof_request_dma() 1266 p->tx_fifo_size = p->info->tx_fifo_override; in sh_msiof_spi_probe() [all …]
|
| /drivers/media/cec/usb/extron-da-hd-4k-plus/ |
| A D | cec-splitter.c | 42 p->is_active_source = true; in cec_port_out_active_source() 110 p->video_latency = 1; in cec_splitter_unconfigured_output() 111 p->power_status = p->splitter->is_standby ? in cec_splitter_unconfigured_output() 128 p->video_latency = 1; in cec_splitter_configured_output() 129 p->power_status = p->splitter->is_standby ? in cec_splitter_configured_output() 284 if (!p->found_sink) in cec_out_report_power_status() 594 if (!p) in cec_splitter_poll() 608 if (p->found_sink && ktime_to_ns(p->lost_sink_ts) && in cec_splitter_poll() 613 p->port); in cec_splitter_poll() 629 p->port, in cec_splitter_poll() [all …]
|