/openbmc/linux/drivers/i2c/ |
H A D | i2c-atr.c | 137 struct i2c_atr *atr = chan->atr; in i2c_atr_map_msgs() local 196 struct i2c_atr *atr = chan->atr; in i2c_atr_master_xfer() local 224 struct i2c_atr *atr = chan->atr; in i2c_atr_smbus_xfer() local 249 struct i2c_atr *atr = chan->atr; in i2c_atr_lock_bus() local 257 struct i2c_atr *atr = chan->atr; in i2c_atr_trylock_bus() local 265 struct i2c_atr *atr = chan->atr; in i2c_atr_unlock_bus() local 320 struct i2c_atr *atr = chan->atr; in i2c_atr_attach_client() local 362 struct i2c_atr *atr = chan->atr; in i2c_atr_detach_client() local 365 atr->ops->detach_client(atr, chan->chan_id, client); in i2c_atr_detach_client() 513 if (!atr) in i2c_atr_new() [all …]
|
H A D | Makefile | 16 obj-$(CONFIG_I2C_ATR) += i2c-atr.o
|
/openbmc/u-boot/scripts/kconfig/lxdialog/ |
H A D | util.c | 20 dlg.screen.atr = A_NORMAL; in set_mono_theme() 21 dlg.shadow.atr = A_NORMAL; in set_mono_theme() 22 dlg.dialog.atr = A_NORMAL; in set_mono_theme() 23 dlg.title.atr = A_BOLD; in set_mono_theme() 24 dlg.border.atr = A_NORMAL; in set_mono_theme() 39 dlg.item.atr = A_NORMAL; in set_mono_theme() 41 dlg.tag.atr = A_BOLD; in set_mono_theme() 43 dlg.tag_key.atr = A_BOLD; in set_mono_theme() 45 dlg.check.atr = A_BOLD; in set_mono_theme() 47 dlg.uarrow.atr = A_BOLD; in set_mono_theme() [all …]
|
H A D | checklist.c | 27 wattrset(win, dlg.menubox.atr); in print_item() 34 : dlg.check.atr); in print_item() 38 wattrset(win, selected ? dlg.tag_selected.atr : dlg.tag.atr); in print_item() 40 wattrset(win, selected ? dlg.item_selected.atr : dlg.item.atr); in print_item() 58 wattrset(win, dlg.uarrow.atr); in print_arrows() 62 wattrset(win, dlg.menubox.atr); in print_arrows() 73 wattrset(win, dlg.darrow.atr); in print_arrows() 139 dlg.dialog.atr, dlg.border.atr); in dialog_checklist() 140 wattrset(dialog, dlg.border.atr); in dialog_checklist() 144 wattrset(dialog, dlg.dialog.atr); in dialog_checklist() [all …]
|
H A D | menubox.c | 64 wattrset(win, dlg.menubox.atr); in do_print_item() 75 wattrset(win, selected ? dlg.item_selected.atr : dlg.item.atr); in do_print_item() 79 : dlg.tag_key.atr); in do_print_item() 108 wattrset(win, dlg.uarrow.atr); in print_arrows() 112 wattrset(win, dlg.menubox.atr); in print_arrows() 124 wattrset(win, dlg.darrow.atr); in print_arrows() 202 dlg.dialog.atr, dlg.border.atr); in dialog_menu() 203 wattrset(dialog, dlg.border.atr); in dialog_menu() 207 wattrset(dialog, dlg.dialog.atr); in dialog_menu() 213 wattrset(dialog, dlg.dialog.atr); in dialog_menu() [all …]
|
H A D | inputbox.c | 61 dlg.dialog.atr, dlg.border.atr); in dialog_inputbox() 62 wattrset(dialog, dlg.border.atr); in dialog_inputbox() 66 wattrset(dialog, dlg.dialog.atr); in dialog_inputbox() 71 wattrset(dialog, dlg.dialog.atr); in dialog_inputbox() 80 dlg.dialog.atr, dlg.border.atr); in dialog_inputbox() 86 wattrset(dialog, dlg.inputbox.atr); in dialog_inputbox() 118 wattrset(dialog, dlg.inputbox.atr); in dialog_inputbox() 186 wattrset(dialog, dlg.inputbox.atr); in dialog_inputbox()
|
H A D | yesno.c | 50 dlg.dialog.atr, dlg.border.atr); in dialog_yesno() 51 wattrset(dialog, dlg.border.atr); in dialog_yesno() 55 wattrset(dialog, dlg.dialog.atr); in dialog_yesno() 60 wattrset(dialog, dlg.dialog.atr); in dialog_yesno()
|
H A D | textbox.c | 100 wattrset(box, dlg.dialog.atr); in dialog_textbox() 101 wbkgdset(box, dlg.dialog.atr & A_COLOR); in dialog_textbox() 107 dlg.dialog.atr, dlg.border.atr); in dialog_textbox() 109 wattrset(dialog, dlg.border.atr); in dialog_textbox() 113 wattrset(dialog, dlg.dialog.atr); in dialog_textbox() 114 wbkgdset(dialog, dlg.dialog.atr & A_COLOR); in dialog_textbox() 124 attr_clear(box, boxh, boxw, dlg.dialog.atr); in dialog_textbox() 390 wattrset(win, dlg.position_indicator.atr); in print_position() 391 wbkgdset(win, dlg.position_indicator.atr & A_COLOR); in print_position()
|
/openbmc/linux/scripts/kconfig/lxdialog/ |
H A D | util.c | 20 dlg.screen.atr = A_NORMAL; in set_mono_theme() 21 dlg.shadow.atr = A_NORMAL; in set_mono_theme() 22 dlg.dialog.atr = A_NORMAL; in set_mono_theme() 23 dlg.title.atr = A_BOLD; in set_mono_theme() 24 dlg.border.atr = A_NORMAL; in set_mono_theme() 39 dlg.item.atr = A_NORMAL; in set_mono_theme() 41 dlg.tag.atr = A_BOLD; in set_mono_theme() 43 dlg.tag_key.atr = A_BOLD; in set_mono_theme() 45 dlg.check.atr = A_BOLD; in set_mono_theme() 47 dlg.uarrow.atr = A_BOLD; in set_mono_theme() [all …]
|
H A D | checklist.c | 27 wattrset(win, dlg.menubox.atr); in print_item() 34 : dlg.check.atr); in print_item() 38 wattrset(win, selected ? dlg.tag_selected.atr : dlg.tag.atr); in print_item() 40 wattrset(win, selected ? dlg.item_selected.atr : dlg.item.atr); in print_item() 58 wattrset(win, dlg.uarrow.atr); in print_arrows() 62 wattrset(win, dlg.menubox.atr); in print_arrows() 73 wattrset(win, dlg.darrow.atr); in print_arrows() 139 dlg.dialog.atr, dlg.border.atr); in dialog_checklist() 140 wattrset(dialog, dlg.border.atr); in dialog_checklist() 144 wattrset(dialog, dlg.dialog.atr); in dialog_checklist() [all …]
|
H A D | menubox.c | 64 wattrset(win, dlg.menubox.atr); in do_print_item() 67 wattrset(win, selected ? dlg.item_selected.atr : dlg.item.atr); in do_print_item() 71 : dlg.tag_key.atr); in do_print_item() 100 wattrset(win, dlg.uarrow.atr); in print_arrows() 104 wattrset(win, dlg.menubox.atr); in print_arrows() 116 wattrset(win, dlg.darrow.atr); in print_arrows() 194 dlg.dialog.atr, dlg.border.atr); in dialog_menu() 195 wattrset(dialog, dlg.border.atr); in dialog_menu() 199 wattrset(dialog, dlg.dialog.atr); in dialog_menu() 205 wattrset(dialog, dlg.dialog.atr); in dialog_menu() [all …]
|
H A D | inputbox.c | 61 dlg.dialog.atr, dlg.border.atr); in dialog_inputbox() 62 wattrset(dialog, dlg.border.atr); in dialog_inputbox() 66 wattrset(dialog, dlg.dialog.atr); in dialog_inputbox() 71 wattrset(dialog, dlg.dialog.atr); in dialog_inputbox() 80 dlg.dialog.atr, dlg.border.atr); in dialog_inputbox() 86 wattrset(dialog, dlg.inputbox.atr); in dialog_inputbox() 119 wattrset(dialog, dlg.inputbox.atr); in dialog_inputbox() 187 wattrset(dialog, dlg.inputbox.atr); in dialog_inputbox()
|
H A D | textbox.c | 123 wattrset(win, dlg.position_indicator.atr); in print_position() 124 wbkgdset(win, dlg.position_indicator.atr & A_COLOR); in print_position() 208 wattrset(box, dlg.dialog.atr); in dialog_textbox() 209 wbkgdset(box, dlg.dialog.atr & A_COLOR); in dialog_textbox() 215 dlg.dialog.atr, dlg.border.atr); in dialog_textbox() 217 wattrset(dialog, dlg.border.atr); in dialog_textbox() 221 wattrset(dialog, dlg.dialog.atr); in dialog_textbox() 222 wbkgdset(dialog, dlg.dialog.atr & A_COLOR); in dialog_textbox() 232 attr_clear(box, boxh, boxw, dlg.dialog.atr); in dialog_textbox()
|
H A D | yesno.c | 50 dlg.dialog.atr, dlg.border.atr); in dialog_yesno() 51 wattrset(dialog, dlg.border.atr); in dialog_yesno() 55 wattrset(dialog, dlg.dialog.atr); in dialog_yesno() 60 wattrset(dialog, dlg.dialog.atr); in dialog_yesno()
|
/openbmc/linux/include/linux/ |
H A D | i2c-atr.h | 33 int (*attach_client)(struct i2c_atr *atr, u32 chan_id, 35 void (*detach_client)(struct i2c_atr *atr, u32 chan_id, 63 void i2c_atr_delete(struct i2c_atr *atr); 88 int i2c_atr_add_adapter(struct i2c_atr *atr, u32 chan_id, 99 void i2c_atr_del_adapter(struct i2c_atr *atr, u32 chan_id); 106 void i2c_atr_set_driver_data(struct i2c_atr *atr, void *data); 114 void *i2c_atr_get_driver_data(struct i2c_atr *atr);
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-isl1208.c | 212 if (atr < 0) in isl1208_i2c_get_atr() 213 return atr; in isl1208_i2c_get_atr() 226 atr &= 0x3f; /* mask out lsb */ in isl1208_i2c_get_atr() 230 return atr; in isl1208_i2c_get_atr() 301 int sr, dtr, atr, usr; in isl1208_rtc_proc() local 324 atr = isl1208_i2c_get_atr(client); in isl1208_rtc_proc() 325 if (atr >= 0) in isl1208_rtc_proc() 327 atr >> 2, (atr & 0x3) * 25); in isl1208_rtc_proc() 694 if (atr < 0) in isl1208_sysfs_show_atrim() 695 return atr; in isl1208_sysfs_show_atrim() [all …]
|
H A D | rtc-x1205.c | 336 s8 atr; in x1205_get_atrim() local 349 .buf = &atr in x1205_get_atrim() 359 dev_dbg(&client->dev, "%s: raw atr=%x\n", __func__, atr); in x1205_get_atrim() 365 atr = sign_extend32(atr, 5); in x1205_get_atrim() 367 dev_dbg(&client->dev, "%s: raw atr=%x (%d)\n", __func__, atr, atr); in x1205_get_atrim() 369 *trim = (atr * 250) + 11000; in x1205_get_atrim()
|
/openbmc/qemu/hw/usb/ |
H A D | ccid-card-emulated.c | 124 uint8_t atr[MAX_ATR_SIZE]; member 162 return card->atr; in emulated_get_atr() 215 const uint8_t *atr, uint32_t len) in emulated_push_card_insert() argument 217 emulated_push_data_type(card, EMUL_CARD_INSERT, atr, len); in emulated_push_card_insert() 283 uint8_t atr[MAX_ATR_SIZE]; in event_thread() local 343 vreader_power_on(event->reader, atr, &atr_len); in event_thread() 346 emulated_push_card_insert(card, atr, atr_len); in event_thread() 386 memcpy(card->atr, event->p.data.data, card->atr_length); in card_event_handler()
|
H A D | ccid-card-passthru.c | 63 uint8_t atr[MAX_ATR_SIZE]; member 228 memcpy(card->atr, data, scr_msg_header->length); in ccid_card_vscard_handle_message() 350 return card->atr; in passthru_get_atr() 373 memcpy(card->atr, DEFAULT_ATR, sizeof(DEFAULT_ATR)); in passthru_realize() 385 VMSTATE_BUFFER(atr, PassthruState),
|
H A D | dev-smartcard-reader.c | 825 static uint8_t atr_get_protocol_num(const uint8_t *atr, uint32_t len) in atr_get_protocol_num() argument 829 if (len < 2 || !(atr[1] & 0x80)) { in atr_get_protocol_num() 833 i = 1 + !!(atr[1] & 0x10) + !!(atr[1] & 0x20) + !!(atr[1] & 0x40); in atr_get_protocol_num() 834 i += !!(atr[1] & 0x80); in atr_get_protocol_num() 835 return atr[i] & 0x0f; in atr_get_protocol_num() 840 const uint8_t *atr = NULL; in ccid_write_data_block_atr() local 847 atr = ccid_card_get_atr(s->card, &len); in ccid_write_data_block_atr() 849 atr_protocol_num = atr_get_protocol_num(atr, len); in ccid_write_data_block_atr() 878 ccid_write_data_block(s, recv->bSlot, recv->bSeq, atr, len); in ccid_write_data_block_atr()
|
/openbmc/linux/include/media/i2c/ |
H A D | ds90ub9xx.h | 18 struct i2c_atr *atr; member
|
/openbmc/linux/drivers/nfc/st21nfca/ |
H A D | se.c | 56 td = ST21NFCA_ATR_GET_Y_FROM_TD(info->se_info.atr[i]); in st21nfca_se_get_bwi() 61 return info->se_info.atr[i] >> 4; in st21nfca_se_get_bwi() 79 memcpy(info->se_info.atr, skb->data, skb->len); in st21nfca_se_get_atr()
|
/openbmc/linux/drivers/nfc/st-nci/ |
H A D | st-nci.h | 46 u8 atr[ST_NCI_ESE_MAX_LENGTH]; member
|
/openbmc/qemu/include/hw/core/ |
H A D | tcg-cpu-ops.h | 181 MemTxAttrs atr, int fl, uintptr_t ra) in cpu_check_watchpoint() argument
|
/openbmc/linux/Documentation/i2c/ |
H A D | i2c-address-translators.rst | 27 The kernel i2c-atr provides a helper to implement an ATR within a driver. 96 .. kernel-doc:: include/linux/i2c-atr.h
|