Home
last modified time | relevance | path

Searched refs:pdat (Results 1 – 4 of 4) sorted by relevance

/drivers/net/can/softing/
Dsofting_main.c32 if (card->pdat->generation >= 2) { in softing_set_reset_dpram()
42 if (card->pdat->generation >= 2) { in softing_clr_reset_dpram()
335 netdev = card->net[(j + offset + 1) % card->pdat->nbus]; in softing_irq_thread()
434 (card->pdat->generation >= 2) ? in softing_enable_irq()
464 if (card->pdat->enable_irq) in softing_card_shutdown()
465 card->pdat->enable_irq(card->pdev, 0); in softing_card_shutdown()
467 if (card->pdat->reset) in softing_card_shutdown()
468 card->pdat->reset(card->pdev, 1); in softing_card_shutdown()
487 if (card->pdat->enable_irq) in softing_card_boot()
488 card->pdat->enable_irq(card->pdev, 1); in softing_card_boot()
[all …]
Dsofting_cs.c186 struct softing_platform_data *pdat = priv_data; in softingcs_probe_config() local
190 WARN_ON(!pdat); in softingcs_probe_config()
196 if (pdat->generation < 2) { in softingcs_probe_config()
229 const struct softing_platform_data *pdat; in softingcs_probe() local
237 pdat = softingcs_find_platform_data(pcmcia->manf_id, pcmcia->card_id); in softingcs_probe()
238 if (!pdat) in softingcs_probe()
244 ret = pcmcia_loop_config(pcmcia, softingcs_probe_config, (void *)pdat); in softingcs_probe()
269 pdev->dev.platform_data = (void *)pdat; in softingcs_probe()
Dsofting_fw.c95 uint16_t *plen, const uint8_t **pdat) in fw_parse() argument
120 *pdat = &mem[8]; in fw_parse()
150 card->pdat->name, file, (unsigned int)fw->size, in softing_load_fw()
282 memcpy_toio(&card->dpram[card->pdat->app.offs], dat, len); in softing_load_app_fw()
283 iowrite32(card->pdat->app.offs + card->pdat->app.addr, in softing_load_app_fw()
380 do_div(ovf, card->pdat->freq ?: 16); in softing_initialize_timestamp()
397 do_div(rawl, card->pdat->freq ?: 16); in softing_raw2ktime()
613 if (card->pdat->generation < 2) { in softing_startstop()
676 return (card->pdat->generation < 2) ? 0xfb : 0xfa; in softing_default_output()
Dsofting.h38 const struct softing_platform_data *pdat; member