/linux/drivers/char/ipmi/ |
A D | ipmi_dmi.c | 27 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 D | ipmi_si_platform.c | 137 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 D | ipmi_ssif.c | 181 int slave_addr; member 1437 if (!slave_addr) in find_slave_address() 1444 return slave_addr; in find_slave_address() 1630 u8 slave_addr = 0; in ssif_probe() local 1658 slave_addr = addr_info->slave_addr; in ssif_probe() 1678 slave_addr = find_slave_address(client, slave_addr); in ssif_probe() 1870 slave_addr); in ssif_probe() 1898 int debug, int slave_addr, in new_ssif_client() argument 1931 addr_info->slave_addr = slave_addr; in new_ssif_client() 2002 u8 slave_addr = 0; in dmi_ipmi_probe() local [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
A D | dvo_sil164.c | 78 .addr = dvo->slave_addr, in sil164_readb() 84 .addr = dvo->slave_addr, in sil164_readb() 101 addr, adapter->name, dvo->slave_addr); in sil164_readb() 112 .addr = dvo->slave_addr, in sil164_writeb() 126 addr, adapter->name, dvo->slave_addr); in sil164_writeb() 153 ch, adapter->name, dvo->slave_addr); in sil164_init() 162 ch, adapter->name, dvo->slave_addr); in sil164_init()
|
A D | dvo_tfp410.c | 103 .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 D | dvo_ch7xxx.c | 145 .addr = dvo->slave_addr, in ch7xxx_readb() 151 .addr = dvo->slave_addr, in ch7xxx_readb() 168 addr, adapter->name, dvo->slave_addr); in ch7xxx_readb() 180 .addr = dvo->slave_addr, in ch7xxx_writeb() 194 addr, adapter->name, dvo->slave_addr); in ch7xxx_writeb() 222 vendor, adapter->name, dvo->slave_addr); in ch7xxx_init() 233 device, adapter->name, dvo->slave_addr); in ch7xxx_init()
|
A D | dvo_ivch.c | 201 .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 D | dvo_ch7017.c | 173 .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 D | intel_dvo.c | 60 .slave_addr = SIL164_ADDR, 68 .slave_addr = CH7xxx_ADDR, 76 .slave_addr = 0x75, /* For some ch7010 */ 84 .slave_addr = 0x02, /* Might also be 0x44, 0x84, 0xc4 */ 92 .slave_addr = TFP410_ADDR, 100 .slave_addr = 0x75, 109 .slave_addr = NS2501_ADDR,
|
A D | dvo_ns2501.c | 402 .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()
|
A D | intel_dsi_vbt.c | 88 u16 slave_addr; member 407 if (lookup->slave_addr != sb->slave_address) in i2c_adapter_lookup() 424 const u16 slave_addr) in i2c_acpi_find_adapter() argument 435 lookup.slave_addr = slave_addr; in i2c_acpi_find_adapter() 448 const u16 slave_addr) in i2c_acpi_find_adapter() argument 460 u16 slave_addr = *(u16 *)(data + 3); in mipi_exec_i2c() local 467 i2c_acpi_find_adapter(intel_dsi, slave_addr); in mipi_exec_i2c() 483 msg.addr = slave_addr; in mipi_exec_i2c()
|
/linux/drivers/spmi/ |
A D | hisi-spmi-controller.c | 112 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/drivers/infiniband/hw/hfi1/ |
A D | qsfp.c | 174 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/drivers/i2c/busses/ |
A D | i2c-sun6i-p2wi.c | 91 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 D | i2c-pnx.c | 145 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 D | i2c-amd-mp2-pci.c | 82 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 D | i2c-amd-mp2.h | 83 u32 slave_addr : 8; member 132 u32 slave_addr : 8; member
|
/linux/include/linux/ |
A D | via_i2c.h | 21 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 D | ipmi_smi.h | 290 unsigned char slave_addr); 292 #define ipmi_register_smi(handlers, send_info, dev, slave_addr) \ argument 293 ipmi_add_smi(THIS_MODULE, handlers, send_info, dev, slave_addr)
|
/linux/drivers/video/fbdev/via/ |
A D | via_i2c.c | 107 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/drivers/gpu/drm/amd/amdgpu/ |
A D | atombios_i2c.c | 39 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 D | amdgpu_i2c.c | 284 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/drivers/dma/sh/ |
A D | shdma-base.c | 171 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() 1005 !sdev->ops->slave_addr || in shdma_init()
|
/linux/drivers/gpu/drm/gma500/ |
A D | intel_bios.c | 359 if (p_child->slave_addr != SLAVE_ADDR1 && in parse_sdvo_device_mapping() 360 p_child->slave_addr != SLAVE_ADDR2) { in parse_sdvo_device_mapping() 375 p_child->slave_addr, in parse_sdvo_device_mapping() 381 p_mapping->slave_addr = p_child->slave_addr; in parse_sdvo_device_mapping() 388 p_mapping->slave_addr, in parse_sdvo_device_mapping()
|
/linux/drivers/gpu/drm/i915/gvt/ |
A D | edid.c | 179 u32 slave_addr; in gmbus1_mmio_write() local 210 slave_addr = gmbus1_slave_addr(wvalue); in gmbus1_mmio_write() 213 if (slave_addr == EDID_ADDR) { in gmbus1_mmio_write() 215 } else if (slave_addr != 0) { in gmbus1_mmio_write() 219 vgpu->id, slave_addr); in gmbus1_mmio_write()
|