Home
last modified time | relevance | path

Searched refs:app_id (Results 1 – 11 of 11) sorted by relevance

/drivers/iio/accel/
Dmma9551_core.c80 u8 app_id; member
95 u8 app_id; member
117 u8 app_id, u8 command, u16 offset, in mma9551_transfer() argument
134 req.app_id = app_id; in mma9551_transfer()
181 if (rsp.app_id != app_id) { in mma9551_transfer()
184 rsp.app_id, app_id); in mma9551_transfer()
224 int mma9551_read_config_byte(struct i2c_client *client, u8 app_id, in mma9551_read_config_byte() argument
227 return mma9551_transfer(client, app_id, MMA9551_CMD_READ_CONFIG, in mma9551_read_config_byte()
249 int mma9551_write_config_byte(struct i2c_client *client, u8 app_id, in mma9551_write_config_byte() argument
252 return mma9551_transfer(client, app_id, MMA9551_CMD_WRITE_CONFIG, reg, in mma9551_write_config_byte()
[all …]
Dmma9551_core.h49 int mma9551_read_config_byte(struct i2c_client *client, u8 app_id,
51 int mma9551_write_config_byte(struct i2c_client *client, u8 app_id,
53 int mma9551_read_status_byte(struct i2c_client *client, u8 app_id,
55 int mma9551_read_config_word(struct i2c_client *client, u8 app_id,
57 int mma9551_write_config_word(struct i2c_client *client, u8 app_id,
59 int mma9551_read_status_word(struct i2c_client *client, u8 app_id,
61 int mma9551_read_config_words(struct i2c_client *client, u8 app_id,
63 int mma9551_read_status_words(struct i2c_client *client, u8 app_id,
65 int mma9551_write_config_words(struct i2c_client *client, u8 app_id,
67 int mma9551_update_config_bits(struct i2c_client *client, u8 app_id,
[all …]
/drivers/misc/genwqe/
Dcard_sysfs.c71 u64 slu_id, app_id; in version_show() local
75 app_id = __genwqe_readq(cd, IO_APP_UNITCFG); in version_show()
77 return sprintf(buf, "%016llx.%016llx\n", slu_id, app_id); in version_show()
Dcard_debugfs.c309 u64 app_id, slu_id, bitstream = -1; in genwqe_info_show() local
313 app_id = __genwqe_readq(cd, IO_APP_UNITCFG); in genwqe_info_show()
331 cd->card_idx, slu_id, app_id, in genwqe_info_show()
Dcard_utils.c148 u32 app_id = (u32)cd->app_unitcfg; in genwqe_read_app_id() local
152 char ch = (char)((app_id >> (24 - j*8)) & 0xff); in genwqe_read_app_id()
Dcard_dev.c592 *(__be64 *)&req->__asiv[96] = cpu_to_be64(load->app_id); in do_flash_update()
604 *(__be64 *)&req->asiv[88] = cpu_to_be64(load->app_id); in do_flash_update()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_dcb.c761 static int __cxgb4_getapp(struct net_device *dev, u8 app_idtype, u16 app_id, in __cxgb4_getapp() argument
789 if (be16_to_cpu(pcmd.u.dcb.app_priority.protocolid) == app_id) in __cxgb4_getapp()
804 static int cxgb4_getapp(struct net_device *dev, u8 app_idtype, u16 app_id) in cxgb4_getapp() argument
808 app_idtype : 3, app_id, 0); in cxgb4_getapp()
813 static int __cxgb4_setapp(struct net_device *dev, u8 app_idtype, u16 app_id, in __cxgb4_setapp() argument
840 if (be16_to_cpu(pcmd.u.dcb.app_priority.protocolid) == app_id) { in __cxgb4_setapp()
862 pcmd.u.dcb.app_priority.protocolid = cpu_to_be16(app_id); in __cxgb4_setapp()
878 static int cxgb4_setapp(struct net_device *dev, u8 app_idtype, u16 app_id, in cxgb4_setapp() argument
884 .protocol = app_id, in cxgb4_setapp()
894 app_idtype : 3, app_id, app_prio); in cxgb4_setapp()
/drivers/isdn/hysdn/
Dhycapi.c49 static inline int _hycapi_appCheck(int app_id, int ctrl_no) in _hycapi_appCheck() argument
51 if ((ctrl_no <= 0) || (ctrl_no > CAPI_MAXCONTR) || (app_id <= 0) || in _hycapi_appCheck()
52 (app_id > CAPI_MAXAPPL)) in _hycapi_appCheck()
54 printk(KERN_ERR "HYCAPI: Invalid request app_id %d for controller %d", app_id, ctrl_no); in _hycapi_appCheck()
57 return ((hycapi_applications[app_id - 1].ctrl_mask & (1 << (ctrl_no-1))) != 0); in _hycapi_appCheck()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_dcb.c162 i, features->app.app_pri_tbl[i].app_id); in bnx2x_dump_dcbx_drv_param()
225 ETH_TYPE_FCOE == entry[index].app_id) in bnx2x_dcbx_get_ap_feature()
232 TCP_PORT_ISCSI == entry[index].app_id) in bnx2x_dcbx_get_ap_feature()
687 app.protocol = ent->app_id; in bnx2x_dcbnl_update_applist()
891 if ((ETH_TYPE_FCOE == table[i].app_id) && in bnx2x_dcbx_admin_mib_updated_params()
894 else if ((TCP_PORT_ISCSI == table[i].app_id) && in bnx2x_dcbx_admin_mib_updated_params()
900 af->app.app_pri_tbl[traf_type].app_id = in bnx2x_dcbx_admin_mib_updated_params()
901 table[i].app_id; in bnx2x_dcbx_admin_mib_updated_params()
2242 app_ent->app_id = idval; in bnx2x_admin_app_set_ent()
2265 if (app_ent->app_id != idval) in bnx2x_admin_app_is_equal()
[all …]
Dbnx2x_dcb.h92 u32 app_id; member
Dbnx2x_hsi.h1823 u16 app_id; member
1839 u16 app_id;