Searched refs:loc (Results 1 - 25 of 40) sorted by relevance

12

/drivers/macintosh/
H A Dwindfarm_max6690_sensor.c93 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 Dwindfarm_lm75_sensor.c120 const char *loc)
133 if (!strcmp(loc, "Hard drive") || !strcmp(loc, "DRIVE BAY"))
135 else if (!strcmp(loc, "Incoming Air Temp"))
137 else if (!strcmp(loc, "ODD Temp"))
139 else if (!strcmp(loc, "HD Temp"))
183 const char *loc = local
193 if (loc == NULL || addr == 0)
197 wf_lm75_create(adapter, addr, 0, loc);
200 wf_lm75_create(adapter, addr, 1, loc);
118 wf_lm75_create(struct i2c_adapter *adapter, u8 addr, int ds1775, const char *loc) argument
[all...]
H A Dwindfarm_smu_sat.c237 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 Dtherm_pm72.c194 char* loc; /* location code */ member in struct:fcu_fan_table
208 .loc = "BACKSIDE,SYS CTRLR FAN",
213 .loc = "DRIVE BAY",
218 .loc = "SLOT,PCI FAN",
223 .loc = "CPU A INTAKE",
228 .loc = "CPU A EXHAUST",
233 .loc = "CPU B INTAKE",
238 .loc = "CPU B EXHAUST",
246 .loc = "CPU A PUMP",
251 .loc
2117 fan_check_loc_match(const char *loc, int fan) argument
2153 const char *loc; local
[all...]
/drivers/infiniband/hw/qib/
H A Dqib_sd7220.c98 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 Dtrackpoint.c25 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 Drtc-pcf8583.c24 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 Dmthca_mcg.c221 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 Ddocecc.c195 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 Ddm9601.c301 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 Dasix.c617 static int asix_mdio_read(struct net_device *netdev, int phy_id, int loc) argument
625 (__u16)loc, 2, &res);
629 netdev_dbg(dev->net, "asix_mdio_read() phy_id=0x%02x, loc=0x%02x, returns=0x%04x\n",
630 phy_id, loc, le16_to_cpu(res));
636 asix_mdio_write(struct net_device *netdev, int phy_id, int loc, int val) argument
641 netdev_dbg(dev->net, "asix_mdio_write() phy_id=0x%02x, loc=0x%02x, val=0x%04x\n",
642 phy_id, loc, val);
645 asix_write_cmd(dev, AX_CMD_WRITE_MII_REG, phy_id, (__u16)loc, 2, &res);
/drivers/net/ethernet/mellanox/mlx4/
H A Dmcg.c466 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];
738 int i, loc; local
767 for (loc = -1, i = 0; i < members_count; ++i)
769 loc = i;
771 if (loc == -1) {
779 mgm->qp[loc] = mgm->qp[i - 1];
/drivers/scsi/ibmvscsi/
H A Dviosrp.h189 char loc[SRP_MAX_LOC_LEN]; member in struct:capabilities
H A Dibmvscsi.c958 location = of_get_property(of_node, "ibm,loc-code", NULL);
960 strncpy(hostdata->caps.loc, location, sizeof(hostdata->caps.loc));
961 hostdata->caps.loc[sizeof(hostdata->caps.loc) - 1] = '\0';
1632 len = snprintf(buf, sizeof(hostdata->caps.loc), "%s\n",
1633 hostdata->caps.loc);
/drivers/char/
H A Dapplicom.c130 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 Dl3_1tr6.c363 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 Dcapi.h65 unsigned loc : 4; /* location */ member in struct:actcapi_infoel::cause
100 __u16 loc; member in struct:actcapi_ncpd
/drivers/ssb/
H A Dpci.c335 u16 loc[3]; local
338 loc[0] = SSB_SPROM3_IL0MAC;
340 loc[0] = SSB_SPROM1_IL0MAC;
341 loc[1] = SSB_SPROM1_ET0MAC;
342 loc[2] = SSB_SPROM1_ET1MAC;
345 v = in[SPOFF(loc[0]) + i];
350 v = in[SPOFF(loc[1]) + i];
354 v = in[SPOFF(loc[2]) + i];
/drivers/scsi/qla2xxx/
H A Dqla_sup.c546 const char *loc, *locations[] = { "DEF", "PCI" }; local
560 loc = locations[0];
621 loc = locations[1];
627 loc, *start);
634 const char *loc, *locations[] = { "DEF", "FLT" }; local
712 loc = locations[1];
794 loc = locations[0];
808 loc, ha->flt_region_boot,
824 const char *loc, *locations[] = { "MID", "FDT" }; local
856 loc
[all...]
/drivers/net/ethernet/8390/
H A Daxnet_cs.c93 static int mdio_read(unsigned int addr, int phy_id, int loc);
94 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;
/drivers/scsi/qla4xxx/
H A Dql4_nx.c1941 const char *loc, *locations[] = { "DEF", "PCI" }; local
1948 loc = locations[0];
1951 DEBUG2(ql4_printk(KERN_INFO, ha, "FLTL[%s] = 0x%x.\n", loc, *start));
1958 const char *loc, *locations[] = { "DEF", "FLT" }; local
1993 loc = locations[1];
2030 loc = locations[0];
2041 "boot=0x%x bootload=0x%x fw=0x%x\n", loc, hw->flt_region_flt,
2052 const char *loc, *locations[] = { "MID", "FDT" }; local
2086 loc = locations[1];
2103 loc
[all...]
/drivers/net/ethernet/neterion/
H A Ds2io.h17 #define s2BIT(loc) (0x8000000000000000ULL >> (loc))
18 #define vBIT(val, loc, sz) (((u64)val) << (64-loc-sz))
/drivers/net/ethernet/smsc/
H A Dsmc91c92_cs.c286 static int mdio_read(struct net_device *dev, int phy_id, int loc);
287 static void mdio_write(struct net_device *dev, int phy_id, int loc, int value);
987 static int mdio_read(struct net_device *dev, int phy_id, int loc) argument
990 u_int cmd = (0x06<<10)|(phy_id<<5)|loc;
1007 static void mdio_write(struct net_device *dev, int phy_id, int loc, int value) argument
1010 u_int cmd = (0x05<<28)|(phy_id<<23)|(loc<<18)|(1<<17)|value;
/drivers/net/wan/
H A Dcycx_x25.c855 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 DMisc.c3 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)) {

Completed in 459 milliseconds

12