Searched refs:optrom (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/qla2xxx/
H A Dqla_sup.c1118 void *optrom = NULL; local
1124 optrom = dma_alloc_coherent(&ha->pdev->dev, OPTROM_BURST_SIZE,
1126 if (!optrom) {
1128 "Unable to allocate memory for optrom burst write "
1164 if (optrom && (liter + OPTROM_BURST_DWORDS) <= dwords) {
1166 memcpy(optrom, dwptr, OPTROM_BURST_SIZE);
1173 "Unable to burst-write optrom segment "
1181 OPTROM_BURST_SIZE, optrom, optrom_dma);
1182 optrom = NULL;
1214 if (optrom)
2373 void *optrom; local
[all...]
H A Dqla_nx.c3016 void *optrom = NULL; local
3025 optrom = dma_alloc_coherent(&ha->pdev->dev, OPTROM_BURST_SIZE,
3027 if (!optrom) {
3029 "Unable to allocate memory for optrom "
3059 if (optrom && (liter + OPTROM_BURST_DWORDS) <= dwords) {
3061 memcpy(optrom, dwptr, OPTROM_BURST_SIZE);
3068 "Unable to burst-write optrom segment "
3076 OPTROM_BURST_SIZE, optrom, optrom_dma);
3077 optrom = NULL;
3101 if (optrom)
[all...]

Completed in 84 milliseconds