/drivers/net/can/ |
D | can327.c | 119 static inline void can327_uart_side_failure(struct can327 *elm); 121 static void can327_send(struct can327 *elm, const void *buf, size_t len) in can327_send() argument 125 lockdep_assert_held(&elm->lock); in can327_send() 127 if (elm->uart_side_failure) in can327_send() 130 memcpy(elm->txbuf, buf, len); in can327_send() 140 set_bit(TTY_DO_WRITE_WAKEUP, &elm->tty->flags); in can327_send() 141 written = elm->tty->ops->write(elm->tty, elm->txbuf, len); in can327_send() 143 netdev_err(elm->dev, "Failed to write to tty %s.\n", in can327_send() 144 elm->tty->name); in can327_send() 145 can327_uart_side_failure(elm); in can327_send() [all …]
|
/drivers/scsi/aic7xxx/ |
D | queue.h | 136 #define SLIST_INSERT_AFTER(slistelm, elm, field) do { \ argument 137 SLIST_NEXT((elm), field) = SLIST_NEXT((slistelm), field); \ 138 SLIST_NEXT((slistelm), field) = (elm); \ 141 #define SLIST_INSERT_HEAD(head, elm, field) do { \ argument 142 SLIST_NEXT((elm), field) = SLIST_FIRST((head)); \ 143 SLIST_FIRST((head)) = (elm); \ 146 #define SLIST_NEXT(elm, field) ((elm)->field.sle_next) argument 148 #define SLIST_REMOVE(head, elm, type, field) do { \ argument 149 if (SLIST_FIRST((head)) == (elm)) { \ 154 while (SLIST_NEXT(curelm, field) != (elm)) \ [all …]
|
/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/ |
D | ia_css_s3a.host.c | 334 int out_width, out_height, chunk, rest, kmax, y, x, k, elm_start, elm, ofs; in ia_css_s3a_vmem_decode() local 359 elm = elm_start + x * sizeof(*output) / sizeof(int32_t); in ia_css_s3a_vmem_decode() 360 for (k = 0; k < kmax; k++, elm++) { in ia_css_s3a_vmem_decode() 362 hi[elm + chunk * 0], lo[elm + chunk * 0]); in ia_css_s3a_vmem_decode() 364 hi[elm + chunk * 1], lo[elm + chunk * 1]); in ia_css_s3a_vmem_decode() 366 hi[elm + chunk * 2], lo[elm + chunk * 2]); in ia_css_s3a_vmem_decode() 368 hi[elm + chunk * 3], lo[elm + chunk * 3]); in ia_css_s3a_vmem_decode() 370 hi[elm + chunk * 4], lo[elm + chunk * 4]); in ia_css_s3a_vmem_decode() 372 hi[elm + chunk * 5], lo[elm + chunk * 5]); in ia_css_s3a_vmem_decode() 374 hi[elm + chunk * 6], lo[elm + chunk * 6]); in ia_css_s3a_vmem_decode() [all …]
|
/drivers/infiniband/core/ |
D | uverbs_uapi.c | 18 void *elm; in uapi_add_elm() local 24 elm = kzalloc(alloc_size, GFP_KERNEL); in uapi_add_elm() 25 if (!elm) in uapi_add_elm() 27 rc = radix_tree_insert(&uapi->radix, key, elm); in uapi_add_elm() 29 kfree(elm); in uapi_add_elm() 33 return elm; in uapi_add_elm() 39 void *elm; in uapi_add_get_elm() local 41 elm = uapi_add_elm(uapi, key, alloc_size); in uapi_add_get_elm() 42 if (!IS_ERR(elm)) { in uapi_add_get_elm() 44 return elm; in uapi_add_get_elm() [all …]
|
/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_opp_csc_v.c | 680 const struct out_csc_color_matrix *elm; in dce110_opp_v_set_csc_default() local 693 elm = &global_color_matrix[i]; in dce110_opp_v_set_csc_default() 694 if (elm->color_space != default_adjust->out_color_space) in dce110_opp_v_set_csc_default() 699 program_color_matrix_v(xfm_dce, elm, option); in dce110_opp_v_set_csc_default()
|
/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_transform.c | 1373 const struct out_csc_color_matrix *elm; in dce110_opp_set_csc_default() local 1387 elm = &global_color_matrix[i]; in dce110_opp_set_csc_default() 1388 if (elm->color_space != default_adjust->out_color_space) in dce110_opp_set_csc_default() 1392 program_color_matrix(xfm_dce, elm, option); in dce110_opp_set_csc_default()
|
/drivers/soc/ti/ |
D | k3-ringacc.c | 115 int (*push_tail)(struct k3_ring *ring, void *elm); 116 int (*push_head)(struct k3_ring *ring, void *elm); 117 int (*pop_tail)(struct k3_ring *ring, void *elm); 118 int (*pop_head)(struct k3_ring *ring, void *elm);
|