Home
last modified time | relevance | path

Searched refs:prev_data (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/staging/fbtft/
H A Dfbtft-io.c135 static u8 prev_data; in fbtft_write_gpio8_wr() local
149 if (data == prev_data) { in fbtft_write_gpio8_wr()
153 if ((data & 1) != (prev_data & 1)) in fbtft_write_gpio8_wr()
157 prev_data >>= 1; in fbtft_write_gpio8_wr()
171 prev_data = *(u8 *)buf; in fbtft_write_gpio8_wr()
185 static u16 prev_data; in fbtft_write_gpio16_wr() local
199 if (data == prev_data) { in fbtft_write_gpio16_wr()
203 if ((data & 1) != (prev_data & 1)) in fbtft_write_gpio16_wr()
207 prev_data >>= 1; in fbtft_write_gpio16_wr()
221 prev_data = *(u16 *)buf; in fbtft_write_gpio16_wr()
/openbmc/linux/drivers/fsi/
H A Dfsi-scom.c424 u64 prev_data, mask, data; in scom_raw_write() local
433 rc = raw_get_scom(scom, &prev_data, acc.addr, &status); in scom_raw_write()
440 prev_data = mask = -1ull; in scom_raw_write()
442 data = (prev_data & ~mask) | (acc.data & mask); in scom_raw_write()
/openbmc/linux/block/
H A Dsed-opal.c102 void *prev_data; member
1338 kfree(dev->prev_data); in gen_key()
1339 dev->prev_data = NULL; in gen_key()
1371 if (!dev->prev_data) in get_active_key_cont()
1749 const u8 *key = dev->prev_data; in start_SIDASP_opal_session()
1763 dev->prev_data = NULL; in start_SIDASP_opal_session()
2326 if (!dev->prev_data) in get_msid_cpin_pin()
2352 dev->prev_data = (void *)data_read; in read_table_data_cont()
2353 if (!dev->prev_data) { in read_table_data_cont()
2433 dev->prev_data = NULL; in read_table_data()
[all …]
/openbmc/linux/drivers/tty/
H A Dn_gsm.c187 void (*prev_data)(struct gsm_dlci *dlci, const u8 *data, int len); member
3912 dlci->data = dlci->prev_data; in dlci_net_free()
4073 dlci->prev_data = dlci->data; in gsm_create_network()