/drivers/gpu/drm/amd/amdgpu/ |
D | smu_v11_0_i2c.c | 224 uint32_t numbytes, uint32_t i2c_flag) in smu_v11_0_i2c_transmit() argument 233 (uint16_t)address, numbytes); in smu_v11_0_i2c_transmit() 237 16, 1, data, numbytes, false); in smu_v11_0_i2c_transmit() 251 while (numbytes > 0) { in smu_v11_0_i2c_transmit() 266 if (numbytes == 1) in smu_v11_0_i2c_transmit() 276 numbytes--; in smu_v11_0_i2c_transmit() 280 } while (numbytes && REG_GET_FIELD(reg, CKSVII2C_IC_STATUS, TFNF)); in smu_v11_0_i2c_transmit() 324 uint32_t numbytes, uint8_t i2c_flag) in smu_v11_0_i2c_receive() argument 337 while (numbytes > 0) { in smu_v11_0_i2c_receive() 355 if (numbytes == 1) in smu_v11_0_i2c_receive() [all …]
|
/drivers/i2c/algos/ |
D | i2c-algo-pca.c | 189 int numbytes = 0; in pca_xfer() local 248 if (numbytes < msg->len) { in pca_xfer() 250 msg->buf[numbytes]); in pca_xfer() 251 numbytes++; in pca_xfer() 254 curmsg++; numbytes = 0; in pca_xfer() 272 if (numbytes < msg->len) { in pca_xfer() 273 pca_rx_byte(adap, &msg->buf[numbytes], 1); in pca_xfer() 274 numbytes++; in pca_xfer() 276 numbytes < msg->len - 1); in pca_xfer() 279 curmsg++; numbytes = 0; in pca_xfer() [all …]
|
/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
D | arcturus_ppt.c | 1891 uint8_t address, uint32_t numbytes, in arcturus_fill_i2c_req() argument 1899 req->NumCmds = numbytes; in arcturus_fill_i2c_req() 1901 for (i = 0; i < numbytes; i++) { in arcturus_fill_i2c_req() 1915 cmd->CmdConfig |= (i == (numbytes - 1)) ? CMDCONFIG_STOP_MASK : 0; in arcturus_fill_i2c_req() 1925 uint32_t numbytes) in arcturus_i2c_read_data() argument 1933 if (numbytes > MAX_SW_I2C_COMMANDS) { in arcturus_i2c_read_data() 1935 numbytes, MAX_SW_I2C_COMMANDS); in arcturus_i2c_read_data() 1940 arcturus_fill_i2c_req(&req, false, address, numbytes, data); in arcturus_i2c_read_data() 1952 for (i = 0; i < numbytes; i++) in arcturus_i2c_read_data() 1956 (uint16_t)address, numbytes); in arcturus_i2c_read_data() [all …]
|
D | navi10_ppt.c | 2345 uint8_t address, uint32_t numbytes, in navi10_fill_i2c_req() argument 2353 req->NumCmds = numbytes; in navi10_fill_i2c_req() 2355 for (i = 0; i < numbytes; i++) { in navi10_fill_i2c_req() 2369 cmd->CmdConfig |= (i == (numbytes - 1)) ? CMDCONFIG_STOP_MASK : 0; in navi10_fill_i2c_req() 2379 uint32_t numbytes) in navi10_i2c_read_data() argument 2387 if (numbytes > MAX_SW_I2C_COMMANDS) { in navi10_i2c_read_data() 2389 numbytes, MAX_SW_I2C_COMMANDS); in navi10_i2c_read_data() 2394 navi10_fill_i2c_req(&req, false, address, numbytes, data); in navi10_i2c_read_data() 2406 for (i = 0; i < numbytes; i++) in navi10_i2c_read_data() 2410 (uint16_t)address, numbytes); in navi10_i2c_read_data() [all …]
|
D | sienna_cichlid_ppt.c | 2456 uint8_t address, uint32_t numbytes, in sienna_cichlid_fill_i2c_req() argument 2464 req->NumCmds = numbytes; in sienna_cichlid_fill_i2c_req() 2466 for (i = 0; i < numbytes; i++) { in sienna_cichlid_fill_i2c_req() 2480 cmd->CmdConfig |= (i == (numbytes - 1)) ? CMDCONFIG_STOP_MASK : 0; in sienna_cichlid_fill_i2c_req() 2490 uint32_t numbytes) in sienna_cichlid_i2c_read_data() argument 2498 if (numbytes > MAX_SW_I2C_COMMANDS) { in sienna_cichlid_i2c_read_data() 2500 numbytes, MAX_SW_I2C_COMMANDS); in sienna_cichlid_i2c_read_data() 2505 sienna_cichlid_fill_i2c_req(&req, false, address, numbytes, data); in sienna_cichlid_i2c_read_data() 2517 for (i = 0; i < numbytes; i++) in sienna_cichlid_i2c_read_data() 2521 (uint16_t)address, numbytes); in sienna_cichlid_i2c_read_data() [all …]
|
/drivers/tty/serial/ |
D | xilinx_uartps.c | 316 unsigned int numbytes; in cdns_uart_handle_tx() local 321 numbytes = port->fifosize; in cdns_uart_handle_tx() 322 while (numbytes && !uart_circ_empty(&port->state->xmit) && in cdns_uart_handle_tx() 344 numbytes--; in cdns_uart_handle_tx()
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_ctx.c | 1117 esw_stats->numbytes = le64_to_cpu(stats->numbytes); in qlcnic_get_port_stats() 1211 esw_stats->numbytes = QLCNIC_STATS_NOT_AVAIL; in qlcnic_get_eswitch_stats() 1237 QLCNIC_ADD_ESW_STATS(esw_stats->numbytes, in qlcnic_get_eswitch_stats() 1238 port_stats.numbytes); in qlcnic_get_eswitch_stats()
|
D | qlcnic.h | 1483 __le64 numbytes; member 1498 u64 numbytes; member
|
D | qlcnic_ethtool.c | 1299 *data++ = QLCNIC_FILL_STATS(esw_stats->numbytes); in qlcnic_fill_stats()
|
/drivers/staging/comedi/drivers/ |
D | dt9812.c | 176 __le16 numbytes; member 257 cmd->u.flash_data_info.numbytes = cpu_to_le16(buf_size); in dt9812_read_info()
|