| /kernel/linux/linux-6.6/drivers/i2c/ |
| D | i2c-atr.c | 11 #include <linux/i2c-atr.h> 40 * @atr: The parent I2C ATR 50 struct i2c_atr *atr; member 62 * struct i2c_atr - The I2C ATR instance 64 * @dev: The device that owns the I2C ATR instance 69 * @max_adapters: Maximum number of adapters this I2C ATR can have 137 struct i2c_atr *atr = chan->atr; in i2c_atr_map_msgs() local 161 dev_err(atr->dev, "client 0x%02x not mapped!\n", in i2c_atr_map_msgs() 196 struct i2c_atr *atr = chan->atr; in i2c_atr_master_xfer() local 197 struct i2c_adapter *parent = atr->parent; in i2c_atr_master_xfer() [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | i2c-atr.h | 22 * struct i2c_atr_ops - Callbacks from ATR to the device driver. 33 int (*attach_client)(struct i2c_atr *atr, u32 chan_id, 35 void (*detach_client)(struct i2c_atr *atr, u32 chan_id, 40 * i2c_atr_new() - Allocate and initialize an I2C ATR helper. 42 * @dev: The device acting as an ATR 46 * The new ATR helper is connected to the parent adapter but has no child 51 * Return: pointer to the new ATR helper object, or ERR_PTR 57 * i2c_atr_delete - Delete an I2C ATR helper. 58 * @atr: I2C ATR helper to be deleted. 63 void i2c_atr_delete(struct i2c_atr *atr); [all …]
|
| /kernel/linux/linux-6.6/Documentation/i2c/ |
| D | i2c-address-translators.rst | 13 An I2C Address Translator (ATR) is a device with an I2C slave parent 21 An ATR looks similar to an i2c-mux except: 26 The ATR functionality can be provided by a chip with many other features. 27 The kernel i2c-atr provides a helper to implement an ATR within a driver. 29 The ATR creates a new I2C "child" adapter on each child bus. Adding 33 ATR maintains a table of currently assigned alias and uses it to modify 43 | CPU |--A--| ATR | 51 each other. The ATR receives the transactions initiated on bus A and 69 - ATR driver finds slave X is on bus B and has alias 0x20, rewrites 72 - ATR chip detects transaction on address 0x20, finds it in table, [all …]
|
| /kernel/linux/linux-6.6/scripts/kconfig/lxdialog/ |
| 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() 25 dlg.button_active.atr = A_REVERSE; in set_mono_theme() 26 dlg.button_inactive.atr = A_DIM; in set_mono_theme() 27 dlg.button_key_active.atr = A_REVERSE; in set_mono_theme() 28 dlg.button_key_inactive.atr = A_BOLD; in set_mono_theme() 29 dlg.button_label_active.atr = A_REVERSE; in set_mono_theme() [all …]
|
| D | checklist.c | 27 wattrset(win, dlg.menubox.atr); in print_item() 33 wattrset(win, selected ? dlg.check_selected.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() 77 wattrset(win, dlg.menubox_border.atr); in print_arrows() 139 dlg.dialog.atr, dlg.border.atr); in dialog_checklist() [all …]
|
| 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() 70 wattrset(win, selected ? dlg.tag_key_selected.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() 120 wattrset(win, dlg.menubox_border.atr); in print_arrows() 194 dlg.dialog.atr, dlg.border.atr); in dialog_menu() 195 wattrset(dialog, dlg.border.atr); in dialog_menu() [all …]
|
| 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()
|
| 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()
|
| 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()
|
| /kernel/linux/linux-5.10/scripts/kconfig/lxdialog/ |
| 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() 25 dlg.button_active.atr = A_REVERSE; in set_mono_theme() 26 dlg.button_inactive.atr = A_DIM; in set_mono_theme() 27 dlg.button_key_active.atr = A_REVERSE; in set_mono_theme() 28 dlg.button_key_inactive.atr = A_BOLD; in set_mono_theme() 29 dlg.button_label_active.atr = A_REVERSE; in set_mono_theme() [all …]
|
| D | checklist.c | 27 wattrset(win, dlg.menubox.atr); in print_item() 33 wattrset(win, selected ? dlg.check_selected.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() 77 wattrset(win, dlg.menubox_border.atr); in print_arrows() 139 dlg.dialog.atr, dlg.border.atr); in dialog_checklist() [all …]
|
| 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() 78 wattrset(win, selected ? dlg.tag_key_selected.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() 128 wattrset(win, dlg.menubox_border.atr); in print_arrows() 202 dlg.dialog.atr, dlg.border.atr); in dialog_menu() 203 wattrset(dialog, dlg.border.atr); in dialog_menu() [all …]
|
| 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()
|
| 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()
|
| 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()
|
| /kernel/linux/linux-5.10/Documentation/usb/ |
| D | acm.rst | 80 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA 82 E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms 89 C: #Ifs= 1 Cfg#= 1 Atr=60 MxPwr= 0mA 91 E: Ad=85(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms 92 E: Ad=04(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms 93 E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=128ms 94 C:* #Ifs= 2 Cfg#= 2 Atr=60 MxPwr= 0mA 96 E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=128ms 98 E: Ad=85(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms 99 E: Ad=04(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
|
| /kernel/linux/linux-6.6/Documentation/usb/ |
| D | acm.rst | 80 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA 82 E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms 89 C: #Ifs= 1 Cfg#= 1 Atr=60 MxPwr= 0mA 91 E: Ad=85(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms 92 E: Ad=04(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms 93 E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=128ms 94 C:* #Ifs= 2 Cfg#= 2 Atr=60 MxPwr= 0mA 96 E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=128ms 98 E: Ad=85(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms 99 E: Ad=04(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
|
| /kernel/linux/linux-5.10/drivers/rtc/ |
| D | rtc-isl1208.c | 178 int atr = i2c_smbus_read_byte_data(client, ISL1208_REG_ATR); in isl1208_i2c_get_atr() local 179 if (atr < 0) in isl1208_i2c_get_atr() 180 return atr; in isl1208_i2c_get_atr() 182 /* The 6bit value in the ATR register controls the load in isl1208_i2c_get_atr() 185 * bit (1<<5) of the ATR register is inverted in isl1208_i2c_get_atr() 187 * C_load(ATR=0x20) = 4.50pF in isl1208_i2c_get_atr() 188 * C_load(ATR=0x00) = 12.50pF in isl1208_i2c_get_atr() 189 * C_load(ATR=0x1f) = 20.25pF in isl1208_i2c_get_atr() 193 atr &= 0x3f; /* mask out lsb */ in isl1208_i2c_get_atr() 194 atr ^= 1 << 5; /* invert 6th bit */ in isl1208_i2c_get_atr() [all …]
|
| D | rtc-x1205.c | 336 s8 atr; in x1205_get_atrim() local 345 {/* read atr */ in x1205_get_atrim() 349 .buf = &atr in x1205_get_atrim() 353 /* read atr register */ in x1205_get_atrim() 359 dev_dbg(&client->dev, "%s: raw atr=%x\n", __func__, atr); in x1205_get_atrim() 361 /* atr is a two's complement value on 6 bits, in x1205_get_atrim() 363 * Catr = (atr * 0.25pF) + 11.00pF. 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()
|
| /kernel/linux/linux-6.6/drivers/rtc/ |
| D | rtc-isl1208.c | 211 int atr = i2c_smbus_read_byte_data(client, ISL1208_REG_ATR); in isl1208_i2c_get_atr() local 212 if (atr < 0) in isl1208_i2c_get_atr() 213 return atr; in isl1208_i2c_get_atr() 215 /* The 6bit value in the ATR register controls the load in isl1208_i2c_get_atr() 218 * bit (1<<5) of the ATR register is inverted in isl1208_i2c_get_atr() 220 * C_load(ATR=0x20) = 4.50pF in isl1208_i2c_get_atr() 221 * C_load(ATR=0x00) = 12.50pF in isl1208_i2c_get_atr() 222 * C_load(ATR=0x1f) = 20.25pF in isl1208_i2c_get_atr() 226 atr &= 0x3f; /* mask out lsb */ in isl1208_i2c_get_atr() 227 atr ^= 1 << 5; /* invert 6th bit */ in isl1208_i2c_get_atr() [all …]
|
| D | rtc-x1205.c | 336 s8 atr; in x1205_get_atrim() local 345 {/* read atr */ in x1205_get_atrim() 349 .buf = &atr in x1205_get_atrim() 353 /* read atr register */ in x1205_get_atrim() 359 dev_dbg(&client->dev, "%s: raw atr=%x\n", __func__, atr); in x1205_get_atrim() 361 /* atr is a two's complement value on 6 bits, in x1205_get_atrim() 363 * Catr = (atr * 0.25pF) + 11.00pF. 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()
|
| /kernel/linux/linux-6.6/include/media/i2c/ |
| D | ds90ub9xx.h | 13 * @atr: I2C ATR 18 struct i2c_atr *atr; member
|
| /kernel/linux/linux-5.10/drivers/char/pcmcia/ |
| D | cm4000_cs.c | 108 unsigned char atr[MAX_ATR]; member 116 wait_queue_head_t atrq; /* wait for ATR valid */ 136 unsigned long flags; /* lock+flags (MONITOR,IO,ATR) * for concurrent 332 if (dev->atr[0] == 0x3f) in parse_atr() 338 ch = dev->atr[1]; in parse_atr() 345 dev->ta1 = dev->atr[2]; in parse_atr() 360 ch = dev->atr[ix]; in parse_atr() 373 ix, dev->atr[1] & 15, any_t1); in parse_atr() 374 if (ix + 1 + (dev->atr[1] & 0x0f) + any_t1 != dev->atr_len) { in parse_atr() 385 dev->atr_csum ^= dev->atr[i]; in parse_atr() [all …]
|
| /kernel/linux/linux-5.10/Documentation/input/devices/ |
| D | xpad.rst | 143 C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA 145 E: Ad=81(I) Atr=03(Int.) MxPS= 32 Ivl= 10ms 146 E: Ad=02(O) Atr=03(Int.) MxPS= 32 Ivl= 10ms 155 C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA 157 E: Ad=82(I) Atr=03(Int.) MxPS= 32 Ivl=4ms 158 E: Ad=02(O) Atr=03(Int.) MxPS= 32 Ivl=4ms
|
| /kernel/linux/linux-6.6/Documentation/input/devices/ |
| D | xpad.rst | 143 C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA 145 E: Ad=81(I) Atr=03(Int.) MxPS= 32 Ivl= 10ms 146 E: Ad=02(O) Atr=03(Int.) MxPS= 32 Ivl= 10ms 155 C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA 157 E: Ad=82(I) Atr=03(Int.) MxPS= 32 Ivl=4ms 158 E: Ad=02(O) Atr=03(Int.) MxPS= 32 Ivl=4ms
|