/drivers/regulator/ |
H A D | tps65217-regulator.c | 158 unsigned int data, rid = rdev_get_id(dev); local 160 if (rid < TPS65217_DCDC_1 || rid > TPS65217_LDO_4) 167 return (data & tps->info[rid]->enable_mask) ? 1 : 0; 173 unsigned int rid = rdev_get_id(dev); local 175 if (rid < TPS65217_DCDC_1 || rid > TPS65217_LDO_4) 180 tps->info[rid]->enable_mask, 181 tps->info[rid]->enable_mask, 188 unsigned int rid local 202 unsigned int selector, rid = rdev_get_id(dev); local 239 unsigned int rid = rdev_get_id(dev); local 281 unsigned int rid = rdev_get_id(dev); local [all...] |
H A D | tps6507x-regulator.c | 244 int data, rid = rdev_get_id(dev); local 247 if (rid < TPS6507X_DCDC_1 || rid > TPS6507X_LDO_2) 250 shift = TPS6507X_MAX_REG_ID - rid; 262 int rid = rdev_get_id(dev); local 265 if (rid < TPS6507X_DCDC_1 || rid > TPS6507X_LDO_2) 268 shift = TPS6507X_MAX_REG_ID - rid; 275 int rid = rdev_get_id(dev); local 278 if (rid < TPS6507X_DCDC_ 289 int data, rid = rdev_get_id(dev); local 335 int data, rid = rdev_get_id(dev); local 383 int rid = rdev_get_id(dev); local [all...] |
H A D | max8997.c | 136 int rid = rdev_get_id(rdev); local 138 if (rid == MAX8997_ESAFEOUT1 || rid == MAX8997_ESAFEOUT2) { 159 int rid = rdev_get_id(rdev); local 161 if (rid != MAX8997_CHARGER_CV) 182 int rid = rdev_get_id(rdev); local 185 if (rid >= ARRAY_SIZE(reg_voltage_map) || 186 rid < 0) 189 desc = reg_voltage_map[rid]; 203 int rid local 323 int rid = rdev_get_id(rdev); local 384 int rid = rdev_get_id(rdev); local 444 int rid = rdev_get_id(rdev); local 501 int rid = rdev_get_id(rdev); local 562 int rid = rdev_get_id(rdev); local 639 int rid = rdev_get_id(rdev); local 722 int rid = rdev_get_id(rdev); local 764 int rid = rdev_get_id(rdev); local [all...] |
H A D | tps6586x-regulator.c | 82 int rid = rdev_get_id(rdev); local 85 if ((rid == TPS6586X_ID_LDO_0) && (selector == 0))
|
/drivers/net/wireless/orinoco/ |
H A D | hermes.h | 388 int (*read_ltv)(struct hermes *hw, int bap, u16 rid, unsigned buflen, 390 int (*write_ltv)(struct hermes *hw, int bap, u16 rid, 460 static inline int hermes_inquire(struct hermes *hw, u16 rid) argument 462 return hw->ops->cmd_wait(hw, HERMES_CMD_INQUIRE, rid, NULL); 496 #define HERMES_READ_RECORD(hw, bap, rid, buf) \ 497 (hw->ops->read_ltv((hw), (bap), (rid), sizeof(*buf), NULL, (buf))) 498 #define HERMES_WRITE_RECORD(hw, bap, rid, buf) \ 499 (hw->ops->write_ltv((hw), (bap), (rid), \ 502 static inline int hermes_read_wordrec(struct hermes *hw, int bap, u16 rid, argument 508 err = HERMES_READ_RECORD(hw, bap, rid, 513 hermes_write_wordrec(struct hermes *hw, int bap, u16 rid, u16 word) argument [all...] |
H A D | hermes.c | 482 static int hermes_read_ltv(struct hermes *hw, int bap, u16 rid, argument 493 err = hermes_docmd_wait(hw, HERMES_CMD_ACCESS, rid, NULL); 497 err = hermes_bap_seek(hw, bap, rid, 0); 511 if (rtype != rid) 513 "rid (0x%04x) does not match type (0x%04x)\n", 514 hw->iobase, __func__, rid, rtype); 518 "(rid=0x%04x, len=0x%04x)\n", hw->iobase, 519 HERMES_RECLEN_TO_BYTES(rlength), bufsize, rid, rlength); 527 static int hermes_write_ltv(struct hermes *hw, int bap, u16 rid, argument 537 err = hermes_bap_seek(hw, bap, rid, [all...] |
H A D | orinoco_usb.c | 746 static int ezusb_fill_req(struct ezusb_packet *req, u16 length, u16 rid, argument 760 req->hermes_rid = cpu_to_le16(rid); 962 static int ezusb_write_ltv(struct hermes *hw, int bap, u16 rid, argument 979 ctx = ezusb_alloc_ctx(upriv, rid, EZUSB_RID_ACK); 983 if (rid == EZUSB_RID_TX) 992 static int ezusb_read_ltv(struct hermes *hw, int bap, u16 rid, argument 1001 ctx = ezusb_alloc_ctx(upriv, rid, rid);
|
H A D | wext.c | 1030 * Instead it just calls the key mgmt rid 1274 int rid = data->flags; local 1284 if (rid < 0xfc00 || rid > 0xffff) 1290 err = hw->ops->read_ltv(hw, USER_BAP, rid, MAX_RID_LEN, &length,
|
/drivers/net/wireless/hostap/ |
H A D | hostap.h | 22 int hostap_set_word(struct net_device *dev, int rid, u16 val); 23 int hostap_set_string(struct net_device *dev, int rid, const char *val);
|
H A D | hostap_common.h | 352 offsetof(struct prism2_hostapd_param, u.rid.data) 387 u16 rid; member in struct:prism2_hostapd_param::__anon3474::__anon3479 390 } rid; member in union:prism2_hostapd_param::__anon3474
|
H A D | hostap_hw.c | 801 static int hfa384x_get_rid(struct net_device *dev, u16 rid, void *buf, int len, argument 814 "f/w\n", dev->name, rid, len); 827 res = hfa384x_cmd(dev, HFA384X_CMDCODE_ACCESS, rid, NULL, NULL); 830 "(res=%d, rid=%04x, len=%d)\n", 831 dev->name, res, rid, len); 838 res = hfa384x_setup_bap(dev, BAP0, rid, 0); 850 "rid=0x%04x, len=%d (expected %d)\n", 851 dev->name, rid, rlen, len); 863 printk(KERN_DEBUG "%s: hfa384x_get_rid (rid=%04x, " 864 "len=%d) - failed - res=%d\n", dev->name, rid, 875 hfa384x_set_rid(struct net_device *dev, u16 rid, void *buf, int len) argument 1043 prism2_get_version_info(struct net_device *dev, u16 rid, const char *txt) argument [all...] |
H A D | hostap_main.c | 290 int hostap_set_word(struct net_device *dev, int rid, u16 val) argument 295 return iface->local->func->set_rid(dev, rid, &tmp, 2); 299 int hostap_set_string(struct net_device *dev, int rid, const char *val) argument 313 return iface->local->func->set_rid(dev, rid, &buf, MAX_SSID_LEN + 2);
|
H A D | hostap_ioctl.c | 2989 int rid = *i; local 2992 printk(KERN_DEBUG "%s: Set RID[0x%X] = %d\n", dev->name, rid, value); 2994 if (hostap_set_word(dev, rid, value)) 3650 res = local->func->get_rid(local->dev, param->u.rid.rid, 3651 param->u.rid.data, param->u.rid.len, 0); 3653 param->u.rid.len = res; 3668 if (max_len < 0 || max_len < param->u.rid.len) 3671 return local->func->set_rid(local->dev, param->u.rid [all...] |
/drivers/staging/wlan-ng/ |
H A D | hfa384x.h | 802 u16 rid; member in struct:hfa384x_usb_wridreq 809 u16 rid; member in struct:hfa384x_usb_rridreq 855 u16 rid; member in struct:hfa384x_usb_rridresp 1132 u16 rid; member in struct:hfa384x_rridresult 1368 int hfa384x_drvr_getconfig(hfa384x_t *hw, u16 rid, void *buf, u16 len); 1373 int hfa384x_drvr_setconfig(hfa384x_t *hw, u16 rid, void *buf, u16 len); 1375 static inline int hfa384x_drvr_getconfig16(hfa384x_t *hw, u16 rid, void *val) argument 1378 result = hfa384x_drvr_getconfig(hw, rid, val, sizeof(u16)); 1384 static inline int hfa384x_drvr_setconfig16(hfa384x_t *hw, u16 rid, u16 val) argument 1387 return hfa384x_drvr_setconfig(hw, rid, 1401 hfa384x_drvr_setconfig16_async(hfa384x_t *hw, u16 rid, u16 val) argument [all...] |
H A D | hfa384x_usb.c | 240 u16 rid, 248 u16 rid, 656 result->rid = le16_to_cpu(rridresp->rid); 719 "RID len mismatch, rid=0x%04x hlen=%d fwlen=%d\n", 720 rridresult.rid, 860 rridresult.rid = le16_to_cpu(ctlx->outbuf.rridreq.rid); 884 hfa384x_dorrid_wait(hfa384x_t *hw, u16 rid, void *riddata, argument 888 rid, riddat 892 hfa384x_dorrid_async(hfa384x_t *hw, u16 rid, void *riddata, unsigned int riddatalen, ctlx_cmdcb_t cmdcb, ctlx_usercb_t usercb, void *usercb_data) argument 903 hfa384x_dowrid_wait(hfa384x_t *hw, u16 rid, void *riddata, unsigned int riddatalen) argument 911 hfa384x_dowrid_async(hfa384x_t *hw, u16 rid, void *riddata, unsigned int riddatalen, ctlx_cmdcb_t cmdcb, ctlx_usercb_t usercb, void *usercb_data) argument 1450 hfa384x_dorrid(hfa384x_t *hw, enum cmd_mode mode, u16 rid, void *riddata, unsigned int riddatalen, ctlx_cmdcb_t cmdcb, ctlx_usercb_t usercb, void *usercb_data) argument 1531 hfa384x_dowrid(hfa384x_t *hw, enum cmd_mode mode, u16 rid, void *riddata, unsigned int riddatalen, ctlx_cmdcb_t cmdcb, ctlx_usercb_t usercb, void *usercb_data) argument 2141 hfa384x_drvr_getconfig(hfa384x_t *hw, u16 rid, void *buf, u16 len) argument 2178 hfa384x_drvr_getconfig_async(hfa384x_t *hw, u16 rid, ctlx_usercb_t usercb, void *usercb_data) argument 2209 hfa384x_drvr_setconfig_async(hfa384x_t *hw, u16 rid, void *buf, u16 len, ctlx_usercb_t usercb, void *usercb_data) argument 2531 hfa384x_drvr_setconfig(hfa384x_t *hw, u16 rid, void *buf, u16 len) argument [all...] |
/drivers/scsi/qla2xxx/ |
H A D | qla_mid.c | 618 uint8_t vp_idx, uint16_t rid, int rsp_que, uint8_t qos) 654 req->rid = rid; 659 "queue_id=%d rid=%d vp_idx=%d qos=%d.\n", 660 que_id, req->rid, req->vp_idx, req->qos); 662 "queue_id=%d rid=%d vp_idx=%d qos=%d.\n", 663 que_id, req->rid, req->vp_idx, req->qos); 669 if (MSB(req->rid)) 672 if (LSB(req->rid)) 736 uint8_t vp_idx, uint16_t rid, in 617 qla25xx_create_req_que(struct qla_hw_data *ha, uint16_t options, uint8_t vp_idx, uint16_t rid, int rsp_que, uint8_t qos) argument 735 qla25xx_create_rsp_que(struct qla_hw_data *ha, uint16_t options, uint8_t vp_idx, uint16_t rid, int req) argument [all...] |
/drivers/dma/ioat/ |
H A D | dca.c | 117 u16 rid; /* requester id, as used by IOAT */ member in struct:ioat_dca_slot 163 ioatdca->req_slots[i].rid = id; 190 ioatdca->req_slots[i].rid = 0; 337 ioatdca->req_slots[i].rid = id; 368 ioatdca->req_slots[i].rid = 0; 512 ioatdca->req_slots[i].rid = id; 543 ioatdca->req_slots[i].rid = 0;
|
/drivers/net/wireless/ |
H A D | zd1201.c | 411 static int zd1201_getconfig(struct zd1201 *zd, int rid, void *riddata, argument 422 err = zd1201_docmd(zd, ZD1201_CMDCODE_ACCESS, rid, 0, 0); 437 if ((code & ZD1201_ACCESSBIT) != ZD1201_ACCESSBIT || rid_fid != rid ) 442 dev_dbg(&zd->usb->dev, "riddatalen mismatches, expected=%u, (packet=%u) length=%u, rid=0x%04X, rid_fid=0x%04X\n", 443 riddatalen, zd->rxlen, length, rid, rid_fid); 449 err = zd1201_docmd(zd, ZD1201_CMDCODE_SETRXRID, rid, 0, length); 511 static int zd1201_setconfig(struct zd1201 *zd, int rid, void *buf, int len, int wait) argument 542 *(__le16*)&request[6] = cpu_to_le16(rid); 570 *((__le16*)&request[6]) = cpu_to_le16(rid); 581 if (!zd->rxlen || le16_to_cpu(*(__le16*)&zd->rxdata[6]) != rid) { 593 zd1201_getconfig16(struct zd1201 *zd, int rid, short *val) argument 605 zd1201_setconfig16(struct zd1201 *zd, int rid, short val) argument 1397 int err, rid; local [all...] |
H A D | airo.c | 495 * so all rid access should use the read/writeXXXRid routines. 784 u8 rates[8]; /* Same as rates for config rid */ 880 #define AIROGCAP 0 // Capability rid 929 unsigned short ridnum; // rid number 977 unsigned int rid: 16; member in struct:__anon3166 1112 static int bap_setup(struct airo_info*, u16 rid, u16 offset, int whichbap); 1119 static int PC4500_accessrid(struct airo_info*, u16 rid, u16 accmd); 1120 static int PC4500_readrid(struct airo_info*, u16 rid, void *pBuf, int len, int lock); 1121 static int PC4500_writerid(struct airo_info*, u16 rid, const void 1123 static int do_writerid( struct airo_info*, u16 rid, cons 1864 readStatsRid(struct airo_info*ai, StatsRid *sr, int rid, int lock) argument 3981 bap_setup(struct airo_info *ai, u16 rid, u16 offset, int whichbap ) argument 4094 PC4500_accessrid(struct airo_info *ai, u16 rid, u16 accmd) argument 4113 PC4500_readrid(struct airo_info *ai, u16 rid, void *pBuf, int len, int lock) argument 4178 PC4500_writerid(struct airo_info *ai, u16 rid, const void *pBuf, int len, int lock) argument 5181 do_writerid( struct airo_info *ai, u16 rid, const void *rid_data, int len, int dummy ) argument [all...] |
/drivers/staging/vt6655/ |
H A D | iocmd.h | 441 u16 rid; member in struct:viawget_hostapd_param::__anon5544::__anon5549 444 } rid; member in union:viawget_hostapd_param::__anon5544
|
/drivers/staging/vt6656/ |
H A D | iocmd.h | 417 u16 rid; member in struct:viawget_hostapd_param::__anon5572::__anon5577 420 } rid; member in union:viawget_hostapd_param::__anon5572
|
/drivers/net/ethernet/brocade/bna/ |
H A D | bna_tx_rx.c | 286 bfi_msgq_mhdr_set(req->mh, BFI_MC_ENET, req_type, 0, rxf->rx->rid); 302 0, rxf->rx->rid); 318 0, rxf->rx->rid); 333 BFI_ENET_H2I_MAC_MCAST_FILTER_REQ, 0, rxf->rx->rid); 348 BFI_ENET_H2I_RX_PROMISCUOUS_REQ, 0, rxf->rx->rid); 365 BFI_ENET_H2I_RX_VLAN_SET_REQ, 0, rxf->rx->rid); 388 BFI_ENET_H2I_RX_VLAN_STRIP_ENABLE_REQ, 0, rxf->rx->rid); 403 BFI_ENET_H2I_RIT_CFG_REQ, 0, rxf->rx->rid); 420 BFI_ENET_H2I_RSS_CFG_REQ, 0, rxf->rx->rid); 439 BFI_ENET_H2I_RSS_ENABLE_REQ, 0, rxf->rx->rid); [all...] |
H A D | bna_types.h | 505 int rid; member in struct:bna_tx 822 int rid; member in struct:bna_rx
|
H A D | bna.h | 337 if (__tx->rid == (_rid)) { \ 352 if (__rx->rid == (_rid)) { \
|
/drivers/message/fusion/ |
H A D | mptfc.c | 404 mptfc_generate_rport_ids(FCDevicePage0_t *pg0, struct fc_rport_identifiers *rid) argument 421 rid->node_name = ((u64)pg0->WWNN.High) << 32 | (u64)pg0->WWNN.Low; 422 rid->port_name = ((u64)pg0->WWPN.High) << 32 | (u64)pg0->WWPN.Low; 423 rid->port_id = pg0->PortIdentifier; 424 rid->roles = FC_RPORT_ROLE_UNKNOWN;
|