Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/drivers/char/ipmi/
A Dipmi_dmi.c27 u8 slave_addr; member
37 u8 slave_addr, in dmi_add_platform_ipmi() argument
74 p.slave_addr = slave_addr; in dmi_add_platform_ipmi()
84 info->slave_addr = slave_addr; in dmi_add_platform_ipmi()
109 return info->slave_addr; in ipmi_dmi_get_slave_addr()
132 u8 slave_addr; in dmi_decode_ipmi() local
140 slave_addr = data[DMI_IPMI_SLAVEADDR]; in dmi_decode_ipmi()
158 slave_addr = 0; in dmi_decode_ipmi()
210 dmi_add_platform_ipmi(base_addr, space, slave_addr, irq, in dmi_decode_ipmi()
A Dipmi_si_platform.c137 u8 type, slave_addr, addr_source, regsize, regshift; in platform_ipmi_probe() local
189 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()
299 static int find_slave_address(struct si_sm_io *io, int slave_addr) in find_slave_address() argument
302 if (!slave_addr) in find_slave_address()
303 slave_addr = ipmi_dmi_get_slave_addr(io->si_type, in find_slave_address()
308 return slave_addr; in find_slave_address()
379 io.slave_addr = find_slave_address(&io, io.slave_addr); in acpi_ipmi_probe()
A Dipmi_ssif.c184 int slave_addr; member
1453 if (!slave_addr) in find_slave_address()
1460 return slave_addr; in find_slave_address()
1648 u8 slave_addr = 0; in ssif_probe() local
1676 slave_addr = addr_info->slave_addr; in ssif_probe()
1696 slave_addr = find_slave_address(client, slave_addr); in ssif_probe()
1888 slave_addr); in ssif_probe()
1916 int debug, int slave_addr, in new_ssif_client() argument
1949 addr_info->slave_addr = slave_addr; in new_ssif_client()
2020 u8 slave_addr = 0; in dmi_ipmi_probe() local
[all …]
/linux-6.3-rc2/drivers/spmi/
A Dhisi-spmi-controller.c112 u8 opc, u8 slave_id, u16 slave_addr, u8 *__buf, size_t bc) in spmi_read_cmd() argument
148 ((slave_addr & 0xffff) << SPMI_APB_SPMI_CMD_ADDR_OFFSET); /* slave_addr */ in spmi_read_cmd()
155 spmi_controller->base, slave_id, slave_addr); in spmi_read_cmd()
179 opc, slave_id, slave_addr, bc + 1); in spmi_read_cmd()
182 __func__, slave_id, slave_addr, (int)bc, __buf); in spmi_read_cmd()
188 u8 opc, u8 slave_id, u16 slave_addr, const u8 *__buf, size_t bc) in spmi_write_cmd() argument
224 ((slave_addr & 0xffff) << SPMI_APB_SPMI_CMD_ADDR_OFFSET); in spmi_write_cmd()
250 slave_addr); in spmi_write_cmd()
255 opc, slave_id, slave_addr, bc); in spmi_write_cmd()
258 __func__, slave_id, slave_addr, (int)bc, __buf); in spmi_write_cmd()
/linux-6.3-rc2/drivers/gpu/drm/i915/display/
A Ddvo_sil164.c82 .addr = dvo->slave_addr, in sil164_readb()
88 .addr = dvo->slave_addr, in sil164_readb()
105 addr, adapter->name, dvo->slave_addr); in sil164_readb()
116 .addr = dvo->slave_addr, in sil164_writeb()
130 addr, adapter->name, dvo->slave_addr); in sil164_writeb()
157 ch, adapter->name, dvo->slave_addr); in sil164_init()
166 ch, adapter->name, dvo->slave_addr); in sil164_init()
A Ddvo_tfp410.c103 .addr = dvo->slave_addr, in tfp410_readb()
109 .addr = dvo->slave_addr, in tfp410_readb()
126 addr, adapter->name, dvo->slave_addr); in tfp410_readb()
137 .addr = dvo->slave_addr, in tfp410_writeb()
151 addr, adapter->name, dvo->slave_addr); in tfp410_writeb()
187 id, adapter->name, dvo->slave_addr); in tfp410_init()
194 id, adapter->name, dvo->slave_addr); in tfp410_init()
A Ddvo_ch7xxx.c156 .addr = dvo->slave_addr, in ch7xxx_readb()
162 .addr = dvo->slave_addr, in ch7xxx_readb()
179 addr, adapter->name, dvo->slave_addr); in ch7xxx_readb()
191 .addr = dvo->slave_addr, in ch7xxx_writeb()
205 addr, adapter->name, dvo->slave_addr); in ch7xxx_writeb()
233 vendor, adapter->name, dvo->slave_addr); in ch7xxx_init()
244 device, adapter->name, dvo->slave_addr); in ch7xxx_init()
A Ddvo_ivch.c201 .addr = dvo->slave_addr, in ivch_read()
212 .addr = dvo->slave_addr, in ivch_read()
229 addr, adapter->name, dvo->slave_addr); in ivch_read()
241 .addr = dvo->slave_addr, in ivch_write()
256 addr, adapter->name, dvo->slave_addr); in ivch_write()
286 if ((temp & VR00_BASE_ADDRESS_MASK) != dvo->slave_addr) { in ivch_init()
289 (temp & VR00_BASE_ADDRESS_MASK), dvo->slave_addr); in ivch_init()
A Ddvo_ch7017.c173 .addr = dvo->slave_addr, in ch7017_read()
179 .addr = dvo->slave_addr, in ch7017_read()
192 .addr = dvo->slave_addr, in ch7017_write()
231 val, adapter->name, dvo->slave_addr); in ch7017_init()
236 str, adapter->name, dvo->slave_addr); in ch7017_init()
A Dintel_dvo.c61 .slave_addr = SIL164_ADDR,
68 .slave_addr = CH7xxx_ADDR,
75 .slave_addr = 0x75, /* For some ch7010 */
82 .slave_addr = 0x02, /* Might also be 0x44, 0x84, 0xc4 */
89 .slave_addr = TFP410_ADDR,
96 .slave_addr = 0x75,
104 .slave_addr = NS2501_ADDR,
A Ddvo_ns2501.c402 .addr = dvo->slave_addr, in ns2501_readb()
408 .addr = dvo->slave_addr, in ns2501_readb()
426 adapter->name, dvo->slave_addr); in ns2501_readb()
445 .addr = dvo->slave_addr, in ns2501_writeb()
460 addr, adapter->name, dvo->slave_addr); in ns2501_writeb()
492 ch, adapter->name, dvo->slave_addr); in ns2501_init()
501 ch, adapter->name, dvo->slave_addr); in ns2501_init()
/linux-6.3-rc2/drivers/i2c/busses/
A Di2c-sun6i-p2wi.c91 int slave_addr; member
124 if (p2wi->slave_addr >= 0 && addr != p2wi->slave_addr) { in p2wi_smbus_xfer()
191 u32 slave_addr; in p2wi_probe() local
213 p2wi->slave_addr = -1; in p2wi_probe()
223 ret = of_property_read_u32(childnp, "reg", &slave_addr); in p2wi_probe()
230 p2wi->slave_addr = slave_addr; in p2wi_probe()
A 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()
A Di2c-amd-mp2-pci.c82 i2c_cmd_base->s.slave_addr = i2c_common->msg->addr; in amd_mp2_cmd_rw_fill()
115 u32 slave_addr = i2c_common->eventval.r.slave_addr; in amd_mp2_pci_check_rw_event() local
124 if (unlikely(slave_addr != i2c_common->msg->addr)) { in amd_mp2_pci_check_rw_event()
126 slave_addr, i2c_common->msg->addr); in amd_mp2_pci_check_rw_event()
A Di2c-amd-mp2.h83 u32 slave_addr : 8; member
132 u32 slave_addr : 8; member
/linux-6.3-rc2/drivers/infiniband/hw/hfi1/
A Dqsfp.c174 u8 slave_addr, int offset, int offset_size, in i2c_bus_write() argument
185 msgs[0].addr = slave_addr; in i2c_bus_write()
197 msgs[0].addr = slave_addr; in i2c_bus_write()
202 msgs[1].addr = slave_addr; in i2c_bus_write()
215 __func__, i2c->num, slave_addr, offset, len, ret); in i2c_bus_write()
222 u8 slave_addr, int offset, int offset_size, in i2c_bus_read() argument
233 msgs[0].addr = slave_addr; in i2c_bus_read()
245 msgs[0].addr = slave_addr; in i2c_bus_read()
250 msgs[1].addr = slave_addr; in i2c_bus_read()
279 u8 slave_addr; in __i2c_write() local
[all …]
/linux-6.3-rc2/include/linux/
A Dvia_i2c.h21 int viafb_i2c_readbyte(u8 adap, u8 slave_addr, u8 index, u8 *pdata);
22 int viafb_i2c_writebyte(u8 adap, u8 slave_addr, u8 index, u8 data);
23 int viafb_i2c_readbytes(u8 adap, u8 slave_addr, u8 index, u8 *buff, int buff_len);
A Dipmi_smi.h296 unsigned char slave_addr);
298 #define ipmi_register_smi(handlers, send_info, dev, slave_addr) \ argument
299 ipmi_add_smi(THIS_MODULE, handlers, send_info, dev, slave_addr)
/linux-6.3-rc2/drivers/video/fbdev/via/
A Dvia_i2c.c107 int viafb_i2c_readbyte(u8 adap, u8 slave_addr, u8 index, u8 *pdata) in viafb_i2c_readbyte() argument
118 msgs[0].addr = msgs[1].addr = slave_addr / 2; in viafb_i2c_readbyte()
131 int viafb_i2c_writebyte(u8 adap, u8 slave_addr, u8 index, u8 data) in viafb_i2c_writebyte() argument
140 msgs.addr = slave_addr / 2; in viafb_i2c_writebyte()
152 int viafb_i2c_readbytes(u8 adap, u8 slave_addr, u8 index, u8 *buff, int buff_len) in viafb_i2c_readbytes() argument
162 msgs[0].addr = msgs[1].addr = slave_addr / 2; in viafb_i2c_readbytes()
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Datombios_i2c.c39 u8 slave_addr, u8 flags, in amdgpu_atombios_i2c_process_i2c_ch() argument
86 args.ucSlaveAddr = slave_addr << 1; in amdgpu_atombios_i2c_process_i2c_ch()
162 void amdgpu_atombios_i2c_channel_trans(struct amdgpu_device *adev, u8 slave_addr, u8 line_number, u… in amdgpu_atombios_i2c_channel_trans() argument
172 args.ucSlaveAddr = slave_addr; in amdgpu_atombios_i2c_channel_trans()
A Damdgpu_i2c.c284 u8 slave_addr, in amdgpu_i2c_get_byte() argument
292 .addr = slave_addr, in amdgpu_i2c_get_byte()
298 .addr = slave_addr, in amdgpu_i2c_get_byte()
318 u8 slave_addr, in amdgpu_i2c_put_byte() argument
324 .addr = slave_addr, in amdgpu_i2c_put_byte()
/linux-6.3-rc2/drivers/dma/sh/
A Dshdma-base.c171 static int shdma_setup_slave(struct shdma_chan *schan, dma_addr_t slave_addr) in shdma_setup_slave() argument
179 ret = ops->set_slave(schan, match, slave_addr, true); in shdma_setup_slave()
192 ret = ops->set_slave(schan, match, slave_addr, false); in shdma_setup_slave()
669 dma_addr_t slave_addr; in shdma_prep_slave_sg() local
683 slave_addr = ops->slave_addr(schan); in shdma_prep_slave_sg()
685 return shdma_prep_sg(schan, sgl, sg_len, &slave_addr, in shdma_prep_slave_sg()
702 dma_addr_t slave_addr; in shdma_prep_dma_cyclic() local
725 slave_addr = ops->slave_addr(schan); in shdma_prep_dma_cyclic()
746 desc = shdma_prep_sg(schan, sgl, sg_len, &slave_addr, in shdma_prep_dma_cyclic()
997 !sdev->ops->slave_addr || in shdma_init()
/linux-6.3-rc2/drivers/gpu/drm/gma500/
A Dintel_bios.c360 if (p_child->slave_addr != SLAVE_ADDR1 && in parse_sdvo_device_mapping()
361 p_child->slave_addr != SLAVE_ADDR2) { in parse_sdvo_device_mapping()
376 p_child->slave_addr, in parse_sdvo_device_mapping()
382 p_mapping->slave_addr = p_child->slave_addr; in parse_sdvo_device_mapping()
389 p_mapping->slave_addr, in parse_sdvo_device_mapping()
/linux-6.3-rc2/drivers/gpu/drm/i915/gvt/
A Dedid.c181 u32 slave_addr; in gmbus1_mmio_write() local
212 slave_addr = gmbus1_slave_addr(wvalue); in gmbus1_mmio_write()
215 if (slave_addr == EDID_ADDR) { in gmbus1_mmio_write()
217 } else if (slave_addr != 0) { in gmbus1_mmio_write()
221 vgpu->id, slave_addr); in gmbus1_mmio_write()
/linux-6.3-rc2/include/uapi/linux/
A Dipmi.h79 unsigned char slave_addr; member
92 unsigned char slave_addr; member

Completed in 50 milliseconds

123