Searched refs:idev (Results 76 - 100 of 179) sorted by relevance

12345678

/linux-master/drivers/input/misc/
H A Dmax8925_onkey.c36 struct input_dev *idev; member in struct:max8925_onkey_info
54 input_report_key(info->idev, KEY_POWER, state & SW_INPUT);
55 input_sync(info->idev);
90 info->idev = input;
120 error = input_register_device(info->idev);
H A Dcm109.c89 struct input_dev *idev; /* input device */ member in struct:cm109_dev
296 struct input_dev *idev = dev->idev; local
300 input_report_key(idev, dev->key_code, 0);
306 input_report_key(idev, key, 1);
309 input_sync(idev);
319 struct input_dev *idev = dev->idev; local
329 input_report_key(idev, keycode, data & BIT(i));
331 input_sync(idev);
547 cm109_input_open(struct input_dev *idev) argument
589 cm109_input_close(struct input_dev *idev) argument
608 cm109_input_ev(struct input_dev *idev, unsigned int type, unsigned int code, int value) argument
[all...]
/linux-master/net/ipv6/
H A Dip6_input.c155 struct inet6_dev *idev; local
165 idev = __in6_dev_get(skb->dev);
167 __IP6_UPD_PO_STATS(net, idev, IPSTATS_MIB_IN, skb->len);
171 !idev || unlikely(READ_ONCE(idev->cnf.disable_ipv6))) {
172 __IP6_INC_STATS(net, idev, IPSTATS_MIB_INDISCARDS);
173 if (idev && unlikely(READ_ONCE(idev->cnf.disable_ipv6)))
203 __IP6_ADD_STATS(net, idev,
239 READ_ONCE(idev
367 struct inet6_dev *idev; local
[all...]
H A Doutput_core.c109 struct inet6_dev *idev; local
112 idev = __in6_dev_get(dev);
113 if (idev)
114 hoplimit = READ_ONCE(idev->cnf.hop_limit);
H A Dexthdrs.c297 struct inet6_dev *idev = __in6_dev_get(skb->dev); local
309 __IP6_INC_STATS(dev_net(dst->dev), idev,
336 __IP6_INC_STATS(net, idev, IPSTATS_MIB_INHDRERRORS);
374 struct inet6_dev *idev; local
380 idev = __in6_dev_get(skb->dev);
383 READ_ONCE(idev->cnf.seg6_enabled));
428 __IP6_INC_STATS(net, idev, IPSTATS_MIB_INHDRERRORS);
465 __IP6_INC_STATS(net, idev, IPSTATS_MIB_INHDRERRORS);
487 struct inet6_dev *idev; local
495 idev
650 struct inet6_dev *idev = __in6_dev_get(skb->dev); local
[all...]
/linux-master/include/net/
H A Dipv6.h220 #define _DEVINC(net, statname, mod, idev, field) \
222 struct inet6_dev *_idev = (idev); \
229 #define _DEVINCATOMIC(net, statname, mod, idev, field) \
231 struct inet6_dev *_idev = (idev); \
238 #define _DEVINC_ATOMIC_ATOMIC(net, statname, idev, field) \
240 struct inet6_dev *_idev = (idev); \
246 #define _DEVADD(net, statname, mod, idev, field, val) \
248 struct inet6_dev *_idev = (idev); \
254 #define _DEVUPD(net, statname, mod, idev, field, val) \
256 struct inet6_dev *_idev = (idev); \
537 ipv6_accept_ra(const struct inet6_dev *idev) argument
1265 snmp6_register_dev(struct inet6_dev *idev) argument
1266 snmp6_unregister_dev(struct inet6_dev *idev) argument
[all...]
/linux-master/drivers/leds/
H A Dleds-pca9532.c42 struct input_dev *idev; member in struct:pca9532_data
332 if (data->idev != NULL) {
334 data->idev = NULL;
396 BUG_ON(data->idev);
399 data->idev = devm_input_allocate_device(&client->dev);
400 if (data->idev == NULL) {
404 data->idev->name = pled->name;
405 data->idev->phys = "i2c/pca9532";
406 data->idev->id.bustype = BUS_HOST;
407 data->idev
[all...]
/linux-master/drivers/input/keyboard/
H A Dtegra-kbc.c91 struct input_dev *idev; member in struct:tegra_kbc
219 tegra_kbc_report_released_keys(kbc->idev,
222 tegra_kbc_report_pressed_keys(kbc->idev, scancodes, keycodes, num_down);
223 input_sync(kbc->idev);
265 input_report_key(kbc->idev, kbc->current_keys[i], 0);
266 input_sync(kbc->idev);
632 kbc->idev = devm_input_allocate_device(&pdev->dev);
633 if (!kbc->idev) {
667 kbc->idev->name = pdev->name;
668 kbc->idev
[all...]
H A Dlm8323.c137 struct input_dev *idev; member in struct:lm8323_chip
275 input_event(lm->idev, EV_MSC, MSC_SCAN, key);
276 input_report_key(lm->idev, keycode, isdown);
277 input_sync(lm->idev);
628 struct input_dev *idev; local
656 idev = devm_input_allocate_device(&client->dev);
657 if (!idev)
661 lm->idev = idev;
709 idev
[all...]
/linux-master/drivers/net/ethernet/8390/
H A Dsmc-ultra.c343 struct pnp_dev *idev = NULL; local
345 while ((idev = pnp_find_dev(NULL,
348 idev))) {
350 if (pnp_device_attach(idev) < 0)
352 if (pnp_activate_dev(idev) < 0) {
354 pnp_device_detach(idev);
358 if (!pnp_port_valid(idev, 0) || !pnp_irq_valid(idev, 0))
361 dev->base_addr = pnp_port_start(idev, 0);
362 dev->irq = pnp_irq(idev,
608 struct pnp_dev *idev = (struct pnp_dev *)ei_status.priv; local
[all...]
H A Dne.c247 struct pnp_dev *idev = NULL; local
249 while ((idev = pnp_find_dev(NULL,
252 idev))) {
254 if (pnp_device_attach(idev) < 0)
256 if (pnp_activate_dev(idev) < 0) {
257 pnp_device_detach(idev);
261 if (!pnp_port_valid(idev, 0) || !pnp_irq_valid(idev, 0)) {
262 pnp_device_detach(idev);
266 dev->base_addr = pnp_port_start(idev,
831 struct pnp_dev *idev = (struct pnp_dev *)ei_status.priv; local
869 struct pnp_dev *idev = (struct pnp_dev *)ei_status.priv; local
882 struct pnp_dev *idev = (struct pnp_dev *)ei_status.priv; local
[all...]
/linux-master/net/6lowpan/
H A Dcore.c112 struct inet6_dev *idev; local
119 idev = __in6_dev_get(dev);
120 if (!idev)
131 addrconf_add_linklocal(idev, &addr, 0);
/linux-master/include/linux/
H A Dinetdevice.h276 void in_dev_finish_destroy(struct in_device *idev);
278 static inline void in_dev_put(struct in_device *idev) argument
280 if (refcount_dec_and_test(&idev->refcnt))
281 in_dev_finish_destroy(idev);
284 #define __in_dev_put(idev) refcount_dec(&(idev)->refcnt)
285 #define in_dev_hold(idev) refcount_inc(&(idev)->refcnt)
/linux-master/drivers/vfio/
H A Diommufd.c116 struct iommufd_device *idev; local
118 idev = iommufd_device_bind(ictx, vdev->dev, out_device_id);
119 if (IS_ERR(idev))
120 return PTR_ERR(idev);
121 vdev->iommufd_device = idev;
/linux-master/drivers/iommu/iommufd/
H A Dselftest.c150 struct iommufd_device *idev; member in struct:selftest_obj::__anon28::__anon29
153 } idev; member in union:selftest_obj::__anon28
712 struct iommufd_device *idev; local
723 sobj->idev.ictx = ucmd->ictx;
729 sobj->idev.mock_dev = mock_dev_create(dev_flags);
730 if (IS_ERR(sobj->idev.mock_dev)) {
731 rc = PTR_ERR(sobj->idev.mock_dev);
735 idev = iommufd_device_bind(ucmd->ictx, &sobj->idev.mock_dev->dev,
737 if (IS_ERR(idev)) {
[all...]
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dclip_tbl.c199 struct inet6_dev *idev = NULL; local
203 idev = __in6_dev_get(root_dev);
204 if (!idev)
207 read_lock_bh(&idev->lock);
208 list_for_each_entry(ifa, &idev->addr_list, if_list) {
213 read_unlock_bh(&idev->lock);
/linux-master/net/netfilter/
H A Dnf_nat_masquerade.c187 const struct in_device *idev; local
199 idev = ifa->ifa_dev;
200 if (idev->dead)
207 dev = idev->dev;
208 nf_nat_masq_schedule(dev_net(idev->dev), &addr, dev->ifindex,
289 dev = ifa->idev->dev;
/linux-master/drivers/media/rc/
H A Dati_remote.c231 struct input_dev *idev; member in struct:ati_remote
481 struct input_dev *dev = ati_remote->idev;
723 struct input_dev *idev = ati_remote->idev; local
726 idev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL);
727 idev->keybit[BIT_WORD(BTN_MOUSE)] = BIT_MASK(BTN_LEFT) |
729 idev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y);
733 __set_bit(ati_remote_tbl[i].code, idev->keybit);
735 input_set_drvdata(idev, ati_remote);
737 idev
[all...]
/linux-master/drivers/platform/x86/
H A Dhuawei-wmi.c698 static void huawei_wmi_process_key(struct input_dev *idev, int code) argument
723 key = sparse_keymap_entry_from_scancode(idev, code);
725 dev_info(&idev->dev, "Unknown key pressed, code: 0x%04x\n", code);
734 sparse_keymap_report_entry(idev, key, 1, true);
739 struct input_dev *idev = (struct input_dev *)context; local
746 dev_err(&idev->dev, "Unable to get event data\n");
752 huawei_wmi_process_key(idev, obj->integer.value);
754 dev_err(&idev->dev, "Bad response type\n");
761 struct input_dev *idev; local
765 idev
[all...]
/linux-master/drivers/scsi/isci/
H A Drequest.c218 struct isci_remote_device *idev; local
221 idev = ireq->target_device;
222 iport = idev->owning_port;
228 task_context->connection_rate = idev->connection_rate;
235 task_context->remote_node_index = idev->rnc.remote_node_index;
498 struct isci_remote_device *idev; local
501 idev = ireq->target_device;
502 iport = idev->owning_port;
508 task_context->connection_rate = idev->connection_rate;
515 task_context->remote_node_index = idev
2170 struct isci_remote_device *idev = ireq->target_device; local
2514 isci_request_handle_controller_specific_errors( struct isci_remote_device *idev, struct isci_request *request, struct sas_task *task, enum service_response *response_ptr, enum exec_status *status_ptr) argument
2732 struct isci_remote_device *idev = request->target_device; local
3060 sci_general_request_construct(struct isci_host *ihost, struct isci_remote_device *idev, struct isci_request *ireq) argument
3076 sci_io_request_construct(struct isci_host *ihost, struct isci_remote_device *idev, struct isci_request *ireq) argument
3103 sci_task_request_construct(struct isci_host *ihost, struct isci_remote_device *idev, u16 io_tag, struct isci_request *ireq) argument
3178 struct isci_remote_device *idev; local
3329 isci_io_request_build(struct isci_host *ihost, struct isci_request *request, struct isci_remote_device *idev) argument
3433 isci_request_execute(struct isci_host *ihost, struct isci_remote_device *idev, struct sas_task *task, struct isci_request *ireq) argument
[all...]
/linux-master/drivers/infiniband/hw/mlx5/
H A Dib_rep.c232 struct mlx5_adev *idev = container_of(adev, struct mlx5_adev, adev); local
233 struct mlx5_core_dev *mdev = idev->mdev;
243 struct mlx5_adev *idev = container_of(adev, struct mlx5_adev, adev); local
244 struct mlx5_core_dev *mdev = idev->mdev;
/linux-master/drivers/macintosh/ams/
H A Dams.h57 struct input_dev *idev; member in struct:ams
/linux-master/net/bridge/
H A Dbr_netfilter_ipv6.c46 struct inet6_dev *idev = __in6_dev_get(skb->dev); local
66 __IP6_INC_STATS(net, idev,
71 __IP6_INC_STATS(net, idev,
83 __IP6_INC_STATS(net, idev, IPSTATS_MIB_INHDRERRORS);
/linux-master/drivers/hid/
H A Dhid-nvidia-shield.c245 struct input_dev *idev; local
247 idev = input_allocate_device();
248 if (!idev)
251 idev->id.bustype = hdev->bus;
252 idev->id.vendor = hdev->vendor;
253 idev->id.product = hdev->product;
254 idev->id.version = hdev->version;
255 idev->uniq = hdev->uniq;
256 idev->name = devm_kasprintf(&hdev->dev, GFP_KERNEL, "%s %s", hdev->name,
258 if (!idev
396 thunderstrike_play_effect(struct input_dev *idev, void *data, struct ff_effect *effect) argument
[all...]
/linux-master/drivers/net/ethernet/3com/
H A D3c515.c364 struct pnp_dev *idev, int card_number);
497 struct pnp_dev *idev = NULL; local
499 while((idev = pnp_find_dev(NULL,
502 idev))) {
504 if (pnp_device_attach(idev) < 0)
506 if (pnp_activate_dev(idev) < 0) {
508 pnp_device_detach(idev);
511 if (!pnp_port_valid(idev, 0) || !pnp_irq_valid(idev, 0)) {
512 pnp_device_detach(idev);
567 corkscrew_setup(struct net_device *dev, int ioaddr, struct pnp_dev *idev, int card_number) argument
[all...]

Completed in 459 milliseconds

12345678