Searched refs:pdat (Results 1 – 5 of 5) sorted by relevance
/drivers/net/can/softing/ |
D | softing_main.c | 43 if (card->pdat->generation >= 2) { in softing_set_reset_dpram() 53 if (card->pdat->generation >= 2) { in softing_clr_reset_dpram() 348 netdev = card->net[(j + offset + 1) % card->pdat->nbus]; in softing_irq_thread() 442 (card->pdat->generation >= 2) ? in softing_enable_irq() 471 if (card->pdat->enable_irq) in softing_card_shutdown() 472 card->pdat->enable_irq(card->pdev, 0); in softing_card_shutdown() 474 if (card->pdat->reset) in softing_card_shutdown() 475 card->pdat->reset(card->pdev, 1); in softing_card_shutdown() 494 if (card->pdat->enable_irq) in softing_card_boot() 495 card->pdat->enable_irq(card->pdev, 1); in softing_card_boot() [all …]
|
D | softing_cs.c | 197 struct softing_platform_data *pdat = priv_data; in softingcs_probe_config() local 201 WARN_ON(!pdat); in softingcs_probe_config() 207 if (pdat->generation < 2) { in softingcs_probe_config() 240 const struct softing_platform_data *pdat; in softingcs_probe() local 248 pdat = softingcs_find_platform_data(pcmcia->manf_id, pcmcia->card_id); in softingcs_probe() 249 if (!pdat) in softingcs_probe() 255 ret = pcmcia_loop_config(pcmcia, softingcs_probe_config, (void *)pdat); in softingcs_probe() 280 pdev->dev.platform_data = (void *)pdat; in softingcs_probe()
|
D | softing_fw.c | 106 uint16_t *plen, const uint8_t **pdat) in fw_parse() argument 131 *pdat = &mem[8]; in fw_parse() 161 card->pdat->name, file, (unsigned int)fw->size, in softing_load_fw() 293 memcpy_toio(&card->dpram[card->pdat->app.offs], dat, len); in softing_load_app_fw() 294 iowrite32(card->pdat->app.offs + card->pdat->app.addr, in softing_load_app_fw() 391 do_div(ovf, card->pdat->freq ?: 16); in softing_initialize_timestamp() 408 do_div(rawl, card->pdat->freq ?: 16); in softing_raw2ktime() 623 if (card->pdat->generation < 2) { in softing_startstop() 686 return (card->pdat->generation < 2) ? 0xfb : 0xfa; in softing_default_output()
|
D | softing.h | 37 const struct softing_platform_data *pdat; member
|
/drivers/dma/ |
D | pl330.c | 2828 struct dma_pl330_platdata *pdat; in pl330_probe() local 2838 pdat = dev_get_platdata(&adev->dev); in pl330_probe() 2852 pl330->mcbufsz = pdat ? pdat->mcbuf_sz : 0; in pl330_probe() 2896 if (pdat) in pl330_probe() 2897 num_chan = max_t(int, pdat->nr_valid_peri, pcfg->num_chan); in pl330_probe() 2912 pch->chan.private = pdat ? &pdat->peri_id[i] : NULL; in pl330_probe() 2928 if (pdat) { in pl330_probe() 2929 pd->cap_mask = pdat->cap_mask; in pl330_probe()
|