Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/staging/fbtft/
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()
/linux-6.1.9/block/
Dsed-opal.c95 void *prev_data; member
1207 memcpy(uid, dev->prev_data, min(sizeof(uid), dev->prev_d_len)); in gen_key()
1208 kfree(dev->prev_data); in gen_key()
1209 dev->prev_data = NULL; in gen_key()
1239 dev->prev_data = kmemdup(activekey, keylen, GFP_KERNEL); in get_active_key_cont()
1241 if (!dev->prev_data) in get_active_key_cont()
1496 const u8 *key = dev->prev_data; in start_SIDASP_opal_session()
1510 dev->prev_data = NULL; in start_SIDASP_opal_session()
1999 dev->prev_data = kmemdup(msid_pin, strlen, GFP_KERNEL); in get_msid_cpin_pin()
2000 if (!dev->prev_data) in get_msid_cpin_pin()
[all …]
/linux-6.1.9/drivers/fsi/
Dfsi-scom.c423 u64 prev_data, mask, data; in scom_raw_write() local
432 rc = raw_get_scom(scom, &prev_data, acc.addr, &status); in scom_raw_write()
439 prev_data = mask = -1ull; in scom_raw_write()
441 data = (prev_data & ~mask) | (acc.data & mask); in scom_raw_write()
/linux-6.1.9/drivers/tty/
Dn_gsm.c171 void (*prev_data)(struct gsm_dlci *dlci, const u8 *data, int len); member
3151 dlci->data = dlci->prev_data; in dlci_net_free()
3312 dlci->prev_data = dlci->data; in gsm_create_network()