Home
last modified time | relevance | path

Searched refs:slotId (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-hdw.c358 unsigned int slotId = hdw->freqProgSlot; in ctrl_channelfreq_set() local
359 if ((slotId > 0) && (slotId <= FREQTABLE_SIZE)) { in ctrl_channelfreq_set()
360 hdw->freqTable[slotId-1] = v; in ctrl_channelfreq_set()
365 if (hdw->freqSlotRadio == slotId) { in ctrl_channelfreq_set()
369 if (hdw->freqSlotTelevision == slotId) { in ctrl_channelfreq_set()
399 static int ctrl_channel_set(struct pvr2_ctrl *cptr,int m,int slotId) in ctrl_channel_set() argument
403 if ((slotId < 0) || (slotId > FREQTABLE_SIZE)) return 0; in ctrl_channel_set()
404 if (slotId > 0) { in ctrl_channel_set()
405 freq = hdw->freqTable[slotId-1]; in ctrl_channel_set()
410 hdw->freqSlotRadio = slotId; in ctrl_channel_set()
[all …]
/openbmc/ipmitool/lib/
H A Dipmi_delloem.c250 static int ipmi_setled_state(struct ipmi_intf *intf, int bayId, int slotId,
253 int *bayId, int *slotId);
4149 ipmi_setled_state(struct ipmi_intf * intf, int bayId, int slotId, int state) in ipmi_setled_state() argument
4171 data[9] = slotId; /* slotid */ in ipmi_setled_state()
4235 int bayId, slotId; in ipmi_delloem_setled_main() local
4237 slotId = 0xFF; in ipmi_delloem_setled_main()
4255 ipmi_getdrivemap (intf, b, d, f, &bayId, &slotId); in ipmi_delloem_setled_main()
4266 if (ipmi_getdrivemap (intf, b, d, f, &bayId, &slotId)) { in ipmi_delloem_setled_main()
4270 return ipmi_setled_state (intf, bayId, slotId, mask); in ipmi_delloem_setled_main()