Searched defs:valp (Results 1 - 17 of 17) sorted by relevance

/drivers/macintosh/
H A Dmac_hid.c188 int *valp = table->data; local
189 int old_val = *valp;
198 if (rc == 0 && write && *valp != old_val) {
199 if (*valp == 1)
201 else if (*valp == 0)
209 *valp = old_val;
/drivers/cpufreq/
H A Dmaple-cpufreq.c209 const u32 *valp; local
270 valp = of_get_property(cpunode, "clock-frequency", NULL);
271 if (!valp)
273 max_freq = (*valp)/1000;
/drivers/net/ethernet/chelsio/cxgb/
H A Dcphy.h112 unsigned int *valp)
116 *valp = (rc >= 0) ? rc : -1;
128 unsigned int *valp)
130 return cphy_mdio_read(cphy, MDIO_DEVAD_NONE, reg, valp);
111 cphy_mdio_read(struct cphy *cphy, int mmd, int reg, unsigned int *valp) argument
127 simple_mdio_read(struct cphy *cphy, int reg, unsigned int *valp) argument
H A Despi.c346 int t1_espi_get_mon_t204(adapter_t *adapter, u32 *valp, u8 wait) argument
362 for (i = 0 ; i < nport; i++, valp++) {
367 *valp = readl(adapter->regs + A_ESPI_SCH_TOKEN3);
H A Dsubr.c111 int __t1_tpi_read(adapter_t *adapter, u32 addr, u32 *valp) argument
124 *valp = readl(adapter->regs + A_TPI_RD_DATA);
128 int t1_tpi_read(adapter_t *adapter, u32 addr, u32 *valp) argument
133 ret = __t1_tpi_read(adapter, addr, valp);
/drivers/infiniband/hw/ipath/
H A Dipath_sysfs.c44 * @valp: where to put the result
48 int ipath_parse_ushort(const char *str, unsigned short *valp) argument
66 *valp = val;
/drivers/infiniband/hw/qib/
H A Dqib_sysfs.c40 * @valp: where to put the result
44 static int qib_parse_ushort(const char *str, unsigned short *valp) argument
62 *valp = val;
/drivers/mfd/
H A Dab3100-core.c542 int valp; local
556 valp = i;
561 err = strict_strtoul(&buf[valp], 16, &user_value);
/drivers/staging/ste_rmi4/
H A Dsynaptics_i2c_rmi4.c221 * @valp: pointer to a buffer containing the data to be read
228 unsigned char *valp, int size)
241 retval = i2c_smbus_read_i2c_block_data(i2c, index, size, valp);
226 synaptics_rmi4_i2c_block_read(struct synaptics_rmi4_data *pdata, unsigned short address, unsigned char *valp, int size) argument
/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_init.c370 int addr, int *valp)
385 *valp = NXRD32(adapter, NETXEN_ROMUSB_ROM_RDATA);
423 int netxen_rom_fast_read(struct netxen_adapter *adapter, int addr, int *valp) argument
430 ret = do_rom_fast_read(adapter, addr, valp);
369 do_rom_fast_read(struct netxen_adapter *adapter, int addr, int *valp) argument
/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_init.c348 u32 addr, u32 *valp)
363 *valp = QLCRD32(adapter, QLCNIC_ROMUSB_ROM_RDATA);
401 int qlcnic_rom_fast_read(struct qlcnic_adapter *adapter, u32 addr, u32 *valp) argument
408 ret = do_rom_fast_read(adapter, addr, valp);
347 do_rom_fast_read(struct qlcnic_adapter *adapter, u32 addr, u32 *valp) argument
/drivers/scsi/qla4xxx/
H A Dql4_nx.c887 qla4_8xxx_do_rom_fast_read(struct scsi_qla_host *ha, int addr, int *valp) argument
902 *valp = qla4_8xxx_rd_32(ha, QLA82XX_ROMUSB_ROM_RDATA);
907 qla4_8xxx_rom_fast_read(struct scsi_qla_host *ha, int addr, int *valp) argument
919 ret = qla4_8xxx_do_rom_fast_read(ha, addr, valp);
/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.c49 * @valp: where to store the value of the register at completion time
52 * up to @attempts times. If @valp is not NULL the value of the register
57 int polarity, int attempts, int delay, u32 *valp)
63 if (valp)
64 *valp = val;
446 * @valp: where to store the read data
453 int lock, u32 *valp)
466 *valp = t4_read_reg(adapter, SF_DATA);
1996 * @valp: where to store the value
2001 unsigned int mmd, unsigned int reg, u16 *valp)
56 t4_wait_op_done_val(struct adapter *adapter, int reg, u32 mask, int polarity, int attempts, int delay, u32 *valp) argument
452 sf1_read(struct adapter *adapter, unsigned int byte_cnt, int cont, int lock, u32 *valp) argument
2000 t4_mdio_rd(struct adapter *adap, unsigned int mbox, unsigned int phy_addr, unsigned int mmd, unsigned int reg, u16 *valp) argument
[all...]
/drivers/scsi/qla2xxx/
H A Dqla_nx.c935 qla82xx_do_rom_fast_read(struct qla_hw_data *ha, int addr, int *valp) argument
939 *valp = qla82xx_md_rw_32(ha, MD_DIRECT_ROM_READ_BASE +
946 qla82xx_rom_fast_read(struct qla_hw_data *ha, int addr, int *valp) argument
961 ret = qla82xx_do_rom_fast_read(ha, addr, valp);
/drivers/media/video/pvrusb2/
H A Dpvrusb2-hdw.c872 int *mskp,int *valp)
879 if (valp) *valp = id;
870 ctrl_std_sym_to_val(struct pvr2_ctrl *cptr, const char *bufPtr,unsigned int bufSize, int *mskp,int *valp) argument
/drivers/net/ethernet/chelsio/cxgb3/
H A Dcommon.h564 unsigned int *valp)
567 *valp = (rc >= 0) ? rc : -1;
649 int polarity, int attempts, int delay, u32 *valp);
703 unsigned int n, unsigned int *valp);
563 t3_mdio_read(struct cphy *phy, int mmd, int reg, unsigned int *valp) argument
H A Dt3_hw.c47 * @valp: where to store the value of the register at completion time
50 * up to @attempts times. If @valp is not NULL the value of the register
56 int polarity, int attempts, int delay, u32 *valp)
62 if (valp)
63 *valp = val;
760 * @valp: where to store the read data
767 u32 *valp)
778 *valp = t3_read_reg(adapter, A_SF_DATA);
1142 * @valp: where to store the result
1147 unsigned int n, unsigned int *valp)
55 t3_wait_op_done_val(struct adapter *adapter, int reg, u32 mask, int polarity, int attempts, int delay, u32 *valp) argument
766 sf1_read(struct adapter *adapter, unsigned int byte_cnt, int cont, u32 *valp) argument
1146 t3_cim_ctl_blk_read(struct adapter *adap, unsigned int addr, unsigned int n, unsigned int *valp) argument
[all...]

Completed in 1428 milliseconds