Home
last modified time | relevance | path

Searched refs:slave_addr (Results 1 – 19 of 19) sorted by relevance

/linux-4.19.296/drivers/char/ipmi/
Dipmi_dmi.c24 u8 slave_addr; member
34 u8 slave_addr, in dmi_add_platform_ipmi() argument
81 p[pidx++] = PROPERTY_ENTRY_U8("slave-addr", slave_addr); in dmi_add_platform_ipmi()
91 info->slave_addr = slave_addr; in dmi_add_platform_ipmi()
186 return info->slave_addr; in ipmi_dmi_get_slave_addr()
209 u8 slave_addr; in dmi_decode_ipmi() local
217 slave_addr = data[DMI_IPMI_SLAVEADDR]; in dmi_decode_ipmi()
236 slave_addr = 0; in dmi_decode_ipmi()
288 dmi_add_platform_ipmi(base_addr, flags, slave_addr, irq, in dmi_decode_ipmi()
Dipmi_si_platform.c136 u8 type, slave_addr, addr_source, regsize, regshift; in platform_ipmi_probe() local
188 rv = device_property_read_u8(&pdev->dev, "slave-addr", &slave_addr); in platform_ipmi_probe()
191 io.slave_addr = 0x20; in platform_ipmi_probe()
193 io.slave_addr = slave_addr; in platform_ipmi_probe()
305 static int find_slave_address(struct si_sm_io *io, int slave_addr) in find_slave_address() argument
308 if (!slave_addr) { in find_slave_address()
314 slave_addr = ipmi_dmi_get_slave_addr(io->si_type, flags, in find_slave_address()
319 return slave_addr; in find_slave_address()
393 io.slave_addr = find_slave_address(&io, io.slave_addr); in acpi_ipmi_probe()
Dipmi_ssif.c184 int slave_addr; member
1467 static int find_slave_address(struct i2c_client *client, int slave_addr) in find_slave_address() argument
1470 if (!slave_addr) in find_slave_address()
1471 slave_addr = ipmi_dmi_get_slave_addr( in find_slave_address()
1477 return slave_addr; in find_slave_address()
1494 u8 slave_addr = 0; in ssif_probe() local
1518 slave_addr = addr_info->slave_addr; in ssif_probe()
1522 slave_addr = find_slave_address(client, slave_addr); in ssif_probe()
1526 client->addr, client->adapter->name, slave_addr); in ssif_probe()
1726 slave_addr); in ssif_probe()
[all …]
Dipmi_si_sm.h64 u8 slave_addr; member
Dipmi_si_intf.c1668 smi_info->io.slave_addr); in ipmi_params_show()
1868 if (info->io.slave_addr && !e->io.slave_addr) in find_dup_si()
1869 e->io.slave_addr = info->io.slave_addr; in find_dup_si()
1961 new_smi->io.slave_addr, new_smi->io.irq); in try_smi_init()
2100 new_smi->io.slave_addr); in try_smi_init()
Dipmi_si_hotmod.c230 io.slave_addr = ipmb; in hotmod_handler()
Dipmi_msghandler.c830 return ((ipmb_addr1->slave_addr == ipmb_addr2->slave_addr) in ipmi_addr_equal()
1765 smi_msg->data[i+3] = ipmb_addr->slave_addr; in format_ipmb_msg()
3400 unsigned char slave_addr) in ipmi_add_smi() argument
3440 if (slave_addr != 0) in ipmi_add_smi()
3441 intf->addrinfo[0].address = slave_addr; in ipmi_add_smi()
3659 ipmb_addr.slave_addr = msg->rsp[6]; in handle_ipmb_get_msg_rsp()
3781 ipmb_addr->slave_addr = msg->rsp[6]; in handle_ipmb_get_msg_cmd()
5031 ipmb->slave_addr = intf->event_receiver; in send_panic_events()
Dipmi_poweroff.c374 ipmb_addr.slave_addr = aer_addr; in ipmi_poweroff_cpi1()
/linux-4.19.296/include/linux/
Dvia_i2c.h35 int viafb_i2c_readbyte(u8 adap, u8 slave_addr, u8 index, u8 *pdata);
36 int viafb_i2c_writebyte(u8 adap, u8 slave_addr, u8 index, u8 data);
37 int viafb_i2c_readbytes(u8 adap, u8 slave_addr, u8 index, u8 *buff, int buff_len);
Dipmi_smi.h231 unsigned char slave_addr);
233 #define ipmi_register_smi(handlers, send_info, dev, slave_addr) \ argument
234 ipmi_add_smi(THIS_MODULE, handlers, send_info, dev, slave_addr)
Dshdma-base.h98 dma_addr_t (*slave_addr)(struct shdma_chan *); member
/linux-4.19.296/drivers/i2c/busses/
Di2c-sun6i-p2wi.c91 int slave_addr; member
124 if (p2wi->slave_addr >= 0 && addr != p2wi->slave_addr) { in p2wi_smbus_xfer()
192 u32 slave_addr; in p2wi_probe() local
214 p2wi->slave_addr = -1; in p2wi_probe()
224 ret = of_property_read_u32(childnp, "reg", &slave_addr); in p2wi_probe()
231 p2wi->slave_addr = slave_addr; in p2wi_probe()
Di2c-pnx.c145 static int i2c_pnx_start(unsigned char slave_addr, in i2c_pnx_start() argument
149 slave_addr, alg_data->mif.mode); in i2c_pnx_start()
152 if (slave_addr & ~0x7f) { in i2c_pnx_start()
155 alg_data->adapter.name, slave_addr); in i2c_pnx_start()
164 alg_data->adapter.name, slave_addr, in i2c_pnx_start()
172 alg_data->adapter.name, slave_addr); in i2c_pnx_start()
184 (slave_addr << 1) | start_bit | alg_data->mif.mode); in i2c_pnx_start()
187 iowrite32((slave_addr << 1) | start_bit | alg_data->mif.mode, in i2c_pnx_start()
Di2c-pxa.c180 unsigned int slave_addr; member
520 writel(i2c->slave_addr, _ISAR(i2c)); in i2c_pxa_reset()
1269 i2c->slave_addr = I2C_PXA_SLAVE_ADDR; in i2c_pxa_probe()
1274 i2c->slave_addr = plat->slave_addr; in i2c_pxa_probe()
1321 i2c->slave_addr); in i2c_pxa_probe()
Di2c-aspeed.c337 u8 slave_addr = i2c_8bit_addr_from_msg(msg); in aspeed_i2c_do_start() local
349 writel(slave_addr, bus->base + ASPEED_I2C_BYTE_BUF_REG); in aspeed_i2c_do_start()
621 static void __aspeed_i2c_reg_slave(struct aspeed_i2c_bus *bus, u16 slave_addr) in __aspeed_i2c_reg_slave() argument
628 addr_reg_val |= slave_addr & ASPEED_I2CD_DEV_ADDR_MASK; in __aspeed_i2c_reg_slave()
Di2c-s3c2410.c1029 writeb(pdata->slave_addr, i2c->regs + S3C2410_IICADD); in s3c24xx_i2c_init()
1031 dev_info(i2c->dev, "slave address 0x%02x\n", pdata->slave_addr); in s3c24xx_i2c_init()
1067 of_property_read_u32(np, "samsung,i2c-slave-addr", &pdata->slave_addr); in s3c24xx_i2c_parse_dt()
/linux-4.19.296/include/linux/platform_data/
Di2c-pxa.h65 unsigned int slave_addr; member
Di2c-s3c2410.h34 unsigned int slave_addr; member
/linux-4.19.296/include/uapi/linux/
Dipmi.h79 unsigned char slave_addr; member