Home
last modified time | relevance | path

Searched refs:addrlen (Results 1 – 7 of 7) sorted by relevance

/drivers/misc/eeprom/
Dat25.c36 unsigned addrlen; member
91 if (offset >= (1U << (at25->addrlen * 8))) in at25_ee_read()
96 switch (at25->addrlen) { in at25_ee_read()
110 t[0].len = at25->addrlen + 1; in at25_ee_read()
169 bounce = kmalloc(buf_size + at25->addrlen + 1, GFP_KERNEL); in at25_ee_write()
195 if (offset >= (1U << (at25->addrlen * 8))) in at25_ee_write()
200 switch (at25->addrlen) { in at25_ee_write()
216 segment + at25->addrlen + 1); in at25_ee_write()
363 int addrlen; in at25_probe() local
375 addrlen = 1; in at25_probe()
[all …]
Deeprom_93xx46.c33 int addrlen; member
51 cmd_addr = OP_READ << edev->addrlen; in eeprom_93xx46_bin_read()
53 if (edev->addrlen == 7) { in eeprom_93xx46_bin_read()
104 cmd_addr = OP_START << edev->addrlen; in eeprom_93xx46_ew()
105 if (edev->addrlen == 7) { in eeprom_93xx46_ew()
151 cmd_addr = OP_WRITE << edev->addrlen; in eeprom_93xx46_write_word()
153 if (edev->addrlen == 7) { in eeprom_93xx46_write_word()
197 if (edev->addrlen == 6) { in eeprom_93xx46_bin_write()
239 cmd_addr = OP_START << edev->addrlen; in eeprom_93xx46_eral()
240 if (edev->addrlen == 7) { in eeprom_93xx46_eral()
[all …]
/drivers/i2c/busses/
Di2c-xgene-slimpro.c81 #define SLIMPRO_IIC_ENCODE_MSG(dev, chip, op, proto, addrlen, datalen) \ argument
89 ((addrlen << SLIMPRO_IIC_ADDRLEN_SHIFT) & SLIMPRO_IIC_ADDRLEN_MASK) | \
148 u32 addr, u32 addrlen, u32 protocol, in slimpro_i2c_rd() argument
155 SLIMPRO_IIC_READ, protocol, addrlen, readlen); in slimpro_i2c_rd()
170 u32 addr, u32 addrlen, u32 protocol, u32 writelen, in slimpro_i2c_wr() argument
177 SLIMPRO_IIC_WRITE, protocol, addrlen, writelen); in slimpro_i2c_wr()
193 u32 addrlen, u32 protocol, u32 readlen, in slimpro_i2c_blkrd() argument
209 protocol, addrlen, readlen); in slimpro_i2c_blkrd()
234 u32 addr, u32 addrlen, u32 protocol, u32 writelen, in slimpro_i2c_blkwr() argument
252 protocol, addrlen, writelen); in slimpro_i2c_blkwr()
/drivers/net/ppp/
Dpppopns.c242 int addrlen, int flags) in pppopns_connect() argument
254 if (addrlen != sizeof(struct sockaddr_pppopns)) in pppopns_connect()
269 addrlen = sizeof(struct sockaddr_storage); in pppopns_connect()
270 error = kernel_getpeername(sock_tcp, (struct sockaddr *)&ss, &addrlen); in pppopns_connect()
287 error = kernel_connect(sock_raw, (struct sockaddr *)&ss, addrlen, 0); in pppopns_connect()
Dpppolac.c263 int addrlen, int flags) in pppolac_connect() argument
272 if (addrlen != sizeof(struct sockaddr_pppolac) || in pppolac_connect()
/drivers/mtd/spi-nor/
Dfsl-quadspi.c344 u8 cmd, addrlen, dummy; in fsl_qspi_init_lut() local
358 addrlen = ADDR24BIT; in fsl_qspi_init_lut()
363 addrlen = ADDR32BIT; in fsl_qspi_init_lut()
367 writel(LUT0(CMD, PAD1, cmd) | LUT1(ADDR, PAD1, addrlen), in fsl_qspi_init_lut()
381 addrlen = ADDR24BIT; in fsl_qspi_init_lut()
385 addrlen = ADDR32BIT; in fsl_qspi_init_lut()
388 writel(LUT0(CMD, PAD1, cmd) | LUT1(ADDR, PAD1, addrlen), in fsl_qspi_init_lut()
401 addrlen = q->nor_size <= SZ_16M ? ADDR24BIT : ADDR32BIT; in fsl_qspi_init_lut()
403 writel(LUT0(CMD, PAD1, cmd) | LUT1(ADDR, PAD1, addrlen), in fsl_qspi_init_lut()
/drivers/scsi/esas2r/
Desas2r_disc.c947 u16 addrlen; in esas2r_disc_passthru_dev_addr_cb() local
957 addrlen = le16_to_cpu(hi->data.get_dev_addr.addr_len); in esas2r_disc_passthru_dev_addr_cb()
960 if (addrlen == sizeof(u64)) in esas2r_disc_passthru_dev_addr_cb()
963 addrlen); in esas2r_disc_passthru_dev_addr_cb()
973 if (HIBYTE(addrlen) == 0) { in esas2r_disc_passthru_dev_addr_cb()