/drivers/macintosh/ |
H A D | windfarm_max6690_sensor.c | 93 u8 addr, const char *loc) 99 if (!strcmp(loc, "BACKSIDE")) 101 else if (!strcmp(loc, "NB Ambient")) 103 else if (!strcmp(loc, "GPU Ambient")) 134 const char *loc; local 152 loc = of_get_property(dev, "hwsensor-location", NULL); 153 if (loc == NULL || addr == 0) 155 printk("found max6690, loc=%s addr=0x%02x\n", loc, addr); 156 wf_max6690_create(adapter, addr, loc); 92 wf_max6690_create(struct i2c_adapter *adapter, u8 addr, const char *loc) argument [all...] |
H A D | windfarm_lm75_sensor.c | 119 const char *loc) 132 if (!strcmp(loc, "Hard drive") || !strcmp(loc, "DRIVE BAY")) 134 else if (!strcmp(loc, "Incoming Air Temp")) 136 else if (!strcmp(loc, "ODD Temp")) 138 else if (!strcmp(loc, "HD Temp")) 182 const char *loc = local 192 if (loc == NULL || addr == 0) 196 wf_lm75_create(adapter, addr, 0, loc); 199 wf_lm75_create(adapter, addr, 1, loc); 117 wf_lm75_create(struct i2c_adapter *adapter, u8 addr, int ds1775, const char *loc) argument [all...] |
H A D | windfarm_smu_sat.c | 237 const char *loc, *type; local 260 loc = of_get_property(child, "location", NULL); 261 if (reg == NULL || loc == NULL) 270 if (strncmp(loc, "CPU ", 4) != 0) 272 chip = loc[4] - 'A'; 273 core = loc[5] - '0'; 276 "location %s for %s\n", loc, child->full_name); 284 "multiple CPU chips on one SAT (%s)\n", loc);
|
H A D | therm_pm72.c | 193 char* loc; /* location code */ member in struct:fcu_fan_table 207 .loc = "BACKSIDE,SYS CTRLR FAN", 212 .loc = "DRIVE BAY", 217 .loc = "SLOT,PCI FAN", 222 .loc = "CPU A INTAKE", 227 .loc = "CPU A EXHAUST", 232 .loc = "CPU B INTAKE", 237 .loc = "CPU B EXHAUST", 245 .loc = "CPU A PUMP", 250 .loc 2116 fan_check_loc_match(const char *loc, int fan) argument 2152 const char *loc; local [all...] |
/drivers/infiniband/hw/qib/ |
H A D | qib_sd7220.c | 98 static int qib_sd7220_reg_mod(struct qib_devdata *dd, int sdnum, u32 loc, 100 static int ibsd_mod_allchnls(struct qib_devdata *dd, int loc, int val, 178 u32 loc; local 183 loc = IB_PGUDP(chn); 184 ret = qib_sd7220_reg_mod(dd, IB_7220_SERDES, loc, 0, 0); 192 ret = qib_sd7220_reg_mod(dd, IB_7220_SERDES, loc, pat, 0xFF); 197 ret = qib_sd7220_reg_mod(dd, IB_7220_SERDES, loc, 0, 0); 206 loc = IB_CMUDONE(chn); 207 ret = qib_sd7220_reg_mod(dd, IB_7220_SERDES, loc, 0, 0); 642 * @loc 651 qib_sd7220_reg_mod(struct qib_devdata *dd, int sdnum, u32 loc, u32 wd, u32 mask) argument 741 qib_sd7220_ram_xfer(struct qib_devdata *dd, int sdnum, u32 loc, u8 *buf, int cnt, int rd_notwr) argument 1126 ibsd_mod_allchnls(struct qib_devdata *dd, int loc, int val, int mask) argument 1221 int elt, reg, val, loc; local 1282 int loc = CMUCTRL5 | (1U << EPB_IB_QUAD0_CS_SHF); local 1347 int loc = RXLSPPM(0) | EPB_GLOBAL_WR; local [all...] |
/drivers/input/mouse/ |
H A D | trackpoint.c | 25 static int trackpoint_read(struct ps2dev *ps2dev, unsigned char loc, unsigned char *results) argument 28 ps2_command(ps2dev, results, MAKE_PS2_CMD(0, 1, loc))) { 35 static int trackpoint_write(struct ps2dev *ps2dev, unsigned char loc, unsigned char val) argument 39 ps2_command(ps2dev, NULL, MAKE_PS2_CMD(0, 0, loc)) || 47 static int trackpoint_toggle_bit(struct ps2dev *ps2dev, unsigned char loc, unsigned char mask) argument 49 /* Bad things will happen if the loc param isn't in this range */ 50 if (loc < 0x20 || loc >= 0x2F) 55 ps2_command(ps2dev, NULL, MAKE_PS2_CMD(0, 0, loc)) ||
|
/drivers/rtc/ |
H A D | rtc-pcf8583.c | 24 unsigned int loc; member in struct:rtc_mem 151 if (mem->loc < 8) 154 addr[0] = mem->loc; 164 if (mem->loc < 8 || mem->nr > 8) 167 buf[0] = mem->loc;
|
/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/mtd/devices/ |
H A D | docecc.c | 195 gf root[NN-KK], reg[NN-KK + 1], loc[NN-KK]; local 265 loc[count] = k; 276 printf("%d ", loc[i]); 354 loc[count] = k; 422 eras_pos[i] = loc[i];
|
/drivers/net/usb/ |
H A D | dm9601.c | 301 static int dm9601_mdio_read(struct net_device *netdev, int phy_id, int loc) argument 312 dm_read_shared_word(dev, 1, loc, &res); 315 "dm9601_mdio_read() phy_id=0x%02x, loc=0x%02x, returns=0x%04x\n", 316 phy_id, loc, le16_to_cpu(res)); 321 static void dm9601_mdio_write(struct net_device *netdev, int phy_id, int loc, argument 332 netdev_dbg(dev->net, "dm9601_mdio_write() phy_id=0x%02x, loc=0x%02x, val=0x%04x\n", 333 phy_id, loc, val); 335 dm_write_shared_word(dev, 1, loc, res);
|
H A D | asix.c | 570 static int asix_mdio_read(struct net_device *netdev, int phy_id, int loc) argument 578 (__u16)loc, 2, &res); 582 netdev_dbg(dev->net, "asix_mdio_read() phy_id=0x%02x, loc=0x%02x, returns=0x%04x\n", 583 phy_id, loc, le16_to_cpu(res)); 589 asix_mdio_write(struct net_device *netdev, int phy_id, int loc, int val) argument 594 netdev_dbg(dev->net, "asix_mdio_write() phy_id=0x%02x, loc=0x%02x, val=0x%04x\n", 595 phy_id, loc, val); 598 asix_write_cmd(dev, AX_CMD_WRITE_MII_REG, phy_id, (__u16)loc, 2, &res);
|
/drivers/net/ethernet/mellanox/mlx4/ |
H A D | mcg.c | 466 int loc, i; local 520 for (loc = -1, i = 0; i < members_count; ++i) 522 loc = i; 526 mgm->qp[loc] = mgm->qp[i - 1]; 736 int i, loc; local 765 for (loc = -1, i = 0; i < members_count; ++i) 767 loc = i; 769 if (loc == -1) { 777 mgm->qp[loc] = mgm->qp[i - 1];
|
/drivers/scsi/ibmvscsi/ |
H A D | viosrp.h | 189 char loc[SRP_MAX_LOC_LEN]; member in struct:capabilities
|
H A D | ibmvscsi.c | 952 location = of_get_property(of_node, "ibm,loc-code", NULL); 954 strncpy(hostdata->caps.loc, location, sizeof(hostdata->caps.loc)); 955 hostdata->caps.loc[sizeof(hostdata->caps.loc) - 1] = '\0'; 1626 len = snprintf(buf, sizeof(hostdata->caps.loc), "%s\n", 1627 hostdata->caps.loc);
|
/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/isdn/hisax/ |
H A D | l3_1tr6.c | 363 pc->para.loc = p[3]; 365 pc->para.loc = 0; 368 pc->para.loc = 0; 429 pc->para.loc = p[3]; 431 pc->para.loc = 0; 434 pc->para.loc = 0; 660 pc->para.loc = 0;
|
/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/ssb/ |
H A D | pci.c | 334 u16 loc[3]; local 337 loc[0] = SSB_SPROM3_IL0MAC; 339 loc[0] = SSB_SPROM1_IL0MAC; 340 loc[1] = SSB_SPROM1_ET0MAC; 341 loc[2] = SSB_SPROM1_ET1MAC; 344 v = in[SPOFF(loc[0]) + i]; 349 v = in[SPOFF(loc[1]) + i]; 353 v = in[SPOFF(loc[2]) + i];
|
/drivers/scsi/qla2xxx/ |
H A D | qla_sup.c | 546 const char *loc, *locations[] = { "DEF", "PCI" }; local 560 loc = locations[0]; 624 loc = locations[1]; 630 loc, *start); 637 const char *loc, *locations[] = { "DEF", "FLT" }; local 715 loc = locations[1]; 835 loc = locations[0]; 850 loc, ha->flt_region_boot, ha->flt_region_fw, 862 const char *loc, *locations[] = { "MID", "FDT" }; local 894 loc [all...] |
/drivers/net/ethernet/8390/ |
H A D | axnet_cs.c | 92 static int mdio_read(unsigned int addr, int phy_id, int loc); 93 static void mdio_write(unsigned int addr, int phy_id, int loc, int value); 428 static int mdio_read(unsigned int addr, int phy_id, int loc) argument 430 u_int cmd = (0xf6<<10)|(phy_id<<5)|loc; 447 static void mdio_write(unsigned int addr, int phy_id, int loc, int value) argument 449 u_int cmd = (0x05<<28)|(phy_id<<23)|(loc<<18)|(1<<17)|value;
|
/drivers/scsi/qla4xxx/ |
H A D | ql4_nx.c | 1926 const char *loc, *locations[] = { "DEF", "PCI" }; local 1933 loc = locations[0]; 1936 DEBUG2(ql4_printk(KERN_INFO, ha, "FLTL[%s] = 0x%x.\n", loc, *start)); 1943 const char *loc, *locations[] = { "DEF", "FLT" }; local 1978 loc = locations[1]; 2015 loc = locations[0]; 2026 "boot=0x%x bootload=0x%x fw=0x%x\n", loc, hw->flt_region_flt, 2037 const char *loc, *locations[] = { "MID", "FDT" }; local 2071 loc = locations[1]; 2088 loc [all...] |
/drivers/net/ethernet/neterion/ |
H A D | s2io.h | 17 #define s2BIT(loc) (0x8000000000000000ULL >> (loc)) 18 #define vBIT(val, loc, sz) (((u64)val) << (64-loc-sz))
|
/drivers/net/ethernet/smsc/ |
H A D | smc91c92_cs.c | 285 static int mdio_read(struct net_device *dev, int phy_id, int loc); 286 static void mdio_write(struct net_device *dev, int phy_id, int loc, int value); 986 static int mdio_read(struct net_device *dev, int phy_id, int loc) argument 989 u_int cmd = (0x06<<10)|(phy_id<<5)|loc; 1006 static void mdio_write(struct net_device *dev, int phy_id, int loc, int value) argument 1009 u_int cmd = (0x05<<28)|(phy_id<<23)|(loc<<18)|(1<<17)|value;
|
/drivers/net/wan/ |
H A D | cycx_x25.c | 855 loc[24], local 866 loc[0] = rem[0] = '\0'; 869 nibble_to_byte(d, loc, sizeloc, 0); 875 __func__, lcn, loc, rem);
|
/drivers/staging/bcm/ |
H A D | Misc.c | 3 static int BcmFileDownload(PMINI_ADAPTER Adapter, const char *path, unsigned int loc); 182 static int BcmFileDownload(PMINI_ADAPTER Adapter, const char *path, unsigned int loc) argument 195 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)flp->f_dentry->d_inode->i_size, loc); 199 if (Adapter->bcm_file_download(Adapter->pvInterfaceAdapter, flp, loc)) { 208 if (Adapter->bcm_file_readback_from_chip(Adapter->pvInterfaceAdapter, flp, loc)) {
|