/linux/drivers/ntb/test/ |
A D | ntb_pingpong.c | 145 ntb_db_set_mask(pp->ntb, pp->in_db); in pp_setup() 156 ntb_peer_port_number(pp->ntb, pp->out_pidx), pp->out_db); in pp_setup() 165 ntb_db_set_mask(pp->ntb, pp->in_db); in pp_clear() 178 ntb_peer_msg_write(pp->ntb, pp->out_pidx, 0, count); in pp_ping() 183 ntb_peer_db_set(pp->ntb, pp->out_db); in pp_ping() 184 ntb_db_clear_mask(pp->ntb, pp->in_db); in pp_ping() 208 ntb_db_set_mask(pp->ntb, pp->in_db); in pp_pong() 209 ntb_db_clear(pp->ntb, pp->in_db); in pp_pong() 281 if (!pp) in pp_create_data() 310 pp->in_db, pp->pmask, pp->nmask); in pp_init_flds() [all …]
|
/linux/drivers/net/ethernet/marvell/ |
A D | mvneta.c | 1145 pp->pool_long->port_map |= 1 << pp->id; in mvneta_bm_port_init() 1160 mvneta_bm_pool_destroy(pp->bm_priv, pp->pool_long, 1 << pp->id); in mvneta_bm_port_init() 1165 pp->pool_short->port_map |= 1 << pp->id; in mvneta_bm_port_init() 1205 mvneta_bm_pool_destroy(pp->bm_priv, pp->pool_long, 1 << pp->id); in mvneta_bm_update_mtu() 1206 mvneta_bm_pool_destroy(pp->bm_priv, pp->pool_short, 1 << pp->id); in mvneta_bm_update_mtu() 4102 mvneta_set_eee(pp, pp->eee_active && pp->tx_lpi_enabled); in mvneta_mac_link_up() 4360 free_irq(pp->dev->irq, pp); in mvneta_open() 4780 pp->rxq_def = pp->indir[0]; in mvneta_config_rss() 5349 port->pp = pp; in mvneta_probe() 5380 mvneta_bm_pool_destroy(pp->bm_priv, pp->pool_long, 1 << pp->id); in mvneta_probe() [all …]
|
/linux/drivers/pci/controller/dwc/ |
A D | pcie-designware-host.c | 195 bit = bitmap_find_free_region(pp->msi_irq_in_use, pp->num_vectors, in dw_pcie_irq_domain_alloc() 260 if (pp->msi_irq) in dw_pcie_free_msi() 270 dma_unmap_single_attrs(dev, pp->msi_data, sizeof(pp->msi_msg), in dw_pcie_free_msi() 343 ret = pp->ops->host_init(pp); in dw_pcie_host_init() 349 pp->has_msi_ctrl = !(pp->ops->msi_host_init || in dw_pcie_host_init() 361 ret = pp->ops->msi_host_init(pp); in dw_pcie_host_init() 383 pp); in dw_pcie_host_init() 389 pp->msi_data = dma_map_single_attrs(pci->dev, &pp->msi_msg, in dw_pcie_host_init() 480 pp->io_bus_addr, pp->io_size); in dw_pcie_rd_other_conf() 496 pp->io_bus_addr, pp->io_size); in dw_pcie_wr_other_conf() [all …]
|
/linux/drivers/spi/ |
A D | spi-lm70llp.c | 138 clkHigh(pp); in setsck() 140 clkLow(pp); in setsck() 174 assertCS(pp); in lm70_chipselect() 176 deassertCS(pp); in lm70_chipselect() 223 pp->port = p; in spi_lm70llp_attach() 233 pp->pd = pd; in spi_lm70llp_attach() 266 pp->info.controller_data = pp; in spi_lm70llp_attach() 267 pp->spidev_lm70 = spi_new_device(pp->bitbang.master, &pp->info); in spi_lm70llp_attach() 268 if (pp->spidev_lm70) in spi_lm70llp_attach() 278 lm70llp = pp; in spi_lm70llp_attach() [all …]
|
A D | spi-butterfly.c | 79 pp->lastbyte = byte; in setsck() 95 pp->lastbyte = byte; in setmosi() 215 pp->port = p; in butterfly_attach() 223 pp->pd = pd; in butterfly_attach() 241 parport_write_data(pp->port, pp->lastbyte); in butterfly_attach() 246 parport_write_data(pp->port, pp->lastbyte); in butterfly_attach() 265 pp->info[0].controller_data = pp; in butterfly_attach() 266 pp->dataflash = spi_new_device(pp->bitbang.master, &pp->info[0]); in butterfly_attach() 267 if (pp->dataflash) in butterfly_attach() 272 butterfly = pp; in butterfly_attach() [all …]
|
/linux/drivers/char/ |
A D | ppdev.c | 183 parport_set_timeout(pp->pdev, pp->default_inactivity); in pp_read() 263 parport_set_timeout(pp->pdev, pp->default_inactivity); in pp_write() 275 parport_write_control(pp->pdev->port, pp->irqctl); in pp_irq() 401 parport_set_timeout(pp->pdev, pp->default_inactivity); in pp_do_ioctl() 432 pp->pdev->port->ieee1284.phase = pp->state.phase; in pp_do_ioctl() 686 if (!pp) in pp_open() 690 pp->state.phase = init_phase(pp->state.mode); in pp_open() 713 if (!(pp->flags & PP_CLAIMED) && pp->pdev && in pp_release() 726 } else if ((pp->flags & PP_CLAIMED) && pp->pdev && in pp_release() 736 if ((pp->flags & PP_CLAIMED) && pp->pdev) { in pp_release() [all …]
|
/linux/drivers/usb/misc/ |
A D | uss720.c | 49 struct parport *pp; member 98 struct parport *pp; in async_complete() local 104 pp = priv->pp; in async_complete() 201 if (!pp) in get_1284_register() 233 if (!pp) in set_1284_register() 677 struct parport *pp; in uss720_probe() local 708 priv->pp = NULL; in uss720_probe() 714 if (!pp) { in uss720_probe() 719 priv->pp = pp; in uss720_probe() 755 if (pp) { in uss720_disconnect() [all …]
|
/linux/arch/arm/mach-mv78xx0/ |
A D | pcie.c | 80 snprintf(pp->mem_space_name, sizeof(pp->mem_space_name), in mv78xx0_pcie_preinit() 81 "PCIe %d.%d MEM", pp->maj, pp->min); in mv78xx0_pcie_preinit() 82 pp->mem_space_name[sizeof(pp->mem_space_name) - 1] = 0; in mv78xx0_pcie_preinit() 83 pp->res.name = pp->mem_space_name; in mv78xx0_pcie_preinit() 93 MV78XX0_MBUS_PCIE_MEM_ATTR(pp->maj, pp->min), in mv78xx0_pcie_preinit() 94 pp->res.start, resource_size(&pp->res)); in mv78xx0_pcie_preinit() 96 MV78XX0_MBUS_PCIE_IO_ATTR(pp->maj, pp->min), in mv78xx0_pcie_preinit() 221 return IRQ_MV78XX0_PCIE_00 + (pp->maj << 2) + pp->min; in mv78xx0_pcie_map_irq() 241 pp->maj = maj; in add_pcie_port() 242 pp->min = min; in add_pcie_port() [all …]
|
/linux/arch/arm/mach-dove/ |
A D | pcie.c | 40 struct pcie_port *pp; in dove_pcie_setup() local 45 pp = &pcie_port[nr]; in dove_pcie_setup() 56 if (pp->index == 0) in dove_pcie_setup() 64 snprintf(pp->mem_space_name, sizeof(pp->mem_space_name), in dove_pcie_setup() 66 pp->mem_space_name[sizeof(pp->mem_space_name) - 1] = 0; in dove_pcie_setup() 67 pp->res.name = pp->mem_space_name; in dove_pcie_setup() 68 if (pp->index == 0) { in dove_pcie_setup() 70 pp->res.end = pp->res.start + DOVE_PCIE0_MEM_SIZE - 1; in dove_pcie_setup() 73 pp->res.end = pp->res.start + DOVE_PCIE1_MEM_SIZE - 1; in dove_pcie_setup() 204 pp->base = base; in add_pcie_port() [all …]
|
/linux/net/netfilter/ipvs/ |
A D | ip_vs_proto.c | 56 if (pp->init != NULL) in register_ip_vs_protocol() 57 pp->init(pp); in register_ip_vs_protocol() 75 pd->pp = pp; /* For speed issues */ in register_ip_vs_proto_netns() 103 if (*pp_p == pp) { in unregister_ip_vs_protocol() 104 *pp_p = pp->next; in unregister_ip_vs_protocol() 105 if (pp->exit != NULL) in unregister_ip_vs_protocol() 106 pp->exit(pp); in unregister_ip_vs_protocol() 142 struct ip_vs_protocol *pp; in ip_vs_proto_get() local 145 for (pp = ip_vs_proto_table[hash]; pp; pp = pp->next) { in ip_vs_proto_get() 147 return pp; in ip_vs_proto_get() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/ |
A D | dm_pp_smu.h | 50 const void *pp; member 103 void (*set_display_count)(struct pp_smu *pp, int count); 112 void (*set_wm_ranges)(struct pp_smu *pp, 124 void (*set_min_deep_sleep_dcfclk)(struct pp_smu *pp, int mhz); 137 void (*set_pme_wa_enable)(struct pp_smu *pp); 197 enum pp_smu_status (*set_pme_wa_enable)(struct pp_smu *pp); 202 enum pp_smu_status (*set_voltage_by_freq)(struct pp_smu *pp, 217 enum pp_smu_status (*set_wm_ranges)(struct pp_smu *pp, 228 enum pp_smu_status (*get_uclk_dpm_states)(struct pp_smu *pp, 279 enum pp_smu_status (*set_wm_ranges)(struct pp_smu *pp, [all …]
|
/linux/drivers/ata/ |
A D | sata_nv.c | 1118 pp = devm_kzalloc(dev, sizeof(*pp), GFP_KERNEL); in nv_adma_port_start() 1119 if (!pp) in nv_adma_port_start() 1126 pp->notifier_clear_block = pp->gen_block + in nv_adma_port_start() 1774 pp->qc_active, pp->defer_queue.defer_bits, pp->last_issue_tag, in nv_swncq_ncq_stop() 1775 pp->dhfis_bits, pp->dmafis_bits, pp->sdbfis_bits); in nv_swncq_ncq_stop() 2117 if (pp->qc_active & pp->dhfis_bits) in nv_swncq_sdbfis() 2121 (pp->qc_active ^ pp->dhfis_bits)) in nv_swncq_sdbfis() 2131 pp->defer_queue.defer_bits, pp->dhfis_bits, in nv_swncq_sdbfis() 2132 pp->dmafis_bits, pp->last_issue_tag); in nv_swncq_sdbfis() 2242 ap->print_id, pp->qc_active, pp->dhfis_bits, in nv_swncq_host_interrupt() [all …]
|
/linux/drivers/gpu/drm/msm/disp/dpu1/ |
A D | dpu_hw_pingpong.c | 69 c = &pp->hw; in dpu_hw_pp_setup_dither() 102 c = &pp->hw; in dpu_hw_pp_setup_te_config() 154 if (!pp) in dpu_hw_pp_poll_timeout_wr_ptr() 157 c = &pp->hw; in dpu_hw_pp_poll_timeout_wr_ptr() 168 if (!pp) in dpu_hw_pp_enable_te() 170 c = &pp->hw; in dpu_hw_pp_enable_te() 183 if (!pp) in dpu_hw_pp_connect_external_te() 186 c = &pp->hw; in dpu_hw_pp_connect_external_te() 207 c = &pp->hw; in dpu_hw_pp_get_vsync_info() 228 if (!pp) in dpu_hw_pp_get_line_count() [all …]
|
/linux/drivers/gpu/drm/msm/disp/mdp5/ |
A D | mdp5_cfg.c | 85 .pp = { 172 .pp = { 272 .pp = { 417 .pp = { 524 .pp = { 629 .pp = { 736 .pp = { 824 .pp = { 910 .pp = { 1012 .pp = { [all …]
|
/linux/drivers/tty/serial/ |
A D | altera_uart.c | 107 sigs |= (pp->sigs & TIOCM_RTS); in altera_uart_get_mctrl() 114 unsigned short imr = pp->imr; in altera_uart_update_ctrl_reg() 120 if (!pp->port.irq) in altera_uart_update_ctrl_reg() 130 pp->sigs = sigs; in altera_uart_set_mctrl() 135 altera_uart_update_ctrl_reg(pp); in altera_uart_set_mctrl() 143 altera_uart_update_ctrl_reg(pp); in altera_uart_start_tx() 291 altera_uart_rx_chars(pp); in altera_uart_interrupt() 293 altera_uart_tx_chars(pp); in altera_uart_interrupt() 301 struct altera_uart *pp = from_timer(pp, t, tmr); in altera_uart_timer() local 357 pp->imr = 0; in altera_uart_shutdown() [all …]
|
/linux/drivers/macintosh/ |
A D | smu.c | 1090 if (pp == 0) in smu_open() 1123 if (pp->busy) in smu_write() 1150 pp->busy = 1; in smu_write() 1162 pp->cmd.data_buf = pp->buffer; in smu_write() 1163 pp->cmd.reply_buf = pp->buffer; in smu_write() 1165 pp->cmd.misc = pp; in smu_write() 1223 pp->busy = 0; in smu_read_command() 1257 if (pp == 0) in smu_fpoll() 1264 if (pp->busy && pp->cmd.status != 1) in smu_fpoll() 1280 if (pp == 0) in smu_release() [all …]
|
/linux/drivers/staging/ks7010/ |
A D | ks_hostif.c | 1247 if (!pp) in hostif_mib_get_request() 1266 if (!pp) in hostif_mib_set_request() 1309 if (!pp) in hostif_start_request() 1355 if (!pp) in hostif_ps_adhoc_set_request() 1370 if (!pp) in hostif_infrastructure_set_request() 1409 if (!pp) in hostif_adhoc_set_request() 1426 if (!pp) in hostif_adhoc_set2_request() 1446 if (!pp) in hostif_stop_request() 1458 if (!pp) in hostif_phy_information_request() 1479 if (!pp) in hostif_power_mgmt_request() [all …]
|
/linux/drivers/net/hamradio/ |
A D | baycom_par.c | 196 pp->ops->write_data(pp, val); in par96_tx() 197 pp->ops->write_data(pp, val | PAR96_BURST); in par96_tx() 214 if (pp->ops->read_status(pp) & PAR96_RXBIT) in par96_rx() 219 pp->ops->write_data(pp, PAR97_POWER | PAR96_PTT); in par96_rx() 225 pp->ops->write_data(pp, PAR97_POWER | PAR96_PTT | PAR96_BURST); in par96_rx() 305 if (!pp) { in par96_open() 309 if (pp->irq < 0) { in par96_open() 348 pp->ops->data_forward(pp); in par96_open() 351 pp->ops->enable_irq(pp); in par96_open() 368 pp->ops->disable_irq(pp); in par96_close() [all …]
|
/linux/drivers/net/ethernet/cisco/enic/ |
A D | enic_pp.c | 72 struct enic_port_profile *pp; in enic_set_port_profile() local 85 if (!(pp->set & ENIC_SET_NAME) || !strlen(pp->name)) in enic_set_port_profile() 95 strlen(pp->name) + 1, pp->name); in enic_set_port_profile() 98 client_mac = pp->mac_addr; in enic_set_port_profile() 124 if (pp->set & ENIC_SET_HOST) { in enic_set_port_profile() 199 struct enic_port_profile *pp; in enic_pp_disassociate() local 209 pp->mac_addr); in enic_pp_disassociate() 220 struct enic_port_profile *pp; in enic_pp_preassociate_rr() local 260 struct enic_port_profile *pp; in enic_pp_associate() local 296 pp->mac_addr); in enic_pp_associate() [all …]
|
/linux/drivers/of/ |
A D | kobj.c | 36 return memory_read_from_buffer(buf, count, &offset, pp->value, pp->length); in of_node_property_read() 76 sysfs_bin_attr_init(&pp->attr); in __of_add_property_sysfs() 77 pp->attr.attr.name = safe_name(&np->kobj, pp->name); in __of_add_property_sysfs() 79 pp->attr.size = secure ? 0 : pp->length; in __of_add_property_sysfs() 80 pp->attr.read = of_node_property_read; in __of_add_property_sysfs() 119 struct property *pp; in __of_attach_node_sysfs() local 142 for_each_property_of_node(np, pp) in __of_attach_node_sysfs() 143 __of_add_property_sysfs(np, pp); in __of_attach_node_sysfs() 151 struct property *pp; in __of_detach_node_sysfs() local 159 for_each_property_of_node(np, pp) in __of_detach_node_sysfs() [all …]
|
/linux/fs/jffs2/ |
A D | compr_rubin.c | 42 struct pushpull pp; member 51 pp->buf = buf; in init_pushpull() 52 pp->buflen = buflen; in init_pushpull() 53 pp->ofs = ofs; in init_pushpull() 59 if (pp->ofs >= pp->buflen - (use_reserved?0:pp->reserve)) in pushbit() 63 pp->buf[pp->ofs >> 3] |= (1<<(7-(pp->ofs & 7))); in pushbit() 65 pp->buf[pp->ofs >> 3] &= ~(1<<(7-(pp->ofs & 7))); in pushbit() 67 pp->ofs++; in pushbit() 74 return pp->ofs; in pushedbits() 81 bit = (pp->buf[pp->ofs >> 3] >> (7-(pp->ofs & 7))) & 1; in pullbit() [all …]
|
/linux/arch/mips/kernel/ |
A D | pm-cps.c | 233 uasm_i_nop(pp); in cps_gen_cache_routine() 284 uasm_i_ehb(pp); in cps_gen_flush_fsb() 286 uasm_i_ehb(pp); in cps_gen_flush_fsb() 310 uasm_i_sync(pp, __SYNC_full); in cps_gen_flush_fsb() 311 uasm_i_ehb(pp); in cps_gen_flush_fsb() 318 uasm_i_nop(pp); in cps_gen_flush_fsb() 322 uasm_i_ehb(pp); in cps_gen_flush_fsb() 324 uasm_i_ehb(pp); in cps_gen_flush_fsb() 335 uasm_i_ll(pp, t1, 0, r_addr); in cps_gen_set_top_bit() 336 uasm_i_or(pp, t1, t1, t0); in cps_gen_set_top_bit() [all …]
|
/linux/drivers/mtd/parsers/ |
A D | ofpart_core.c | 51 struct device_node *pp; in parse_fixed_partitions() local 87 for_each_child_of_node(ofpart_node, pp) { in parse_fixed_partitions() 110 reg = of_get_property(pp, "reg", &len); in parse_fixed_partitions() 114 master->name, pp, in parse_fixed_partitions() 123 a_cells = of_n_addr_cells(pp); in parse_fixed_partitions() 124 s_cells = of_n_size_cells(pp); in parse_fixed_partitions() 127 master->name, pp, in parse_fixed_partitions() 134 parts[i].of_node = pp; in parse_fixed_partitions() 144 if (of_get_property(pp, "lock", &len)) in parse_fixed_partitions() 164 master->name, pp, mtd_node); in parse_fixed_partitions() [all …]
|
/linux/drivers/infiniband/core/ |
A D | security.c | 71 ret = ib_get_cached_pkey(dev, pp->port_num, pp->pkey_index, pkey); in get_pkey_and_subnet_prefix() 215 pp->sec)) { in check_pkey_qps() 217 list_add(&pp->to_error_list, in check_pkey_qps() 224 list_for_each_entry_safe(pp, in check_pkey_qps() 228 mutex_lock(&pp->sec->mutex); in check_pkey_qps() 229 qp_to_error(pp->sec); in check_pkey_qps() 230 list_del(&pp->to_error_list); in check_pkey_qps() 232 comp = pp->sec->destroying; in check_pkey_qps() 248 u32 port_num = pp->port_num; in port_pkey_list_insert() 254 dev = pp->sec->dev; in port_pkey_list_insert() [all …]
|
/linux/arch/sparc/kernel/ |
A D | of_device_64.c | 379 dp = pp; in build_device_resources() 380 pp = dp->parent; in build_device_resources() 381 if (!pp) { in build_device_resources() 468 if (pp->irq_trans) in apply_interrupt_map() 469 return pp; in apply_interrupt_map() 498 if (pp->irq_trans) { in pci_irq_swizzle() 565 pp = dp->parent; in build_one_device_irq() 567 while (pp) { in build_one_device_irq() 608 ip = pp; in build_one_device_irq() 612 dp = pp; in build_one_device_irq() [all …]
|