10.07.2015 Views

Intel 80310 I/O Processor Chipset AAU Coding Techniques

Intel 80310 I/O Processor Chipset AAU Coding Techniques

Intel 80310 I/O Processor Chipset AAU Coding Techniques

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Intel</strong> ® <strong>80310</strong> I/O <strong>Processor</strong> <strong>Chipset</strong> <strong>AAU</strong> <strong>Coding</strong> <strong>Techniques</strong><strong>AAU</strong> Source Code936937 return 0;938 }939940 /*=======================================================================*/941 /* Procedure: aau_set_irq_threshold() */942 /* */943 /* Description: This function readjust the threshold for the irq. */944 /* */945 /* Parameters: aau: pointer to aau device descriptor */946 /* value: value of new irq threshold */947 /* */948 /* Returns: N/A */949 /* */950 /* Notes/Assumptions: default is set at 10 */951 /* */952 /* History: Dave Jiang 08/27/01 Initial Creation */953 /*=======================================================================*/954 void aau_set_irq_threshold(u32 aau_context, int value)955 {956 iop310_aau_t *aau = (iop310_aau_t *) aau_context;957 atomic_set(&aau->irq_thresh, value);958 } /* End of aau_set_irq_threshold() */959960961 /*=======================================================================*/962 /* Procedure: aau_get_buffer() */963 /* */964 /* Description: This function acquires an SGL element for the user */965 /* and returns that. It retries multiple times if no */966 /* descriptor is available. */967 /* */968 /* Parameters: aau_context: <strong>AAU</strong> context */969 /* num_buf: number of descriptors */White Paper 61

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!