pdat 38 drivers/net/can/softing/softing.h const struct softing_platform_data *pdat; pdat 186 drivers/net/can/softing/softing_cs.c struct softing_platform_data *pdat = priv_data; pdat 190 drivers/net/can/softing/softing_cs.c WARN_ON(!pdat); pdat 196 drivers/net/can/softing/softing_cs.c if (pdat->generation < 2) { pdat 229 drivers/net/can/softing/softing_cs.c const struct softing_platform_data *pdat; pdat 237 drivers/net/can/softing/softing_cs.c pdat = softingcs_find_platform_data(pcmcia->manf_id, pcmcia->card_id); pdat 238 drivers/net/can/softing/softing_cs.c if (!pdat) pdat 244 drivers/net/can/softing/softing_cs.c ret = pcmcia_loop_config(pcmcia, softingcs_probe_config, (void *)pdat); pdat 269 drivers/net/can/softing/softing_cs.c pdev->dev.platform_data = (void *)pdat; pdat 95 drivers/net/can/softing/softing_fw.c uint16_t *plen, const uint8_t **pdat) pdat 120 drivers/net/can/softing/softing_fw.c *pdat = &mem[8]; pdat 150 drivers/net/can/softing/softing_fw.c card->pdat->name, file, (unsigned int)fw->size, pdat 282 drivers/net/can/softing/softing_fw.c memcpy_toio(&card->dpram[card->pdat->app.offs], dat, len); pdat 283 drivers/net/can/softing/softing_fw.c iowrite32(card->pdat->app.offs + card->pdat->app.addr, pdat 380 drivers/net/can/softing/softing_fw.c do_div(ovf, card->pdat->freq ?: 16); pdat 397 drivers/net/can/softing/softing_fw.c do_div(rawl, card->pdat->freq ?: 16); pdat 612 drivers/net/can/softing/softing_fw.c if (card->pdat->generation < 2) { pdat 675 drivers/net/can/softing/softing_fw.c return (card->pdat->generation < 2) ? 0xfb : 0xfa; pdat 32 drivers/net/can/softing/softing_main.c if (card->pdat->generation >= 2) { pdat 42 drivers/net/can/softing/softing_main.c if (card->pdat->generation >= 2) { pdat 337 drivers/net/can/softing/softing_main.c netdev = card->net[(j + offset + 1) % card->pdat->nbus]; pdat 431 drivers/net/can/softing/softing_main.c (card->pdat->generation >= 2) ? pdat 460 drivers/net/can/softing/softing_main.c if (card->pdat->enable_irq) pdat 461 drivers/net/can/softing/softing_main.c card->pdat->enable_irq(card->pdev, 0); pdat 463 drivers/net/can/softing/softing_main.c if (card->pdat->reset) pdat 464 drivers/net/can/softing/softing_main.c card->pdat->reset(card->pdev, 1); pdat 483 drivers/net/can/softing/softing_main.c if (card->pdat->enable_irq) pdat 484 drivers/net/can/softing/softing_main.c card->pdat->enable_irq(card->pdev, 1); pdat 487 drivers/net/can/softing/softing_main.c if (card->pdat->reset) pdat 488 drivers/net/can/softing/softing_main.c card->pdat->reset(card->pdev, 1); pdat 506 drivers/net/can/softing/softing_main.c ret = softing_load_fw(card->pdat->boot.fw, card, card->dpram, pdat 508 drivers/net/can/softing/softing_main.c card->pdat->boot.offs - card->pdat->boot.addr); pdat 512 drivers/net/can/softing/softing_main.c ret = softing_load_fw(card->pdat->load.fw, card, card->dpram, pdat 514 drivers/net/can/softing/softing_main.c card->pdat->load.offs - card->pdat->load.addr); pdat 518 drivers/net/can/softing/softing_main.c if (card->pdat->reset) pdat 519 drivers/net/can/softing/softing_main.c card->pdat->reset(card->pdev, 0); pdat 524 drivers/net/can/softing/softing_main.c ret = softing_load_app_fw(card->pdat->app.fw, card); pdat 537 drivers/net/can/softing/softing_main.c if (card->pdat->enable_irq) pdat 538 drivers/net/can/softing/softing_main.c card->pdat->enable_irq(card->pdev, 0); pdat 540 drivers/net/can/softing/softing_main.c if (card->pdat->reset) pdat 541 drivers/net/can/softing/softing_main.c card->pdat->reset(card->pdev, 1); pdat 641 drivers/net/can/softing/softing_main.c priv->btr_const.brp_max = card->pdat->max_brp; pdat 642 drivers/net/can/softing/softing_main.c priv->btr_const.sjw_max = card->pdat->max_sjw; pdat 701 drivers/net/can/softing/softing_main.c DEV_ATTR_RO_STR(firmware, pdat->app.fw); pdat 703 drivers/net/can/softing/softing_main.c DEV_ATTR_RO_STR(hardware, pdat->name); pdat 748 drivers/net/can/softing/softing_main.c const struct softing_platform_data *pdat = dev_get_platdata(&pdev->dev); pdat 756 drivers/net/can/softing/softing_main.c if (!pdat) { pdat 760 drivers/net/can/softing/softing_main.c if (pdat->nbus > ARRAY_SIZE(card->net)) { pdat 761 drivers/net/can/softing/softing_main.c dev_warn(&pdev->dev, "%u nets??\n", pdat->nbus); pdat 768 drivers/net/can/softing/softing_main.c card->pdat = pdat; pdat 798 drivers/net/can/softing/softing_main.c card->id.freq = card->pdat->freq; pdat 826 drivers/net/can/softing/softing_main.c dev_info(&card->pdev->dev, "%s ready.\n", card->pdat->name);