• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mca/

Lines Matching refs:slot

6  * Legacy API means the API that operates in terms of MCA slot number
37 int slot;
42 * find the one with the smallest slot number that's just greater than
43 * or equal to the required slot with a matching id */
52 if(mca_dev->slot < info->slot)
55 if(!info->mca_dev || info->mca_dev->slot >= mca_dev->slot)
64 * @start: starting slot
81 info.slot = start;
95 * again, excluding the slot we just found */
97 info.slot = info.mca_dev->slot + 1;
101 return info.mca_dev->slot;
110 * @start: starting slot
129 info.slot = start;
144 * use. Go around again, excluding the slot we just
147 info.slot = info.mca_dev->slot + 1;
151 return info.mca_dev->slot;
157 int slot;
166 if(mca_dev->slot == info->slot)
172 struct mca_device *mca_find_device_by_slot(int slot)
176 info.slot = slot;
186 * @slot: slot number to read from
193 unsigned char mca_read_stored_pos(int slot, int reg)
195 struct mca_device *mca_dev = mca_find_device_by_slot(slot);
207 * @slot: slot number to read from
216 unsigned char mca_read_pos(int slot, int reg)
218 struct mca_device *mca_dev = mca_find_device_by_slot(slot);
230 * @slot: slot number to read from
252 void mca_write_pos(int slot, int reg, unsigned char byte)
254 struct mca_device *mca_dev = mca_find_device_by_slot(slot);
265 * @slot: slot to name
269 * adapter slot. This is for user information only. Setting a
273 void mca_set_adapter_name(int slot, char* name)
275 struct mca_device *mca_dev = mca_find_device_by_slot(slot);
285 int mca_mark_as_used(int slot)
287 struct mca_device *mca_dev = mca_find_device_by_slot(slot);
303 * @slot: slot to claim
305 * Release the slot for other drives to use.
308 void mca_mark_as_unused(int slot)
310 struct mca_device *mca_dev = mca_find_device_by_slot(slot);