Searched refs:platform_data (Results 1 – 15 of 15) sorted by relevance
| /freebsd-12.1/sys/dev/aic7xxx/ |
| H A D | aic7xxx_osm.h | 93 ((sim) == ahc->platform_data->sim_b) 95 (((sim) == ahc->platform_data->sim_b) ? 'B' : 'A') 97 (((sim) == ahc->platform_data->sim_b) ? ahc->our_id_b : ahc->our_id) 99 (((sim) == ahc->platform_data->sim_b) ? ahc->platform_data->path_b \ 100 : ahc->platform_data->path) 106 (SCB_GET_CHANNEL(ahc, scb) == 'A' ? (ahc)->platform_data->sim \ 107 : (ahc)->platform_data->sim_b) 198 mtx_init(&ahc->platform_data->mtx, "ahc_lock", NULL, MTX_DEF); in ahc_lockinit() 204 mtx_lock(&ahc->platform_data->mtx); in ahc_lock() 210 mtx_unlock(&ahc->platform_data->mtx); in ahc_unlock()
|
| H A D | aic_osm_lib.c | 79 &aic->platform_data->recovery_thread, in aic_spawn_recovery_thread() 92 if (aic->platform_data->recovery_thread == NULL) { in aic_terminate_recovery_thread() 101 msleep(aic->platform_data, &aic->platform_data->mtx, PUSER, "thtrm", 0); in aic_terminate_recovery_thread() 115 msleep(aic, &aic->platform_data->mtx, PUSER, "idle", 0); in aic_recovery_thread() 122 aic->platform_data->recovery_thread = NULL; in aic_recovery_thread() 123 wakeup(aic->platform_data); in aic_recovery_thread()
|
| H A D | ahd_pci.c | 228 ahd->platform_data->regs_res_type[1] = regs_type; in ahd_pci_map_registers() 229 ahd->platform_data->regs_res_id[1] = regs_id2; in ahd_pci_map_registers() 230 ahd->platform_data->regs[1] = regs2; in ahd_pci_map_registers() 232 ahd->platform_data->regs_res_type[0] = regs_type; in ahd_pci_map_registers() 233 ahd->platform_data->regs_res_id[0] = regs_id; in ahd_pci_map_registers() 234 ahd->platform_data->regs[0] = regs; in ahd_pci_map_registers() 244 ahd->platform_data->irq = in ahd_pci_map_int() 247 if (ahd->platform_data->irq == NULL) in ahd_pci_map_int() 249 ahd->platform_data->irq_res_type = SYS_RES_IRQ; in ahd_pci_map_int()
|
| H A D | aic79xx_osm.h | 89 (ahd->platform_data->path) 95 ((ahd)->platform_data->sim) 202 mtx_init(&ahd->platform_data->mtx, "ahd_lock", NULL, MTX_DEF); in ahd_lockinit() 208 mtx_lock(&ahd->platform_data->mtx); in ahd_lock() 214 mtx_unlock(&ahd->platform_data->mtx); in ahd_unlock() 228 xpt_freeze_simq(aic->platform_data->sim, /*count*/1); in aic_freeze_simq() 234 xpt_release_simq(aic->platform_data->sim, /*run queue*/TRUE); in aic_release_simq()
|
| H A D | aic7xxx_osm.c | 98 ahc->platform_data->irq = in ahc_map_int() 134 ahc->platform_data->regs = regs; in aic7770_map_registers() 273 ahc->platform_data->sim_b = sim; in ahc_attach() 275 ahc->platform_data->sim = sim2; in ahc_attach() 276 ahc->platform_data->path = path2; in ahc_attach() 278 ahc->platform_data->sim = sim; in ahc_attach() 279 ahc->platform_data->path = path; in ahc_attach() 287 ahc->platform_data->eh = in ahc_attach() 1343 if (ahc->platform_data == NULL) in ahc_platform_alloc() 1353 pdata = ahc->platform_data; in ahc_platform_free() [all …]
|
| H A D | ahc_pci.c | 221 ahc->platform_data->regs_res_type = regs_type; in ahc_pci_map_registers() 222 ahc->platform_data->regs_res_id = regs_id; in ahc_pci_map_registers() 223 ahc->platform_data->regs = regs; in ahc_pci_map_registers()
|
| H A D | aic79xx_osm.c | 147 path_id = cam_sim_path(ahd->platform_data->sim); in ahd_create_path() 200 error = bus_setup_intr(ahd->dev_softc, ahd->platform_data->irq, in ahd_map_int() 202 ahd_platform_intr, ahd, &ahd->platform_data->ih); in ahd_map_int() 249 &ahd->platform_data->mtx, 1, /*XXX*/256, devq); in ahd_attach() 279 ahd->platform_data->sim = sim; in ahd_attach() 280 ahd->platform_data->path = path; in ahd_attach() 284 ahd->platform_data->eh = in ahd_attach() 1281 if (ahd->platform_data == NULL) in ahd_platform_alloc() 1291 pdata = ahd->platform_data; in ahd_platform_free() 1318 free(ahd->platform_data, M_DEVBUF); in ahd_platform_free() [all …]
|
| H A D | aic7xxx.h | 597 struct scb_platform_data *platform_data; member 979 struct ahc_platform_data *platform_data; member
|
| H A D | aic79xx.h | 633 struct scb_platform_data *platform_data; member 1137 struct ahd_platform_data *platform_data; member
|
| H A D | aic_osm_lib.h | 151 busdma_lock_mutex, &aic->platform_data->mtx, \
|
| H A D | aic7xxx.c | 4574 next_scb->platform_data = pdata; in ahc_alloc_scbs()
|
| H A D | aic79xx.c | 6210 next_scb->platform_data = pdata; in ahd_alloc_scbs()
|
| /freebsd-12.1/sys/contrib/vchiq/interface/vchiq_arm/ |
| H A D | vchiq_memdrv.h | 63 const VCHIQ_PLATFORM_DATA_T * platform_data); 66 const VCHIQ_PLATFORM_DATA_T * platform_data); 69 const VCHIQ_PLATFORM_DATA_T * platform_data);
|
| H A D | vchiq_2835_arm.c | 182 vchiq_slot_zero->platform_data[VCHIQ_PLATFORM_FRAGMENTS_OFFSET_IDX] = in vchiq_platform_init() 184 vchiq_slot_zero->platform_data[VCHIQ_PLATFORM_FRAGMENTS_COUNT_IDX] = in vchiq_platform_init()
|
| H A D | vchiq_core.h | 395 int platform_data[2]; member
|