Home
last modified time | relevance | path

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

/linux-4.1.27/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 …]
/linux-4.1.27/drivers/staging/ozwpan/
Dozprotocol.h135 u8 app_id; member
151 u8 app_id; member
185 u8 app_id; member
216 u8 app_id; member
227 u8 app_id; member
237 u8 app_id; member
245 u8 app_id; member
253 u8 app_id; member
261 u8 app_id; member
270 u8 app_id; member
[all …]
Dozeltbuf.c173 if ((body->app_id == OZ_APPID_USB) && (body->type in oz_queue_elt_info()
225 app_hdr->elt_seq_num = buf->tx_seq_num[ei->app_id]++; in oz_select_elts_for_tx()
226 if (buf->tx_seq_num[ei->app_id] == 0) in oz_select_elts_for_tx()
227 buf->tx_seq_num[ei->app_id] = 1; in oz_select_elts_for_tx()
Dozproto.c438 oz_handle_app_elt(pd, app_hdr->app_id, elt); in oz_rx_frame()
622 void oz_app_enable(int app_id, int enable) in oz_app_enable() argument
624 if (app_id < OZ_NB_APPS) { in oz_app_enable()
627 g_apps |= (1<<app_id); in oz_app_enable()
629 g_apps &= ~(1<<app_id); in oz_app_enable()
Dozproto.h45 void oz_app_enable(int app_id, int enable);
Dozeltbuf.h31 u8 app_id; member
Dozpd.h127 void oz_handle_app_elt(struct oz_pd *pd, u8 app_id, struct oz_elt *elt);
Dozpd.c858 void oz_handle_app_elt(struct oz_pd *pd, u8 app_id, struct oz_elt *elt) in oz_handle_app_elt() argument
860 if (app_id < OZ_NB_APPS && g_app_if[app_id].rx) in oz_handle_app_elt()
861 g_app_if[app_id].rx(pd, elt); in oz_handle_app_elt()
Dozcdev.c180 ei->app_id = OZ_APPID_SERIAL; in oz_cdev_write()
182 app_hdr->app_id = OZ_APPID_SERIAL; in oz_cdev_write()
Dozusbsvc1.c37 ei->app_id = OZ_APPID_USB; in oz_usb_submit_elt()
39 app_hdr->app_id = OZ_APPID_USB; in oz_usb_submit_elt()
/linux-4.1.27/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.c591 *(__be64 *)&req->__asiv[96] = cpu_to_be64(load->app_id); in do_flash_update()
603 *(__be64 *)&req->asiv[88] = cpu_to_be64(load->app_id); in do_flash_update()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_dcb.c752 static int __cxgb4_getapp(struct net_device *dev, u8 app_idtype, u16 app_id, in __cxgb4_getapp() argument
780 if (be16_to_cpu(pcmd.u.dcb.app_priority.protocolid) == app_id) in __cxgb4_getapp()
795 static int cxgb4_getapp(struct net_device *dev, u8 app_idtype, u16 app_id) in cxgb4_getapp() argument
797 return __cxgb4_getapp(dev, app_idtype, app_id, 0); in cxgb4_getapp()
802 static int __cxgb4_setapp(struct net_device *dev, u8 app_idtype, u16 app_id, in __cxgb4_setapp() argument
829 if (be16_to_cpu(pcmd.u.dcb.app_priority.protocolid) == app_id) { in __cxgb4_setapp()
851 pcmd.u.dcb.app_priority.protocolid = cpu_to_be16(app_id); in __cxgb4_setapp()
867 static int cxgb4_setapp(struct net_device *dev, u8 app_idtype, u16 app_id, in cxgb4_setapp() argument
873 .protocol = app_id, in cxgb4_setapp()
883 app_idtype : 3, app_id, app_prio); in cxgb4_setapp()
/linux-4.1.27/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()
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_dcb.c160 i, features->app.app_pri_tbl[i].app_id); in bnx2x_dump_dcbx_drv_param()
223 ETH_TYPE_FCOE == entry[index].app_id) in bnx2x_dcbx_get_ap_feature()
230 TCP_PORT_ISCSI == entry[index].app_id) in bnx2x_dcbx_get_ap_feature()
685 app.protocol = ent->app_id; in bnx2x_dcbnl_update_applist()
889 if ((ETH_TYPE_FCOE == table[i].app_id) && in bnx2x_dcbx_admin_mib_updated_params()
892 else if ((TCP_PORT_ISCSI == table[i].app_id) && in bnx2x_dcbx_admin_mib_updated_params()
898 af->app.app_pri_tbl[traf_type].app_id = in bnx2x_dcbx_admin_mib_updated_params()
899 table[i].app_id; in bnx2x_dcbx_admin_mib_updated_params()
2238 app_ent->app_id = idval; in bnx2x_admin_app_set_ent()
2261 if (app_ent->app_id != idval) in bnx2x_admin_app_is_equal()
[all …]
Dbnx2x_dcb.h90 u32 app_id; member
Dbnx2x_hsi.h1818 u16 app_id; member
1834 u16 app_id;
/linux-4.1.27/drivers/staging/ft1000/ft1000-usb/
Dft1000_usb.h22 u16 app_id; /* Application id */ member
Dft1000_debug.c205 dev->app_info[i].app_id = i+1; in ft1000_create_dev()
635 ppseudo_hdr->portsrc = ft1000dev->app_info[app_index].app_id; in ft1000_ioctl()
Dft1000_hw.c1434 if (dev->app_info[i].app_id == ((struct pseudo_hdr *) in handle_misc_portid()
/linux-4.1.27/include/uapi/linux/genwqe/
Dgenwqe_card.h345 __u64 app_id; /* informational/sim: AppID */ member