/drivers/regulator/ |
H A D | max8997.c | 141 int rid = max8997_get_rid(rdev); local 143 if (rid == MAX8997_ESAFEOUT1 || rid == MAX8997_ESAFEOUT2) { 164 int rid = max8997_get_rid(rdev); local 166 if (rid != MAX8997_CHARGER_CV) 187 int rid = max8997_get_rid(rdev); local 190 if (rid >= ARRAY_SIZE(reg_voltage_map) || 191 rid < 0) 194 desc = reg_voltage_map[rid]; 208 int rid local 328 int rid = max8997_get_rid(rdev); local 389 int rid = max8997_get_rid(rdev); local 449 int rid = max8997_get_rid(rdev); local 506 int rid = max8997_get_rid(rdev); local 567 int rid = max8997_get_rid(rdev); local 644 int rid = max8997_get_rid(rdev); local 727 int rid = max8997_get_rid(rdev); local 769 int rid = max8997_get_rid(rdev); local [all...] |
/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,
|
H A D | hw.c | 1134 u16 rid; local 1138 rid = (priv->port_type == 3) ? HERMES_RID_CNFOWNSSID : 1141 err = hw->ops->read_ltv(hw, USER_BAP, rid, sizeof(essidbuf),
|
/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::__anon3399::__anon3404 390 } rid; member in union:prism2_hostapd_param::__anon3399
|
H A D | hostap_hw.c | 805 static int hfa384x_get_rid(struct net_device *dev, u16 rid, void *buf, int len, argument 818 "f/w\n", dev->name, rid, len); 831 res = hfa384x_cmd(dev, HFA384X_CMDCODE_ACCESS, rid, NULL, NULL); 834 "(res=%d, rid=%04x, len=%d)\n", 835 dev->name, res, rid, len); 842 res = hfa384x_setup_bap(dev, BAP0, rid, 0); 854 "rid=0x%04x, len=%d (expected %d)\n", 855 dev->name, rid, rlen, len); 867 printk(KERN_DEBUG "%s: hfa384x_get_rid (rid=%04x, " 868 "len=%d) - failed - res=%d\n", dev->name, rid, 879 hfa384x_set_rid(struct net_device *dev, u16 rid, void *buf, int len) argument 1047 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...] |
H A D | hostap_wlan.h | 136 __le16 rid; member in struct:hfa384x_rid_hdr 586 int (*get_rid)(struct net_device *dev, u16 rid, void *buf, int len, 588 int (*set_rid)(struct net_device *dev, u16 rid, void *buf, int len);
|
/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 | 496 * so all rid access should use the read/writeXXXRid routines. 785 u8 rates[8]; /* Same as rates for config rid */ 881 #define AIROGCAP 0 // Capability rid 930 unsigned short ridnum; // rid number 978 unsigned int rid: 16; member in struct:__anon3063 1113 static int bap_setup(struct airo_info*, u16 rid, u16 offset, int whichbap); 1120 static int PC4500_accessrid(struct airo_info*, u16 rid, u16 accmd); 1121 static int PC4500_readrid(struct airo_info*, u16 rid, void *pBuf, int len, int lock); 1122 static int PC4500_writerid(struct airo_info*, u16 rid, const void 1124 static int do_writerid( struct airo_info*, u16 rid, cons 1865 readStatsRid(struct airo_info*ai, StatsRid *sr, int rid, int lock) argument 3982 bap_setup(struct airo_info *ai, u16 rid, u16 offset, int whichbap ) argument 4095 PC4500_accessrid(struct airo_info *ai, u16 rid, u16 accmd) argument 4114 PC4500_readrid(struct airo_info *ai, u16 rid, void *pBuf, int len, int lock) argument 4179 PC4500_writerid(struct airo_info *ai, u16 rid, const void *pBuf, int len, int lock) argument 5182 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::__anon5348::__anon5353 444 } rid; member in union:viawget_hostapd_param::__anon5348
|
/drivers/staging/vt6656/ |
H A D | iocmd.h | 417 u16 rid; member in struct:viawget_hostapd_param::__anon5376::__anon5381 420 } rid; member in union:viawget_hostapd_param::__anon5376
|
/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;
|
/drivers/hid/usbhid/ |
H A D | hiddev.c | 79 unsigned int rid = rinfo->report_id & HID_REPORT_ID_MASK; local 105 report = report_enum->report_id_hash[rid];
|