Home
last modified time | relevance | path

Searched refs:pld (Results 1 – 5 of 5) sorted by relevance

/linux-4.19.296/drivers/gpio/
Dgpio-kempld.c35 struct kempld_device_data *pld; member
42 static void kempld_gpio_bitop(struct kempld_device_data *pld, in kempld_gpio_bitop() argument
47 status = kempld_read8(pld, reg); in kempld_gpio_bitop()
52 kempld_write8(pld, reg, status); in kempld_gpio_bitop()
55 static int kempld_gpio_get_bit(struct kempld_device_data *pld, u8 reg, u8 bit) in kempld_gpio_get_bit() argument
59 kempld_get_mutex(pld); in kempld_gpio_get_bit()
60 status = kempld_read8(pld, reg); in kempld_gpio_get_bit()
61 kempld_release_mutex(pld); in kempld_gpio_get_bit()
69 struct kempld_device_data *pld = gpio->pld; in kempld_gpio_get() local
71 return !!kempld_gpio_get_bit(pld, KEMPLD_GPIO_LVL_NUM(offset), offset); in kempld_gpio_get()
[all …]
/linux-4.19.296/drivers/i2c/busses/
Di2c-kempld.c65 struct kempld_device_data *pld; member
92 struct kempld_device_data *pld = i2c->pld; in kempld_i2c_process() local
93 u8 stat = kempld_read8(pld, KEMPLD_I2C_STAT); in kempld_i2c_process()
103 kempld_write8(pld, KEMPLD_I2C_CMD, I2C_CMD_IACK); in kempld_i2c_process()
112 kempld_write8(pld, KEMPLD_I2C_CMD, I2C_CMD_STOP); in kempld_i2c_process()
135 kempld_write8(pld, KEMPLD_I2C_DATA, addr); in kempld_i2c_process()
136 kempld_write8(pld, KEMPLD_I2C_CMD, I2C_CMD_START); in kempld_i2c_process()
143 kempld_write8(pld, KEMPLD_I2C_DATA, i2c->msg->addr & 0xff); in kempld_i2c_process()
144 kempld_write8(pld, KEMPLD_I2C_CMD, I2C_CMD_WRITE); in kempld_i2c_process()
155 kempld_write8(pld, KEMPLD_I2C_CMD, I2C_CMD_STOP); in kempld_i2c_process()
[all …]
/linux-4.19.296/include/linux/mfd/
Dkempld.h120 extern void kempld_get_mutex(struct kempld_device_data *pld);
121 extern void kempld_release_mutex(struct kempld_device_data *pld);
122 extern u8 kempld_read8(struct kempld_device_data *pld, u8 index);
123 extern void kempld_write8(struct kempld_device_data *pld, u8 index, u8 data);
124 extern u16 kempld_read16(struct kempld_device_data *pld, u8 index);
125 extern void kempld_write16(struct kempld_device_data *pld, u8 index, u16 data);
126 extern u32 kempld_read32(struct kempld_device_data *pld, u8 index);
127 extern void kempld_write32(struct kempld_device_data *pld, u8 index, u32 data);
/linux-4.19.296/include/uapi/linux/wimax/
Di2400m.h322 struct i2400m_pld pld[0]; member
/linux-4.19.296/include/acpi/
Dacpi_bus.h53 acpi_get_physical_device_location(acpi_handle handle, struct acpi_pld_info **pld);