Searched refs:dma_bitmode (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/natsemi/ |
D | macsonic.c | 300 lp->dma_bitmode = SONIC_BITMODE16; in mac_onboard_sonic_probe() 308 lp->dma_bitmode = SONIC_BITMODE16; in mac_onboard_sonic_probe() 313 lp->dma_bitmode = SONIC_BITMODE32; in mac_onboard_sonic_probe() 315 lp->dma_bitmode = SONIC_BITMODE16; in mac_onboard_sonic_probe() 321 lp->dma_bitmode = SONIC_BITMODE32; in mac_onboard_sonic_probe() 325 SONIC_READ(SONIC_SR), lp->dma_bitmode ? 32 : 16, in mac_onboard_sonic_probe() 338 (lp->dma_bitmode ? SONIC_DCR_DW : 0)); in mac_onboard_sonic_probe() 407 int reg_offset, dma_bitmode; in mac_sonic_nubus_probe_board() local 416 dma_bitmode = SONIC_BITMODE32; in mac_sonic_nubus_probe_board() 423 dma_bitmode = SONIC_BITMODE32; in mac_sonic_nubus_probe_board() [all …]
|
D | sonic.h | 296 int dma_bitmode; member 382 sonic_buf_put(lp->cda, lp->dma_bitmode, in sonic_cda_put() 390 return sonic_buf_get(lp->cda, lp->dma_bitmode, in sonic_cda_get() 397 sonic_buf_put(lp->cda, lp->dma_bitmode, SONIC_CDA_CAM_ENABLE, val); in sonic_set_cam_enable() 403 return sonic_buf_get(lp->cda, lp->dma_bitmode, SONIC_CDA_CAM_ENABLE); in sonic_get_cam_enable() 410 sonic_buf_put(lp->tda, lp->dma_bitmode, in sonic_tda_put() 418 return sonic_buf_get(lp->tda, lp->dma_bitmode, in sonic_tda_get() 426 sonic_buf_put(lp->rda, lp->dma_bitmode, in sonic_rda_put() 434 return sonic_buf_get(lp->rda, lp->dma_bitmode, in sonic_rda_get() 442 sonic_buf_put(lp->rra, lp->dma_bitmode, in sonic_rra_put() [all …]
|
D | sonic.c | 64 SONIC_BUS_SCALE(lp->dma_bitmode), in sonic_alloc_descriptors() 72 SONIC_BUS_SCALE(lp->dma_bitmode); in sonic_alloc_descriptors() 74 SONIC_BUS_SCALE(lp->dma_bitmode); in sonic_alloc_descriptors() 76 SONIC_BUS_SCALE(lp->dma_bitmode); in sonic_alloc_descriptors() 80 SONIC_BUS_SCALE(lp->dma_bitmode); in sonic_alloc_descriptors() 82 SONIC_BUS_SCALE(lp->dma_bitmode); in sonic_alloc_descriptors() 84 SONIC_BUS_SCALE(lp->dma_bitmode); in sonic_alloc_descriptors() 118 if (SONIC_BUS_SCALE(lp->dma_bitmode) == 2) in sonic_open() 507 if (SONIC_BUS_SCALE(lp->dma_bitmode) == 2) in sonic_alloc_rb() 756 SONIC_WRITE(SONIC_EOBC, (SONIC_RBSIZE >> 1) - (lp->dma_bitmode ? 2 : 1)); in sonic_init() [all …]
|
D | jazzsonic.c | 152 lp->dma_bitmode = SONIC_BITMODE32; in sonic_probe1() 216 dma_free_coherent(lp->device, SIZEOF_SONIC_DESC * SONIC_BUS_SCALE(lp->dma_bitmode), in jazz_sonic_probe() 236 dma_free_coherent(lp->device, SIZEOF_SONIC_DESC * SONIC_BUS_SCALE(lp->dma_bitmode), in jazz_sonic_device_remove()
|
D | xtsonic.c | 172 lp->dma_bitmode = SONIC_BITMODE32; in sonic_probe1() 239 SIZEOF_SONIC_DESC * SONIC_BUS_SCALE(lp->dma_bitmode), in xtsonic_probe() 259 SIZEOF_SONIC_DESC * SONIC_BUS_SCALE(lp->dma_bitmode), in xtsonic_device_remove()
|