Searched refs:addrlen (Results 1 – 6 of 6) sorted by relevance
/drivers/misc/eeprom/ |
D | at25.c | 36 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() 366 int addrlen; in at25_probe() local 383 addrlen = 1; in at25_probe() [all …]
|
D | eeprom_93xx46.c | 33 int addrlen; member 58 cmd_addr = OP_READ << edev->addrlen; in eeprom_93xx46_bin_read() 60 if (edev->addrlen == 7) { in eeprom_93xx46_bin_read() 111 cmd_addr = OP_START << edev->addrlen; in eeprom_93xx46_ew() 112 if (edev->addrlen == 7) { in eeprom_93xx46_ew() 158 cmd_addr = OP_WRITE << edev->addrlen; in eeprom_93xx46_write_word() 160 if (edev->addrlen == 7) { in eeprom_93xx46_write_word() 211 if (edev->addrlen == 6) { in eeprom_93xx46_bin_write() 253 cmd_addr = OP_START << edev->addrlen; in eeprom_93xx46_eral() 254 if (edev->addrlen == 7) { in eeprom_93xx46_eral() [all …]
|
/drivers/mtd/spi-nor/ |
D | fsl-quadspi.c | 284 u8 cmd, addrlen, dummy; in fsl_qspi_init_lut() local 298 addrlen = ADDR24BIT; in fsl_qspi_init_lut() 303 addrlen = ADDR32BIT; in fsl_qspi_init_lut() 307 writel(LUT0(CMD, PAD1, cmd) | LUT1(ADDR, PAD1, addrlen), in fsl_qspi_init_lut() 321 addrlen = ADDR24BIT; in fsl_qspi_init_lut() 325 addrlen = ADDR32BIT; in fsl_qspi_init_lut() 328 writel(LUT0(CMD, PAD1, cmd) | LUT1(ADDR, PAD1, addrlen), in fsl_qspi_init_lut() 342 addrlen = ADDR24BIT; in fsl_qspi_init_lut() 346 addrlen = ADDR32BIT; in fsl_qspi_init_lut() 349 writel(LUT0(CMD, PAD1, cmd) | LUT1(ADDR, PAD1, addrlen), in fsl_qspi_init_lut()
|
/drivers/net/ppp/ |
D | pppopns.c | 241 int addrlen, int flags) in pppopns_connect() argument 253 if (addrlen != sizeof(struct sockaddr_pppopns)) in pppopns_connect() 268 addrlen = sizeof(struct sockaddr_storage); in pppopns_connect() 269 error = kernel_getpeername(sock_tcp, (struct sockaddr *)&ss, &addrlen); in pppopns_connect() 286 error = kernel_connect(sock_raw, (struct sockaddr *)&ss, addrlen, 0); in pppopns_connect()
|
D | pppolac.c | 262 int addrlen, int flags) in pppolac_connect() argument 271 if (addrlen != sizeof(struct sockaddr_pppolac) || in pppolac_connect()
|
/drivers/scsi/esas2r/ |
D | esas2r_disc.c | 947 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()
|