/drivers/infiniband/hw/mthca/ |
H A D | mthca_mcg.c | 221 int i, loc; local 241 for (loc = -1, i = 0; i < MTHCA_QP_PER_MGM; ++i) { 243 loc = i; 248 if (loc == -1) { 254 mgm->qp[loc] = mgm->qp[i - 1];
|
/drivers/macintosh/ |
H A D | windfarm_lm75_sensor.c | 96 const char *name, *loc; local 101 loc = of_get_property(client->dev.of_node, "hwsensor-location", NULL); 102 if (!loc) { 111 if (!strcmp(loc, "Hard drive") || !strcmp(loc, "DRIVE BAY")) 113 else if (!strcmp(loc, "Incoming Air Temp")) 115 else if (!strcmp(loc, "ODD Temp")) 117 else if (!strcmp(loc, "HD Temp")) 119 else if (!strcmp(loc, "PCI SLOTS")) 121 else if (!strcmp(loc, "CP [all...] |
H A D | windfarm_max6690_sensor.c | 67 const char *name, *loc; local 71 loc = of_get_property(client->dev.of_node, "hwsensor-location", NULL); 72 if (!loc) { 81 if (!strcmp(loc, "BACKSIDE") || !strcmp(loc, "SYS CTRLR AMBIENT")) 83 else if (!strcmp(loc, "NB Ambient")) 85 else if (!strcmp(loc, "GPU Ambient"))
|
H A D | windfarm_lm87_sensor.c | 104 const char *name = NULL, *loc; local 116 loc = of_get_property(np, "location", NULL); 117 if (!loc) 119 if (strstr(loc, "DIMM")) 121 else if (strstr(loc, "Processors"))
|
H A D | windfarm_ad7417_sensor.c | 238 const char *loc; local 241 loc = of_get_property(client->dev.of_node, "hwsensor-location", NULL); 242 if (!loc) { 251 if (!strncmp(loc, "CPU A", 5)) 253 else if (!strncmp(loc, "CPU B", 5)) 256 pr_err("wf_ad7417: Can't identify location %s\n", loc);
|
H A D | windfarm_smu_sat.c | 211 const char *loc, *type; local 235 loc = of_get_property(child, "location", NULL); 236 if (reg == NULL || loc == NULL) 245 if (strncmp(loc, "CPU ", 4) != 0) 247 chip = loc[4] - 'A'; 248 core = loc[5] - '0'; 251 "location %s for %s\n", loc, child->full_name); 259 "multiple CPU chips on one SAT (%s)\n", loc);
|
H A D | windfarm_fcu_controls.c | 435 const char *loc; local 453 loc = of_get_property(np, "location", NULL); 455 if (loc == NULL || reg == NULL) 457 DBG(" matching location: %s, reg: 0x%08x\n", loc, *reg); 460 if (strncmp(loc, loc_trans[i].dt_name,
|
/drivers/media/pci/solo6x10/ |
H A D | solo6x10-eeprom.c | 103 __be16 solo_eeprom_read(struct solo_dev *solo_dev, int loc) argument 105 int read_cmd = loc | (EE_READ_CMD << ADDR_LEN); 123 int solo_eeprom_write(struct solo_dev *solo_dev, int loc, argument 126 int write_cmd = loc | (EE_WRITE_CMD << ADDR_LEN);
|
/drivers/input/mouse/ |
H A D | trackpoint.c | 50 unsigned char loc, unsigned char *results) 53 ps2_command(ps2dev, results, MAKE_PS2_CMD(0, 1, loc))) { 61 unsigned char loc, unsigned char val) 65 ps2_command(ps2dev, NULL, MAKE_PS2_CMD(0, 0, loc)) || 74 unsigned char loc, unsigned char mask) 76 /* Bad things will happen if the loc param isn't in this range */ 77 if (loc < 0x20 || loc >= 0x2F) 82 ps2_command(ps2dev, NULL, MAKE_PS2_CMD(0, 0, loc)) || 90 static int trackpoint_update_bit(struct ps2dev *ps2dev, unsigned char loc, argument 49 trackpoint_read(struct ps2dev *ps2dev, unsigned char loc, unsigned char *results) argument 60 trackpoint_write(struct ps2dev *ps2dev, unsigned char loc, unsigned char val) argument 73 trackpoint_toggle_bit(struct ps2dev *ps2dev, unsigned char loc, unsigned char mask) argument [all...] |
/drivers/rtc/ |
H A D | rtc-pcf8583.c | 25 unsigned int loc; member in struct:rtc_mem 152 if (mem->loc < 8) 155 addr[0] = mem->loc; 165 if (mem->loc < 8 || mem->nr > 8) 168 buf[0] = mem->loc; 180 .loc = CMOS_YEAR, 230 .loc = CMOS_YEAR, 235 .loc = CMOS_CHECKSUM,
|
/drivers/char/ |
H A D | applicom.c | 130 static int ac_register_board(unsigned long physloc, void __iomem *loc, argument 135 if((readb(loc + CONF_END_TEST) != 0x00) || 136 (readb(loc + CONF_END_TEST + 1) != 0x55) || 137 (readb(loc + CONF_END_TEST + 2) != 0xAA) || 138 (readb(loc + CONF_END_TEST + 3) != 0xFF)) 142 boardno = readb(loc + NUMCARD_OWNER_TO_PC); 159 apbs[boardno].RamIO = loc; 162 byte_reset_it = readb(loc + RAM_IT_TO_PC);
|
/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_context.c | 677 struct vmw_ctx_binding *loc; local 686 loc = &cbs->render_targets[bi->i1.rt_type]; 695 loc = &cbs->texture_units[bi->i1.texture_stage]; 704 loc = &cbs->shaders[bi->i1.shader_type]; 710 if (loc->bi.ctx != NULL) 711 vmw_context_binding_drop(loc); 713 loc->bi = *bi; 714 loc->bi.scrubbed = false; 715 list_add_tail(&loc->ctx_list, &cbs->list); 716 INIT_LIST_HEAD(&loc 731 struct vmw_ctx_binding *loc; local [all...] |
/drivers/net/usb/ |
H A D | asix_common.c | 363 int asix_mdio_read(struct net_device *netdev, int phy_id, int loc) argument 371 (__u16)loc, 2, &res); 375 netdev_dbg(dev->net, "asix_mdio_read() phy_id=0x%02x, loc=0x%02x, returns=0x%04x\n", 376 phy_id, loc, le16_to_cpu(res)); 381 void asix_mdio_write(struct net_device *netdev, int phy_id, int loc, int val) argument 386 netdev_dbg(dev->net, "asix_mdio_write() phy_id=0x%02x, loc=0x%02x, val=0x%04x\n", 387 phy_id, loc, val); 390 asix_write_cmd(dev, AX_CMD_WRITE_MII_REG, phy_id, (__u16)loc, 2, &res);
|
H A D | sr9700.c | 176 static int sr_mdio_read(struct net_device *netdev, int phy_id, int loc) argument 188 if (loc == MII_BMSR) { 195 sr_share_read_word(dev, 1, loc, &res); 201 netdev_dbg(netdev, "sr_mdio_read() phy_id=0x%02x, loc=0x%02x, returns=0x%04x\n", 202 phy_id, loc, res); 207 static void sr_mdio_write(struct net_device *netdev, int phy_id, int loc, argument 218 netdev_dbg(netdev, "sr_mdio_write() phy_id=0x%02x, loc=0x%02x, val=0x%04x\n", 219 phy_id, loc, val); 221 sr_share_write_word(dev, 1, loc, res);
|
H A D | dm9601.c | 219 static int dm9601_mdio_read(struct net_device *netdev, int phy_id, int loc) argument 230 dm_read_shared_word(dev, 1, loc, &res); 233 "dm9601_mdio_read() phy_id=0x%02x, loc=0x%02x, returns=0x%04x\n", 234 phy_id, loc, le16_to_cpu(res)); 239 static void dm9601_mdio_write(struct net_device *netdev, int phy_id, int loc, argument 250 netdev_dbg(dev->net, "dm9601_mdio_write() phy_id=0x%02x, loc=0x%02x, val=0x%04x\n", 251 phy_id, loc, val); 253 dm_write_shared_word(dev, 1, loc, res);
|
H A D | sr9800.c | 335 static int sr_mdio_read(struct net_device *net, int phy_id, int loc) argument 342 sr_read_cmd(dev, SR_CMD_READ_MII_REG, phy_id, (__u16)loc, 2, &res); 347 "%s : phy_id=0x%02x, loc=0x%02x, returns=0x%04x\n", __func__, 348 phy_id, loc, le16_to_cpu(res)); 354 sr_mdio_write(struct net_device *net, int phy_id, int loc, int val) argument 360 "%s : phy_id=0x%02x, loc=0x%02x, val=0x%04x\n", __func__, 361 phy_id, loc, val); 364 sr_write_cmd(dev, SR_CMD_WRITE_MII_REG, phy_id, (__u16)loc, 2, &res);
|
/drivers/char/tpm/ |
H A D | tpm_i2c_infineon.c | 280 static int check_locality(struct tpm_chip *chip, int loc) argument 285 rc = iic_tpm_read(TPM_ACCESS(loc), &buf, 1); 291 chip->vendor.locality = loc; 292 return loc; 299 static void release_locality(struct tpm_chip *chip, int loc, int force) argument 302 if (iic_tpm_read(TPM_ACCESS(loc), &buf, 1) < 0) 308 iic_tpm_write(TPM_ACCESS(loc), &buf, 1); 312 static int request_locality(struct tpm_chip *chip, int loc) argument 317 if (check_locality(chip, loc) >= 0) 318 return loc; [all...] |
/drivers/cpufreq/ |
H A D | pmac64-cpufreq.c | 503 const char *loc = of_get_property(hwclock, local 505 if (loc == NULL) 507 if (strcmp(loc, "CPU CLOCK"))
|
/drivers/isdn/isdnloop/ |
H A D | isdnloop.c | 539 * loc = location: 0 = local, 1 = remote. 545 isdnloop_unicause(isdnloop_card *card, int loc, int cau) argument 551 sprintf(buf, "E%02X%02X", (loc) ? 4 : 2, ctable_eu[cau]);
|
/drivers/mmc/host/ |
H A D | dw_mmc-exynos.c | 295 s8 i, loc = -1; local 300 loc = i; 308 loc = i; 314 return loc;
|
/drivers/scsi/ibmvscsi/ |
H A D | viosrp.h | 189 char loc[SRP_MAX_LOC_LEN]; member in struct:capabilities
|
/drivers/ssb/ |
H A D | pci.c | 367 u16 loc[3]; local 370 loc[0] = SSB_SPROM3_IL0MAC; 372 loc[0] = SSB_SPROM1_IL0MAC; 373 loc[1] = SSB_SPROM1_ET0MAC; 374 loc[2] = SSB_SPROM1_ET1MAC; 376 sprom_get_mac(out->il0mac, &in[SPOFF(loc[0])]); 378 sprom_get_mac(out->et0mac, &in[SPOFF(loc[1])]); 379 sprom_get_mac(out->et1mac, &in[SPOFF(loc[2])]);
|
/drivers/staging/bcm/ |
H A D | Misc.c | 3 static int BcmFileDownload(struct bcm_mini_adapter *Adapter, const char *path, unsigned int loc); 179 static int BcmFileDownload(struct bcm_mini_adapter *Adapter, const char *path, unsigned int loc) argument 190 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_INITEXIT, MP_INIT, DBG_LVL_ALL, "Opened file is = %s and length =0x%lx to be downloaded at =0x%x", path, (unsigned long)file_inode(flp)->i_size, loc); 194 if (Adapter->bcm_file_download(Adapter->pvInterfaceAdapter, flp, loc)) { 200 if (Adapter->bcm_file_readback_from_chip(Adapter->pvInterfaceAdapter, flp, loc)) {
|
/drivers/isdn/act2000/ |
H A D | capi.h | 65 unsigned loc:4; /* location */ member in struct:actcapi_infoel::cause 100 __u16 loc; member in struct:actcapi_ncpd
|
/drivers/net/ethernet/8390/ |
H A D | axnet_cs.c | 91 static int mdio_read(unsigned int addr, int phy_id, int loc); 92 static void mdio_write(unsigned int addr, int phy_id, int loc, int value); 429 static int mdio_read(unsigned int addr, int phy_id, int loc) argument 431 u_int cmd = (0xf6<<10)|(phy_id<<5)|loc; 448 static void mdio_write(unsigned int addr, int phy_id, int loc, int value) argument 450 u_int cmd = (0x05<<28)|(phy_id<<23)|(loc<<18)|(1<<17)|value;
|