Home
last modified time | relevance | path

Searched refs:atr (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.12.1/drivers/i2c/
Di2c-atr.c50 struct i2c_atr *atr; member
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()
224 struct i2c_atr *atr = chan->atr; in i2c_atr_smbus_xfer() local
225 struct i2c_adapter *parent = atr->parent; in i2c_atr_smbus_xfer()
230 dev_err(atr->dev, "client 0x%02x not mapped!\n", addr); in i2c_atr_smbus_xfer()
241 struct i2c_adapter *parent = chan->atr->parent; in i2c_atr_functionality()
249 struct i2c_atr *atr = chan->atr; in i2c_atr_lock_bus() local
[all …]
DMakefile16 obj-$(CONFIG_I2C_ATR) += i2c-atr.o
/linux-6.12.1/include/linux/
Di2c-atr.h33 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);
/linux-6.12.1/scripts/kconfig/lxdialog/
Dchecklist.c27 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 …]
Dutil.c20 dlg.title.atr = A_BOLD; in set_mono_theme()
21 dlg.button_active.atr = A_REVERSE; in set_mono_theme()
22 dlg.button_inactive.atr = A_DIM; in set_mono_theme()
23 dlg.button_key_active.atr = A_REVERSE; in set_mono_theme()
24 dlg.button_key_inactive.atr = A_BOLD; in set_mono_theme()
25 dlg.button_label_active.atr = A_REVERSE; in set_mono_theme()
26 dlg.position_indicator.atr = A_BOLD; in set_mono_theme()
27 dlg.item_selected.atr = A_REVERSE; in set_mono_theme()
28 dlg.tag.atr = A_BOLD; in set_mono_theme()
29 dlg.tag_selected.atr = A_REVERSE; in set_mono_theme()
[all …]
Dmenubox.c64 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 …]
Dinputbox.c61 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()
Dtextbox.c123 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()
Dyesno.c50 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()
Ddialog.h68 chtype atr; /* Color attribute */ member
/linux-6.12.1/drivers/rtc/
Drtc-isl1208.c212 int atr = i2c_smbus_read_byte_data(client, ISL1208_REG_ATR); in isl1208_i2c_get_atr() local
213 if (atr < 0) in isl1208_i2c_get_atr()
214 return atr; in isl1208_i2c_get_atr()
227 atr &= 0x3f; /* mask out lsb */ in isl1208_i2c_get_atr()
228 atr ^= 1 << 5; /* invert 6th bit */ in isl1208_i2c_get_atr()
229 atr += 2 * 9; /* add offset of 4.5pF; unit[atr] = 0.25pF */ in isl1208_i2c_get_atr()
231 return atr; in isl1208_i2c_get_atr()
302 int sr, dtr, atr, usr; in isl1208_rtc_proc() local
325 atr = isl1208_i2c_get_atr(client); in isl1208_rtc_proc()
326 if (atr >= 0) in isl1208_rtc_proc()
[all …]
Drtc-x1205.c336 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()
/linux-6.12.1/include/media/i2c/
Dds90ub9xx.h18 struct i2c_atr *atr; member
/linux-6.12.1/drivers/nfc/st21nfca/
Dse.c56 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()
Dst21nfca.h128 u8 atr[ST21NFCA_ESE_MAX_LENGTH]; member
/linux-6.12.1/drivers/nfc/st-nci/
Dst-nci.h46 u8 atr[ST_NCI_ESE_MAX_LENGTH]; member
Dse.c121 td = ST_NCI_ATR_GET_Y_FROM_TD(info->se_info.atr[i]); in st_nci_se_get_bwi()
126 return info->se_info.atr[i] >> 4; in st_nci_se_get_bwi()
144 memcpy(info->se_info.atr, skb->data, skb->len); in st_nci_se_get_atr()
/linux-6.12.1/Documentation/i2c/
Di2c-address-translators.rst27 The kernel i2c-atr provides a helper to implement an ATR within a driver.
96 .. kernel-doc:: include/linux/i2c-atr.h
/linux-6.12.1/drivers/scsi/qla2xxx/
Dqla_tmpl.c367 struct atio *atr = ha->tgt.atio_ring; in qla27xx_fwdt_entry_t263() local
369 if (atr || !buf) { in qla27xx_fwdt_entry_t263()
373 qla27xx_insertbuf(atr, length * sizeof(*atr), buf, len); in qla27xx_fwdt_entry_t263()
666 struct atio *atr = ha->tgt.atio_ring_ptr; in qla27xx_fwdt_entry_t274() local
668 if (atr || !buf) { in qla27xx_fwdt_entry_t274()
/linux-6.12.1/drivers/media/i2c/
Dds90ub960.c518 struct i2c_atr *atr; member
1027 static int ub960_atr_attach_client(struct i2c_atr *atr, u32 chan_id, in ub960_atr_attach_client() argument
1030 struct ub960_data *priv = i2c_atr_get_driver_data(atr); in ub960_atr_attach_client()
1058 static void ub960_atr_detach_client(struct i2c_atr *atr, u32 chan_id, in ub960_atr_detach_client() argument
1061 struct ub960_data *priv = i2c_atr_get_driver_data(atr); in ub960_atr_detach_client()
1095 priv->atr = i2c_atr_new(parent_adap, dev, &ub960_atr_ops, in ub960_init_atr()
1097 if (IS_ERR(priv->atr)) in ub960_init_atr()
1098 return PTR_ERR(priv->atr); in ub960_init_atr()
1100 i2c_atr_set_driver_data(priv->atr, priv); in ub960_init_atr()
1107 i2c_atr_delete(priv->atr); in ub960_uninit_atr()
[all …]
Dds90ub913.c666 ret = i2c_atr_add_adapter(priv->plat_data->atr, priv->plat_data->port, in ub913_add_i2c_adapter()
873 i2c_atr_del_adapter(priv->plat_data->atr, priv->plat_data->port); in ub913_remove()
Dds90ub953.c1113 ret = i2c_atr_add_adapter(priv->plat_data->atr, priv->plat_data->port, in ub953_add_i2c_adapter()
1385 i2c_atr_del_adapter(priv->plat_data->atr, priv->plat_data->port); in ub953_remove()
/linux-6.12.1/block/
Delevator.c408 #define to_elv(atr) container_of((atr), struct elv_fs_entry, attr) argument
Dblk-sysfs.c653 #define to_queue(atr) container_of((atr), struct queue_sysfs_entry, attr) argument
/linux-6.12.1/net/appletalk/
Dddp.c491 struct atalk_route *atr = atrtr_find(sa); in atrtr_get_dev() local
492 return atr ? atr->dev : NULL; in atrtr_get_dev()

12